Do you happen to have any files "excluded" in your project file?  If you do,
Linux will not know that and include them.

Be one of my first places to check.

-----Original Message-----
From: Andrew Watkins [mailto:[email protected]] 
Sent: Saturday, March 28, 2009 8:17 PM
To: [email protected]
Subject: [hlcoders] "server uses different class tables" linux

Hey list, I've got simple question, followed up by a lot of
justification:

Is there anything apart from the SendProp / RecvProp networking tables,
and the list of all classes declared with valve's macros, that could
cause the showing of a "server uses different class tables" error? On
linux servers, but not windows? This has been bugging me for ages...

I've been having problems for months now with the "server uses different
class tables" errpr on connecting to a mod linux server. It works fine
on windows. For a long time I thought this meant that the class tables
on my linux server were different to the windows one (despite me using
the same code, and copying it afresh many times), but I did two things
to prove to myself that this isn't the case. Firstly, I wrote the
following commands to list the class tables in the console:

http://pastebin.com/f7dcb1746

Pasting from the console, and using excel to sort the client tables into
the same order as the server, I can compare the network tables in
BeyondCompare. This showed me a few things:

* The windows server and linux server classtables are identical

* Even in HL2DM, the server and client classtables aren't identical

* For HL2DM, they seem to match up "close enough" to work under windows,
and with a few changes, linux.

* Even when I change the code so that the server & client class tables
are identical, I still get 
"server uses different class tables" on connecting to linux server in my
mod.

I then removed all SendProp and RecvProp commands from my code that
aren't present in the working linux HL2DM code. Setting BeyondCompare to
ignore all differences except in lines starting with SendProp or
RecvProp, I compared my mod's source directory to the working hl2dm
source. No differences were found.

My mod's client can connect to the hl2dm linux server, but when I try to
connect to my mod's server, I get "server uses different class tables" -
despite the SEND tables being absolutely identical to the hl2dm ones,
which work.

Unless someone can suggest another difference that could cause this
error, I think my only choice is to start over, implementing each code
change piece by piece and testing on linux after every change - but
thats a massive & painful task that I'd much rather avoid!

Thanks for reading


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to