Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Win32 FDS » Server Crashes
Server Crashes [message #210310] Sat, 29 July 2006 09:06 Go to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
been happeing a bit too often l8ly...

im on SSAOW 1.5.1 but with bhs.dll 2.9 (copy + pasted the dll)

heres my crashdump

  • Attachment: crashdump.txt
    (Size: 75.48KB, Downloaded 102 times)
Re: Server Crashes [message #210319 is a reply to message #210310] Sat, 29 July 2006 09:48 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

It seems to crash on determining the ping for the pinfo command reply (for player with id 5). I can't get any more info out of this message though, I do not know why it crashed...
The weird thing is though that the location it crashed on is in the middle of one instruction, which seems to indicate that it does not properly determine the location of cConnection::Get_Remote_Host(int)


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Server Crashes [message #210320 is a reply to message #210310] Sat, 29 July 2006 10:13 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
hmm, interesting...

it happens all the time... my server is constantly crashing =/
Re: Server Crashes [message #210328 is a reply to message #210310] Sat, 29 July 2006 10:54 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
it has tryed to read from a address in the memory that is illegal. usally and array of some sort.
Re: Server Crashes [message #210331 is a reply to message #210310] Sat, 29 July 2006 11:01 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
weve found out that its a PINFO cmd being sent when someone leaves.....?

its unable to get the ping... bug any1? Surprised
Re: Server Crashes [message #210332 is a reply to message #210310] Sat, 29 July 2006 11:07 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
This is definatally a bug with something, it always restarts when anyone leaves the server.

Maybe the bug's in NR 3.5 BETA? Never used to happen in 3.4 or any other lower versions.

[Updated on: Sat, 29 July 2006 11:09]

Report message to a moderator

Re: Server Crashes [message #210334 is a reply to message #210310] Sat, 29 July 2006 11:14 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
thats because 3.4 did not use the PINFO command... lol
Re: Server Crashes [message #210337 is a reply to message #210310] Sat, 29 July 2006 11:37 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

I think it's a bug in pinfo, crashing whenever the ping cannot be determined (and I guess that happens when ppl leave the server).
The bot executes the pinfo command when a player leaves though, which makes it crash. Most (older) bots don't use the pinfo so those won't have trouble with the bug.
I can't see why determining the ping goes wrong though, I can't exactly see when it goes wrong with the crashdump and can't reproduce the bug. It might be easier for bhs to fix it as the pinfo command is part of their code...


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Server Crashes [message #210344 is a reply to message #210310] Sat, 29 July 2006 12:35 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
well the obvious answer would seem to be to make the bot check the player is in the game before doing a PINFO command...

http://steamsignature.com/card/1/76561197975867233.png
Re: Server Crashes [message #210408 is a reply to message #210310] Sun, 30 July 2006 01:59 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
just updated to bhs.dll 2.9.1 and its the same


i downgraded my server to NR 3.4 so that it wouldnt be sending PINFO.... and it seems to be running fine at the moment... but halfway though a game, i typed PINFO into the console... and it crash <_<

EDIT: also, the SVERSION command still display 2.9 and not 2.9.1

[Updated on: Sun, 30 July 2006 02:02]

Report message to a moderator

Re: Server Crashes [message #210411 is a reply to message #210310] Sun, 30 July 2006 02:24 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

ok, firstly, I will look into the pinfo bug and may release a 2.9.2. As for the SVERSION command, its supposed to say 2.9 and not 2.9.1. Thats the way its designed.

EDIT: I have checked the code and found why it could be failing. What seems to be happening is that cConnection::Get_Remote_Host is returning NULL for some reason and that is causing the crash.
Will add extra error checking to all the relavent places to make sure not to use the result of cConnection::Get_Remote_Host if it is NULL and release a 2.9.2 sometime soon.
As for SSAOW, running any SSAOW version with a bhs.dll version other than the one its designed for WONT work and should NOT be done.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies

[Updated on: Sun, 30 July 2006 02:37]

Report message to a moderator

Re: Server Crashes [message #210413 is a reply to message #210310] Sun, 30 July 2006 02:35 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
ok, cheers jon! Smile

and yeah, i thought the SVERSION would of display it was 2.91 as there are loads of 0's after the 9 on cmd Razz

ah wells Smile no worries though!
Re: Server Crashes [message #210423 is a reply to message #210310] Sun, 30 July 2006 07:14 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
tahts odd....


im not running the PINFO cmd... yet crashes again


Quote:

<AOE-BOT> [NR] 15Host: [NR] jumar91 Has Been Recommended By NightRegulator, For: Destroyed The GDI Tiberium Refinery, On Map C&C_Walls_Flying.mix, Congrats! (3 Recommendations)
<AOE-BOT> [NR] 11Player adex16 Has Left The Game.
<AOE-BOT> [NR] 11adex16 Was Kicked From The Game.
<AOE-BOT> [NR] 9Server Is Loading...
<AOE-BOT> [NR] 9*** Auto starting game. Type 'quit' to abort ***
<AOE-BOT> [NR] 9Initializing XWIS Mode.
<AOE-BOT> [NR] 9Got Server List.
<AOE-BOT> [NR] 9Logging Onto USA Server...
<AOE-BOT> [NR] 9Logged On OK.
<AOE-BOT> [NR] 9Applying Server Settings.
<AOE-BOT> [NR] 9Creating Game Channel...
<AOE-BOT> [NR] 9Channel Created OK.
<AOE-BOT> [NR] 9Loading Level C&C_City_Flying.mix...
<AOE-BOT> [NR] 15Host: Teams have been remixed.
<AOE-BOT> [NR] 9Level Loaded OK.
<AOE-BOT> [NR] 11Player ExoDoom Has Left The Game.
<AOE-BOT> [NR] 11ExoDoom Was Kicked From The Game.
<AOE-BOT> [NR] 9Server Is Loading...
<AOE-BOT> [NR] 9*** Auto starting game. Type 'quit' to abort ***
<AOE-BOT> [NR] 9Initializing XWIS Mode.
<AOE-BOT> [NR] 9Got Server List.
<AOE-BOT> [NR] 9Logging Onto USA Server...
<AOE-BOT> [NR] 9Logged On OK.
<AOE-BOT> [NR] 9Applying Server Settings.
<AOE-BOT> [NR] 9Creating Game Channel...
<AOE-BOT> [NR] 9Channel Created OK.
<AOE-BOT> [NR] 9Loading Level C&C_City_Flying.mix...
<AOE-BOT> [NR] 15Host: Teams have been remixed.
<AOE-BOT> [NR] 9Level Loaded OK.


thats odd..... ExoDoom wasnt even in game... yet he left and was kicked???? also adex wasnt ingame either....?
Re: Server Crashes [message #210426 is a reply to message #210411] Sun, 30 July 2006 07:57 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

jonwil wrote on Sun, 30 July 2006 11:24

As for SSAOW, running any SSAOW version with a bhs.dll version other than the one its designed for WONT work and should NOT be done.




When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: Server Crashes [message #210436 is a reply to message #210310] Sun, 30 July 2006 09:19 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
I thourght is was only scripts.dll that came with SSOAW that only work? I have CP2's bhs.dll on my serv and it runs just fine.
Re: Server Crashes [message #210471 is a reply to message #210310] Sun, 30 July 2006 15:05 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

That seems to go wrong when it gets the ip address or something from a player when he/she joins. Doesn't seem to be in bhs code this time though, I'm not sure what caused it... :/

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Server Crashes [message #210699 is a reply to message #210310] Mon, 31 July 2006 15:58 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
thats odd...


crashes are getting a lil out of hand now... and i always get that player kicked message before server crashes.... always by somebody not ingame!
Re: Server Crashes [message #210702 is a reply to message #210310] Mon, 31 July 2006 16:05 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

The BlackIntel servers seem to crash sometimes when the BW exploit "fix" message appears, not always though! Maybe it's the player join hook that causes trouble? The problem we're having doesn't create a crashdump though :S

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Server Crashes [message #210714 is a reply to message #210310] Mon, 31 July 2006 16:23 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
could it possibly someone on the gameinfo screen?
Re: Server Crashes [message #210873 is a reply to message #210310] Tue, 01 August 2006 15:44 Go to previous message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
problem seems to be in the no-name nick patch in bhs.dll as Stealth hex edited mine and now its fine Big Ups

twas nothing to do with bhs.dll + scripts.dll mismatch Sarcasm

[Updated on: Tue, 01 August 2006 17:43]

Report message to a moderator

Previous Topic: Sniper maps
Next Topic: Renegade FDS
Goto Forum:
  


Current Time: Wed May 08 20:32:20 MST 2024

Total time taken to generate the page: 0.01025 seconds