.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #41  
Old July 9th, 2007, 08:05 AM

dmentd dmentd is offline
Corporal
 
Join Date: Jun 2007
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
dmentd is on a distinguished road
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Upd

Every time I run this program now, I get an error:

---Error in main, line 1692: index 1 (=-1) out of range
---Error: Program stopped due to an error
---Program done, press RETURN---

Another time, the index equalled -3 with the same results. What am I doing wrong?
Reply With Quote
  #42  
Old July 9th, 2007, 09:06 AM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Upd

Thanks for letting me know dmentd.

Here is kind of the stock request:
It would be a great help if you could send me the file "TESTDUMP.txt" located in your SemiRandom directory to semirand-AT-dom3minions.com. This only records data from the last run of SemiRandom, so if you have run subsequent maps through it without an error, it won't do any good to send it.


If I had to guess, I would say that your problem is likely tied to AI nation selection. So far there are only god files for EA (every nation in the early era except for Tir na n'Og, so check the "AI Gods" tab and be sure that EA is selected and hit the "Show Nation Configuration" button and make sure that Tir na n'Og is disabled or set to human.


The following helped Stryke11 when he was having trouble:
To let Dom3 handle start locations and AI gods:
1. Go to the 'Starts' tab
2. Uncheck 'Lock Player Counts to Nat Cfg'
3. Set 'Desired Num Players' to 0 (zero)

To use the custom start placements without using the custom AI gods:
1. Go to the 'Starts' tab
2. Uncheck 'Lock Player Counts to Nat Cfg'
3. Set 'Desired Num Players' to your desired number of players.
4. Go to the 'AI Gods' tab
5. Set 'AI Land Players' & 'AI Sea Players' to 0 (zero)
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #43  
Old July 9th, 2007, 08:41 PM

jutetrea jutetrea is offline
First Lieutenant
 
Join Date: Jan 2007
Location: Tampa, FL
Posts: 687
Thanks: 0
Thanked 1 Time in 1 Post
jutetrea is on a distinguished road
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Upd

ok, i'm feeling dumb.

I dl'd the new version. Unzipped it and get:

random.exe
random.txt
[semirandom]
[randomsettings]

C:\Games\dominions3\Tools\RanDom_v203

If I click random.exe I get an error "semirandom.cfg cannot be found" - but the program still opens. If I click execute i get "can't find dom3.exe"

If i go into [semirandom] and click semirandom.exe i get "initializing" then "lost in time cannot open ...semirandom\255 205 000 225" try again? y/n

As an FYI I have provinceeditor, semirandom, and random under a \tools directory so.

C:
\Games
\Dominions3
\Maps; \Mods; \Tools

C:\Games\dominions3\Tools\RanDom_v203\SemiRandom


***Ok, so if I put random.exe (and random.txt) in my \dominions3 folder I still get the cannot find semirandom.cfg but at least it makes the map. I still have issues running semirandom.exe even after replacing line 1 of the .cfg file with my path and having a map in the folder.
Reply With Quote
  #44  
Old July 9th, 2007, 08:59 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Upd

Sorry jutetrea.
RanDom & SemiRandom are not as user friendly when it comes to paths as the Province Editor is.

Here is a stock answer that should help:

Getting all of the pieces in place can be a small challenge.
On my system, Dom3 is installed on my C: drive in a folder called "Games".
When you unzip RanDom, it should have the directory structure intact so that you can just paste the contents into your dominions3 directory.
Below is a bare bones map of the directory structure that you want to end up with.

Code:

c:\Games\dominions3
RanDom.exe
\RanDomSettings
BluewaterBay.stg
COT_colorscheme.stg
Default.stg
etc...
\SemiRandom
SemiRandom.cfg
SemiRandom.exe
SemiRandom.yab
\GAN_BIN
\GOD_BIN
\LIST_CRATE
\NAME_VAULT

__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #45  
Old July 9th, 2007, 09:14 PM

jutetrea jutetrea is offline
First Lieutenant
 
Join Date: Jan 2007
Location: Tampa, FL
Posts: 687
Thanks: 0
Thanked 1 Time in 1 Post
jutetrea is on a distinguished road
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Upd




So everything is in the dominions 3 folder

dom3.exe
random.exe
[semirandom] folder
[randomsettings] folder

Same issues.
Can't find semirandom.cfg file with random.exe
Initializing, then can't open \255... using semirandom.exe

I had the old version working in the \tools directory before so now i'm just confused.
Reply With Quote
  #46  
Old July 9th, 2007, 09:24 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Upd

Does your SemiRandom.cfg look like this? (or at least, same number of lines and roughly same order & path):

C:\Games\dominions3\SemiRandom
1
100
1
0
25
25
-1
-1
-1
-1
-1
7
6
0
2
EA
-1
4
0
4
255 205 000 225
GANPLAINS
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #47  
Old July 9th, 2007, 09:32 PM

jutetrea jutetrea is offline
First Lieutenant
 
Join Date: Jan 2007
Location: Tampa, FL
Posts: 687
Thanks: 0
Thanked 1 Time in 1 Post
jutetrea is on a distinguished road
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Upd

C:\Games\dominions3\SemiRandom
Project NEW
1
100
1
0
25
25
-1
-1
-1
-1
-1
7
6
0
2
EA
-1
4
0
4
255 205 000 225
GANPLAINS
Reply With Quote
  #48  
Old July 9th, 2007, 09:38 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Upd

Get rid of the "Project NEW" line completely.
That is causing you grief.

RanDom normally overwrites that line for you, but I strongly suspect that good ol' notepad has bit me and is causing a wrap around to appear as a new line.

If anyone else is getting similar strange behaviour, please let me know and I will try to update the upload. It may not be an issue for everyone. ?
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #49  
Old July 9th, 2007, 09:43 PM

jutetrea jutetrea is offline
First Lieutenant
 
Join Date: Jan 2007
Location: Tampa, FL
Posts: 687
Thanks: 0
Thanked 1 Time in 1 Post
jutetrea is on a distinguished road
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Upd

K, figured that. Now I'm getting

lost in time

Can not open ...\ganplains
Attached Files
File Type: txt 535264-TESTDUMP.txt (813 Bytes, 248 views)
Reply With Quote
  #50  
Old July 9th, 2007, 09:52 PM

jutetrea jutetrea is offline
First Lieutenant
 
Join Date: Jan 2007
Location: Tampa, FL
Posts: 687
Thanks: 0
Thanked 1 Time in 1 Post
jutetrea is on a distinguished road
Default Re: RanDom v2.03 - Map gen & Semirandomizer... Upd

k

that next line was bogus as well. that first 1, after looking in the readme and seeing what the lines meant it seems the 100 does not equal "1 or 0" fiddle names

so previously had

C:\Games\dominions3\Tools\RanDom_v203\SemiRandom
1
100
1
0
25
25
-1
-1
-1
-1
-1
7
6
0
2
EA
-1
4
0
4
255 205 000 225
GANPLAINS

Should be
C:\Games\dominions3\Tools\RanDom_v203\SemiRandom
100
1
0
25
25
-1
-1
-1
-1
-1
7
6
0
2
EA
-1
4
0
4
255 205 000 225
GANPLAINS

(I put it back under tools)

K, new problem. When I get rid of the "1" under the path, random.exe does not recognize semirandom.cfg and I get "text1" for all the fields within random.exe. If I do NOT take out the "1" under path it works fine.

Code shift somewhere?
Reply With Quote
Reply

Bookmarks

Tags
custom, generator, gods, independents, map, provinces, random, semirandom, starts


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:23 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.