[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Star Trek Fan Games - View topic - LCARS
View unanswered posts | View active topics It is currently 03 May 2026, 18:02



Reply to topic  [ 92 posts ]  Go to page Previous  1, 2, 3, 4  Next
 LCARS 
Author Message
Genetically Altered Manual Labourer
Genetically Altered Manual Labourer
User avatar

Joined: 17 Aug 2009, 01:31
Posts: 2083
Location: Passed out on the floor after math mistake discovered by Hawking
Won't the updated program require an editor so that data can be adjusted for new functions and features? Bashir

_________________
Supremacy Manual ()


28 Jun 2010, 00:53
Profile
Ship Engineer
Ship Engineer
User avatar

Joined: 10 Jul 2006, 01:00
Posts: 5130
Location: Space is disease and danger, wrapped in darkness and silence!


28 Jun 2010, 01:36
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


28 Jun 2010, 03:56
Profile WWW
Ship Engineer
Ship Engineer
User avatar

Joined: 10 Jul 2006, 01:00
Posts: 5130
Location: Space is disease and danger, wrapped in darkness and silence!


28 Jun 2010, 04:32
Profile
Genetically Altered Manual Labourer
Genetically Altered Manual Labourer
User avatar

Joined: 17 Aug 2009, 01:31
Posts: 2083
Location: Passed out on the floor after math mistake discovered by Hawking

_________________
Supremacy Manual ()


29 Jun 2010, 14:10
Profile
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
This is true, but i've been aiming my comments at the lowest common denominator - those that would run a mile if they saw .xml coding. There isn't a problem in manually editing the files though, as long as you make frequent backups, regularly check the files still work (Ie test the game after you make edits), and are extremely careful while editing. I've learned the above three rules the hard way, and i've lost weeks worth of work because of it. Trust me, it's easier with the editor.

In all honesty though, I would really like to start inputting all of the empires, races, ships, and structures from scratch. It would be a hell of a lot of work, but the files would be fresh and I shouldn't end up needing people like .Iceman to point out any leftover workarounds, typos, missing/incorrectly named images, or mistakes. An editor would make this work a LOT faster and easier.


29 Jun 2010, 14:48
Profile WWW
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
It's pretty easy to modify most of the files if you validate against the schemas. You can use a proper XML editor to get intellisense and error highlighting. Problem is that the schemas are a bit out of date, but I could fix that pretty easily.

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


29 Jun 2010, 16:44
Profile WWW
Crazed Emissary of the Photoshop
Crazed Emissary of the Photoshop
User avatar

Joined: 13 Mar 2009, 20:17
Posts: 2091
Location: Krapina, Croatia


29 Jun 2010, 17:01
Profile YIM WWW
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
I had no idea such things existed, Mike. Got any links to any? I've always just used Notepad to do any editing, and that's what i've recommended to others in the past.

...

I know we haven't really got the time for it mate. I'm just saying that tis would be the ideal. If the programs Mike mention do what he say they do, then I could get working on the files again with less worry about breaking the game (And trust me when I say that i've lost count the number of times that i've broken it). I would still recommend that we only do translations via editors though.

Ignoring the database, the biggest visible update that the game will likely receive is the images. Captain Bashir, Vjeko, Kenneth, and Zeleni have put in a herculean effort to getting the images we need and Supremacy is going to shine because of them. And that doesn't even include Slim's gorgeous artwork. People are going to love the update.


29 Jun 2010, 17:08
Profile WWW
Crazed Emissary of the Photoshop
Crazed Emissary of the Photoshop
User avatar

Joined: 13 Mar 2009, 20:17
Posts: 2091
Location: Krapina, Croatia
While I was modding EAW I used Notepad++ for xml editing and it was a life savior.


http://download.cnet.com/Notepad/3000-2 ... 27521.html



try it out.


29 Jun 2010, 17:11
Profile YIM WWW
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
I just use the XML editor in Visual Studio. You could download Microsoft Visual C# Express, which should have the same editor. looks like a pretty good editor; it looks like it supports form-based editing as well. There's an evaluation version; not sure how much it costs to buy.

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


29 Jun 2010, 19:20
Profile WWW
Admiral
Admiral
User avatar

Joined: 14 Jan 2009, 10:17
Posts: 2042


30 Jun 2010, 10:52
Profile
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
Many of the problems are the result of edits on top of edits, .Iceman. The problem is in the maintenance and development, not the creation. And when I said about people running a mile when they see xml, I mean the coding itself, not simply the text. Its like writing a post on the forums with all the bbcode - [b] [u] etc, without knowing what it all means. In that situation, it *will* look daunting to the newly xml-initiated.

I'm back to my flat tomorrow. I'll check out the programs then and get working on the updates. Nice to see you posting again too, .Iceman.


30 Jun 2010, 12:08
Profile WWW
Crazed Emissary of the Photoshop
Crazed Emissary of the Photoshop
User avatar

Joined: 13 Mar 2009, 20:17
Posts: 2091
Location: Krapina, Croatia
New thing I've noticed, Sikarians are set in the Alpha quadrant, they should be in the Delta quadrant.


30 Jun 2010, 12:33
Profile YIM WWW
Admiral
Admiral
User avatar

Joined: 14 Jan 2009, 10:17
Posts: 2042


30 Jun 2010, 12:50
Profile
Crazed Emissary of the Photoshop
Crazed Emissary of the Photoshop
User avatar

Joined: 13 Mar 2009, 20:17
Posts: 2091
Location: Krapina, Croatia
Ok, but there are a lot of delta quadrant minors in the alpha quadrant because of some editor bugs when they were put in game.


30 Jun 2010, 12:54
Profile YIM WWW
Admiral
Admiral
User avatar

Joined: 14 Jan 2009, 10:17
Posts: 2042


30 Jun 2010, 13:02
Profile
Genetically Altered Manual Labourer
Genetically Altered Manual Labourer
User avatar

Joined: 17 Aug 2009, 01:31
Posts: 2083
Location: Passed out on the floor after math mistake discovered by Hawking
I think I inadvertently started a really interesting discussion. This is good stuff to know. Ditto on the "good to see you posting .iceman" AND mstrobel if we don't say it enough, thanks a billion (trillion, gazillion) for all your work. :clap: CB

_________________
Supremacy Manual ()


30 Jun 2010, 14:31
Profile
Crazed Emissary of the Photoshop
Crazed Emissary of the Photoshop
User avatar

Joined: 13 Mar 2009, 20:17
Posts: 2091
Location: Krapina, Croatia


30 Jun 2010, 15:59
Profile YIM WWW
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
My pleasure guys, and thanks to you for all your help.

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


30 Jun 2010, 22:31
Profile WWW
Genetically Altered Manual Labourer
Genetically Altered Manual Labourer
User avatar

Joined: 17 Aug 2009, 01:31
Posts: 2083
Location: Passed out on the floor after math mistake discovered by Hawking
I sure wish I could program like you, because I love programming... but I digress... You know, we're really gonna have something here when we're done. :bigthumb: Binary Bashir

_________________
Supremacy Manual ()


01 Jul 2010, 03:58
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688

_________________
Lead Developer of Star Trek: Supremacy
253,658 lines of code and counting...


01 Jul 2010, 05:24
Profile WWW
Genetically Altered Manual Labourer
Genetically Altered Manual Labourer
User avatar

Joined: 17 Aug 2009, 01:31
Posts: 2083
Location: Passed out on the floor after math mistake discovered by Hawking

_________________
Supremacy Manual ()


01 Jul 2010, 06:19
Profile
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
Ok, i've downloaded and installed Notepad ++. It's a nice program.

...It doesn't help me though. I pressed ahead with making some of the fixes that we need as a test, but i'm still encountering problems. Supremacy simply freezes during game load whenever I manually mod TechObjectDatabase.xml.

How do you make Notepad ++ check whether there are any problems with the xml? Or can you do it Mike? Modded file below.

TechObjectDatabase.xml [952.66 KiB]
Downloaded 253 times


02 Jul 2010, 01:58
Profile WWW
Crazed Emissary of the Photoshop
Crazed Emissary of the Photoshop
User avatar

Joined: 13 Mar 2009, 20:17
Posts: 2091
Location: Krapina, Croatia
Well it doesn't warn you directly, but there are easy ways of noticing broken code.

press ALT-2 and you get this

1.JPG
1.JPG [ 79.48 KiB | Viewed 8579 times ]


as you can see your code is broken somewhere in the buildings.

yes before shipyards begin you need to add this line:

</Buildings>


02 Jul 2010, 09:59
Profile YIM WWW
Crazed Emissary of the Photoshop
Crazed Emissary of the Photoshop
User avatar

Joined: 13 Mar 2009, 20:17
Posts: 2091
Location: Krapina, Croatia
Fixed:


TechObjectDatabase.xml [952.68 KiB]
Downloaded 258 times



now it looks like this:

2.JPG
2.JPG [ 92 KiB | Viewed 8578 times ]


02 Jul 2010, 10:09
Profile YIM WWW
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
Thanks mate, this will be my job for the day then. I've sorted the general issues and the Cardassians so far, and i've just started the Dominion fixes. Shouldn't take too long.

*Edit - Alt-2 is actually useful for finding stuff as well. Thanks for that, mate. :bigthumb:


02 Jul 2010, 10:57
Profile WWW
Crazed Emissary of the Photoshop
Crazed Emissary of the Photoshop
User avatar

Joined: 13 Mar 2009, 20:17
Posts: 2091
Location: Krapina, Croatia
Alt-2 means that is collapses the second layer of code, you can use other numbers like alt-3 so you will have a list of everything in the third layer.
If you want we can split the work, you do major races, and can do the minor, just send me the xml files for editing, mine are "personalized"


02 Jul 2010, 11:13
Profile YIM WWW
Evil Romulan Overlord of Evil - Now 100% Faster!
Evil Romulan Overlord of Evil - Now 100% Faster!
User avatar

Joined: 02 Dec 2004, 01:00
Posts: 7392
Location: Returned to the previous place.
There's no point mate; we'll end up with two different versions of the files that would then need to be merged. I should be able to do all the work myself today. I'm free to do it anyways.

*Edit - ok, now what have I done? Pressing Alt-2 isn't causing all of the ships to collapse like it should, but I can't see anything wrong with any of the code thingies on the ships. There's nothing hilighted in red like it does if I intentionally delete some of the code stuff. :confused:

TechObjectDatabase.xml [953.5 KiB]
Downloaded 238 times


The Dominion are now complete and I was halfway through the Feds when I noticed this problem...if it is a problem. Is it?


02 Jul 2010, 12:44
Profile WWW
Crazed Emissary of the Photoshop
Crazed Emissary of the Photoshop
User avatar

Joined: 13 Mar 2009, 20:17
Posts: 2091
Location: Krapina, Croatia
The problem is in DOM_BATTLE_CRUISER_I, as you can see when you press alt-2 <ships> end after it, that means that it has one closing tag extra or ther is one opening tag missing, I'll try to find it.


BTW can you go to MSN, I can be logged in all day so we can solve these problems faster.


EDIT: Solved

The ship was missing

<TechRequirements> tag

TechObjectDatabase.xml [953.52 KiB]
Downloaded 243 times




And you misunderstood me, I meant I could update the "HomeSystems.xml" "CustomPlanets.xml" and "Civilizations.xml" since I was a part of the team that did the research in that area.


02 Jul 2010, 13:29
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 92 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.