Search found 8 matches

by roro4ever
2011-08-13 08:39:01
Forum: I need script!
Topic: Is it Possible to implement an Intelligent EnemyFind Script?
Replies: 0
Views: 3084

Is it Possible to implement an Intelligent EnemyFind Script?

Is it Possible to implement an Intelligen EnemyFind Script?

Client:2.0.3
Yoko injection:7.x

idea:
When press a predefined hotkey,implement Intelligent/Smart EnemyFind.
Intelligent/Smart EnemyFind will based on the BlackList/WhiteList and info of tile which 'finditem'(Enemy) stands on.

question ...
by roro4ever
2011-08-12 02:36:32
Forum: Learn Scripting
Topic: How to Break or Continue in loop?
Replies: 15
Views: 8869

Re: How to Break or Continue in loop?

:shock: ,sorry,I just translated the russian text above. :lol:
Which board should i get in? :?:
by roro4ever
2011-08-11 17:54:22
Forum: Learn Scripting
Topic: How to Break or Continue in loop?
Replies: 15
Views: 8869

Re: How to Break or Continue in loop?

code example:

for i=0 to 9
if i==2 then
#break
endif
if i==5 then
#continue
endif
next

cos i dont know the break and continue statements in injection language.so now i use

repeat
until (Exitcondition)

but continue how to implement? use if? :cry:
by roro4ever
2011-08-11 04:20:32
Forum: Learn Scripting
Topic: How to Break or Continue in loop?
Replies: 15
Views: 8869

How to Break or Continue in loop?

How to Break or Continue in loop?

Especially in for loop,I have tried many statements from other language,but failed.

someone can tell me?thanks
by roro4ever
2009-12-16 17:51:03
Forum: Modifications. Other user tools.
Topic: How to do some file operation?
Replies: 0
Views: 3901

How to do some file operation?

I wanna do some file operation,
eg:
read others file's content;
create new file;
delete file;
add text into file,

The most wanted is when I load abc.sc,after run,can write back some info into abc.sc self.
When I use script.dll with include,maybe load abc.sc again by call function in abc.sc ...
by roro4ever
2009-12-12 18:39:06
Forum: Help
Topic: How to Lock EnemyID in my script?
Replies: 1
Views: 1083

Maybe I have solved ! Haha!

var LockMode=1
sub LockEnemy()
uo.SetGlobal('Locked',"0")
if uo.GetSerial('self')==uo.Getserial('laststatus') then
uo.print("NO to self")
return
endif
uo.setglobal('EnemyID',uo.Getserial&#40 ...
by roro4ever
2009-12-12 17:39:46
Forum: Help
Topic: How to Lock EnemyID in my script?
Replies: 1
Views: 1083

How to Lock EnemyID in my script?

We know,use inj's 'laststatus',first spell a lighting on enemy,then use healself,'laststatus' will equal 'self',the next lighting will point self.

So I wanna make a script who can lock EnemyID by 'laststatus'.
But i am confused with Inj Script's var scope.
Below is a piece of my script

var ...
by roro4ever
2009-11-15 11:00:08
Forum: General
Topic: Injection + speed Hack = crash?
Replies: 1
Views: 2530

Injection + speed Hack = crash?

I always using injection in many shards which restrict speed hack.Everything is ok.
But now a new shard allow speed hack,so I need Speed Hack + Injection.

But ,Every time once open speed hack(eg.speed gear,speederXp,Gear,ets.),Injection instantly crashed.

Is there anyone make this success ...