PDA

View Full Version : Error message: 'Bad server name. Unknown reason.'


Ayukawa
03-01-2003, 11:12 PM
Out of nowhere I started getting a weird message when I tried running the world server. I am curious if anyone else has recieved it and how they dealt with it?

My world server was working fine before. I had attempted to recompile something into the source, but it started erroring with this error. I restored the tgz backup I had made and the error remained.

Using Linux, Eqemu 4.2



[root@the-abcb root]# cd /home/eqemu
[root@the-abcb eqemu]# world/world
Using database 'eq' at the-abcb.com
EQEMu 0.4.2 eRAMNotes Sucks!
Loading Variables, zone names & items...
...done.
LoginServer.ini read.
Loading guild ranks...done.
Loading EQ time of day...done.
Please don't make me a levelme server. :(
World server listening on: port 9000
Connected to LoginServer: eqlogin1.eqemu.net:5999
Login server responded with FatalError. Disabling reconnect.
Error message: 'Bad server name. Unknown reason.'
64.81.113.122:5999: TCPConnection::SendData(): send(): Errorcode: Broken pipe
Error message: 'Bad server name. Unknown reason.'


Please. I have placed alot of work into this and would hate to be forced to start over.

Thank you.

Trumpcard
03-01-2003, 11:38 PM
Verify your login.ini file, and the name for the server in it.. Make sure theres no white space..


Another option is to redownload the source and recompile it.

Ayukawa
03-02-2003, 09:53 AM
I checked the file and it looks fine. It was the same one I was using before that worked perfectly.

So I tried your download fresh source and recompile. Here is the results:


[root@the-abcb zone]# cd ..
[root@the-abcb eqemu]# cd world
[root@the-abcb world]# make -f makefileopt
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -march=i686 -O3 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/include/mysql -I/usr/mysql/include client.cpp -o client.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -march=i686 -O3 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/include/mysql -I/usr/mysql/include net.cpp -o net.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -march=i686 -O3 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/include/mysql -I/usr/mysql/include console.cpp -o console.o
WorldTCPConnection.h: In method `void
WorldTCPConnection::SendEmoteMessage (const char *, unsigned int,
unsigned int, const char *, ...)':
WorldTCPConnection.h:25: warning: varargs function cannot be inline
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -march=i686 -O3 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/include/mysql -I/usr/mysql/include zoneserver.cpp -o zoneserver.o
zoneserver.cpp: In method `bool ZoneServer::Process ()':
zoneserver.cpp:379: warning: unused variable `ServerZonePlayer_Struct
*szp'
WorldTCPConnection.h: In method `void
WorldTCPConnection::SendEmoteMessage (const char *, unsigned int,
unsigned int, const char *, ...)':
WorldTCPConnection.h:25: warning: varargs function cannot be inline
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -march=i686 -O3 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/include/mysql -I/usr/mysql/include LoginServer.cpp -o LoginServer.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -march=i686 -O3 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -I/usr/include/mysql -I/usr/mysql/include ../common/EQNetwork.o ../common/timer.o ../common/database.o ../common/packet_dump.o ../common/races.o ../common/unix.o ../common/Mutex.o ../common/MiscFunctions.o ../common/serverinfo.o ../common/packet_functions.o ../common/classes.o ../common/TCPConnection.o ../common/eqtime.o ../common/crc32.o client.o net.o console.o zoneserver.o LoginServer.o -L. -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/mysql/lib -lmysqlclient -o world
[root@the-abcb world]#


And of course the zone compile:

[root@the-abcb root]# cd /home/eqemu/
[root@the-abcb eqemu]# ls
CHANGELOG.txt EMuShareMem license-gpl.txt Server.opt zone
common EQEMu-0.4.2-Source.zip Server.dsw world
[root@the-abcb eqemu]# cd world/
[root@the-abcb world]# cd ..
[root@the-abcb eqemu]# cd zone/
[root@the-abcb zone]# make -f makefileopt
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/EQNetwork.cpp -o ../common/EQNetwork.o
../common/EQNetwork.cpp: In method `void
EQNetworkConnection::MakeEQPacket (APPLAYER *, bool)':
../common/EQNetwork.cpp:1394: warning: value computed is not used
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/timer.cpp -o ../common/timer.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/database.cpp -o ../common/database.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/packet_dump.cpp -o ../common/packet_dump.o
../common/packet_dump.cpp: In function `void DumpPacketBin (const void
*, unsigned int)':
../common/packet_dump.cpp:148: warning: cast from `const void *' to
`int8 *' discards qualifiers from pointer target type
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/packet_functions.cpp -o ../common/packet_functions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/unix.cpp -o ../common/unix.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/packet_dump_file.cpp -o ../common/packet_dump_file.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/Mutex.cpp -o ../common/Mutex.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/MiscFunctions.cpp -o ../common/MiscFunctions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include zone.cpp -o zone.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include entity.cpp -o entity.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include mob.cpp -o mob.o
mob.cpp: In method `void Mob::MakeSpawnUpdate
(SpawnPositionUpdate_Struct *)':
mob.cpp:591: warning: assignment to `sint16' from `float'
mob.cpp:591: warning: argument to `short int' from `float'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include client.cpp -o client.o
client.cpp: In method `sint32 Client::GenericFocus (short unsigned int,
short unsigned int)':
client.cpp:438: warning: comparison between signed and unsigned integer
expressions
client.cpp: In method `void Client::ChannelMessageReceived (unsigned
char, unsigned char, const char *, const char *)':
client.cpp:662: warning: cast from `const char *' to `char *' discards
qualifiers from pointer target type
client.cpp: In method `bool Client::QuestTroupe (const Seperator *)':
client.cpp:1589: warning: deprecated conversion from string constant to
`char *'
client.cpp: In method `bool Client::NormalUser (const Seperator *)':
client.cpp:3350: warning: deprecated conversion from string constant to
`char *'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include client_process.cpp -o client_process.o
client_process.cpp: In method `int Client::HandlePacket (APPLAYER *)':
client_process.cpp:3903: warning: passing `double' for argument 1 of
`Client::AddMoneyToPP (unsigned int)'
client_process.cpp:3910: warning: passing `double' for argument 1 of
`Client::AddMoneyToPP (unsigned int)'
client_process.cpp:3917: warning: passing `double' for argument 1 of
`Client::AddMoneyToPP (unsigned int)'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include npc.cpp -o npc.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include net.cpp -o net.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include spawn2.cpp -o spawn2.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include attack.cpp -o attack.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include hate_list.cpp -o hate_list.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/serverinfo.cpp -o ../common/serverinfo.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/moremath.cpp -o ../common/moremath.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include worldserver.cpp -o worldserver.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include spells.cpp -o spells.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include spawngroup.cpp -o spawngroup.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include loottables.cpp -o loottables.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include faction.cpp -o faction.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include Map.cpp -o Map.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include PlayerCorpse.cpp -o PlayerCorpse.o
PlayerCorpse.cpp: In method `void Corpse::LootItem (Client *, APPLAYER
*)':
PlayerCorpse.cpp:572: warning: unused variable `int16 tmpslot'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include petitions.cpp -o petitions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include WesQuests.cpp -o WesQuests.o
WesQuests.cpp: In method `void Client::CheckQuests (const char *, const
char *, unsigned int, short unsigned int, Mob *)':
WesQuests.cpp:317: warning: NULL used in arithmetic
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include NpcAI.cpp -o NpcAI.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include Object.cpp -o Object.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/eqtime.cpp -o ../common/eqtime.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include groups.cpp -o groups.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/classes.cpp -o ../common/classes.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/races.cpp -o ../common/races.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/TCPConnection.cpp -o ../common/TCPConnection.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include forage.cpp -o forage.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/crc32.cpp -o ../common/crc32.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/guilds.cpp -o ../common/guilds.o
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O3 -march=i686 -funroll-loops -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/mysql/include ../common/EQNetwork.o ../common/timer.o ../common/database.o ../common/packet_dump.o ../common/packet_functions.o ../common/unix.o ../common/packet_dump_file.o ../common/Mutex.o ../common/MiscFunctions.o zone.o entity.o mob.o client.o client_process.o npc.o net.o spawn2.o attack.o hate_list.o ../common/serverinfo.o ../common/moremath.o worldserver.o spells.o spawngroup.o loottables.o faction.o Map.o PlayerCorpse.o petitions.o WesQuests.o NpcAI.o Object.o ../common/eqtime.o groups.o ../common/classes.o ../common/races.o ../common/TCPConnection.o forage.o ../common/crc32.o ../common/guilds.o -L. -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/mysql/lib -lmysqlclient -o zone
[root@the-abcb world]#



After I noticed there were many missing files. For example, here is the /home/eqemu directory (root of eqemu)


[root@the-abcb world]# cd ..
[root@the-abcb eqemu]# ls
CHANGELOG.txt EMuShareMem license-gpl.txt Server.opt zone
common EQEMu-0.4.2-Source.zip Server.dsw world
[root@the-abcb eqemu]#


I know its probably something stupid that I am mistaking, but as I am the one making the mistake, I am obviously not seeing. it.
Do you have any suggestions please?

Trumpcard
03-02-2003, 12:09 PM
Your zone and world compiled fine, now you need to copy them to the place where all your bionary files reside..

For eqemu to run, you need a directory somewhere where you start everything (as I'm sure you're aware) with the .ini files, and zone and world files.

The directories you listed did not have any ini files, and the code you sent compilied fine, so I can only assume you didnt copy something in correctly.

Heres what you should do, dont run world and zone out of the directories you compile them from. Create a directory somewhere completely outside that contains these files
1) all ini files
2) spell_en.txt file
3) world and zone compiled files

start the zones from there, my guess is that something is missing. THe better way to do it is to have an install directory somewhere, and copy the new files over after you've compiled them.

Hope this helps

Ayukawa
03-02-2003, 08:01 PM
Here is what is in the compile Dir's:

In /world
[root@the-abcb world]# ls
client.cpp console.o makefiledebug net.o WorldTCPConnection.h
client.h LoginServer.cpp makefilefreebsd world zoneserver.cpp
client.o LoginServer.h makefileopt World.dsp zoneserver.h
console.cpp LoginServer.o net.cpp World.dsw zoneserver.o
console.h makefile net.h World.plg
[root@the-abcb world]#

In /zone
[root@the-abcb zone]# ls
attack.cpp groups.h NpcAI.cpp spawngroup.cpp
attack.o groups.o NpcAI.h spawngroup.h
client.cpp hate_list.cpp NpcAI.o spawngroup.o
client.dsp hate_list.h npc.cpp spdat.h
client.dsw hate_list.o npc.h spells.cpp
client.h import_raw_items.cpp npc.o spells.o
ClientList.cpp loottable.h Object.cpp WesQuests.cpp
ClientList.h loottables.cpp object.h WesQuests.o
client.o loottables.o Object.o worldserver.cpp
client.opt makefile petitions.cpp worldserver.h
client_process.cpp makefiledebug petitions.h worldserver.o
client_process.o makefilefreebsd petitions.o zone
entity.cpp makefileopt PlayerCorpse.cpp zone.cpp
entity.h Map.cpp PlayerCorpse.h Zone.dep
entity.o map.h PlayerCorpse.o Zone.dsp
errmsg.h Map.o queues.h Zone.dsw
faction.cpp message.h raid.h zonedump.h
faction.h mob.cpp Scripts.cpp zone.h
faction.o mob.h Scripts.h zone.o
forage.cpp mob.o skills.h Zone.plg
forage.h net.cpp spawn2.cpp
forage.o net.h spawn2.h
groups.cpp net.o spawn2.o
[root@the-abcb zone]#

In /common
[root@the-abcb eqemu]# cd common/
[root@the-abcb common]# ls
classes.cpp EQNetwork.o MiscFunctions.h races.h
classes.h eq_opcodes.h MiscFunctions.o races.o
classes.o EQOpcodes.h moremath.cpp seperator-2.h
crc32.cpp EQPacket.cpp moremath.h seperator.h
crc32.h EQPacket.h moremath.o serverinfo.cpp
crc32.o EQPacketManager.cpp Mutex.cpp serverinfo.h
database.cpp EQPacketManager.h Mutex.h serverinfo.o
database.h eq_packet_structs.h Mutex.o servertalk.h
database.o eqtime.cpp packet_dump.cpp TCPConnection.cpp
DBMemLeak.cpp eqtime.h packet_dump_file.cpp TCPConnection.h
DBMemLeak.h eqtime.o packet_dump_file.h TCPConnection.o
debug.h errmsg.h packet_dump_file.o timer.cpp
deity.h files.h packet_dump.h timer.h
EMuShareMem.cpp guilds.cpp packet_dump.o timer.o
EMuShareMem.h guilds.h packet_functions.cpp types.h
EQCheckTable.h guilds.o packet_functions.h unix.cpp
EQFragment.cpp linked_list.h packet_functions.o unix.h
EQFragment.h md5.cpp queue.h unix.o
EQNetwork.cpp md5.h queues.h version.h
EQNetwork.h MiscFunctions.cpp races.cpp ZoneNumbers.h
[root@the-abcb common]#

In EMuShareMem
[root@the-abcb eqemu]# cd EMuShareMem/
[root@the-abcb EMuShareMem]# ls
DLLMain.cpp Doors.h EMuShareMem.plg Items.h NPCTypes.h
Doors.cpp EMuShareMem.dsp Items.cpp NPCTypes.cpp
[root@the-abcb EMuShareMem]#

There are no ini files coming up at all. This is from a fresh compile off of a fresh download of the source, unzip -a into the directory.

See anything I am missing?

krusher
03-03-2003, 03:13 AM
Had the same problem... Talked to Quagmire and he informed me that the issue was the length of the server "name". Has to be at least 10 chars long. I made the change and the problem went away..

krusher
03-03-2003, 03:16 AM
The server name HAS to be 10 chars in length...

Ayukawa
03-03-2003, 06:40 AM
Actually I found out you are not.

I started by changing the worldname from the-abcb, to the-abcb-cafe(which is what the server itself is named after.

That of course was a failure, so I reinterpreted what you said into a test that was naming it the-abcb-c. It worked.

So I guess I am forced to figure out a 10 character (no more no less) name. Not to much of a sacrafice if you think about it.

Thank you both Trumpcard and krusher. You have helped me get back on track.

Now to figure out what else I can do to blow my server up.

Roadkill
03-14-2003, 04:43 AM
What's really wierd, is that I had a 0.4.2 server running with the name "Ferrhast" after the date of these posts, no error. Then when I put on 0.4.3 I started getting the "Bad server name. Unknown reason." error using the same name "Ferrhast". I changed the name to "Ferrhast EQemu" and no error.

Trumpcard
03-14-2003, 04:53 AM
alot of networking code changed between 0.4.2 and 0.4.3

DeletedUser
03-19-2003, 10:51 AM
It seems weird that you have to have exactly 10 chars long though. We use to require 5 chars atleast and truncated it if it was longer.