Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: Major Bug in Yarid's House



During the update of scorn and fixing of numerous proiblems in the maps
I discovered a good one.

This bug allows you to build a dungeon which will repeat the same map
as you get deeper and deeper in the dungeon. The same map is used
but the server will think the map is different so will generate
new versions of the map, over and over.

The exact bug found was as follows..

The stairs in Yarids house "/city/houses/wizz.entry" was set to go
`down' to "./wizz.lev1".  Note the `.' in the path.  This `.' to UNIX
and open file call means the current directory, but crossfire thinks
this is a different directory lower down in the directory tree.
In other word You load the map "/city/houses/wizz.lev1", but the
crossfire server thinks this map is "/city/houses/./wizz.lev1".

This could be a feature in a `infinate dungeon' :-)

However the exit from the dungeon was not as the server expected
"../wizz.entry" to go back up a directory, but the more normal
"wizz.entry".  

This means that the server instead of returning the adventurer to
"/city/houses/wizz.entry" created a new map "/city/houses/./wizz.entry"
What is worse, the exit back to the city (which is "../city" as usual)
is now closed as "/city/houses/city" does NOT exist!

This will be fixed in the Scorn Update Maps release in a few days
but I just let the group know of this `bug' :-)

Anyone like to build a infinite dungeon :-)
  * Start level "map"  All lower levels is "some_dir/map"
  * Down is "./map"      * Up is "../map"

You could even cycle through a number of different maps with some carful
thought.  A
   
  Anthony Thyssen ( System Programmer )    http://www.sct.gu.edu.au/~anthony/
- --------------------------------------------------------------------------- -
  "Better shut 'er down, Slim. She's pumpin' mud."  - memorable error message!
- --------------------------------------------------------------------------- -
     PGP Public Key available -- finger -l anthony@lyrch.cit.gu.edu.au
-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]