ScriptUO
Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: Grandewd on May 31, 2014, 03:13:04 PM
-
How do you guys check to see if you have it on your weapon?
:-[
-
This is something you should predefine. You should know what weapons are to be used with your character and thus should define how to use them.. For example, I used to use this procedure in stealth (Dunno about EUO)
procedure CheckSpecial(Wep:Cardinal; Ability:String; Special:String; Hands:Integer);
begin
if( Hands = 1 ) then
begin
if( GetType(ObjAtLayer(RHandLayer())) = Wep ) then
begin
if( (GetActiveAbility<> Ability) AND (GetMana(SELFID)>10) ) then
begin
if( Special = 'Primary' ) then
begin
UsePrimaryAbility;
end;
if( Special = 'Secondary' ) then
begin
UseSecondaryAbility;
end;
ClientPrint(GetActiveAbility);
wait(175);
end;
end;
end;
if( Hands = 2 ) then
begin
if( GetType(ObjAtLayer(LHandLayer())) = Wep ) then
begin
if( (GetActiveAbility<> Ability) AND (GetMana(SELFID)>10) ) then
begin
if( Special = 'Primary' ) then
begin
UsePrimaryAbility;
end;
if( Special = 'Secondary' ) then
begin
UseSecondaryAbility;
end;
ClientPrint(GetActiveAbility);
wait(175);
end;
end;
end;
end;
And I call it via this as an example for a composite bow.
CheckSpecial($26C2,'Armor Ignore','Primary',2);
It's not the prettiest or even probably close to the best way to do it (You could predefine an entire library of weapons if you wanted and employ it some way.)
-
This is no doubt a dumb question, but I have to ask (because I've heard good things about Stealth):
Can EUO and Stealth run concurrently?
-
This is no doubt a dumb question, but I have to ask (because I've heard good things about Stealth):
Can EUO and Stealth run concurrently?
Why would they need to? When it comes to Stealth, EUO is obsolete.
-
This is no doubt a dumb question, but I have to ask (because I've heard good things about Stealth):
Can EUO and Stealth run concurrently?
Why would they need to? When it comes to Stealth, EUO is obsolete.
But it also means I have to learn a new language, and my collection of working scripts worthless.... *Wishes someone would come up with a EUO to Stealth converter*
-
This is no doubt a dumb question, but I have to ask (because I've heard good things about Stealth):
Can EUO and Stealth run concurrently?
Why would they need to? When it comes to Stealth, EUO is obsolete.
But it also means I have to learn a new language, and my collection of working scripts worthless.... *Wishes someone would come up with a EUO to Steam converter*
I use euo and stealth every time there is a forced patch.
-
This is no doubt a dumb question, but I have to ask (because I've heard good things about Stealth):
Can EUO and Stealth run concurrently?
Why would they need to? When it comes to Stealth, EUO is obsolete.
But it also means I have to learn a new language, and my collection of working scripts worthless.... *Wishes someone would come up with a EUO to Steam converter*
I use euo and stealth every time there is a forced patch.
You can use stealth to bypass patching a client in order to get logged in to continue scripting with EUO. But that's barely taking advantage of Stealth itself at all :(
That's like telling a junky "We're out of crack, try pcp laced with crack instead."
-
This is no doubt a dumb question, but I have to ask (because I've heard good things about Stealth):
Can EUO and Stealth run concurrently?
Why would they need to? When it comes to Stealth, EUO is obsolete.
But it also means I have to learn a new language, and my collection of working scripts worthless.... *Wishes someone would come up with a EUO to Steam converter*
I use euo and stealth every time there is a forced patch.
You can use stealth to bypass patching a client in order to get logged in to continue scripting with EUO. But that's barely taking advantage of Stealth itself at all :(
That's like telling a junky "We're out of crack, try pcp laced with crack instead."
Ok, can you point me to a good Stealth primer?
-
I'm unsure what you mean by "primer".
However we have a section on Stealth here: http://www.scriptuo.com/index.php?board=145.0
Scripts user's have written that you can check out: http://www.scriptuo.com/index.php?board=146.0
Snippet's of useable code you can look at here: http://www.scriptuo.com/index.php?board=147.0
I have a thread of subs I have made and use in this thread: http://www.scriptuo.com/index.php?topic=11562.0
The Stealth API: http://stealth.od.ua/Doc:Api
-
Excellent !
Tyvm ;)
-
-
-
Outstanding, thanks a lot guys... ;)
It's 3am my time and I'm up way too late... I'll check all that tomorrow.
Thx again!