H2X SCNR plug-in error.

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
Dojorkan




Coagulator Blacksmith

Posts: 1084
Joined: Sun Jan 30, 2005 7:54 am

H2X SCNR plug-in error.

Post by Dojorkan »

Ive tried downloading newer versions and redownloading but I always get this error when I try to use the AI spawning editor.


http://img520.imageshack.us/my.php?imag ... ror5cg.gif
User avatar
TheTyckoMan




Artisan Socialist Decryptor Droplet

Posts: 854
Joined: Fri Apr 02, 2004 11:22 am
Location: Tea co not Tie co...

Post by TheTyckoMan »

probably some code was put into the wrong place or something....also, I've heard somepeople can't get it to work even when I give them a plugin that works fine for me, so idk which it is. I would say use insolence....but since shorts that index reflexives aren't actually a data type....Tjc2k4 won't even put them in.......and with out them (well showing them as shorts named "char pallette #" or something, instead of the name of what they reference in a selection box) editing reflexive 352 is a pain.......
Sweetness.......Visual Security: 9-block IP Identification
"Teenagers, plus anonymity, plus microphone = idiot."-Bungie
Dojorkan




Coagulator Blacksmith

Posts: 1084
Joined: Sun Jan 30, 2005 7:54 am

Post by Dojorkan »

Now I used a different H2X.... Whats werid about this one is itworks with OutSkirts and Matroplis. But I need to edit floodzone It gives me an error saying "Specified cast is not valid" when I click save changes.

=/
User avatar
TheTyckoMan




Artisan Socialist Decryptor Droplet

Posts: 854
Joined: Fri Apr 02, 2004 11:22 am
Location: Tea co not Tie co...

Post by TheTyckoMan »

Dojorkan wrote:Now I used a different H2X.... Whats werid about this one is itworks with OutSkirts and Matroplis. But I need to edit floodzone It gives me an error saying "Specified cast is not valid" when I click save changes.

=/
well those 2 maps are the ones I mostly tested stuff on....so maybe something is messing them up, could be the plugin or it could be the way some coding was put in, who knows........
Sweetness.......Visual Security: 9-block IP Identification
"Teenagers, plus anonymity, plus microphone = idiot."-Bungie
Dojorkan




Coagulator Blacksmith

Posts: 1084
Joined: Sun Jan 30, 2005 7:54 am

Post by Dojorkan »

Any chance of a fix so it works with QZ/floodzone? that map has alot of potenetial for some really epic battles expecially since its big, large, and mostly vehicle combat.
User avatar
TheTyckoMan




Artisan Socialist Decryptor Droplet

Posts: 854
Joined: Fri Apr 02, 2004 11:22 am
Location: Tea co not Tie co...

Post by TheTyckoMan »

here's a way for you to find what is messing it up :wink:

note:this was for finding a certain error that was a bit of code put in a wrong spot, you'll just have to guess what it is that is messing up the plugin in that map.

say you had this

Code: Select all

.Tab--AI Squad Types (344) 
.*--1 
1.Label-SQUAD TYPE-120 
1.Reflexive-344-36-160 
2.String-0-180-32-Invisible 
.*--1 
2.Int16-32-60 
2.Label-Unknown Index ID-120 
.*--1 
2.Int16-34-60 
2.Label-Unknown ID-120 
.*--1 



then say one time you put a random piece of code in there like so

Code: Select all

.Tab--AI Squad Types (344) 
.*--1 
1.Label-SQUAD TYPE-120 
1.Reflexive-344-36-160 
2.String-0-180-32-Invisible 
.*--1 
2.Int16-32-60         0-180-32-Inv 
2.Label-Unknown Index ID-120 
.*--1 
2.Int16-34-60 
2.Label-Unknown ID-120 
.*--1 



that would mess up h2x (or darkmatter)

now to find the problem we put an enter in there (that will stop the program from loading the rest of it)

like so

Code: Select all


.Tab--AI Squad Types (344) 
.*--1 
1.Label-SQUAD TYPE-120 
1.Reflexive-344-36-160 
2.String-0-180-32-Invisible 


.*--1 
2.Int16-32-60         0-180-32-Inv 
2.Label-Unknown Index ID-120 
.*--1 
2.Int16-34-60 
2.Label-Unknown ID-120 
.*--1	
now it'll load it (and save it) no problem, so we need to go down more

Code: Select all

 
.Tab--AI Squad Types (344) 
.*--1 
1.Label-SQUAD TYPE-120 
1.Reflexive-344-36-160 
2.String-0-180-32-Invisible 
.*--1 
2.Int16-32-60 0-180-32-Inv 
2.Label-Unknown Index ID-120 

.*--1 
2.Int16-34-60 
2.Label-Unknown ID-120 
.*--1 


now we get the error again, so we look in between those 2 spots (in a big plugin you'd have to do this way more)

and then we'd find the line 2.Int16-32-60 0-180-32-Inv which is what is messing us up, to fix it just delete the extra code there (or if you find the exact line and it seems fine, just delete that line, or ask somebody about it)
Sweetness.......Visual Security: 9-block IP Identification
"Teenagers, plus anonymity, plus microphone = idiot."-Bungie
Dojorkan




Coagulator Blacksmith

Posts: 1084
Joined: Sun Jan 30, 2005 7:54 am

Post by Dojorkan »

Well that explains the messing up of the error in the first post. and the error for the one htere was "240-indent".

But with my working version of H2X it wontwork with QZ/Flood zone.
The error I get for QZ is "Specified cast is not valid". And this happens when I select a new group from the dropdown box. Ex: qz_cov_def_spectre

But I could select anything else fine when modding Cario, ouskirts, metropolis, Arbiter, DeltaHalo, Sacred Icon, Forerunnership, highcharity, Great Journey.

The other SP levels Im not sure about.

So yeah I dont understand why H2x doesnt like floodzone.Quartine Zone. I dotn see anything map specific in the plugin.
User avatar
TheTyckoMan




Artisan Socialist Decryptor Droplet

Posts: 854
Joined: Fri Apr 02, 2004 11:22 am
Location: Tea co not Tie co...

Post by TheTyckoMan »

is the first reflexive's nested reflexive nulled out?
Sweetness.......Visual Security: 9-block IP Identification
"Teenagers, plus anonymity, plus microphone = idiot."-Bungie
Dojorkan




Coagulator Blacksmith

Posts: 1084
Joined: Sun Jan 30, 2005 7:54 am

Post by Dojorkan »

I dont know. I have no experienece with plugins or any type of coding for anything besides like HTML. Lmao.

But Im using a copy of H2X fresh from the files forum here. So its the same as anyone elses.
Dojorkan




Coagulator Blacksmith

Posts: 1084
Joined: Sun Jan 30, 2005 7:54 am

Post by Dojorkan »

Alright, so does anyone else know?


>_>

<_<

EDIT: I notcied that the place under |||||||||||Level 2||||||||||

Is Nulled out.
Post Reply