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 previous message
Yrr is currently offline  Yrr
Messages: 556
Registered: October 2006
Location: Germany
Karma:
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


 
Read Message icon1.gif
Read Message
Read Message
Read Message
Previous Topic: Need Some ServerSide Questions
Next Topic: W3d import error-dsp_shipradar.w3d
Goto Forum:
  


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

Total time taken to generate the page: 0.00731 seconds