Out of Memory: Increase Swap File Size - Error

Talk about anything related to old versions of Armada.
1, 2
posted on September 15th, 2011, 8:57 pm
Well here are some supicious things about your cminelayer.

I think the shieldProtection command is a boolean flag and not a float value. Assigning 1 instead of 1.0 might help.

Are you using the 1.2.5 patch? AFAIK, maxBuildableNumber is not a stock command.
posted on September 15th, 2011, 9:05 pm
Terra_Inc wrote:Well here are some supicious things about your cminelayer.

I think the shieldProtection command is a boolean flag and not a float value. Assigning 1 instead of 1.0 might help.

Are you using the 1.2.5 patch? AFAIK, maxBuildableNumber is not a stock command.


I have mentioned in another post and maybe even earlier in this one that I have a Vanilla Ultimate 2.0 as the base work for my Armada II game patched with the official patches and also the Patch Project 1.2.5 Patch as well.

As for the shield protection command line, I have other ships that have that coding as well and others don't. The coding below is what I think you are talking about and this was taken from my Terran Empire Starfleet's Flagship ISS Enterprise NCC 1701-E (Yess I have a Mirror Universe model for the Sovereign-class incase you are wondering.

Code: Select all
// Sane Crew Loss
saneCrewLossMethod = 1

// We Have Shield Protection
shieldProtection = 1
posted on September 16th, 2011, 12:29 am
Terra_Inc wrote:Well here are some supicious things about your cminelayer.

I think the shieldProtection command is a boolean flag and not a float value. Assigning 1 instead of 1.0 might help.

Are you using the 1.2.5 patch? AFAIK, maxBuildableNumber is not a stock command.

shieldProtection is a float value, but in any case, a value of 1.0 is taken as 1 for booleans in ODF files (everything is ignored after the decimal) :) More information on the actually really nonspecific syntax of ODF commands can be found on this page. Be wary that although many modders/guides will state that 'you need those semicolons, 'f' values, etc' it's not true  :sweatdrop:
posted on September 16th, 2011, 1:14 am
Here, in cminelayer.

// Twin Pulse Phaser
weapon6 = "cxpulse"
weaponHardpoints6 = ""hp08" "hp09"

notice the double quote on the hardpoint.  That could be your problem. :blush:
posted on September 16th, 2011, 2:31 am
Adm. Zaxxon wrote:Here, in cminelayer.

// Twin Pulse Phaser
weapon6 = "cxpulse"
weaponHardpoints6 = ""hp08" "hp09"

notice the double quote on the hardpoint.  That could be your problem. :blush:


Now that you mention it, I haven't noticed that. I have even used Notepads "Find" feature to find double " (quotes) and it said there wasn't any at all. I have looked at that file so many times and since the weapons were copied from another ship then the error should be happening more than once but it isn't.

Thank you for locating/noticing that one. Since the other ship wasn't having any problems that I got the weapons from (the Twin Pulse Phasers) I didn't pay attention to that weapon.
posted on September 16th, 2011, 5:09 am
For all edits I recommend Notepad++, it's free and designed for formatted coded documents. I even used it for html, CSS and editing the PHP of my website.

It is colour coded too and so if you made any basic errors like a missing " it will pick it up.
posted on September 16th, 2011, 9:37 am
Majestic wrote:For all edits I recommend Notepad++, it's free and designed for formatted coded documents. I even used it for html, CSS and editing the PHP of my website.

It is colour coded too and so if you made any basic errors like a missing " it will pick it up.


This. I can't live without it. Even CS pro's use it.
posted on September 16th, 2011, 1:43 pm
Terra_Inc wrote:This. I can't live without it. Even CS pro's use it.


Indeed I was introduced to it when I was doing a IT course with Katala, now I use it for all my editing. There was at one point a plug-in for odf's being made on A2Files, but the person who was making it disappeared before the plug-in was completed/released.
posted on September 16th, 2011, 2:39 pm
Majestic wrote:Indeed I was introduced to it when I was doing a IT course with Katala, now I use it for all my editing. There was at one point a plug-in for odf's being made on A2Files, but the person who was making it disappeared before the plug-in was completed/released.


Now that I think of it, I could give doing that a try. I've previously done a language plug-in for MIPS Assembly, I guess it wouldn't be too hard to do one for ODFs.
posted on September 16th, 2011, 7:42 pm
Last edited by jetnova16 on September 16th, 2011, 7:45 pm, edited 1 time in total.
I never ever heard of Notepad ++, and I really just think sticking with Notepad is alright. I really don't need to download something that I really won't be needing forever. Notepad is good enough for me when it comes to modding Armada II.


Well, this problem has officially been soloved, the problem was exactly what Adm. Zaxxon found right in cminelayer.odf Now the game isn't having the "Out of Memory: Increase Swap File Size" Error. I am just still surprised that I never noticed that one extra " (quote) for the Twin Pulse Phaser, it would have saved almost 2 days of hunting for something that I was overlooking so many times that I have lost count.

Lets just hope, I don't see the "Out of Memory: Increase Swap File Size" Error again. :)

Edit/Addition:
Majestic wrote:For all edits I recommend Notepad++, it's free and designed for formatted coded documents. I even used it for html, CSS and editing the PHP of my website.

It is colour coded too and so if you made any basic errors like a missing " it will pick it up.


On second thought, it won't hurt to download and have the install program at hand if I ever do decide that I need it. :) After all, if it helped you Majestic, it might just be a suggestion I shouldn't ignore from you.
Will it work with pre-made ODf files and anyy other file in the game that can be worked with Notepad for finding errors?
posted on September 17th, 2011, 1:15 am
jetnova16 wrote:Edit/Addition:
On second thought, it won't hurt to download and have the install program at hand if I ever do decide that I need it. :) After all, if it helped you Majestic, it might just be a suggestion I shouldn't ignore from you.
Will it work with pre-made ODf files and anyy other file in the game that can be worked with Notepad for finding errors?


It will work with pre-made odf files, tt files, sprite files. I use it with all my A2/FO text modding. I do hope a plug-in for it will come out one day to make it more useful for us.

Here is the link to the plug-in discussion: Notepad++ & ODF Editing Plugin - FileFront Gaming Forums

The attachment is of the plug-in.

Attachments

nprotoimage2.jpg
posted on September 17th, 2011, 1:48 am
Majestic wrote:It will work with pre-made odf files, tt files, sprite files. I use it with all my A2/FO text modding. I do hope a plug-in for it will come out one day to make it more useful for us.

Here is the link to the plug-in discussion: Notepad++ & ODF Editing Plugin - FileFront Gaming Forums

The attachment is of the plug-in.


Thank you Majestic. :)
posted on September 19th, 2011, 2:08 pm
jetnova16 wrote:Now that you mention it, I haven't noticed that. I have even used Notepads "Find" feature to find double " (quotes) and it said there wasn't any at all. I have looked at that file so many times and since the weapons were copied from another ship then the error should be happening more than once but it isn't.

Thank you for locating/noticing that one. Since the other ship wasn't having any problems that I got the weapons from (the Twin Pulse Phasers) I didn't pay attention to that weapon.


glad I could help. :thumbsup:
1, 2
Reply

Who is online

Users browsing this forum: No registered users and 9 guests

cron