• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Enc.Walker.c Runtime Errors

FA-1397

Landlubber
I'm getting the runtime errors below intermittently. I have no idea why those particular lines are causing problems, but any help you can provide will be greatly appreciated. Before I installed Build 12 and Pieter's post 12 mods, the game was virtually unplayable. Thanks for all of your work.

-----------------------------------------------------------
Error summary
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1228
Type ....: RUNTIME ERROR
Error ...: Unknown data type
Count ...: 2
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1228
Type ....: RUNTIME ERROR
Error ...: invalid array index
Count ...: 2
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1247
Type ....: RUNTIME ERROR
Error ...: invalid index 291 [size
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1247
Type ....: RUNTIME ERROR
Error ...: invalid array index
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1245
Type ....: RUNTIME ERROR
Error ...: Unknown data type
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1245
Type ....: RUNTIME ERROR
Error ...: invalid index 290 [size
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1245
Type ....: RUNTIME ERROR
Error ...: invalid array index
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1237
Type ....: RUNTIME ERROR
Error ...: Unknown data type
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1237
Type ....: RUNTIME ERROR
Error ...: invalid index 289 [size
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1237
Type ....: RUNTIME ERROR
Error ...: invalid array index
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1229
Type ....: RUNTIME ERROR
Error ...: Unknown data type
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1229
Type ....: RUNTIME ERROR
Error ...: invalid index 288 [size
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1229
Type ....: RUNTIME ERROR
Error ...: invalid array index
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1228
Type ....: RUNTIME ERROR
Error ...: invalid index 287 [size
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1228
Type ....: RUNTIME ERROR
Error ...: invalid index 286 [size
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1223
Type ....: RUNTIME ERROR
Error ...: Unknown data type
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1223
Type ....: RUNTIME ERROR
Error ...: invalid index 285 [size
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1223
Type ....: RUNTIME ERROR
Error ...: invalid array index
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1222
Type ....: RUNTIME ERROR
Error ...: Unknown data type
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1222
Type ....: RUNTIME ERROR
Error ...: invalid index 284 [size
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1222
Type ....: RUNTIME ERROR
Error ...: invalid array index
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1217
Type ....: RUNTIME ERROR
Error ...: Unknown data type
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1217
Type ....: RUNTIME ERROR
Error ...: invalid index 283 [size
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
File ....: program\dialogs\Enc_Walker.c
Line ....: 1217
Type ....: RUNTIME ERROR
Error ...: invalid array index
Count ...: 1
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:30
Build file : 2004.04.11 17:21:40
Local CRC : e9277aa0
Build CRC : f333a691
-----------------------------------------------------------
Error.log
-----------------------------------------------------------
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1217
invalid index 283 [size:283]
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1217
invalid array index
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1217
Unknown data type
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1222
invalid index 284 [size:283]
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1222
invalid array index
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1222
Unknown data type
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1223
invalid index 285 [size:283]
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1223
invalid array index
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1223
Unknown data type
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1228
invalid index 286 [size:283]
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1228
invalid array index
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1228
invalid index 287 [size:283]
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1228
invalid array index
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1228
Unknown data type
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1228
Unknown data type
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1229
invalid index 288 [size:283]
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1229
invalid array index
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1229
Unknown data type
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1237
invalid index 289 [size:283]
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1237
invalid array index
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1237
Unknown data type
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1245
invalid index 290 [size:283]
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1245
invalid array index
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1245
Unknown data type
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1247
invalid index 291 [size:283]
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1247
invalid array index
RUNTIME ERROR - file: dialogs\Enc_Walker.c; line: 1247
Unknown data type



Field Agent 1397
Help us help you help your friends and family help humanity.
<a href="http://www.zombiedefense.org" target="_blank">http://www.zombiedefense.org</a>
 
Hello FA1397
Look at "Post Build 12 Modpack (PotCMods.zip)" tread, post 734,there are latest fixes.
a New Enc.Walker file etc
Bye CapHawk. Make it like <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/type_1.gif" style="vertical-align:middle" emoid=":nk" border="0" alt="type_1.gif" /> and not like <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />
 
<!--quoteo(post=139422:date=Feb 12 2006, 01:31 AM:name=Captain Hawk)--><div class='quotetop'>QUOTE(Captain Hawk @ Feb 12 2006, 01:31 AM) [snapback]139422[/snapback]</div><div class='quotemain'><!--quotec-->Hello FA1397
Look at "Post Build 12 Modpack (PotCMods.zip)" tread, post 734,there are latest fixes.
a New Enc.Walker file etc
Bye CapHawk. Make it like <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/type_1.gif" style="vertical-align:middle" emoid=":nk" border="0" alt="type_1.gif" /> and not like <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->
Thanks for the help Capn' Hawk. Here is a link to the aforementioned thread in case someone else needs help.

<a href="http://forum.piratesahoy.net/index.php?s=&showtopic=5586&view=findpost&p=139332" target="_blank">http://forum.piratesahoy.net/index.php?s=&...ndpost&p=139332</a>

Field Agent 1397
Rogue Entomologist
<a href="http://www.zombiedefense.org" target="_blank">http://www.zombiedefense.org</a>
 
Is this file properly fixed in the small bugfix in the Post Build 12 thread or is it still not working properly?
 
<!--quoteo(post=139435:date=Feb 12 2006, 05:23 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Feb 12 2006, 05:23 AM) [snapback]139435[/snapback]</div><div class='quotemain'><!--quotec-->Is this file properly fixed in the small bugfix in the Post Build 12 thread or is it still not working properly?<!--QuoteEnd--></div><!--QuoteEEnd-->

Pieter,

I received the error above after installing POTC following the instructions on <a href="http://pieter.piratesahoy.org/download.htm" target="_blank">your download web page</a>. I installed the small bugfix mentioned in the Post Build 12 thread yesterday, but I'm now getting a different error.

**BEGIN LOG**

-----------------------------------------------------------
Error summary
-----------------------------------------------------------
Error.log
-----------------------------------------------------------

-----------------------------------------------------------
Compile.log
-----------------------------------------------------------
Gauging: StartGauging
Gauging: starting init
Gauging: nations
Init encounters complete.
Gauging: enc
Gauging: cann
Gauging: ships
Gauging: islands
Init weathers complete. 320 weathers found.
Gauging: weather
Gauging: perks
InitModels: Total number of models: 306
Gauging: models
Gauging: goods
Gauging: ifaces
Main_LogoVideo() 0
PauseAllSounds
ResetSoundScheme
proc_break_video()
Main_LogoVideo() -1
Gauging: initgame start
Gauging: createlayers
Gauging: stores
Gauging: sound
Gauging: delete sea env
Gauging: wdmap
Gauging: islands
Number of locations: 503
Gauging: locations
Gauging: dialogs
Gauging: teleport
bool CreateParticleEntity()
Gauging: particles
Gauging: items
Gauging: char
Gauging: quests
Gauging: sea ai groups
Gauging: questmapenc
Gauging: landenc
Gauging: load options
Gauging: infoshow
Gauging: initgame done
Init character names complete.
SETTING MUSIC: music_main_menu
ResetSoundScheme
Done loading
ResetSoundScheme
bool CreateParticleEntity()
!!! Reload to 31
LoadLocation(ref loc) REDMOND_PORT
ItemLogic: On load location REDMOND_PORT
ItemLogic: found 0 buttons
ItemLogic: Loaded model items\\Antidote
ResetSoundScheme
SetSoundScheme: port
AddSoundScheme: land_day
AddSoundScheme: seashore_weather
SETTING MUSIC: music_gorod
ch Randolf Potter has no items tree
IT for Randolf Potter, quality now 3

-----------------------------------------------------------
System.log
-----------------------------------------------------------
Scanning modules\
Loading modules...
Loaded 0
Reset...
Initializing CORE...
Creating atoms space: 128
done
initializing complete
Initializing DirectX 8
ERROR: Techniques: Find duplicate technique name: bladeitem
Techniques: 9 shaders compiled.
Techniques: 181 techniques compiled.
Techniques: compiled by 126335553 ticks.
BeginScene
The method call is invalid For example, a method's parameter may have an invalid value
Bad rope data for rope: (rope num = 2) (begin group=0, end group=0)
Begin pointer = 85600748? end pointer = 0
Bad rope data for rope: (rope num = 4) (begin group=0, end group=0)
Begin pointer = 87233644? end pointer = 0
Bad rope data for rope: (rope num = 5) (begin group=2, end group=0)
Begin pointer = 85600748? end pointer = 0
Bad rope data for rope: (rope num = 11) (begin group=-1, end group=0)
Begin pointer = 88574524? end pointer = 0
Bad rope data for rope: (rope num = 10) (begin group=-1, end group=0)
Begin pointer = 88574524? end pointer = 0
Bad rope data for rope: (rope num = 9) (begin group=-1, end group=0)
Begin pointer = 88574524? end pointer = 0
Bad rope data for rope: (rope num = <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/cool.gif" style="vertical-align:middle" emoid="8)" border="0" alt="cool.gif" /> (begin group=0, end group=-1)
Begin pointer = 0? end pointer = 88574524
Bad rope data for rope: (rope num = 18) (begin group=0, end group=-1)
Begin pointer = 0? end pointer = 87236948
Bad rope data for rope: (rope num = 19) (begin group=0, end group=-1)
Begin pointer = 0? end pointer = 87236948
Bad rope data for rope: (rope num = 20) (begin group=0, end group=-1)
Begin pointer = 0? end pointer = 87236948
Bad rope data for rope: (rope num = 21) (begin group=0, end group=-1)
Begin pointer = 0? end pointer = 87236948
Ship Boat doesn't have fire places
Can't load texture resource\textures\.tx
Can't load texture resource\textures\.tx
Can't load texture resource\textures\.tx
Can't load texture resource\textures\.tx
Present
The device is lost and cannot be restored at the current time, so rendering is not possible
Present
The device is lost and cannot be restored at the current time, so rendering is not possible
Present
The device is lost and cannot be restored at the current time, so rendering is not possible
Present

<-- this message is logged a few hundred times -->

The device is lost and cannot be restored at the current time, so rendering is not possible
Present
The device is lost and cannot be restored at the current time, so rendering is not possible
System exit and cleanup:
Mem state: User memory: 3155 MSSystem: 2080 Blocks: 130
Leak: 'Bad memory address' line 0, size 40
Leak: 'Bad memory address' line 0, size 47
Leak: 'Bad memory address' line 0, size 40

** END LOG **

If I can be of any help, let me know.

Field Agent 1397
Help us help you help your friends and family help humanity.
<a href="http://www.zombiedefense.org" target="_blank">http://www.zombiedefense.org</a>
 
What the HECK? I haven't got the slightest idea what that is supposed to mean. When did this happen? Did it crash the game or cause any weirdness while playing?
 
i had a lot of runtime errors one time. i got rid of one then another one popped up and so on and so forth. i uninstalled it completely and redownloaded the builds and installed it again worked for me.
mind you this was with the build not the stock version.
 
After installing the fixes mentioned above, here are the errors I'm now getting.

-----------------------------------------------------------
Error summary
-----------------------------------------------------------
File ....: program\characters\characterUtilite.c
Line ....: 1080
Type ....: RUNTIME ERROR
Error ...: Using reference variable without initializing
Count ...: 3
Status ..: File is newer as the file from build
Local file : 2006.02.09 22:34:28
Build file : 2004.05.01 18:11:32
Local CRC : 8dbad53f
Build CRC : 1deeb7e1
-----------------------------------------------------------
Error.log
-----------------------------------------------------------
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1080
Using reference variable without initializing
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1084
Using reference variable without initializing
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1080
Using reference variable without initializing
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1084
Using reference variable without initializing
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1080
Using reference variable without initializing
RUNTIME ERROR - file: characters\characterUtilite.c; line: 1084
Using reference variable without initializing

Here is the offensive section of code. The first line is line 1074.

int GetCompanionIndex(ref _refCharacter,int _CompanionNum)
{
if(_CompanionNum<0) return -1;
if(_CompanionNum>3) return -1;
if(_CompanionNum==0)
{
if(CheckAttribute(_refCharacter,"index")) return sti(_refCharacter.index);
}

string compName = "id"+_CompanionNum;
if(!CheckAttribute(_refCharacter,"Fellows.Companions."+compName)) return -1;
return sti(_refCharacter.Fellows.Companions.(compName));
}
 
Back
Top