|
Help Forum |
 |
|

Arnout
    
|
12/21/2009 | |
Runtime error in agent 4 1 1 (Norn (Male)) script 4 0 0 23 unique id 9635
Incompatible type: agent expected
... m writ targ 19 va99 {@}mesg writ held 5 wait 20 pose ...
Windows NT/2000 5.1 build 2600 (Service Pack 2)
OriginalDisplay DirectX (netbabel 148 )
Mon Dec 21 11:50:06 2009 - Windows - 2.286 b195 |
This is the error for it. I am using a few agents like a sleeping fix for the endless nigthmare in the normal gen files and CreatureDecisions from Creatures Village.
Most of the time this happens in the DS world, they are not autokilling in KT. |
 Peppery One
Papriko
    
|
12/21/2009 | |
Maybe the ship is simply too tiny for them.
You use a CreatureDecisions cosfile from CV for them? I am not sure if the DS engine "likes" it that much...
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |

Arnout
    
|
12/21/2009 | |
There where no syntax errors in it.
And i was using CreatureDoneTo, CreatureInvoluntary (sleeping fix), and CreaturetoCreature. I,ve tested them all on syntax errors. |
 Peppery One
Papriko
    
|
12/21/2009 | |
No Syntax Errors does not mean that there are no conflicts. I could also create a script that makes an infinite, game-freezing loop. The CAOS tool would find no syntax errors, but it is still hazard.
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |
 Prodigal Sock
Ghosthande
    

|
12/21/2009 | |
What happens if you add a doif? ie.
doif held ne null
mesg writ held 5
wait 50
endi
Does that help?
 |

Arnout
    
|
12/21/2009 | |
It,s not happening in C12DS either.
Sorry, but, where to add a doif, and in which file? The error looks like it,s from the breeding decisions.
Oh, i think i,ve found it, now i,m sure it IS creaturedecisions. 
* dont learn fronm stim script will provide learning
setv va99 0
endi
targ ownr
stim writ targ 19 va99
mesg writ held 5
wait 20
pose 12
wait 20
endm
|
|
 Prodigal Sock
Ghosthande
    

|
12/21/2009 | |
Yes, that's the chunk I meant.
 |

Arnout
    
|
12/23/2009 | |
Like this?
* dont learn fronm stim script will provide learning
setv va99 0
endi
targ ownr
stim writ targ 19 va99
mesg writ held 5
wait 20
pose 12
wait 20
doif held ne null
mesg writ held 5
wait 50
endi
endm
|
|
 Prodigal Sock
Ghosthande
    

|
12/23/2009 | |
What I mean is, where you see the "mesg writ held 5" line--the one that you already have--add the doif and endi lines around it. Like this:
* dont learn fronm stim script will provide learning
setv va99 0
endi
targ ownr
stim writ targ 19 va99
doif held ne null
mesg writ held 5
wait 20
endi
pose 12
wait 20
endm
|
 |