Yoko
http://forum.yoko.com.ua/

Need script switch armor and weapon with maccro injection
http://forum.yoko.com.ua/viewtopic.php?f=1&t=17407
Page 1 of 1

Author:  ShakeDatAss [ 2014-03-01 21:12:39 ]
Post subject:  Need script switch armor and weapon with maccro injection

Hi All, First sorry for my english i will try you guys understand it!!

I need a script for switch my armor and my weapon. in past i used thi script

sub fire()
UO.Exec("useobject fire_arms")
UO.Exec("useobject fire_plate")
UO.Exec("useobject fire_legs")
UO.Exec("useobject fire_gorget")
UO.Exec("useobject fire_helm")
UO.Exec("useobject fire_gloves")
end sub


Its dont work anymore because i cant use (,addobject fire_arms_ ect ) so im looking for a script look like that but where i put the code of my armor parts like 0x400018sa for each parts and samething for my weapon shield and bow ..

sub fire
UO.Exec(0x400432345)
UO.Exec(0x400018645)
UO.Exec(0x400444325)
UO.Exec(0x400017547)
end sub

Something like that can work???

I hope someone can help me
Thnaks alot


DatAss

Author:  Incorrect User [ 2014-03-01 21:19:16 ]
Post subject:  Re: Need script switch armor and weapon with maccro injectio

Code:
sub Arm()
   var i
   dim Arm[6]
   Arm[1] = "Type of fire_arms"
   Arm[2] = "Type of fire_plate"
   Arm[3] = "Type of fire_leg"
   Arm[4] = "Type of fire_gorget"
   Arm[5] = "Type of fire_helm"
   Arm[6] = "Type of fire_gloves"
   for i = 1 to 6
      uo.usetype(Arm[i], "color")
      wait(100)
   next
end sub

Author:  Juicy Fruit [ 2014-03-01 21:29:13 ]
Post subject:  Re: Need script switch armor and weapon with maccro injectio

Or
Code:
sub Arm()
   var i
   dim Arm[6]
   Arm[0] = "ID of fire_arms"
   Arm[1] = "ID of fire_plate"
   Arm[2] = "ID of fire_leg"
   Arm[3] = "ID of fire_gorget"
   Arm[4] = "ID of fire_helm"
   Arm[5] = "ID of fire_gloves"

   for i=0 to 5
      uo.useobject(Arm[i])
      wait(100)
   next
end sub

Author:  ShakeDatAss [ 2014-03-01 22:03:22 ]
Post subject:  Re: Need script switch armor and weapon with maccro injectio

NIce the second work good thanks man but its nromal have a delay between each parts its not instantaly geared?

Author:  Incorrect User [ 2014-03-01 22:44:01 ]
Post subject:  Re: Need script switch armor and weapon with maccro injectio

Remove or change this line wait(100)

Author:  Mazer [ 2014-03-03 09:24:33 ]
Post subject:  Re: Need script switch armor and weapon with maccro injectio

why not ?

Code:
sub Arm()
uo.useobject('ID OF ITEM 1')
uo.useobject('ID OF ITEM 2')
uo.useobject('ID OF ITEM 3')
uo.useobject('ID OF ITEM 4')
uo.useobject('ID OF ITEM 5')
uo.useobject('ID OF ITEM 6')
end sub

Author:  Nmy [ 2014-03-04 14:45:35 ]
Post subject:  Re: Need script switch armor and weapon with maccro injectio

If you use it without a delay you might loose a part, because it's too fast. Also depends on the server. Might be some anti-lag and using items should have 0.2 seconds delay or the server drops information and the client equips nothing. Or if the server has no delays it might work.

Author:  ShakeDatAss [ 2014-03-07 17:52:53 ]
Post subject:  Re: Need script switch armor and weapon with maccro injectio

I just have remove the delay and it wrok very good i think the client have no delay for this action so i can equip all parts!!
Thanks to all for replys to my topic!! Russian force!!

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/