yoko,i have some question

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
selila
Posts: 10
Joined: 2004-10-16 16:32:27

yoko,i have some question

Post by selila »

1 how can i get my character 's skill value??does it have any command or var i can get skill value

2 if i have two function run in one time . like this

sub test1
if uo.injournal("attacking you") then
uo.say(".guards")
uo.deletejournal()
end if
end sub

sub test2
if uo.injournal("stop lumberjacking") then
....... //do something like go other position
.......
uo.deletejournal()
end if
end sub

if test1 and test2 run both in one time
does uo.deletejournal() command in sub test1 will affect sub test2? let test2 dont get the "stop lumberjacking " msg in journal??

3 does your injection have any absolute document? I can guess some command from it own name .but some command i hardly to use it ..

thank you for develop injection.I hope this tool can be more perfect..

if i want to rework on your injection source code .what tool i need to get?

thank you very much
selila
Posts: 10
Joined: 2004-10-16 16:32:27

Post by selila »

another question .if test1 running ..in sub test2 .have any command stop sub test1??
AGRS
Expert!
Posts: 1007
Joined: 2004-04-04 21:40:09
Contact:

Post by AGRS »

1) uo.SkillVal(skill,[case]), where
skill - skill name
case - (0-normal, 1-real, 2-delta, 3-status)

2) Yes
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

3) no single document available. you need to use old versions doc's from sourceforge + history of developement on my site

4) compile.txt
GrayLord
Expert!
Posts: 333
Joined: 2004-06-04 03:24:25
Contact:

Re: yoko,i have some question

Post by GrayLord »

selila wrote:1 how can i get my character 's skill value??does it have any command or var i can get skill value

2 if i have two function run in one time . like this

sub test1
if uo.injournal("attacking you") then
uo.say(".guards")
uo.deletejournal()
end if
end sub

sub test2
if uo.injournal("stop lumberjacking") then
....... //do something like go other position
.......
uo.deletejournal()
end if
end sub

if test1 and test2 run both in one time
does uo.deletejournal() command in sub test1 will affect sub test2? let test2 dont get the "stop lumberjacking " msg in journal??

3 does your injection have any absolute document? I can guess some command from it own name .but some command i hardly to use it ..

if any problems appear with uo.deletejournal(), when running several scripts at one time, use something about this:

Code: Select all

   setjournalline(uo.injournal("stop lumberjacking")-1,"a")


p.s.: sorry for my english
Post Reply