Jump to content

Debugging-I'm sick of it, and ready to quit modding


1upD
 Share

Recommended Posts

I am sick and tired of this debugging ****.

 

It's so annoying! DA-DONK!!!!! An exeption has occured.

 

So, has anyone made a debugging tool? At least something that tells you which file is wrong. I've got 49 crappy files and no clue which is bugged.

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

When that happens to me, I usually try and backtrack what I've been working on. Sometimes it's something really silly like a missed bracket, and othertimes it's a little bigger. Takes some time, but it's worth it.
Link to comment
Share on other sites

When that happens to me, I usually try and backtrack what I've been working on. Sometimes it's something really silly like a missed bracket, and othertimes it's a little bigger. Takes some time, but it's worth it.

Do you know how many times I tried that??????

 

I even tried using the process of elimination, and I accidentally glitched it more, fixed it, and tried building it from the begining. Too time consuming.

 

I wish I had a tool!!!!!

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

Opening the XML with Internet exploerer helps a lot. I just wish it was a bit more clear when you got an error.

HOW WILL THAT HELP?

 

I don't even know which XML is bugged........And it's probably not a simple mistake, more a huge glitch between two XMLs.

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

If you open a XML with internet exploer and scroll down it should tell what the problem is.... Try to open the recent XMLs you edited with it :) But sometimes it won't work depending on the error. If your game gets an exception error before you even have time to get to the splash screen. Something is wrong with your gameconstants.
http://i10.photobucket.com/albums/a105/333Super/Maul.jpg
Link to comment
Share on other sites

If you open a XML with internet exploer and scroll down it should tell what the problem is.... Try to open the recent XMLs you edited with it :) But sometimes it won't work depending on the error. If your game gets an exception error before you even have time to get to the splash screen. Something is wrong with your gameconstants.

What recent ones!?

 

About 20 out of 49. plus, I forgot which ones. Annoying, isn't it?

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

Thank you!

 

I figured out which is bugged-it was totally different than what I expected.

 

What does

The XML page cannot be displayed 

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 


--------------------------------------------------------------------------------

A name contained an invalid character. Error processing resource 'file:///F:/Games/Star Wars Empire at War/GameData/Mods/1u...

</GroundInfantry>
-^
AN> 
  <Variant_Of_Existing_Type>Battle_Droid</Variant_Of_Existing_Type> 
  <Tactical_Health>100</Tactical_Health> 
  <Land_Model_Name>cis_droideka.ALO</Land_Model_Name> 

 

Mean? I can't figure out what's wrong with it....

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

You have an invalid character somewhere in the file. (namely, the reigon that wouldn't be displayed). The unit above Battle_dROID.

 

Check for any odd characters like "~" or "╣" or "&" or "%" etc...

Edited by Droid803

http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg

"That was fun"

Link to comment
Share on other sites

just test it after each change instead of making lots of changes then testing...I made the mistake of writing out the xml for most of a mod before testing it, and BAM, didn't work. I scrapped it b/c I didn't feel like searching through all the xml.

http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg

 

http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg

Link to comment
Share on other sites

You have an invalid character somewhere in the file. (namely, the reigon that wouldn't be displayed). The unit above Battle_dROID.

 

Check for any odd characters like "~" or "╣" or "&" or "%" etc...

Please, could someone list all characters considered "invalid"? I checked, and couldn't find any.

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

I really have no idea what's invalid, but I stay away from anthing but 0123456789, ABCDEFGHIJKLMNOPQRSTUV, -, ", ., ", < and >, and for comments.

http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg

"That was fun"

Link to comment
Share on other sites

I really have no idea what's invalid, but I stay away from anthing but 0123456789, ABCDEFGHIJKLMNOPQRSTUV, -, ", ., ", < and >, and for comments.

I tried everthing.....I think......

 

Where's the pi key.......

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

well invalid characters depends on where you have them.. anything should work inside of those because they are comments -.-.. although a letter in a number box.. might not crash the game.. just teh game wont read it.. or set it to zero

http://www.swgbex.com/sig.jpg

Hehe IA 2 venator :P

Link to comment
Share on other sites

IE sucks..

 

If you use Firefox it will show you the line and column that the error occured in. If you use a Editor like UE32 or Dreamweaver this comes in handy as you can go right to the line and fix. UE32 also has XML support and it auto corrects syntax errors and other common errors.

Link to comment
Share on other sites

Thank you!

 

I figured out which is bugged-it was totally different than what I expected.

 

What does

The XML page cannot be displayed 

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 


--------------------------------------------------------------------------------

A name contained an invalid character. Error processing resource 'file:///F:/Games/Star Wars Empire at War/GameData/Mods/1u...

</GroundInfantry> [i][b]-[color=red]i assume this is the end line of another infantry unit which means the problem may be that you need to add something like  <GroundInfantry Name="Droideka"> above the variant of existing tyoe line[/color][/b][/i]
[i][b][color=red]-^
AN>[/color] [/b] [/i]   <Variant_Of_Existing_Type>Battle_Droid</Variant_Of_Existing_Type> 
  <Tactical_Health>100</Tactical_Health> 
  <Land_Model_Name>cis_droideka.ALO</Land_Model_Name> 

 

Mean? I can't figure out what's wrong with it....

 

i put my comments in the code quoet

http://i108.photobucket.com/albums/n13/sonic0_2006/sonicos8.jpg

Mod Leader A Galaxy Divided

Dark Empire Co-Lead Coder

Dark Empire Lead R&D/Advanced Coder

AGD Homepage

Agalaxydivided.com

Link to comment
Share on other sites

IE sucks..

 

If you use Firefox it will show you the line and column that the error occured in. If you use a Editor like UE32 or Dreamweaver this comes in handy as you can go right to the line and fix. UE32 also has XML support and it auto corrects syntax errors and other common errors.

 

Dreamweaver also costs 400 dollars.  ;):P Not everyone works for a living like you do

http://i108.photobucket.com/albums/n36/DarkEmpireSPG/kelathin2.jpg

I shall Name him MiniMe.... 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...