|
|
|
|
 |
|

March 12th, 2010, 08:13 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Out of memory: too many Mymallocs
The lines of ###### definitely will cause a problem. Remember that this is basically a linux program. Having
--############ and a carriage return is not treated as you think it should be. That would still be a dozen null commands taking up string space.
Anywhere you used ##### decoratively should be changed to -------- or =============
|
|
The Following User Says Thank You to Gandalf Parker For This Useful Post:
|
|

March 16th, 2010, 11:41 AM
|
 |
Brigadier General
|
|
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
|
|
Re: Out of memory: too many Mymallocs
Please try the many name mod with version 3.24. I believe this error should not be possible to get in the latest version of Dominions.
|

March 18th, 2010, 12:18 PM
|
 |
Private
|
|
Join Date: Jul 2009
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: Out of memory: too many Mymallocs
Quote:
Originally Posted by Johan K
Please try the many name mod with version 3.24. I believe this error should not be possible to get in the latest version of Dominions.
|
I tried using the search tool for "many name" and "name mod" but no such match was found.
I did get my mod to work finally, I'm in the process of refining it for each of the nationalities, I'm still filling in names for a couple of the nameLists too.
I believe the error I originally got was a function of size; it would probably happen regardless of DomVersion if the mod size is too big. Although I should probably upgrade to the newest version, whatever that is now.
By the way, do you know which nameList is the Independents? is it 100?
thx,
rk
|

March 18th, 2010, 12:33 PM
|
 |
Second Lieutenant
|
|
Join Date: Sep 2008
Posts: 466
Thanks: 35
Thanked 95 Times in 60 Posts
|
|
Re: Out of memory: too many Mymallocs
Quote:
Originally Posted by Corporal Kindel
Quote:
Originally Posted by Johan K
Please try the many name mod with version 3.24. I believe this error should not be possible to get in the latest version of Dominions.
|
I tried using the search tool for "many name" and "name mod" but no such match was found.
|
I think he means this mod
Quote:
I did get my mod to work finally, I'm in the process of refining it for each of the nationalities, I'm still filling in names for a couple of the nameLists too.
I believe the error I originally got was a function of size; it would probably happen regardless of DomVersion if the mod size is too big. Although I should probably upgrade to the newest version, whatever that is now.
|
If I understand correctly, Johan was indicating that the size should not cause that error as of the latest patch (3.24, released a week or so ago.)  And he should know, as he's the developer. Please try again w/your full data set, as if it finds a bug, we may get another release
Quote:
By the way, do you know which nameList is the Independents? is it 100?
thx,
rk
|
I believe they use 100 and 119 as gender appropriate.
|

March 18th, 2010, 12:46 PM
|
 |
Private
|
|
Join Date: Jul 2009
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: Out of memory: too many Mymallocs
Quote:
Originally Posted by Stavis_L
Quote:
Originally Posted by Corporal Kindel
Quote:
Originally Posted by Johan K
Please try the many name mod with version 3.24. I believe this error should not be possible to get in the latest version of Dominions.
|
I tried using the search tool for "many name" and "name mod" but no such match was found.
|
I think he means this mod 
|
OOOPs, my bad
Quote:
Originally Posted by Stavis_L
Quote:
I did get my mod to work finally, I'm in the process of refining it for each of the nationalities, I'm still filling in names for a couple of the nameLists too.
I believe the error I originally got was a function of size; it would probably happen regardless of DomVersion if the mod size is too big. Although I should probably upgrade to the newest version, whatever that is now.
|
If I understand correctly, Johan was indicating that the size should not cause that error as of the latest patch (3.24, released a week or so ago.)  And he should know, as he's the developer. Please try again w/your full data set, as if it finds a bug, we may get another release
Quote:
By the way, do you know which nameList is the Independents? is it 100?
thx,
rk
|
I believe they use 100 and 119 as gender appropriate.
|
Ok, I'll upgrade to 3.24 and retest using the original full mod of size 320k. I thought Indies were nameType[100], just wasn't 100% sure.
thx,
rk
|

March 18th, 2010, 12:59 PM
|
 |
Private
|
|
Join Date: Jul 2009
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: Out of memory: too many Mymallocs
OK, where's the patch version 3.24? I can't seem to find it in the maps & mods thread. I tried putting patch in the search tool but no matches were found?
|

March 18th, 2010, 01:13 PM
|
 |
Corporal
|
|
Join Date: Feb 2010
Location: Winston, OR, USA
Posts: 87
Thanks: 153
Thanked 12 Times in 6 Posts
|
|
Re: Out of memory: too many Mymallocs
Corporal Kindel
Quote:
|
OK, where's the patch version 3.24? I can't seem to find it in the maps & mods thread. I tried putting patch in the search tool but no matches were found?
|
Look at the left-hand side of the screen - under 'Latest News'.
__________________
That is not dead which can eternal lie.
And with strange aeons even death may die.
|

March 18th, 2010, 09:29 PM
|
 |
Private
|
|
Join Date: Jul 2009
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Re: Out of memory: too many Mymallocs
Another round of good news!
I found the patch & upgraded to version 3.24. I then went back to my original old in-work mod, put it together in one big mod like the original, edited the extraneous ### symbols that I had in the comments (which Stavis recommended I remove in another post), and retested.
The whole-enchilada Name-Mod file size was 422kb before I tested it, but it did work.  I also changed the version # to 3.24 on the mod. Apparently, there doesn't seem to be a file-size restriction on mods with the new patch in place (as I'd previously thought).
The bad news is that I actually have more work than I'd originally thought. I've completely finished 4 NameTypes, but there are very big holes in most of the other NameTypes, and a few I haven't added any names at all yet ( some of the Female nameTypes ). So, I have a couple more months work at least; I'm trying to add a couple dozen new names every day or so. There's actually thousands of names, so it's more work than it seems.
I also needed to create a completely alphabetized text list on the side, so I'm actually adding every name twice. I had to create an alphabetized list because I realized I was inadvertently duplicating names, which was the whole purpose to begin with (avoid dups). Since there's so many names, it's actually fairly easy to dup them inadvertently.
By the way, now that I'm thinking about it, if there's somebody that has a good knowledge of alphebetizing: is the following snippet correct (ignore the numbers which are just references to nameType catogories) .. I'm not 100% on how spaces, hyphens, and non-letter (apostrophe) symbols get alphabetized, i.e.:
Jack 100
Jack 'O 100
Jack Frost 144
Jack o' Lantern 144
Jack-in-the-box 137
Jack-La-Lant 145
Jack-the-Ripper 140
Jacko 137
If you think there's something wrong with the order of the names in this alphabetized snippet, let me know. I put symbols (apostrophe in jack 'o in the second line) before letters, and hyphenated words after, but I'm not 100% sure of this.
|

March 19th, 2010, 08:50 AM
|
 |
Second Lieutenant
|
|
Join Date: Sep 2008
Posts: 466
Thanks: 35
Thanked 95 Times in 60 Posts
|
|
Re: Out of memory: too many Mymallocs
Quote:
Originally Posted by Corporal Kindel
Another round of good news!
I found the patch & upgraded to version 3.24. I then went back to my original old in-work mod, put it together in one big mod like the original, edited the extraneous ### symbols that I had in the comments (which Stavis recommended I remove in another post), and retested.
|
Glad to hear things worked out for you
Quote:
The whole-enchilada Name-Mod file size was 422kb before I tested it, but it did work. I also changed the version # to 3.24 on the mod. Apparently, there doesn't seem to be a file-size restriction on mods with the new patch in place (as I'd previously thought).
The bad news is that I actually have more work than I'd originally thought. I've completely finished 4 NameTypes, but there are very big holes in most of the other NameTypes, and a few I haven't added any names at all yet ( some of the Female nameTypes ). So, I have a couple more months work at least; I'm trying to add a couple dozen new names every day or so. There's actually thousands of names, so it's more work than it seems.
|
Um...are you literally trying to add *every* name in existence? I think you're going to run into issues with that...
Also, you might want to consider starting a thread for your mod (and giving it a name  ) and posting partial versions so interested people could use it at least in its preliminary format. Half a loaf is better than none, and all...
Quote:
I also needed to create a completely alphabetized text list on the side, so I'm actually adding every name twice. I had to create an alphabetized list because I realized I was inadvertently duplicating names, which was the whole purpose to begin with (avoid dups). Since there's so many names, it's actually fairly easy to dup them inadvertently.
By the way, now that I'm thinking about it, if there's somebody that has a good knowledge of alphebetizing: is the following snippet correct (ignore the numbers which are just references to nameType catogories) .. I'm not 100% on how spaces, hyphens, and non-letter (apostrophe) symbols get alphabetized, i.e.:
Jack 100
Jack 'O 100
Jack Frost 144
Jack o' Lantern 144
Jack-in-the-box 137
Jack-La-Lant 145
Jack-the-Ripper 140
Jacko 137
|
Are you including the names above? Which name list would they go in? Or are they just for alphabetization check purposes?
Quote:
If you think there's something wrong with the order of the names in this alphabetized snippet, let me know. I put symbols (apostrophe in jack 'o in the second line) before letters, and hyphenated words after, but I'm not 100% sure of this.
|
I'd strongly suggest using some kind of spreadsheet tool (Excel, OpenOffice's Calc, or Google Spreadsheets, for instance) so that it can handle the ordering for you. You could create one sheet for each namelist. Once you've got your lists of names, you could copy/paste them into the mod and add all the #addname commands to the start of each line (or, if you're a programmer at all, write something to do it for you.)
Also, if you're looking for lists of names, I might point you to this: http://en.wiktionary.org/wiki/Catego...ame_appendices
...which has pre-ordered lists by cultural background.
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|