fresh install crashes due to wrong coordinates supplied

A place for people to post strange occurances that could be potential bugs.

Moderator: Board moderators

Guest

fresh install crashes due to wrong coordinates supplied

Post by Guest »

As the topic says, I have a fresh install of a windows client 1.7.1, a fresh gtk installation as of today, a fresh server 1.7.0 installation and the bigmap installation (1.7.0 as well).

Whenever a load the server on localhost all goes well.

Then when I try to connect with the client to localhost it instantly quits and the server has such messages:

Code: Select all


BUG: process_events(): Object without map or inventory is on active list: mobili
ty (0)
clean_friendly_list: Removed 1 bogus links
CS: connection from client of type < GTK Win32 Client 1.7.1>
Get SetupCmd:: map1acmd 1 sound 1 sexp 1 darkness 1 newmapcmd 1 faceset 0 faceca
che 0 exp64 1 itemcmd 2
SendBack SetupCmd:: setup map1acmd 1 sound 1 sexp FALSE darkness 1 newmapcmd 1 f
aceset 0 facecache 0 exp64 1 itemcmd 2
Get SetupCmd:: faceset 0
SendBack SetupCmd:: setup faceset 0
Could not find file Banish file
Trying to load map share/maps/HallOfSelection.
load_original_map: /HallOfSelection (0)
enter_map: supplied coordinates are not within the map! (/HallOfSelection: -1, -1)
PYTHON - triggerEvent:: eventcode 20
Connection closed by client
LOGOUT: Player named dwarf from ip 127.0.0.1
Waiting for connections...

Note the -1,-1 coordinates which indeed don't seem right. How can I fix this problem?

ty, your Guest
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

interesting, my hall_of_selection has enter coordinates x=7 y=5

you likely can fix this by downloading cvs hallofselection - i cant access cvs right now...
download the file here: http://62.251.104.53/~wim/HallOfSelection (right click and download)

save the file in </path/to/>crossfire/maps/
in windows this might be c:\program files\crossfire\maps\

you also can edit the file HallOFSelection and modify the lines with "enter_x" and "enter_y" to read "enter_x 7" and "enter_y 5"
Bibendi ergo sum
or rather: sum ergo bibendi
Guest

Post by Guest »

Hmm, I found the file and I, too, have there 7,5 as coordinates. The only explanation I have now is that he doesn't find the file somehow. Note that I have installed to some other directory then C:\Programs or whatever. Might that be the problem? (I don't like to clutter my programfiles with non-work related stuff)

here the bootmessages of the server (from which I got the impression that he found the maps, after all):

Code: Select all

Reading bmaps from share/bmaps...done (got 4480/4481/4481)
Reading faces from share/faces...done
Reading smooth from share/smooth...done (got 119 smooth entries)
Reading animations from share/animations...done. got (875)
Reading archetypes from share/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 share/attackmess...got 260 messages in 19 categorie
s.
Reading clockdata from var/clockdata...todtick=393860
Emergency mappath reset to /world/world_105_115 (5, 37)
Reading material type data from share/materials...Done.
Could not open var/temp.maps for reading
Reading artifacts from share/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 share/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 share/messages...done.
 Reading bookarch from var/bookarch...
 done.
init_mon_info() got 308 monsters
 Done
Reading alchemical formulae from share/formulae...done.
Checking formulae lists...done.
Initialize new client/server data
Loading image file share/crossfire.0
Loading image file share/crossfire.1
Now initializing plugins
Plugins directory is share/plugins/
Registering plugin plugin_python.dll
    CFPython Plugin loading.....
'import site' failed; use -v for traceback
PYTHON - Start initCFPython.
Traceback (most recent call last):
  File "share/maps/python/events/python_init.py", line 2, in ?
    import os.path
ImportError: No module named os.path
[Done]
Plugin name: CFPython Plugin 0.7 (Koursk), known as Python
PYTHON - Start postinitPlugin.
Plugin Python (0) registered the event 13
Plugin Python (0) registered the event 15
Plugin Python (0) registered the event 18
Plugin Python (0) registered the event 19
Plugin Python (0) registered the event 23
Plugin Python (0) registered the event 24
Plugin Python (0) registered the event 20
Plugin Python (0) registered the event 21
Plugin Python (0) registered the event 22
Plugin Python (0) registered the event 26
Plugin Python (0) registered the event 27
Done
Waiting for connections...

Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

where did you install the map files? they are supposed to be in /path/to/crossfire/maps

so if you dir in /path/to/crossfire/maps you should see a lot of directiries and some files
Bibendi ergo sum
or rather: sum ergo bibendi
Guest

Post by Guest »

Well, the default installation installs separate dirs 'Crossfire Server' and 'Crossfire Client'. And the maps are located at the server in the share directory. I tried to copy it all together into plain 'Crossfire' but it didn't help. Still -1,-1.
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

i am not common with the windows server (installation). it sounds reasonable that client and server are seperated, you dont need the server to play the game (when you play online)

i think the server looks for the map files in the server directory, more specific in maps, so make sure they are there

i have the server installed in

/usr/share/games/crossfire

this directory contains several files and directories, one of them is 'maps'
/usr/share/games/crossfire/maps

In this directory, the server searches for map files...
i think also in windows the map files should go there
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Anonymous wrote:Well, the default installation installs separate dirs 'Crossfire Server' and 'Crossfire Client'. And the maps are located at the server in the share directory. I tried to copy it all together into plain 'Crossfire' but it didn't help. Still -1,-1.
The -1, -1 has been around for a long time, i see it all the time, and yet server works.

When installing server and maps, did you just let the default path (c:\program files\crossfire server)? Map install will install in the share\maps subdir automatically.

Do you have any firewall? What GTK version are you using?

Client is compiled with GTK 2.2 (that's what the installed version you have uses), but there seems to be issues when running under GTK 2.4. I'm trying to fix'em, no luck so far...

(I'm the one who made the client/server installers, so blame me :p)
Guest

Post by Guest »

My gtk Version is exactly: gtk-runtime-2.6.2-rev-a.exe

It was just the one i grabbed from the website the installer pointed me to. Revisiting it now, I took the 2.2 version and all is well now. So - no bug after all, just a misleading link. Thanks for your help guys!
Aaron
Senior member
Posts: 496
Joined: Sun Jan 30, 2005 9:04 pm
Location: New Jersey
Contact:

Post by Aaron »

acctually it is a bug. it should work with the newest version of gtk.

i have also noticed some issues every time i try to install gtk on windows pcs ME and over. it dosnt seem to work. on the ME one, CF was bitching about rectangles, and dieing. on an xp computer gaim was segfaulting. i think this is a problem with gtk, and not cf, but any pointers cause my friend wants to play...
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

not a problem with gtk, for gtk works fine on linux. It is rather a problem with windows and gtk.
Eliminating the right side of the conjunction leaves only one possibility...
Bibendi ergo sum
or rather: sum ergo bibendi
Post Reply