Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » SSAOW 1.4 Code Typo...
SSAOW 1.4 Code Typo... [message #187268] Thu, 26 January 2006 17:35 Go to next message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
in crate.cpp:
else if	((RandomIntCrate <=	(percent+=Crate_Ammo)) && (Crate_Tiberium >	0))


shouldn't it be
else if	((RandomIntCrate <=	(percent+=Crate_Ammo)) && (Crate_Ammo >	0))


:S tib crate crashes server cos of this....


http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif

[Updated on: Thu, 26 January 2006 17:36]

Report message to a moderator

Re: SSAOW 1.4 Code Typo... [message #187438 is a reply to message #187268] Fri, 27 January 2006 20:55 Go to previous messageGo to next message
Canadacdn is currently offline  Canadacdn
Messages: 1830
Registered: September 2005
Location: Temple of Nod
Karma: 0
General (1 Star)
PLECOS MASTER
So that's why I always get an error to do with "Crate percentages"?

[Updated on: Fri, 27 January 2006 20:55]

Report message to a moderator

Re: SSAOW 1.4 Code Typo... [message #187506 is a reply to message #187268] Sat, 28 January 2006 15:55 Go to previous message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
have no idea, but that is why it crashes the server when you get a Yiberium crate, thats why you hear the tib creature warning and poof... server resets Razz

http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif
Previous Topic: Clan LB Needs Talented Mappers
Next Topic: Howto differ between C4 and weapon?
Goto Forum:
  


Current Time: Sat May 11 15:14:28 MST 2024

Total time taken to generate the page: 0.01124 seconds