need help with anti afk macro

Ask for scripts here

Moderators: Murderator+, Murderator

Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Bangbuss wrote:Ja mogu skinut' tebe 2 screena, gde tablichka pojavilas v raznih mestah, no samij prikol 6to infogumpi 100% identichni. krome koda vvedenie. Ja vobhse shas neponemaju 6to proeshodit, kak eto mozhet bit'. tablichka v drugom meste pojavlaetsa ochen redko gdeto 1 iz 20 raz.

v infogumpe est ukazano koordinati gde pojavlaetsa tablichka na ekrane? kak zhe mozhet infogumpi bit' 100% odinakavimi - neponjatno.

Выкладывайте, не стесняйтесь -)
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.
Telegram: @tatikom
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

a

Post by Bangbuss »

aa
Last edited by Bangbuss on 2009-03-11 12:44:19, edited 1 time in total.
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

EasyUO пользуешься?

PS InfoGump не соответствует действительноти, так как оконтовка разная. Возможно окрывается несколько гампов но последний убивают.
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

Post by Bangbuss »

da, ja 4erez easyuo rublu dereva.
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

Post by Bangbuss »

ti bil prav, easyuo vinovat, ja toka 6to videl kak easyuo zhurnal peredvinul.
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

там 1 команда и 2 переменых есть
contpos вроде и nextconx nextcony чтото типа того, отвичают за положение текущего гампа (команда) и за появление следующего.

Ну или команды для работы с мышкой подвели.
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

Post by Bangbuss »

ti vidish reshenie v etom polazhenie? bez easyuo skripta ja nekak nemogu.
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

на перемещение гампов влияет:
1. contPos, #nextCPosX, #nextCPosY, #contPosX, #contPosY
2. click

В твоем скрипте такие встречаются? Тогда разные варианты решения.
Переписать скрипт, посмотреть а надо ли что бы этот гамп вообще появлялся... и тд
suc
Posts: 26
Joined: 2007-12-24 04:13:21

Post by suc »

i get same wrong how to fix
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

Post by Bangbuss »

suc wrote:i get same wrong how to fix


translate Grin's replies and you will get the answer.
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

Post by Bangbuss »

Slushajte, gumpi peredvigat' po ekranu eto vazmozhna? esli da to mozhno bilo bi pered tem kak vvesti kod peredvinut' gump v ego originalnoe mesto pojavlenie.
suc
Posts: 26
Joined: 2007-12-24 04:13:21

Post by suc »

the system changed can helppp??

1.
Image

Code: Select all

_____infogump_______
serial   0x0002176c
gumpid   0x00000435
X   0
Y   0
426   packet size
0   reply packet size
Buttons: ________
Checks&Radios: __
Entryes: ________
All commands: ____
    1] esizepic 123 106 3600 245 28
    2] esizepic 136 120 9270 221 26
    3] ext 215 150 2594
    4] esizepic 165 243 3000 167 3
    5] ext 178 205 2607
    6] utton 212 296 12002 12002 1 0
    7] utton 169 346 2714 2714 1 0
    8] utton 76 284 82 82 1 0
    9] ext 193 345 2594
   10] ext 298 345 2594
   11] utton 275 346 2714 2714 1 0
   12] extentry 165 243 156 28 0 1
Text: ____________
    0] AFK Check
    1] {0-c-5-7 }
    2] Help
    3] Info
    4] 


2.
Image

Code: Select all

_____infogump_______
serial   0x0002176c
gumpid   0x00000435
X   0
Y   0
426   packet size
0   reply packet size
Buttons: ________
Checks&Radios: __
Entryes: ________
All commands: ____
    1] esizepic 123 106 3600 245 28
    2] esizepic 136 120 9270 221 26
    3] ext 215 150 2594
    4] esizepic 165 243 3000 167 3
    5] ext 178 205 2607
    6] utton 212 296 12002 12002 1 0
    7] utton 169 346 2714 2714 1 0
    8] utton 76 284 82 82 1 0
    9] ext 193 345 2594
   10] ext 298 345 2594
   11] utton 275 346 2714 2714 1 0
   12] extentry 165 243 156 28 0 1
Text: ____________
    0] AFK Check
    1] {0-5-8-0 }
    2] Help
    3] Info
    4] 

3.
Image

Code: Select all

_____infogump_______
serial   0x0002176c
gumpid   0x00000435
X   0
Y   0
430   packet size
0   reply packet size
Buttons: ________
Checks&Radios: __
Entryes: ________
All commands: ____
    1] esizepic 123 106 3600 245 28
    2] esizepic 136 120 9270 221 26
    3] ext 215 150 2594
    4] esizepic 165 243 3000 167 3
    5] ext 178 205 2607
    6] utton 212 296 12002 12002 1 0
    7] utton 169 346 2714 2714 1 0
    8] utton 76 284 82 82 1 0
    9] ext 193 345 2594
   10] ext 298 345 2594
   11] utton 275 346 2714 2714 1 0
   12] extentry 165 243 156 28 0 1
Text: ____________
    0] AFK Check
    1] {0-2-0-f-0 }
    2] Help
    3] Info
    4]

4.
Image

Code: Select all

_____infogump_______
serial   0x0002176c
gumpid   0x00000435
X   0
Y   0
426   packet size
0   reply packet size
Buttons: ________
Checks&Radios: __
Entryes: ________
All commands: ____
    1] esizepic 123 106 3600 245 28
    2] esizepic 136 120 9270 221 26
    3] ext 215 150 2594
    4] esizepic 165 243 3000 167 3
    5] ext 178 205 2607
    6] utton 212 296 12002 12002 1 0
    7] utton 169 346 2714 2714 1 0
    8] utton 76 284 82 82 1 0
    9] ext 193 345 2594
   10] ext 298 345 2594
   11] utton 275 346 2714 2714 1 0
   12] extentry 165 243 156 28 0 1
Text: ____________
    0] AFK Check
    1] {0-1-6-2 }
    2] Help
    3] Info
    4] 


thankss
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

You moved gump at first screen ?..

Code: Select all

sub AntiMacro() 
   var reply, i, j, f, clean
   var filter = '{-} ,'
   repeat
      if not uo.lastgump('replyed') && uo.lastgump('text',0) == 'AFK Check' then
         reply = uo.lastgump('text',1)
         clean = ''
         for i = 0 to strlen( reply ) -1
            f = true
            for j = 0 to strlen( filter ) -1
               if reply[ i ] == filter[ j ] then
                  f = false
               endif
            next
            if f then
               clean = clean +reply[ i ]
            endif
         next
         uo.lclick(170,250)
         uo.say(clean)
         uo.lclick(220,300)
         repeat
            wait(100)
         until uo.lastgump('replyed')
      endif
      wait(500)
   until false
endsub
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.
Telegram: @tatikom
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

Post by Bangbuss »

Coldfire admin is watching this topic.

Cold wrote:this is built this way for a reason, the old system was already cracked..

http://forum.yoko.com.ua/viewtopic.php?t=14405&postdays=0&postorder=asc&start=30
chamaeleon
Posts: 3
Joined: 2009-01-27 17:59:24

Post by chamaeleon »

anyone got a working script?

the last posted one does not work for me.. nothing happens!
Post Reply