|
Author
|
|
Topic: Error: Value Out of Bounds |  |
|
Issak Settler Las Vegas, NV Jan 2001
|
 |
posted January 05, 2001 16:26
 |
 |
 |  |
Hi all- I loved Civ II and wanted this game big time, so for a late x-mas present my bro gave it to me. I had already checked out this site and d/l the patch, before even having the game. Installed the game and then the patch, before even playing. I am still learning this one so I am in easy setting. Every time I save the game, and go back to playing I get an error: Slic Error In object CheckForUnit, Function_GetUnit_FromArmy: Value Out of Bounds. I checked the board to see if anybody had this issue and the closest I could find was the one about shutting down CTP2 after each save (if I want to keep playing). I keep doing that, but if I save the game and wish to contuine, I get this pop up message, about 3 times, whenever I want to move one of my guys. I can close the message, but each time I move, it comes up agian and again. Any help would be appreciated.
|
CorpusScorpius Settler Houston,Tx Nov 2000
|
 |
posted January 05, 2001 18:03
 |
 |
 |  |
Try playing a different level. (Medium)I read somewhere (cant remember where) playing on the easiest settings LEADS players into very bad habits. |
BALROG Settler Chesterfield Twp., MI USA Dec 2000
|
 |
posted January 07, 2001 01:24
 |
 |
 |  |
quote:
 Originally posted by Issak on 01-05-2001 04:26 PM ...I get an error: Slic Error In object CheckForUnit, Function_GetUnit_FromArmy: Value Out of Bounds....I get this pop up message, about 3 times, whenever I want to move one of my guys. I can close the message, but each time I move, it comes up agian and again. Any help would be appreciated.
 |
I'm getting the exact same error, very annoying - especially since I'm about 1000+ years into the game 
------------------ --==>>BobT> |
Kurzonis Settler
Mar 2001
|
 |
posted March 13, 2001 17:47
|
 |
 |  |
I get the same errors! I save a game. When I reload the save game, hit enter for next turn and This error messages pops up everytime I move!!!Any solutions? Any Ideas? I don't think I will ever buy an Activision game in the future. Their games are always buggy! |
Locutus Prince Apolyton Borg Hengelo/Enschede, The Netherlands Nov 1999
|
 |
posted March 14, 2001 15:24
  |
 |
 |  |
Could any of you guys who have these problems open the file tut2_func.slc (in the folder ctp2_data\default\gamedata) in a text editor (NotePad or WordPad or MS Word or whatever) and perform a search on the text CheckForUnit? You should find 1 entry. If you post that line and the 20 or so lines below that here, I can see if your version of that file is in any way different from mine. I've never had those problems and there doesn't seem to be anything wrong with the code when I look at it, so maybe my version of that file is different in some way. Once I have the right code, it should be fairly simple to fix the problem. (BTW, playing on a higher difficulty level should fix the problems as well) |
ekke Settler Sunne, Sweden Mar 2001
|
 |
posted March 21, 2001 08:01
|
 |
 |  |
Hi! I'm having the same problem. I would really appreciate som help on this, so here you go Locutus!int_f CheckForUnit(army_t tmpArmy, unit_t chkUnit) { unit_t tmpUnit; int_t i; int_t verifyUnit; verifyUnit = 0; for(i = 0; i < tmpArmy.size; i = i + 1) { if(GetUnitFromArmy(tmpArmy, i, tmpUnit)) { if(tmpUnit == chkUnit) { verifyUnit = 1; return verifyUnit; } else { verifyUnit = 0; } } } return verifyUnit; } //check to see if a given unit is in a city |
Locutus Prince Apolyton Borg Hengelo/Enschede, The Netherlands Nov 1999
|
 |
posted March 22, 2001 07:15
  |
 |
 |  |
Seems to be ok. I recently discovered one other thing though: Try setting DebugSLIC to No in userprofile.txt. |