Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » SSAOW Warning
SSAOW Warning [message #210476] Sun, 30 July 2006 15:39 Go to next message
Whitedragon is currently offline  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 #210485 is a reply to message #210476] Sun, 30 July 2006 16:34 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

It's useless anyway, it should be smart enough to count the strings
itself.


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: SSAOW Warning [message #210493 is a reply to message #210476] Sun, 30 July 2006 16:45 Go to previous messageGo to next message
Whitedragon is currently offline  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 Go to previous messageGo to next message
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 Wink

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 Go to previous messageGo to next message
Whitedragon is currently offline  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 Go to previous messageGo to next message
ghost is currently offline  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!!

http://img287.imageshack.us/img287/9936/davesigea4rw5.png
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
Re: SSAOW Warning [message #210535 is a reply to message #210476] Sun, 30 July 2006 20:49 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
No probs for me.
Re: SSAOW Warning [message #210894 is a reply to message #210476] Tue, 01 August 2006 18:03 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

I made that change and it still crashes for me. I await 1.6 Smile
Re: SSAOW Warning [message #210910 is a reply to message #210476] Tue, 01 August 2006 20:38 Go to previous messageGo to next message
Fifaheld is currently offline  Fifaheld
Messages: 349
Registered: October 2005
Karma: 0
Recruit
and i wait for 1.6 too Smile
Re: SSAOW Warning [message #210914 is a reply to message #210894] Tue, 01 August 2006 21:27 Go to previous messageGo to next message
ghost is currently offline  ghost
Messages: 437
Registered: May 2005
Location: California
Karma: 0
Commander
Blazer wrote on Tue, 01 August 2006 18:03

I made that change and it still crashes for me. I await 1.6 Smile




Speaking of SSAOW 1.6
When do you estimate it will be released?


http://img287.imageshack.us/img287/9936/davesigea4rw5.png
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
Re: SSAOW Warning [message #210941 is a reply to message #210476] Wed, 02 August 2006 01:18 Go to previous messageGo to next message
Ma1kel is currently offline  Ma1kel
Messages: 956
Registered: July 2005
Location: Kingdom of the Netherland...
Karma: 0
Colonel
When it's finished.

Re: SSAOW Warning [message #210949 is a reply to message #210476] Wed, 02 August 2006 05:12 Go to previous messageGo to next message
sycar is currently offline  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 Go to previous message
sycar is currently offline  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
Previous Topic: Renegade on a new game engine?
Next Topic: Animation
Goto Forum:
  


Current Time: Sat Nov 30 14:44:57 MST 2024

Total time taken to generate the page: 0.00884 seconds