Rrtaya_tsamsiyu
12 years ago
So, i made the mistake of changing a BUNCH of code at once, and now i have an error somewhere in my code that WB can't find. Anyone want to try and find it?

The code is attached to this post.

Some info; The error is has to do with Upgrades. Anything having to do with upgrades and the objects i added could be the problem. i added upgrades for all three factions [African Union, North Korea, and United Nations

There is an error picked up by WB about a particle effect, but this is not a game breaking one.

That's about all i have, i haven't actually done any modding in a long time because of this lol. If someone wants to try, thanks, if nobody does then that's fine too.   0MiniMod.zip (530kb) downloaded 8 time(s).
one soul at a time
Sponsor
Annihilationzh
12 years ago
You have typo'd TowMissle in quite a few places causing crashes.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
CommieDog
12 years ago
There's a hard limit for upgrades. I think it's 64, but I'm not sure. If you added a bunch of new upgrades, be sure that you haven't reached that limit.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Annihilationzh
12 years ago
There's still space for 15 more upgrades. The cap is 128.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Rrtaya_tsamsiyu
12 years ago
Fixed any typo's i found, also commented out a unused armor upgrade behavior and locomoter upgrade behavior, still not working. Also please note im spelling the missile as TowMissile.

Although, i've found that i did differently with some display text stuff for some reason, but that wouldn't break it anyways.

Side question; Annihilation, what are you doing to find the problems?

i've attached the updated file.   0MiniMod.zip (530kb) downloaded 2 time(s).
one soul at a time
Annihilationzh
12 years ago

Side question; Annihilation, what are you doing to find the problems?

Originally Posted by: Rrtaya_tsamsiyu 


http://contra.cncguild.net/oldsite/Eng/checker.php 

I don't tend to recommend it because the basic INI files are full of their own errors, and the program detects issues that won't crash the game.

File CommandSet.ini. Line 366. CommandButton Command_RazorRazor does not exist.
File Default\AIData.INI. Line 516. Object NorthKoreaGunPostion does not exist.
File Object\NKV.INI. Line 1256. CommandSet NorthKoreaVehicleBMPCommandSet does not exist.
File Object\NKV.INI. Line 1488. Upgrade Upgrade_Hammer does not exist.
File Object\UNA.INI. Line 393. CommandSet F17-ACommandSet does not exist.
File Object\UNA.INI. Line 459. Upgrade Upgrade_F-17A does not exist.
File Object\UNV.INI. Line 141. Upgrade Upgrade_BuggyWeapon does not exist.
File Object\UNV.INI. Line 1113. Upgrade Upgrade_ThunderstormLocomoter does not exist.
File Object\UNV.INI. Line 1363. Upgrade Upgrade_Amtrack2Weapon does not exist.
File Object\UNV.INI. Line 1519. Upgrade Upgrade_RailgunWeapon does not exist.
File Object\WeaponObjects.ini. Line 57. ParticleSystem ALPHA_BlackFlameThrowerTrail01 does not exist.
File Object\WeaponObjects.ini. Line 58. ParticleSystem ALPHA_BlackFlameThrowerTrail02 does not exist.
File Object\WeaponObjects.ini. Line 59. ParticleSystem ALPHA_BlackFlameThrowerTrail03 does not exist.
File Object\WeaponObjects.ini. Line 60. ParticleSystem ALPHA_BlackFlameThrowerTrail04 does not exist.
File Object\WeaponObjects.ini. Line 61. ParticleSystem ALPHA_BlackFlameThrowerTrail05 does not exist.
File Object\WeaponObjects.ini. Line 62. ParticleSystem ALPHA_BlackFlameThrowerTrail06 does not exist.
File Object\WeaponObjects.ini. Line 63. ParticleSystem ALPHA_BlackFlameThrowerSmoke01 does not exist.
File Object\WeaponObjects.ini. Line 64. ParticleSystem ALPHA_BlackFlameThrowerSmoke02 does not exist.
File ObjectCreationList.ini. Line 6. Object TestInfantryStingerSoldier1 does not exist.
File ObjectCreationList.ini. Line 11. Object TestInfantryStingerSoldier2 does not exist.
File ObjectCreationList.ini. Line 16. Object TestInfantryStingerSoldier3 does not exist.
File ObjectCreationList.ini. Line 24. Object Test2Portable01 does not exist.
File ObjectCreationList.ini. Line 29. Object Test2Portable02 does not exist.
File ObjectCreationList.ini. Line 34. Object Test2Portable03 does not exist.
File ObjectCreationList.ini. Line 42. Object TestPortable1 does not exist.
File ObjectCreationList.ini. Line 50. Object TestPortable2 does not exist.
File ObjectCreationList.ini. Line 1143. Object DeadGLAPOWTruckHulk does not exist.
File ObjectCreationList.ini. Line 1216. Object DeadChinaPOWTruckHulk does not exist.
File ObjectCreationList.ini. Line 5221. Object GC_Nuke_ChinaCarpetBomb does not exist.
File ObjectCreationList.ini. Line 7504. Object BlackNapalmBomb does not exist.
File ParticleSystem.INI. Line 60423. ParticleSystem ScudMissleLauncherSmoke does not exist.
File SpecialPower.INI. Line 249. AudioEvent MisGLA07Convoy16 does not exist.
File Weapon.ini. Line 7948. AudioEvent MisGLA07Convoy16 does not exist.
Redefinition detected. Armor BarracksArmor is defined in Armor.ini Line 678 and Armor.ini Line 1311.
Redefinition detected. Armor BarracksArmor is defined in Armor.ini Line 678 and Armor.ini Line 2059.
Redefinition detected. Armor BarracksArmor is defined in Armor.ini Line 1311 and Armor.ini Line 2059.
Object UnitedNationsInfantryROTAV has ExperienceRequired without IsTrainable = yes.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Rrtaya_tsamsiyu
11 years ago
Fixed the ini's, at least to where they work again. Quite a few spelling errors, and finally found the last bug that was crashing it. It didn't have anything to do with the actual coding, which is why i didn't find it for a while. There was a couple of comments that hadn't been commented out.

Now, i just need to get the upgrades actually working. Since none of the upgrades are working at the moment, i think i'm just missing something that is common to all upgrades.
My excuse; i've never added upgrades until now, lol.

Thanks in advance if someone tells me what the issue is, i'll attach the codes.   0MiniMod.zip (486kb) downloaded 3 time(s).
one soul at a time
Gameanater
11 years ago
Look around for an existing unit with the upgrades you're adding and see what they did, and copy that into your object's code.

I'm assuming you're adding upgrades that already exist to a unit, right?
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
Rrtaya_tsamsiyu
11 years ago
All new stuffs, but it should work the same as using existing other upgrades. Just not sure what i'm missing to make this stuff work
one soul at a time
JoshZemlinsky
11 years ago
All comes down to the type of upgrades, but it is rather simple.

Also can't check the code right now, haven't got a PC to do it on lol.
Annihilationzh
11 years ago

Now, i just need to get the upgrades actually working. Since none of the upgrades are working at the moment, i think i'm just missing something that is common to all upgrades.

Originally Posted by: Rrtaya_tsamsiyu 


FYI, this is how you get hung, drawn and quartered. When you have a problem, you need to be SPECIFIC.

I spent quite a while looking through the code to find the problem. By the looks of it, your problem is that the upgrade purchase buttons are greyed out, am I correct?
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Rrtaya_tsamsiyu
11 years ago
Yeah, sorry
one soul at a time
Annihilationzh
11 years ago
Add a ProductionUpdate to each unit with an upgrade.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Gameanater
11 years ago
Can I see the code for your new units and upgrades, please RT? 😄
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
Rrtaya_tsamsiyu
11 years ago
Thanks AZH.
And yeah you can Game. Do you need it as plain text? i could also wait and post it when i get the upgrades working
one soul at a time
Rrtaya_tsamsiyu
11 years ago
So,
sorry game, i think i forgot to ever post post anything for you.

Also, two things i'm trying to figure out; i'm wanting to know why my upgraded Tow Missile [TowMissile2WeaponAir] won't shoot at aircraft, and where to find the countdown timer tooltip for my Nano Missile.

http://download1484.mediafire.com/j4e5eq8sixzg/l8sg2nc2ijoh3hn/0MiniMod.zip 
[link doesn't take you off-site]
one soul at a time