Yoko

All sides of Injection
It is currently 2025-11-07 18:26:28

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Cast spell cript
PostPosted: 2007-06-09 18:33:46 
Offline

Joined: 2007-06-09 18:16:03
Posts: 8
hey anyone can help to creat script to cast spell in pvp like ,exec Fireball i need with last target nad target self. Who wont help me pleas contact me in msn Legardking@hotmail.com or write in post .


Top
   
 Post subject:
PostPosted: 2007-06-10 16:06:15 
Offline

Joined: 2006-09-28 23:01:58
Posts: 5
mhmhm dunno if it fit exactly ur mind, but i use it with my tank n my battle, that's a part of my autoload as example:



#### Tank ####

VAR delay_fisso = -300
VAR delay_post = 200
VAR delay_targ = 200
VAR delay_1 = delay_fisso + 100
VAR delay_2 = delay_fisso + 1000 # 2nd circle
VAR delay_3 = delay_fisso + 1500 # 3th circle
VAR delay_4 = delay_fisso + 2000 # 4th circle
VAR delay_5 = delay_fisso + 2500 # ....
VAR delay_6 = delay_fisso + 3000 # ....
VAR delay_7 = delay_fisso + 3500 # ...
VAR delay_8 = delay_fisso + 4000 # ..
################



SUb Arrow()
Uo.Exec("arm 2; cast 'Magic Arrow'")
Wait (800)
UO.Exec("arm 1")
End Sub

SUb Heal()
Uo.Exec("arm 2; cast 'Heal'")
Wait (800)
UO.Exec("arm 1")
End Sub

Sub Reflect()
Uo.Exec("arm 2; cast 'Magic Reflection'")
Wait (delay_post)
Uo.Exec("arm 1")
Wait (delay_5)
Uo.Exec("arm 2")
Wait (delay_targ)
Uo.Exec("arm 1")
End Sub

Sub Froze()
Uo.Exec("arm 2; cast 'Paralyze'")
Wait (delay_post)
Uo.Exec("arm 1")
Wait (delay_5)
Uo.Exec("arm 2")
Wait (delay_targ)
Uo.Exec("arm 1")
End Sub

Sub Gate()
Uo.Exec("arm 2; cast 'Gate Travel'")
Wait (delay_post)
Uo.Exec("arm 1")
Wait (delay_7)
Uo.Exec("arm 2")
Wait (delay_targ)
Uo.Exec("arm 1")
End Sub







i think u can add on top of each sub
uo.exec("waittargetobject [object]")
for the last/self target (combo with the uo.getid maybe for the last target)
n cut&past the rest if ur shard have "spell channeling" weps

Hope u can find something usefull :P

_________________
In life there's 10 types of pople, one who know the binary numerical system n the one who doesn't...


Top
   
 Post subject:
PostPosted: 2007-06-10 16:34:52 
Offline

Joined: 2007-06-09 18:16:03
Posts: 8
bat when i clik run function i have execute 15 line 15 function not found-main


Top
   
 Post subject:
PostPosted: 2007-06-10 22:15:54 
Offline

Joined: 2006-09-28 23:01:58
Posts: 5
u haven't to run a function main u just need to set , for example, from the game option macro


F1

Action
say ,exec Heal



where heal is 1 of the name of the sub u previusly prepare for ur spell n it will worck ;)

_________________
In life there's 10 types of pople, one who know the binary numerical system n the one who doesn't...


Top
   
 Post subject:
PostPosted: 2007-06-11 15:33:15 
Offline

Joined: 2007-06-09 18:16:03
Posts: 8
i do macro in game and when i clik key i have next error execute 32 line 32
function not found-heal


Top
   
 Post subject:
PostPosted: 2007-06-12 13:27:24 
Offline

Joined: 2006-09-28 23:01:58
Posts: 5
u need to load a script with that macro, for example take ur autoload n copy n paste the code i wrote before, u need to have that code in the script u have loaded in order to use the ,exec sub

_________________
In life there's 10 types of pople, one who know the binary numerical system n the one who doesn't...


Top
   
 Post subject:
PostPosted: 2007-06-12 20:26:22 
Offline

Joined: 2007-06-09 18:16:03
Posts: 8
Its realy hard to set I have lot problems :P
DocK pleas contact to me in msn Legardking@hotmail.com or messages in site


Top
   
 Post subject:
PostPosted: 2007-06-18 09:37:20 
Offline

Joined: 2007-06-09 18:16:03
Posts: 8
All spell i must give to one script and next add spell in macro option or one script one spell ??


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited