Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » (Crash)bug in SSGM 2.0.2
icon1.gif  (Crash)bug in SSGM 2.0.2 [message #333647] Fri, 06 June 2008 09:06 Go to next message
Yrr is currently offline  Yrr
Messages: 556
Registered: October 2006
Location: Germany
Karma: 0
Colonel

Hi folks,

there is a bug in the latest SSGM version 2.0.2 which can cause a crash.
This is caused by SSGMData::PowerupPurchaseHookID not being initialized.


To fix that, edit gmmain.cpp and replace

SSGMData::SSGMData() {
	Mod = 0;
	PlayerPurchaseHookID = 0;
	VehiclePurchaseHookID = 0; // line 587
	ObjectHookID = 0;
	ObjectHookStruct = 0;
	AllowGamelogWrite = false;
}


with

SSGMData::SSGMData() {
	Mod = 0;
	PlayerPurchaseHookID = 0;
	VehiclePurchaseHookID = 0; // line 587
	PowerupPurchaseHookID = 0; // ADD THIS LINE
	ObjectHookID = 0;
	ObjectHookStruct = 0;
	AllowGamelogWrite = false;
}




Greetings,
Marc


Re: (Crash)bug in SSGM 2.0.2 [message #333656 is a reply to message #333647] Fri, 06 June 2008 10:52 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
ty for the info
Re: (Crash)bug in SSGM 2.0.2 [message #333725 is a reply to message #333656] Fri, 06 June 2008 16:45 Go to previous messageGo to next message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma: 0
General (1 Star)
SSnipe wrote on Sat, 07 June 2008 01:52

ty for the info




nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
Re: (Crash)bug in SSGM 2.0.2 [message #333729 is a reply to message #333647] Fri, 06 June 2008 17:28 Go to previous message
cnc95fan is currently offline  cnc95fan
Messages: 1261
Registered: July 2007
Karma: 0
General (1 Star)
Thank you for the information.
Tell Me
Previous Topic: Need Some ServerSide Questions
Next Topic: W3d import error-dsp_shipradar.w3d
Goto Forum:
  


Current Time: Tue Nov 19 22:42:38 MST 2024

Total time taken to generate the page: 0.00712 seconds