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
Need script switch armor and weapon with maccro injection
Moderators: Murderator+, Murderator
-
- Posts: 11
- Joined: 2014-03-01 21:06:25
-
- Posts: 949
- Joined: 2011-05-23 00:33:30
Re: Need script switch armor and weapon with maccro injectio
Code: Select all
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
-
- Posts: 820
- Joined: 2011-06-11 19:54:23
Re: Need script switch armor and weapon with maccro injectio
Or
Code: Select all
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
-
- Posts: 11
- Joined: 2014-03-01 21:06:25
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?
-
- Posts: 949
- Joined: 2011-05-23 00:33:30
Re: Need script switch armor and weapon with maccro injectio
Remove or change this line wait(100)
Re: Need script switch armor and weapon with maccro injectio
why not ?
Code: Select all
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
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.
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
-
- Posts: 11
- Joined: 2014-03-01 21:06:25
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!!
Thanks to all for replys to my topic!! Russian force!!