Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Mar 30, 2024 2:11 am
All times are UTC + 0
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] Mark the topic unread ::  View previous topic :: View next topic
Author Message
cxtian39
Commander


Joined: 11 Feb 2016

PostPosted: Sat May 19, 2018 3:19 am    Post subject:  Random Crash on Skirmish Loading Screen Reply with quote  Mark this post and the followings unread

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:  7 Time(s)


_________________

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  Mark this post and the followings unread

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
Commander


Joined: 11 Feb 2016

PostPosted: Sat May 19, 2018 6:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

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

_________________

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] Mark the topic unread ::  View previous topic :: View next topic
 
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

[ Time: 0.1590s ][ Queries: 13 (0.0094s) ][ Debug on ]