Problem running any script

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
sillicontoast
Posts: 17
Joined: 2004-07-17 16:42:24

Problem running any script

Post by sillicontoast »

I'm using UO:AOS as well, but now i've created a account in a shard running POL as emulator. I've played there a year ago with injection and everything goes ok, but now i'm using latest yoko release and with client 3.0.0c (the shard requires 2.0.3) and everytime i try to run a script it tells that the function won't exist.

The only function that seems to work is the main() that comes with the injection itself. I've tried alot of scripts from here and everytime is the same error:

Line xx: Function not found - Hid

this is the hid function:

sub Hid()
while not UO.Hidden()
UO.Warmode("0")
UO.UseSkill("Hiding")
wait(10000)
wend
end sub

p.s.: i've tried to run in client 4.0.0c as well and i could connect perfectly.
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

are you completely sure you using latest script.dll? some older version of my script.dll had small bug - it added unnecessary space before or after name of function in Run function name field.

Just check up after you chosen script name for launch that no spaces before and after it. If so either remove it manually each time, or redownload newer script.dll from site http://yoko.netroof.net/en_install.htm
sillicontoast
Posts: 17
Joined: 2004-07-17 16:42:24

Post by sillicontoast »

hummm...the script.dll that u told me has solved the problem :) :) :) Thx alot
Post Reply