:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Fri Nov 16, 2018 9:30 am
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial Forum)
Random Crash on Skirmish Loading Screen
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
cxtian39
Cyborg Commando


Joined: 11 Feb 2016
Location: United States

PostPosted: Sat May 19, 2018 3:19 am    Post subject:  Random Crash on Skirmish Loading Screen Reply with quote

Sometimes crash sometimes not, very likely to crash, can't figure out reason myself.
If it doesn't crash and then I start a new Skirmish it still has chance to crash.
No AI players


except.txt
 Description:

Download
 Filename:  except.txt
 Filesize:  5.29 KB
 Downloaded:  5 Time(s)


_________________
Aircraft Factory Mod
Command & Conquer: Genetic Rhapsody

Back to top
View user's profile Send private message Skype Account
AlexB
Commander


Joined: 31 May 2010
Location: Germany

PostPosted: Sat May 19, 2018 6:34 pm    Post subject: Reply with quote

It looks like it crashes when reading the additional turrets for a Gunner=yes unit. Can't tell which one it is, though.
_________________

Back to top
View user's profile Send private message
cxtian39
Cyborg Commando


Joined: 11 Feb 2016
Location: United States

PostPosted: Sat May 19, 2018 6:49 pm    Post subject: Reply with quote

That helps a lot thanks Alex https://www.modenc.renegadeprojects.com/TurretCount
Quote:
When setting TurretCount to a value greater than 0, see that WeaponCount is also set correctly. This has to be done because the latter is not initialized to a constant value, and garbage in memory could lead to unexpected results, like corrupting memory. In the best case it crashes when starting a game.

holy crap how many uninitialized values are in this game
_________________
Aircraft Factory Mod
Command & Conquer: Genetic Rhapsody

Back to top
View user's profile Send private message Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial Forum)
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

Wildcard SSL Certificates
[ Time: 0.1257s ][ Queries: 13 (0.0092s) ][ Debug on ]