[CF-Devel] server error: Unrecognized string

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Mon Nov 3 01:04:18 CST 2003


I encountered a problem which i can reproduce 100 %, but still
could not trace:

Whenever i create a new character whose class gets a spellbook
as start-equip, the server is caught in an infinite loop.

As the last message from the server is:
"Unrecognized string: arch dungeon_magic" ,
one might think the lexx created loader.c is broken.
So I tested rebuilding loader.c with my bison-1.875.
Although the created files differ quite a bit, the server does
behave the same.
The parser seems to crash on the very first arch after the map header
- independent of map.
But classes without spellbooks eg. barbarian/warrior/monk etc. do not
crash my server.
OK, they do too... but only after entering/leaving several different maps.
The "spellbook" classes always crash my server when stepping on the
player-changer.

Thus, i think something goes wrong creating "randomitems".

I attached a server log (not very helpful I'm afraid.)

system : Linux 2.4.22
compiler:  gcc-3.3.2

Bernd Edler
-------------- next part --------------
Reading bmaps from /tmp/crossfire/crossfire-CVS/test/share/crossfire/bmaps...done (got 4534/4535/4535)
Reading faces from /tmp/crossfire/crossfire-CVS/test/share/crossfire/faces...done
Reading smooth from /tmp/crossfire/crossfire-CVS/test/share/crossfire/smooth...done (got 77 smooth entries)
Reading animations from /tmp/crossfire/crossfire-CVS/test/share/crossfire/animations...done. got (862)
Reading archetypes from /tmp/crossfire/crossfire-CVS/test/share/crossfire/archetypes...
 arch-pass 1...
 Adding friendly object Evil Master, Bonehead.
 done
 Setting up archetable...done
 loading treasure...
 done
 arch-pass 2...
 done
 done
Reading attack messages from /tmp/crossfire/crossfire-CVS/test/share/crossfire/attackmess...got 260 messages in 19 categories.
Reading clockdata from /tmp/crossfire/crossfire-CVS/test/var/crossfire/clockdata...todtick=70529
Reading material type data from /tmp/crossfire/crossfire-CVS/test/share/crossfire/materials...Done.
Welcome to CrossFire, v1.5.0
Copyright (C) 1994 Mark Wedel.
Copyright (C) 1992 Frank Tore Johansen.
Reading artifacts from /tmp/crossfire/crossfire-CVS/test/share/crossfire/artifacts...Object NULL seems to have too low item power? 27 > 4
Object NULL seems to have too low item power? 21 > 8
done.
Reading races from /tmp/crossfire/crossfire-CVS/test/share/crossfire/races...
 Resetting race to undead from Wraith for archetype Wraith
 Resetting race to faerie from elf for archetype elf
 Resetting race to reptile from Quetzalcoatl for archetype quetzalcoatl
 Resetting race to fire_elemental from fireborn for archetype fireborn
 Resetting race to human from barbarian for archetype barbarian
 Resetting race to human from cleric for archetype cleric
 Resetting race to human from mage for archetype mage
 Resetting race to human from ninja for archetype ninja
 Resetting race to human from priest for archetype priest
 Resetting race to human from swashbuckler for archetype swashbuckler
 Resetting race to human from thief for archetype thief
 Resetting race to human from viking for archetype viking
 Resetting race to human from warrior for archetype warrior
 Resetting race to human from wizard for archetype wizarddone.
Initializing gods...done.
Initializing reading data...Reading messages from /tmp/crossfire/crossfire-CVS/test/share/crossfire/messages...done.
 Reading bookarch from /tmp/crossfire/crossfire-CVS/test/var/crossfire/bookarch...
 book archives(used/avail): (0/924)
 done.
init_mon_info() got 301 monsters
 Done
Reading alchemical formulae from /tmp/crossfire/crossfire-CVS/test/share/crossfire/formulae...done.
Checking formulae lists...done.
Initialize new client/server data
Loading image file /tmp/crossfire/crossfire-CVS/test/share/crossfire/crossfire.0
Loading image file /tmp/crossfire/crossfire-CVS/test/share/crossfire/crossfire.1
Initializing plugins :
Waiting for connections...
BUG: process_events(): Object without map or inventory is on active list: mobility (0)
clean_friendly_list: Removed 1 bogus links
CS: connection from client of type < GTK Unix Client 1.6.0>
Get SetupCmd:: map1acmd 1 sound 1 sexp 1 darkness 1 newmapcmd 1 faceset 0 facecache 1 exp64 1 itemcmd 2
SendBack SetupCmd:: setup map1acmd 1 sound 1 sexp FALSE darkness 1 newmapcmd 1 faceset 0 facecache 1 exp64 1 itemcmd 2
Get SetupCmd:: mapsize 13x13
SendBack SetupCmd:: setup mapsize 13x13
Get SetupCmd:: faceset 0
SendBack SetupCmd:: setup faceset 0
Trying to load map /tmp/crossfire/crossfire-CVS/test/share/crossfire/maps/HallOfSelection.
load_original_map: /HallOfSelection (0)
enter_map: supplied coordinates are not within the map! (/HallOfSelection: -1, -1)
make_path_tofile /tmp/crossfire/crossfire-CVS/test/var/crossfire/players/testplayer...
give_initial_items: Removing duplicate object sorcerer's spellbook
Trying to load map /tmp/crossfire/crossfire-CVS/test/share/crossfire/maps/city/city.
load_original_map: /city/city (0)
Unrecognized string: arch dungeon_magic

SIGINT received.
Emergency saves disabled, no save attempted
Cleaning up...
Saving map /HallOfSelection
Player on map that is being saved
-------------- next part --------------
_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list