SSAOW Warning [message #210476] |
Sun, 30 July 2006 15:39 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
There is a mistake in the ssaow.ini that comes with 1.5, and possib ly earlier versions, that could cause a crash.
The "Total" key in the "SvSKillMsg" section is set to 10 while there are only 9 entries. To fix this set "Total" to 9, or to however many entries you have.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|
|
Re: SSAOW Warning [message #210493 is a reply to message #210476] |
Sun, 30 July 2006 16:45 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
Already plan to make that change in 1.6.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|
Re: SSAOW Warning [message #210501 is a reply to message #210476] |
Sun, 30 July 2006 17:19 |
|
Cat998
Messages: 1081 Registered: January 2004 Location: Austria, Vienna
Karma: 0
|
General (1 Star) Moderator/Captain |
|
|
And fix all the memory leaks in the LoadSetting functions
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."
[Updated on: Sun, 30 July 2006 17:19] Report message to a moderator
|
|
|
Re: SSAOW Warning [message #210502 is a reply to message #210476] |
Sun, 30 July 2006 17:33 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
Already done.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|
Re: SSAOW Warning [message #210526 is a reply to message #210476] |
Sun, 30 July 2006 19:47 |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
Ive notice that for so long when my bot reported "ERROR_Kill Message" Or something in those lines. So ive just set it to 1 so only it says "player killed player". But yee haa!!
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
|
|
|
|
|
|
|
|
Re: SSAOW Warning [message #210949 is a reply to message #210476] |
Wed, 02 August 2006 05:12 |
|
sycar
Messages: 144 Registered: February 2006 Location: Reading, UK
Karma: 0
|
Recruit |
|
|
hey blazer, comment out the svs and vvs as well as the FDS kill message bit. all should be good. i had to do that to fix it.
buffymaniack
quick edit you might get away with just turning of show player kill messages after lookin at the AOW code. that would seem to disable the bit which i had to comment out. try it
ok after further testing i have got the problem down to when a kill FDS message is sent theres a possibility for it to crash. i don't really know why but i've left the above with WD to look into it.
[Updated on: Wed, 02 August 2006 10:53] Report message to a moderator
|
|
|
Re: SSAOW Warning [message #211006 is a reply to message #210476] |
Wed, 02 August 2006 15:25 |
|
sycar
Messages: 144 Registered: February 2006 Location: Reading, UK
Karma: 0
|
Recruit |
|
|
Thanks to WD he gave me the below fix for anyone who wants it.
In AOW.cpp replace:
char *Translate_Preset(GameObject *obj)
{
const char *preset = Commands->Get_Preset_Name(obj);
char *TransName = new char[256];
getProfileString ("Translated_Preset",preset,preset,TransName,256,"ssaow.ini");
return TransName;
}
with:
const char *Translate_Preset(GameObject *obj)
{
return Get_Translated_Preset_Name(obj);
}
and replace:
char *Translate_Weapon(GameObject *obj)
{
const char *preset = Get_Current_Weapon(obj);
char *TransName = new char[256];
getProfileString("Translated_Preset",preset,preset,TransName,256,"ssaow.ini");
return TransName;
}
with:
const char *Translate_Weapon(GameObject *obj)
{
return Get_Current_Translated_Weapon(obj);
}
hope this helps!
buffymaniack
|
|
|