Zillions 2.0 : Old game does not work ! Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » Zillions 2.0 : Old game does not work ! « Previous Next »

Author Message
Guenther Rosenbaum (Guenther)
Posted on Sunday, December 22, 2002 - 6:08 pm:   

My old game Yucata does not work correctly with Zillions 2.0.
It seems, that the flip statement is the problem:
in Zillions 2.0 it (sometimes) works counterclockwise - in 1.3/german clockwise.
Here is a simple game, which shows this if you run it with both Zillions versions:
; Test Flip

(define flip-all
mark b1 flip b2 flip flip b3 flip flip flip back
)


(game
(title "TestFlip")
(players Player1 Player2 Player3)
(turn-order Player1 Player2)
(board
(image "images\TicTacToe\TTT5x5.bmp")
(grid
(start-rectangle 0 0 50 50)
(dimensions ;5x5
("a/b/c/d/e" (50 0)) ; columns
("5/4/3/2/1" (0 50)) ; rows
)
)
)
(piece
(name On)
(image Player1 "images\TurnOff\bright.bmp" Player2 "images\TurnOff\dim.bmp" Player3 "images\TurnOff\dark.bmp"
)
(drops
((verify (position? a1)) (flip-all) add)
)
)


(board-setup
(Player1 (On off 10000 a1 b1 ))
(Player2 (On off 10000 b2 ))
(Player3 (On off 10000 b3 ))

)
(win-condition (Player1)
(pieces-remaining 10 On)
)
)

Is this a bug or a feature ?
Jeff Mallett (Jeffm)
Posted on Sunday, December 22, 2002 - 8:05 pm:   

This is not a bug with Zillions 2. Zillions 2 does its flipping in the same order as v.1.3.1. It is a problem with the the specific build of the German 1.3 version you have.

Right when version 1.3 was released, Jens found an incompatibility where the flipping was occurring forwards, where previously it had gone backwards. I fixed this immediately and within 48 hours we had a new version online, 1.3r2, with all the updaters. This occurred before our announcement of 1.3, so did not affect too many people. For details, see the "V1.3 compatibility issue" thread earlier in the "Designing Games..." topic.

I don't remember exactly how the releases occurred for the German version, but somehow you didn't get the fix, even though I know we had 1.3/German build that worked like other versions. If you still need to use the 1.3/German, you can talk to me offline and I can try to find the fix for it.
Dan Troyka (Dtroyka)
Posted on Sunday, December 22, 2002 - 8:22 pm:   

Yucata appears to work properly in 1.3 (non-German), 1.3.1, and 2.0 if you change the statement (if (in-zone? sp sp1) flip flip else flip) to read (if (in-zone? sp sp1) flip else flip flip). One possible way to code around this problem so that the game works in all versions of ZoG is to use the players statement (players Player1 Steine Player2 Steine), so that a non-neutral player is always flipped to neutral by a single flip, although this could present problems if the piece is later flipped again.
Guenther Rosenbaum (Guenther)
Posted on Tuesday, December 24, 2002 - 8:25 am:   

OK - Problem found:
I bought (years ago) the german cd version 1.0 and later upgraded it from the german site to 1.3 !
But today I reloaded the update and got 1.3(r2), as one can see from the about window.
(Some days ago I bought version 2.0/english, to get always updates very quickly - because some updates are not transferred to the german version).
Nevertheless, I have to correct the yucata rules - I think the first hint of Dan will work (thanks).
Robert A. Kraus (Bobkraus)
Posted on Tuesday, December 24, 2002 - 8:16 pm:   

My TileFlips puzzle does not work right under Zillions 2.0 either. This is because the 3-time repetition "feature" which is supposed to be deactivated for puzzles is really only deactivated for 1-player games. But some puzzles, like Tile-Flips, has a second random player and for some reason the repetition feature was made active for this although it wasn't for Zillions 1.3
This brings up a general problem I have both with Zillions and many other software programs of all types: they should not decide the defaults for the players, rather give the players OPTIONS to choose their own. In this case a simple "deactivate repetition check" option would be sufficient.

(If there is some simple way to fix this please let me know - I haven't really studied the Z-2.0 rules yet.)

Bob Kraus
Jeff Mallett (Jeffm)
Posted on Thursday, December 26, 2002 - 12:37 am:   

Aw...making me debug on Christmas day!
I've verified that for Zillions 2.0p doesn't correctly detect puzzles as puzzles if they have random player(s) in them. Thanks for pointing this out -- I'll work on a patch for this.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: