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 Fri Nov 08, 2024 5:53 am
All times are UTC + 0
Game crashes when using mod
Moderators: Global 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
Syphadeus
Civilian


Joined: 04 Jul 2021

PostPosted: Sun Jul 04, 2021 11:32 am    Post subject:  Game crashes when using mod
Subject description: Tiberium Dawn
Reply with quote  Mark this post and the followings unread

My mod is very simple as I’m just starting out. I changed the NOD light tank weapon to an obelisk laser. All I did was edit the unitdata.cpp file and copy the weapon data from the obelisk structure.

The mod works. When I load a skirmish map as NOD my 2 light tanks now shoot lasers. Brilliant!

But the game always crashes after a minute or so. I’ve tried rebuilding the source code in case there’s an error in the recompile or something. Nothing works, the game always crashes.

The fact that I’ve literally only edited 1 variable and the edit works suggests to me that something else is causing the crash, but if I disable my mod and play a skirmish game, all is well and no crashes.

Can anyone help?

Back to top
View user's profile Send private message
johnnyjigglez
Civilian


Joined: 20 Feb 2017

PostPosted: Sat Jul 17, 2021 2:26 am    Post subject: Reply with quote  Mark this post and the followings unread

can you post your cpp file changes here?

Back to top
View user's profile Send private message
yuri624
Guest




PostPosted: Sun Aug 22, 2021 5:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

I had similar issues. Are you using Visual Studio 2019 to build it? If yes, download Visual Studio 2017 and build it there. I haven't had crashes ever since.

Back to top
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
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can 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.1881s ][ Queries: 11 (0.0069s) ][ Debug on ]