PDA

View Full Version : problem with 02152005.patch



uRit1u2CBBA=
02-17-2005, 10:50 AM
I get a fresh copy from cvs, apply the patch, compile, install -- everything's looking good until I try to run it.

The console window gets flooded with:

[code]Warning: Uncompress failed for packet op 0900, flags 5a. Error was buffer error (-5)
Warning: packet decode failed for stream zone-client (3), op 0900, flags 5a packet dropped.[/core]

Opcodes change between 0900, 0d00, 0300. Flags is always 5a. Sometimes I see zone-client (3) and sometimes client-zone (2).

It did tell me "Your player's id is 1973", but that's all it was able to get out of it.

Is there something I'm missing?

Thanks.

purple
02-17-2005, 12:02 PM
Buffer error should mean that the buffer passed in was not large enough to hold the uncompressed packet. I haven't seen that before. I use the max length passed in the session request as the uncompressed buffer size. I wonder if maybe that isn't really max length...

purple
02-17-2005, 12:07 PM
Can you do me a favor and go into your src/packetstream.cpp and uncomment #define PACKET_SESSION_DIAG and recompile and rerun. It should print out session info like requests, response, and disconnects and you should see something like:

EQPacket: SessionRequest ip:port -> ip:port, sessionId Big# maxLength 512, awaiting key for stream StreamName (#)

Is your maxLength 512?

uRit1u2CBBA=
02-17-2005, 01:36 PM
yes. It is 512.

purple
02-17-2005, 01:40 PM
What version of zlib? That's really odd. Is there anything strange about your setup?

uRit1u2CBBA=
02-17-2005, 02:04 PM
How do I find the zlib version?

I'm running a gentoo 2004.3 installation, x86_64 (AMD64 compiled), and as of this weekend, an "emerge --update --deep world" updated no packages (last time I did it was the week before).

showeq was running just fine before the patch, so I know it can compile it.

purple
02-17-2005, 02:07 PM
It probably has to do with being 64bit. I'm not good there. Anyone else help here?

sammy root # equery list zlib
[ Searching for package 'zlib' in all categories among: ]
* installed packages
[I--] [ ] sys-libs/zlib-1.2.2 (0)

Does zlib have 64bit problems or is it me interacting with zlib that is wrong?

uRit1u2CBBA=
02-17-2005, 03:00 PM
I get the same output as you: 1.2.2 (0).

According to Gentoo's package database (http://packages.gentoo.org/ebuilds/?zlib-1.2.2), zlib was supposedly stable for amd64 since Jan 20.

Snarf
02-17-2005, 03:36 PM
Hi, I am a neophyte when it comes to linux, I just started using it and learning it so I apologize before hand if I forget info or don't know what someone asks. I am running Fedora core 3, and I used CeleSEQ files from the web page provided. Installed it and it worked fine, until the recent patch of course.

I downloaded the patch.

the commanded I used was patch -p0 < 02152005.patch

it went to the next line with no problems, is there anything I need to do next? because it still won't capture the info, I get the error, over and over below.

Warning: SEQ: received sequenced packet outside the bounds of the reasonableness. Expecting seq=0000 got seq=5a78, reasonableness being 1024 in the future.

ieatacid
02-17-2005, 05:30 PM
./configure && make && make install

Snarf
02-17-2005, 07:22 PM
I tried that command, couldn't find ./configure

uRit1u2CBBA=
02-17-2005, 07:33 PM
then `make -f Makefile.dist all` first.