Page 1 of 1

New ANTI-AFK SYSTEM :(

Posted: 2009-12-25 20:19:20
by MaryCruz
Im playing at a Brazilian shard, they are testing new modes of anti-afk system...

One of this modes are uses EFFECT ANIMATIONS....

Like Flame Strike animation, Fizzles, Heal effect, Bless effect etc on the char, then you need to type which effect was playing on you char...

Is There any possible to check which animation OR SOUND was playied on my char using injection?

Posted: 2009-12-25 20:30:24
by Destruction
,set animecho 1
,set soundecho 1
,showjournal

its easy.

Posted: 2009-12-26 03:14:29
by MaryCruz
Very good..

Problem now is where the sound/anim was playied, if it was on my or in another char :/

i tried uo.journalserial

im not sure if i did it right... but i think all serials for SOUND messages are x01010101

Posted: 2009-12-27 08:04:22
by Destruction

Code: Select all

; wait for anti-afk question.. is it gump, right?
repeat
    wait( 100 )
until uo.lastgump('replyed') == 0 && uo.lastgump('serial') = 'xxxx'
; detect the correct word
var word = ""
for i = 0 to 5
    if uo.journal(i) == "[sound 123]" then
        word = "Sound 123 played."
    endif
    ; etc for all effects
next
if word == "" then
    ; alarm! not detected.
    return
endif
; send reply
uo.lclick(...)
uo.sayu( word )
uo.lclick(...)

Posted: 2009-12-27 18:06:49
by MaryCruz
thank you again :D

but the anti-afk system puts 2 characters next to me

So 3 effects(it got different sounds) are playied, in a random char, on me, or on an chicken, or an a rat....

Then a gump ask which was the first effect, and who it was playied...
same for second and third effect...

I think i can make the script... the problem is to recognize the serial of the anims or sounds (where it was playied)

Posted: 2009-12-27 18:59:59
by Grin
make avi for correct undestand of macro, each time you add new details

Posted: 2009-12-27 22:29:13
by MaryCruz
Actually works like that:
http://www.4shared.com/file/182685188/9 ... pture.html

with only one animation, then you need to answer the right animation and whcih char was playied

ps1: the good is that the animations cause sounds, each one different of other)

PS2: Options on Gump are always on same position....

ps3: the chicken and the rat are always on same postion..

so its easy to script this anti-antiafk, the problem is to check which char playied the sound..

Posted: 2009-12-28 00:10:24
by Destruction
uo.journalserial ?..

А ФС можно найти по тайпу ?.. Что-то я уже не помню..

Posted: 2009-12-28 00:13:07
by Grin
If spell effect is an object -> posible
another way -> not posible...

Posted: 2009-12-28 00:13:54
by Grin
Если это эффект, то без вариантов инжет не помощник.

Posted: 2009-12-28 01:53:00
by MaryCruz
@Destrucion
serials for [Snd ] messages are x01010101, but thinking logical, for the client knows the itensity of the sound (as much longer the object is, the sound volume is lower) it must know which object it is..
Or is the server that send the volume of sound effect?

so its the end of macros?

but not talking about injection:

When the server send an packet of sound to the client, dont come any extra packet telling which object/npc the sound playied?

So there is an option to complie a yoko dll that shows at journal the serial of [Snd xxx] messages?
Am i right?

так что в конце макросов?

но не говорите об инъекции:

Когда сервер посылает пакет звука к клиенту, не приходят каких-либо дополнительных пакетов говорить, какой объект / ВСНП звук playied?

Поэтому есть возможность Скомпилируйте Йоко DLL, который показывает на журнал сериал [SND XXX] сообщений?
Я прав?

Posted: 2009-12-28 03:28:57
by Grin
You need to handle effect packet, you can take old injection surces and done it by your self.

Simple way is find macro program with ability work with pixels (EasyUO, UOPilot) for more easy you can change visual of effects (not animated, simple form and color).

that's all...

Posted: 2009-12-28 03:57:32
by Destruction
I agree with Grin.

Posted: 2009-12-28 16:14:31
by MaryCruz
I dont know programing.. :(

So thats it, i hope one day someone compile an new dll with this feature...

Thank You!

Posted: 2009-12-28 16:48:11
by Nmy

Code: Select all

if uo.lastgump('replyed') == 0 then
play sound
endif

Posted: 2009-12-28 21:57:39
by Grin
Что то ты не в тему...

Posted: 2009-12-29 01:19:20
by Destruction
Grin wrote:Что то ты не в тему...

Он в тему но не совсем и малясь хреново.

Типа полу-автоматическая анти-защита)

Posted: 2009-12-29 02:59:06
by Grin
да?
Не смог применить ответ ни к одному сообщению:(

Недостоин я эксперта:(
:D