Bug 167374 - [NEW PORT] games/castle-combat: It is a clone of the old arcade game Rampart
Summary: [NEW PORT] games/castle-combat: It is a clone of the old arcade game Rampart
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus von Appen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-27 21:10 UTC by nemysis
Modified: 2013-01-12 10:14 UTC (History)
0 users

See Also:


Attachments
.shar (9.59 KB, text/plain)
2012-04-27 21:10 UTC, nemysis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-04-27 21:10:10 UTC
It is a clone of the old arcade game Rampart. Up to four players
(or more in future versions) build castle walls,
place cannons inside these walls, and shoot at the walls
of their enemy(s). If a player cannot build a complete wall
around one of his castles, he loses. The last surviving player wins.

WWW: http://www.linux-games.com/castle-combat/

Generated manually, tested with RedPorts and port test, sent with FreeBSD Port Tools 0.99_5 (mode: new)
Comment 1 Marcus von Appen freebsd_committer freebsd_triage 2012-05-08 06:46:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mva

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-05-15 17:23:57 UTC
mva         2012-05-15 16:23:43 UTC

  FreeBSD ports repository

  Modified files:
    games                Makefile 
  Added files:
    games/kajaani-kombat Makefile distinfo pkg-descr 
  Log:
  Kajaani Kombat is a funny multiplayer game... and much more!
  It is a rampart-like game (old arcade classic) set in space.
  
  Kajaani Kombat is playable with two to four players, over the internet
  or alternatively two players sharing one computer. It is also possible
  to play over the internet with, for example, 4 players of which two are
  sharing the same computer. Enjoy it with your friends!
  
  WWW: http://kombat.kajaani.net/
  
  PR:             ports/167374
  Submitted by:   nemysis@gmx.ch
  
  Revision  Changes    Path
  1.1428    +1 -0      ports/games/Makefile
  1.1       +69 -0     ports/games/kajaani-kombat/Makefile (new)
  1.1       +2 -0      ports/games/kajaani-kombat/distinfo (new)
  1.1       +9 -0      ports/games/kajaani-kombat/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Marcus von Appen freebsd_committer freebsd_triage 2012-06-17 10:46:24 UTC
The game crashes instantly on choosing a castle with the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/base.py", line 1169, in run
    self.mainLoop()
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/base.py", line 1178, in mainLoop
    self.runUntilCurrent()
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/base.py", line 800, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/task.py", line 215, in __call__
    d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 134, in maybeDeferred
    result = f(*args, **kw)
  File "src/state.py", line 101, in stateLoop
    top_state.on_event(event)
  File "src/state.py", line 61, in on_event
    handler(top_state, event)
  File "src/gamephases.py", line 77, in handle_keypress
    player.handle_event(event)
  File "src/player.py", line 177, in handle_event
    self.phase_player.handle_event(*args, **kwargs)
  File "src/selectplayer.py", line 75, in handle_event
    self.confirm_select()
  File "src/network.py", line 45, in <lambda>
    return lambda *args, **kwargs: delegate_and_call(method_name, *args, **kwargs)
  File "src/network.py", line 40, in delegate_and_call
    getattr(to_class, method_name)(self, *args, **kwargs)
  File "src/selectplayer.py", line 60, in confirm_select
    game.field.look_for_secured_areas(self.player)
  File "src/field.py", line 326, in look_for_secured_areas
    update_screen(old_secured, foreign_walls)
  File "src/field.py", line 275, in update_screen
    changed_fields = nonzero(different.flat).tolist()
exceptions.AttributeError: 'tuple' object has no attribute 'tolist'


This must be fixed before the port is committed.

Regards
Marcus
Comment 4 Marcus von Appen freebsd_committer freebsd_triage 2012-10-06 18:03:12 UTC
State Changed
From-To: open->feedback

Are there any news on a possible fix for the issue I mentioned earlier? 
If not, I will close this PR for now until a fix becomes available.
Comment 5 Marcus von Appen freebsd_committer freebsd_triage 2013-01-12 10:14:57 UTC
State Changed
From-To: feedback->closed

Closed due to no feedback - please submit that port again once a fix 
becomes available.