Maze Party

General debates and discussion about the Guild of Writers and Age creation
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Post by D'Lanor »

VAR BOOL only holds 1 or 0. If you are going to use that you indeed have to use one SDL for every 1 and 0. :blink:

That is why I suggested conversion. Conversion to a numeric code requires a VAR BYTE or for longer numbers VAR INT. And for a string you could use VAR STRING32.

Your list converted to decimals looks like this:

Code: Select all

0
1022
514
943
40
1018
514
958
162
2030
0

For this conversion I used a standalone Python binary converter that I found here.

This is already much shorter and could be stored in several INT SDLs or in one STRING32 SDL like this: 0,1022,514,943,40,1018,514,958,162,2030,0
I would go for the STRING32 if it can hold this.

I am sure there are methods that are more efficient. I believe encryption methods usually produce relatively short hashes, but that is perhaps too complicated for what you are trying to do.
"It is in self-limitation that a master first shows himself." - Goethe
MercAngel
Posts: 25
Joined: Mon Oct 29, 2007 5:57 pm

Post by MercAngel »

ok i am useing STRING32 and i am getting this error in the log files

[SDL] Trying to set a tuple value to something that isn't a tuple

Fixed
MercAngel
Posts: 25
Joined: Mon Oct 29, 2007 5:57 pm

Post by MercAngel »

I hope to have a test ready tonight arpund 10:30PM Eastern time

i new file has been posted it now had a TheMaze.pak file and an SDL file please make sure to put them in the right place


NOTE:it will take a little longer to link to this new one has it now has to load the maze from the vault before you link in.

NOTE:This version can only be played on Atlantis. The code to create a random maze is in my KI and not in the age yet it will be in the final version of the age.
MercAngel
Posts: 25
Joined: Mon Oct 29, 2007 5:57 pm

Post by MercAngel »

Big Bug after a link to the age one time and then leave and come back every thing is gone i am just in the middle of this big void no walls no nothing
ShadowDude
Posts: 60
Joined: Sun Sep 30, 2007 11:33 am
MOULa KI#: 0
Location: North Carolina

Post by ShadowDude »

[quote="MercAngel"]Big Bug after a link to the age one time and then leave and come back every thing is gone i am just in the middle of this big void no walls no nothing

Yeah this seems to be a side effect of the new PRP plugin... all the newer ages (Ahras Pahts, Galamay 2.0, etc.) exhibit this bug.