#1 2016-11-24 13:29:06

crz
Player
Russia
Reputation: 0
Registered: 2016-11-24
Posts: 5
Windows 7 Firefox 50.0

BF1942 server crash

Hello!
i have a problem with server crash, every day, connecting unknown player and after ~30 seconds the server crash occuring
server windows 2003, bf server version "team-simple 1.612"
Error:

---------------------------
Bf1942 Error
---------------------------
Debug Number for client 18 out of range!!!!!

---------------------------
Abort Retry   Skip   
---------------------------

i find in "ollydbg" this place, but cannot find reference to this message
639z4f_JnBA.jpg
In library bfcprt.dll, there is no reference to these addresses...
maybe I'm doing something wrong?

maybe someone knows how to help?

Offline

    Positive reputation 0   Negative reputation 0

#2 2016-11-24 14:56:40

Capt price
Player
Reputation: -4
Registered: 2016-04-28
Posts: 509
Android Safari 4.0

Re: BF1942 server crash

...




Thanks for posting here is a fix it work 100%
-Goto:
%programfiles%\EA GAMES\Battlefield 1942\Mods\bf1942\Settings\

-Open VideoDefault.con with notepad and edit the line that reads:
renderer.allowAllRefreshRates 1

-Change the 1 to 0 and all should be fine when you restart the game.
Retard
Capt Price

Hope it help you, don't forgot to reply.



...

Last edited by Capt price (2016-11-24 15:02:02)

Offline

    Positive reputation 1   Negative reputation 0

#3 2016-11-24 15:02:30

Capt price
Player
Reputation: -4
Registered: 2016-04-28
Posts: 509
Android Safari 4.0

Re: BF1942 server crash

Sorry it
Regards**

Offline

    Positive reputation 1   Negative reputation 0

#4 2016-11-26 16:10:49

crz
Player
Russia
Reputation: 0
Registered: 2016-11-24
Posts: 5
Windows 7 Firefox 50.0

Re: BF1942 server crash

hm, server crash...
this fix not working)

Offline

    Positive reputation 0   Negative reputation 0

#5 2016-11-27 02:09:09

bud
maestro
Reputation: +1835
Location: shangri la
Registered: 2012-07-07
Posts: 3,941
Website
Windows 7 Firefox 50.0

Re: BF1942 server crash

Not sure if trolling or not, but anyways start here.
https://youtu.be/vb18UVF4a_o

Offline

    Positive reputation 0   Negative reputation 0

#6 2016-11-29 12:43:03

crz
Player
Russia
Reputation: 0
Registered: 2016-11-24
Posts: 5
Windows 7 Firefox 50.0

Re: BF1942 server crash

thanks, I'll try.

I created a program "proxy" for reading messages client-server...
and I got it. who knows the algorithm to decrypt? we can see the command, and make her patch
IONYYYbW6ks.jpg

Last edited by crz (2016-11-29 12:43:31)

Offline

    Positive reputation 0   Negative reputation 0

#7 2017-01-05 11:26:02

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website
Linux Firefox 45.0

Re: BF1942 server crash

Instead, use Wireshark to capture the traffic.

Offline

    Positive reputation 0   Negative reputation 0

#8 2017-01-06 00:57:05

bud
maestro
Reputation: +1835
Location: shangri la
Registered: 2012-07-07
Posts: 3,941
Website
Windows 7 Firefox 50.0

Re: BF1942 server crash

tuia wrote:

Instead, use Wireshark to capture the traffic.

If it was that easy it would be fixed already?

Offline

    Positive reputation 0   Negative reputation 0

#9 2017-01-19 17:05:39

crz
Player
Russia
Reputation: 0
Registered: 2016-11-24
Posts: 5
Windows 7 Firefox 50.0

Re: BF1942 server crash

tuia wrote:

Instead, use Wireshark to capture the traffic.

and what? how decode wireshark packet to text?  there bytes message...

Offline

    Positive reputation 0   Negative reputation 0

#10 2017-01-20 08:13:55

bud
maestro
Reputation: +1835
Location: shangri la
Registered: 2012-07-07
Posts: 3,941
Website
Windows 7 Firefox 50.0

Re: BF1942 server crash

Look for anomalies when/if the server crashes, isolate the bits and find a way to block it.

Offline

    Positive reputation 0   Negative reputation 0

#11 2018-09-05 20:57:31

crz
Player
Russia
Reputation: 0
Registered: 2016-11-24
Posts: 5
Windows 7 Firefox 57.0

Re: BF1942 server crash

linux binary is also affected by this problem
Centos 7
8AVVu5kPu5E.jpg

Last edited by crz (2018-09-05 20:57:59)

Offline

    Positive reputation 0   Negative reputation 0

#12 2018-09-05 23:21:32

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website
Linux Firefox 61.0

Re: BF1942 server crash

crz, do you have any core dumps from the server crashes?

An example:

$ gdb -q bf1942_lnxded.static core.14596

Reading symbols from bf1942_lnxded.static...done.

warning: core file may not match specified executable file.
[New LWP 14596]
[New LWP 14597]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/games/bf1942/bf1942_lnxded +statusMonitor 0'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x08172faa in dice::ref2::world::Armor::update(float) ()
[Current thread is 1 (Thread 0xf7c7b000 (LWP 14596))]
(gdb) bt
#0  0x08172faa in dice::ref2::world::Armor::update(float) ()
#1  0x081db32c in dice::ref2::world::SimpleObject::handleUpdate(float, unsigned int) ()
#2  0x08271e7a in dice::ref2::world::BFSoldier::handleUpdate(float, unsigned int) ()
#3  0x081473ed in dice::bf::performHandleUpdate(float, dice::ref2::world::IPlayerObject*, unsigned int, bool) ()
#4  0x0815bef4 in dice::bf::GameServer::simulatePlayerUpdate(dice::bf::BFPlayer*, float) ()
#5  0x0815c015 in dice::bf::GameServer::simulatePlayersUpdate(float) ()
#6  0x0815c2cd in dice::bf::GameServer::simulateFrame(float) ()
#7  0x081329ac in dice::bf::GameServer::update(int, float) ()
#8  0x080bc366 in dice::bf::Setup::mainLoop() ()
#9  0x080bb71c in dice::bf::Setup::start(std::string const&) ()
#10 0x08050775 in main ()

Offline

    Positive reputation 0   Negative reputation 0

Board footer