Posted: Sat Feb 21, 2009 6:05 pm Post subject:
Internal error caused by prism infantry
Subject description: Destroying structures causes crash
So in my (first ever) mod I'm trying to add unique hero to every country. France's one is based off the guardian GI and uses an MP5 as his main weapon and, when deployed, uses a prism cannon. He works just fine except that sometimes the game crashes when he destroys buildings. I had some random crashes testing this hero before, but I thought that was due to the custom SHPs I was using. I scrapped him and started from scratch setting Image=GGI this time instead and redoing his prism gun from scratch.
He seemed to be fine this time and as I was busy picking apart the easy AI I destroyed his Construction Yard and I got an internal error. Replaying the game I got an error when I destroyed the enemy's war factory. I had destroyed war factories with it before without a crash.
So, in brief: I have a hero infantry that deploys and takes out a prism gun. When used to destroy buildings it can cause an internal error. Buildings known to cause this: Yuri Contruction Yard, Yuri War Factory.
Here's the actual code for the unit (with obviously irrelevant bits removed, eg, sound files, unit speed, sight radius, cost)
[Javertlaser]
Damage=200
ROF=100
Range=10
Projectile=LargeCometP
Speed=40
Report=PrismTankAttack
Warhead=CometWH
Bright=yes
;LaserInnerColor = 216,0,184
;LaserOuterColor = 80,0,88
IsHouseColor=true
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true ; this flag tells the game to use the special laser draw effect
Code:
[JavertlaserE]
Damage=350
ROF=100
Range=10
Projectile=SuperCometP
Speed=10
Report=PrismTankAttack
Warhead=CometWH
Bright=yes
;LaserInnerColor = 216,0,184
;LaserOuterColor = 80,0,88
IsHouseColor=true
LaserOuterSpread= 0,0,0
LaserDuration = 15
IsLaser=true ; this flag tells the game to use the special laser draw effect
I will love anyone who can help me with this forever.
Back in the day we would try to understand the manually figure it out,
but nowadays go here.
Post your except.txt (made in your ra2 folder after an Internal Error), and wait for DCoder to analyze it.
(you have to do it there, because here he is banned) QUICK_EDIT
He is the one who fixes IEs (internal errors)
He like, knows the codes of the game and all that voodoo.
Theres only really a couple of people who can help you, but hes the most active and therefore your best chance. QUICK_EDIT
Some guy was using a ripped code engine, and DCoder got so raged he used HTML codes to make the page all broken and such (resulting in ban, and HTML disabled). see
http://www.ppmsite.com/forum/viewtopic.php?t=22192
for more about it. QUICK_EDIT
Joined: 14 Feb 2006 Location: Flying into hostile territory
Posted: Sun Feb 22, 2009 1:30 am Post subject:
MT wrote:
Back in the day we would try to understand the manually figure it out,
but nowadays go here.
Post your except.txt (made in your ra2 folder after an Internal Error), and wait for DCoder to analyze it.
(you have to do it there, because here he is banned)
actually back in the day we had to use a ouija and sacrifice a virgin to 4 bulls.
Please post your MP5 Code. Also a typo in the weapon name would just result in it not being used not an ie. _________________
actually back in the day we had to use a ouija and sacrifice a virgin to 4 bulls.
Please post your MP5 Code. Also a typo in the weapon name would just result in it not being used not an ie.
Lol, reminds me of this quote. I think people take our Exe hackers for granted
Quote:
MT, please be quiet. You don't have a clue so stop pretending that you do. And, you don't NEED DCoder for this anymore.
Okay then Fen, I suppose the proper thing to do would be to apologize for my lack of initiative. That I do.
I'll be sure to look through thoroughly before being lazy and just giving a referral QUICK_EDIT
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