PDA

View Full Version : Getting Dropped when 'Entering World'


Aspirax
08-15-2002, 01:22 AM
Greetings-

I've been attacking eqemy from two different angles:

1) Running my own publiclogin
2) Using eqemu's public login

#1 will be discussed another day :)

#2:
I've set up my database, connected with my world server and started my zones. All is well.

I connect, and log in. I see a list of servers, and mine is there.
Sweet. I connect, and then create a new character. (So far so good!)

Then I select "Enter World", it pauses, and then returns me to the server selection list.

My world server shows me this as I connect:
62732 New client from ip: xxx.xxx.xxx.xxx port: 1275
Logged in: LS#7688: Aspirax
Sending list of guilds
Unknown opcode: 0x3521 size:2056
Unknown opcode: 0x3921 size:2056
Unknown opcode: 0x9221 size:4
0: 20 9C D7 F2 | ...
Unknown opcode: 0x9220 size:12
0: 00 00 00 14 00 00 00 00 - 00 00 00 00 | ............

(everything seems good up to this point)
I select my character from the game.
World server reports:
Maxclients: -1
Attempting autobootup of 'erudnint' for Aspirax
Zoneserver SetZone: 192.168.80.2:7995 erudnint
Enter world: Aspirax: erudnint
Zoneserver SetZone: 192.168.80.2:7995 erudnint
Client disconnected
Removing client from ip:xxx.xxx.xxx.xxx port:1275

zone logs show:
Map: Maps\erudnint.map not found.
ZoneID = 23
Couldn't find/read ./cfg/erudnint.cfg. (returning -1)
Couldn't find/read ./cfg/erudnint.cfg. (returning -1)
Corrupt (or nonexistant) zhdr file ./cfg/erudnint.cfg -- fread count = -1 (should be 170)
Using default zone header data...
-----------
Zone server 'erudnint' listening on port:7997
-----------

And then I get returned to the world map screen.

I can't find any files in EQ or EQemu that are erudnint.map or .cfg.

Suggestions or recommendations on getting this to work? I've tried 4 different zones, all have the same problem.

(Qeynos, Neriak, etc)

Thanks.

kathgar
08-15-2002, 01:25 AM
You have the wrong IPs in the zone arguments

Aspirax
08-15-2002, 02:51 AM
Something so simple. That worked great.

But now, EQ completely closes and leaves me with this in the zone logs:

174856 New client from ip: xxx.xxx.xxx.xxx port: 1553
Login packet 1 (OP_SetDataRate = 5)
Unexpected packet during CLIENT_CONNECTING2: OpCode: 0xe821, size: 4
0: 00 00 A0 40 | ...@
Login packet 2
Loaded playerprofile for Aspirax - size: 8244/8244
Loaded alt_adv_table for Aspirax - size: 256/256
Unexpected packet during CLIENT_CONNECTING3: OpCode: 0xf021, size: 68
0: 41 73 70 69 72 61 78 00 - 11 01 00 00 01 00 00 00 | Aspirax.........
16: C8 9D FB 02 48 00 F6 02 - 00 00 00 00 28 C2 FB 02 | ....H.......(...
32: 1A 00 00 00 B0 4C C4 03 - 14 99 8E 1D 37 D7 51 00 | .....L......7.Q.
48: C8 9D FB 02 11 01 00 00 - 01 00 00 00 50 85 75 00 | ............P.u.
64: 00 00 00 00 | ....
Login packet 3
Client disconnected: Aspirax



If I connect to another's server, I get the same results.
(I just can't see their zone logs, but my EQ window up and quits)

kathgar
08-15-2002, 02:57 AM
make sure you are using latest eq client/latest eqemu.. 3.5b5

unix_phreak
08-15-2002, 04:00 AM
I have the same problem, I am running the SQL db, World, and zone servers on my RH 7.2 box and the EQ game.exe on my XP box. I can get connected, and create a character, but I get the exact same disconnect..

I have tried a whole lotta crap (including running world.exe on my XP box and just the zone servers and the DB on the linux box) to no avail.



ALos, I have a question regarding Depends for Linux to compile the biniaries under RH 7.2.
What are the denepds for the gcc compiler and what versions should be used? I tried it with Gcc3, that's not working, then I installed the RPM for gcc 2.9.6 seemes to start working, but then I get a fatal error (something about header files missing).

Aspirax
08-15-2002, 04:02 AM
Sure am. upon further investigation found it happens with Erudin, but not Neriak, or Qeynos.

Aspirax
08-15-2002, 04:25 AM
Unix_Phreak>

I had to do a bunch of tweaking to get it to work with gcc 3.
(Prototypes, mostly, but some with LoadSPDat() too)

I've not yet tried it with anything else.

Trumpcard
08-15-2002, 04:29 AM
I had a few threads in here about compiling it with gcc3.0.4 , haven't tried it with gcc 3.1 lately though. Several changes had to be made, but none particularly difficult. 3.2 will be out shortly so I'd wait a few weeks before digging too deeply into anything.

Trumpcard
08-15-2002, 04:42 AM
Wow... I have amazing timing...

Developers: GCC 3.2 Released
Posted by michael on Thursday August 15, @12:44PM
from the fount-of-all-goodness-and-light dept.
bkor forwards the GCC 3.2 release announcement, without attributing it as such: "The GCC 3.2 release is now available, or making its way to, the GNU FTP sites. The purpose of this release is to provide a stable platform for OS distributors to use building their next OS releases. A primary objective was to stabilize the C++ ABI; we believe that the interface to the compiler and the C++ standard library are now stable. There are almost no other bug-fixes or improvements in this compiler, relative to GCC 3.1.1. Be aware that C++ code compiled by GCC 3.2 will not interoperate with code compiled by GCC 3.1.1. More detail about the release is available. Many people contributed to this release -- too many to name here!"

Aspirax
08-15-2002, 04:44 AM
Update>

I deleted my player file that I had previously created with the bad setup, and recreated it, using Erudin as my start place, and it worked.


Onto publiclogin
Heh.

kathgar
08-15-2002, 04:52 AM
post any problems with gcc3.. i dont' have a box to test it on.. and well, I can't think of anythignin LoadSPDat that wouldn't work..

Aspirax
08-15-2002, 06:42 AM
gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc-3.1/configure
Thread model: single
gcc version 3.1
============================
net.cpp: In function `void LoadSPDat()':
net.cpp:358: `nocreate' is not a member of type `std::basic_ios<char,
std::char_traits<char> >'
net.cpp:358: `openprot' is not a member of type `std::basic_filebuf<char,
std::char_traits<char> >'

I had to change:
in.open("spells_en.txt",ios::nocreate,filebuf::openprot);
To:
in.open("spells_en.txt",ios::in);

unix_phreak
08-15-2002, 10:22 AM
Here comes my lack of programming skills....

I searched the entire DSW (all files included in the distro) for in.open("spells_en.txt",ios::nocreate,filebuf:penprot);

and it's not there. In net.cpp the last line # is 357...


Someone make me an rpm. hahahah j/k

kathgar
08-15-2002, 11:08 AM
Odd on the necreate and stuff.. ios::in.. will.. not do what I want.. but.. anyways.. unix, wrong version.. net.cpp grew.. a lot in 3.5

Aspirax
08-15-2002, 02:52 PM
Yeah, I noticed that.

What's the recommended fix here? Do you do both the Windows and Unix development?

unix_phreak
08-15-2002, 03:31 PM
Are you reffering to the eqemu.3.5? I have that one. I have had no other (I just got involved with this project).

kathgar
08-16-2002, 04:59 AM
I do general dev, but as soon as we get 3.5 i'm going to work on the *n?x net code, and signal catching.. and unix.. that isn't 2.5 source.. did you get it from !files?

unix_phreak
08-21-2002, 11:29 AM
I'll get it from IRC with !files

unix_phreak
08-22-2002, 04:37 AM
All I am seeing is the 3.4 Win32 executables. There's no source files listed.

Aspirax
08-22-2002, 04:40 AM
http://eqemu.sourceforge.net/downloads/

Note:
It does not compile with GCC 3.x.

It does not come with db.sql.

(Note to someone who makes the distribution:
Can you package the source with the sql file so non-windows
users do not need to download the windows executable package to get it?)

unix_phreak
08-22-2002, 04:58 AM
I got them, however it's calling to the standard .h files that ARE there, but for some wacked out reason on my RH7.2 box it's saying that they aren't present. I guess I'll just have to spend a little more time screwing with it.

Thanks though

Aspirax
08-22-2002, 04:59 AM
like which? and which version of GCC?

unix_phreak
08-23-2002, 05:27 AM
I have tried it with GCC 3.0.1 and 2.9.6
It's calling for iostreams.h and the other Generic header files.