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 Thu Apr 18, 2024 9:40 pm
All times are UTC + 0
Strange IE(Not random this time)
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [14 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
ArvinCool
Tiberian Beast


Joined: 01 Jun 2008

PostPosted: Sat Jan 16, 2010 10:03 pm    Post subject:  Strange IE(Not random this time) Reply with quote  Mark this post and the followings unread

I have a strange IE. Its not a random IE, it happen when my hero unit called "Commando" attack my own units or vehicles. Here is more specefic list:

The dont crash when I attack:
- The terrain(nothing)
- My buildings
- Enemy buildings
- Enemy vehicles and infantry

The game crash when I attack:
- My own vehicles
- My own infantry

Weapon Code:
Code:
[CommandoTesla]
Damage=230
ROF=80
Range=12
Speed=100
Warhead=CommandoTeslaWH
Report=TeslaTankAttack
Projectile=CommandoTeslaP

[CommandoTeslaWH]
Verses=100%,90%,80%,120%,120%,160%,90%,80%,80%,200%,100%
InfDeath=5
Wood=yes
Wall=no
AnimList=cmdexp

[CommandoTeslaP]
ShrapnelWeapon=LLSuperTslaFragment
ShrapnelCount=7
Inviso=yes
Image=none
SubjectToCliffs=yes
SubjectToElevation=yes
SubjectToWalls=yes

[LLSuperTslaFragment]
Damage=231
ROF=81
Range=12
Projectile=SmallTeslaP
Speed=100
Warhead=LLSuperTslaFragmentWH
IsElectricBolt=true

[LLSuperTslaFragmentWH]
Verses=100%,90%,80%,120%,120%,160%,90%,80%,80%,200%,100%
InfDeath=5
Wood=yes
Wall=no
AnimList=cmdexp


Unit code:
Code:
[commando]
DeathWeapon=LLSuperTslaFragment



except.txt
 Description:

Download
 Filename:  except.txt
 Filesize:  24.88 KB
 Downloaded:  110 Time(s)


Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Sun Jan 17, 2010 3:07 am    Post subject: Reply with quote  Mark this post and the followings unread

Is that frag weapon invoked on a dummy unit?

Back to top
View user's profile Send private message
ArvinCool
Tiberian Beast


Joined: 01 Jun 2008

PostPosted: Sun Jan 17, 2010 3:43 am    Post subject: Reply with quote  Mark this post and the followings unread

Dark Templar X wrote:
Is that frag weapon invoked on a dummy unit?

yes
When I posted this thread, the Commandos deathweapon was the frag weapon. I now changed to [COW], still the same

Back to top
View user's profile Send private message
ArvinCool
Tiberian Beast


Joined: 01 Jun 2008

PostPosted: Sun Jan 17, 2010 10:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

The game crash even of I change the shrapnel to 120mmx! The game dont crash if I comment out both shrapnel tags.
Anyone know what the expect says?

_________________
"I'll be staying strapped cuse my mac-eleven make my nuts bigger"

Back to top
View user's profile Send private message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Sun Jan 17, 2010 11:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

I just tested your code and it works perfectly. The only thing I can think of that may be your problem is, Did you list your dummy unit? Dont know if it matters or not but I put both weapons on the dummy unit also.

[DUMMYUNIT]
Primary=CommandoTesla
Secondary=LLSuperTslaFragment

[InfantryTypes]
xx=DUMMYUNIT

_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
ArvinCool
Tiberian Beast


Joined: 01 Jun 2008

PostPosted: Sun Jan 17, 2010 11:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Cranium wrote:
I just tested your code and it works perfectly. The only thing I can think of that may be your problem is, Did you list your dummy unit? Dont know if it matters or not but I put both weapons on the dummy unit also.

[DUMMYUNIT]
Primary=CommandoTesla
Secondary=LLSuperTslaFragment

[InfantryTypes]
xx=DUMMYUNIT

how the hell can it work for you and not me? I bet NPatch is making this error. I guess I have to give him a completely new weapon

_________________
"I'll be staying strapped cuse my mac-eleven make my nuts bigger"

Back to top
View user's profile Send private message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Mon Jan 18, 2010 12:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Well this is what your code does for me, does it look right?
So then if you've coded everything correctly then yes I'd have to lean towards NP being the culprit here.



11.png
 Description:
 Filesize:  327.59 KB
 Viewed:  1685 Time(s)

11.png



12.png
 Description:
 Filesize:  330.21 KB
 Viewed:  1685 Time(s)

12.png



13.png
 Description:
 Filesize:  328.95 KB
 Viewed:  1685 Time(s)

13.png



14.png
 Description:
 Filesize:  328.58 KB
 Viewed:  1685 Time(s)

14.png



_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
001010011100101110
Commander


Joined: 18 Aug 2009

PostPosted: Mon Jan 18, 2010 1:46 am    Post subject: Reply with quote  Mark this post and the followings unread

weapon looks siiiiiiiiiiiick btw. Nice =D

Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Mon Jan 18, 2010 1:48 am    Post subject: Reply with quote  Mark this post and the followings unread

ArvinCool wrote:
how the hell can it work for you and not me? I bet NPatch is making this error. I guess I have to give him a completely new weapon

I bet it's user error in this instance. NPatch does create some of its own errors, but it looks like a coding issue from here.

Back to top
View user's profile Send private message
huhnu
Cyborg Engineer


Joined: 16 May 2009

PostPosted: Mon Jan 18, 2010 2:10 am    Post subject: Reply with quote  Mark this post and the followings unread

how could it be a coding issue if it worked perfectly for Cranium, and not ArvinCool?

Back to top
View user's profile Send private message
001010011100101110
Commander


Joined: 18 Aug 2009

PostPosted: Mon Jan 18, 2010 2:18 am    Post subject: Reply with quote  Mark this post and the followings unread

Try once w/out npatch, it might be crew spawning error.

Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Mon Jan 18, 2010 2:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

huhnu wrote:
how could it be a coding issue if it worked perfectly for Cranium, and not ArvinCool?

Easy. Arvin likely forgot a step.

Back to top
View user's profile Send private message
001010011100101110
Commander


Joined: 18 Aug 2009

PostPosted: Tue Jan 19, 2010 1:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Dark Templar X wrote:
huhnu wrote:
how could it be a coding issue if it worked perfectly for Cranium, and not ArvinCool?

Easy. Arvin likely forgot a step.


On... his own code???

Back to top
View user's profile Send private message
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Tue Jan 19, 2010 1:48 am    Post subject: Reply with quote  Mark this post and the followings unread

You're forgetting the reality of Humanity. Stupidity, Ignorance, Impatience, Laziness ... ...

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [14 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.1763s ][ Queries: 17 (0.0124s) ][ Debug on ]