Jump to content

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


1upD
 Share

Recommended Posts

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.

So, how would one go about fixing an XML with Dreamweaver? I want to know how these advanced programs work.

"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

Does anyone know what this means?

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.

 

 

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

 

End tag 'HardPoints' does not match the start tag 'HardPoint'. Error processing resource 'file:///C:/Program Files/LucasArt...

 

--^

http://i10.photobucket.com/albums/a105/333Super/Maul.jpg
Link to comment
Share on other sites

Yes.

It means you need to read error messages carefully before asking us.

 

Twice, if necessary.

 

You have and . If that still doesn't ring a bell, count the letters :)

 

You may now hit yourself on the head.

Link to comment
Share on other sites

Yes.

It means you need to read error messages carefully before asking us.

 

Twice, if necessary.

 

You have and . If that still doesn't ring a bell, count the letters :)

 

You may now hit yourself on the head.

 

Please, do you know what's wrong with my code? I can't figure it out.

"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

Alright, this is CRAP. No one may use the below code, but please fix it. If you do fix it, I will mention you in the credits.

 

EDIT: Deleted. I don't want to risk it being stolen.

Edited by 1upD

"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

Edit: Nevermind mike you were right. I need to smack myself around. And Iup try to get of the abilites.

That isn't it........Something's wrong with the SBD......And the top of the XML......

"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 use variants too much, even when making a unit thats totally different...I find it hard to find to root of the problem that way.

*sigh*

 

When I code, it's all about varients. Modding, when you think about it, is all about varients.

 

How do you suppose I delete the varient tags without bugging it now????

"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, assuming the problem still stands...

 

Line 269 is

<SFXEvent_Tactical_Build_Cancelled> EHD_Reinforcements_Cancelled  </SFXEvent_Tactical_Build_Cancelled

And it should be

<SFXEvent_Tactical_Build_Cancelled> EHD_Reinforcements_Cancelled  </SFXEvent_Tactical_Build_Cancelled>

 

Line 478 is

<Battlefield_Modifier_Ability Name"Empire_Field_Commander_FOW_Increase">

And it should be

<Battlefield_Modifier_Ability Name="Empire_Field_Commander_FOW_Increase">

 

 

That's all I got.  Grab a fixed copy.

Zing!
Link to comment
Share on other sites

Well, assuming the problem still stands...

 

Line 269 is

<SFXEvent_Tactical_Build_Cancelled> EHD_Reinforcements_Cancelled  </SFXEvent_Tactical_Build_Cancelled

And it should be

<SFXEvent_Tactical_Build_Cancelled> EHD_Reinforcements_Cancelled  </SFXEvent_Tactical_Build_Cancelled>

 

Line 478 is

<Battlefield_Modifier_Ability Name"Empire_Field_Commander_FOW_Increase">

And it should be

<Battlefield_Modifier_Ability Name="Empire_Field_Commander_FOW_Increase">

 

 

That's all I got.  Grab a fixed copy.

 

THANK YOU!!!!!!!!!!

 

EDIT: Dang it! It didn't work..... shoot.....

 

Well I can tell, whatever you did helped a lot. But it didn't completely fix 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

Most freeware notepad replacments have support for XML editing. So they should have debugging tools. Just not geared towards EaW.

 

Try:

Notepad2

Or:

google for a freeware notepad replacment.

http://img86.imageshack.us/img86/8752/sigsf6.gif

When your outnumbered, you've got more targets to shoot AND less chance of missing.

Link to comment
Share on other sites

I personally use Notepad++, though I use it for it's light memory usage and very wide support of various file formatting, and I'm sure there are much better XML editors out there.

 

For your current problem, are you sure none of the other files have syntax errors?

 

For future developing, backup working copies of your files frequently (NOT overwritting older backups), and check for basic syntax errors in Firefox/IE/Opera even more frequently.  Then if you have problems use a diff program (like this one) to see what you changed.

 

For more advanced, setup a version control like Subversion (not necessarily for the faint of heart).

Zing!
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....

SPACE is also an invalid character inbetween letters and #s

 

1upD, send me the XML; I may be able to help.

I think you still know my yahoo address...

 

wait, do you know what I'm talking about?

If not, this may be a clue;

 

Re: Ideas for Modelers (Model Request Thread, Image Heavy)

« Reply #65 on: October 16, 2006, 03:08:09 AM »

_____________________________________________________

It's hard to please Artenon and Revan(usernames) with skins.

I heard that! :'( (Just Kidding ;) )

http://miniprofile.xfire.com/bg/sf/type/0/captainartenon.pnghttp://z4.invisionfree.com/The_Sith_Lords_EaW/index.php?act=Attach&type=post&id=5554600

Alternate Site

http://i12.photobucket.com/albums/a245/loverdog/pffuserbar1.jpg

http://img228.imageshack.us/img228/6296/sweawuban0cg.png

Petition for Obsidian and Bioware to work on Knights of the Old Republic III together! 3926 Total Signatures and counting!

SW Fanon Wiki entry - Captain Artenon

"A fake news show on fox should have real news!" -Louis Black, The Daily Show.

Link to comment
Share on other sites

"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

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...