Yoko

All sides of Injection
It is currently 2025-10-13 15:22:41

All times are UTC+02:00




Post new topic  Reply to topic  [ 18 posts ] 
Author Message
 Post subject: New ANTI-AFK SYSTEM :(
PostPosted: 2009-12-25 20:19:20 
Offline

Joined: 2009-12-25 20:15:29
Posts: 6
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?


Top
   
 Post subject:
PostPosted: 2009-12-25 20:30:24 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
,set animecho 1
,set soundecho 1
,showjournal

its easy.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2009-12-26 03:14:29 
Offline

Joined: 2009-12-25 20:15:29
Posts: 6
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


Top
   
 Post subject:
PostPosted: 2009-12-27 08:04:22 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Code:
; 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(...)

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2009-12-27 18:06:49 
Offline

Joined: 2009-12-25 20:15:29
Posts: 6
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)


Top
   
 Post subject:
PostPosted: 2009-12-27 18:59:59 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
make avi for correct undestand of macro, each time you add new details


Top
   
 Post subject:
PostPosted: 2009-12-27 22:29:13 
Offline

Joined: 2009-12-25 20:15:29
Posts: 6
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..


Top
   
 Post subject:
PostPosted: 2009-12-28 00:10:24 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
uo.journalserial ?..

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

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2009-12-28 00:13:07 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
If spell effect is an object -> posible
another way -> not posible...


Top
   
 Post subject:
PostPosted: 2009-12-28 00:13:54 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Если это эффект, то без вариантов инжет не помощник.


Top
   
 Post subject:
PostPosted: 2009-12-28 01:53:00 
Offline

Joined: 2009-12-25 20:15:29
Posts: 6
@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] сообщений?
Я прав?


Top
   
 Post subject:
PostPosted: 2009-12-28 03:28:57 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
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...


Top
   
 Post subject:
PostPosted: 2009-12-28 03:57:32 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
I agree with Grin.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2009-12-28 16:14:31 
Offline

Joined: 2009-12-25 20:15:29
Posts: 6
I dont know programing.. :(

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

Thank You!


Top
   
 Post subject:
PostPosted: 2009-12-28 16:48:11 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
if uo.lastgump('replyed') == 0 then
play sound
endif

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2009-12-28 21:57:39 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Что то ты не в тему...


Top
   
 Post subject:
PostPosted: 2009-12-29 01:19:20 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Grin wrote:
Что то ты не в тему...

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

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

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2009-12-29 02:59:06 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
да?
Не смог применить ответ ни к одному сообщению:(

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 18 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:  
Powered by phpBB® Forum Software © phpBB Limited