Page 1 of 2

need help with anti afk macro

Posted: 2009-02-11 22:05:26
by suc
i want script for afk macro gumpmenu=


Code: Select all

_____infogump_______
serial   0x00017c25
gumpid   0x00000481
X   0
Y   0
709   packet size
37   reply packet size
Buttons: ________
Checks&Radios: __
Entryes: ________
All commands: ____
    1] esizepic 2 2 9200 313 26
    2] ext 70 16 0
    3] esizepic 21 151 3000 281 5
    4] utton 236 231 247 248 1 0
    5] utton 76 284 82 82 1 0
    6] extentry 24 155 273 48 0 1
    7] tmlgump 22 90 275 50 8 0
Text: ____________
    0] dtext 70 16 0 Illegal Macroers Check
    1] resizepic 21 151 3000 281 56
    2] button 236 231 247 248 1 0 1
    3] button 76 284 82 82 1 0 0
    4] dtextentry 24 155 273 48 0 1
    5] dhtmlgump 22 90 275 50 0 0 Write the word 'apple'
    6] Illegal Macroers Check
    7] Illegal Macroers Check
    8] Write the word 'apple'
Reply: ___________
 [0001] primary reply
 Checks&Radios (0)
 Entryes (1)
  [0001] apple
0000: 61 70 70 6c 65 -- -- -- -- -- -- -- -- -- -- -- : apple

Posted: 2009-02-12 22:35:29
by suc
anyone can help please

Posted: 2009-02-13 07:00:00
by Destruction
Give few infogump reports and screenshot.

PS: Use

Code: Select all

[code][/code]
, its easy ;-)

Posted: 2009-02-25 14:44:21
by suc
1.

Image
Image

Code: Select all


_____infogump_______
serial   0x0001a591
gumpid   0x00000431
X   0
Y   0
446   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 , D , 3 , 5 }
    2] Help
    3] Info
    4] Info


2.

Image
Image

Code: Select all


_____infogump_______
serial   0x0001a591
gumpid   0x00000431
X   0
Y   0
446   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 , 9 , 8 , 5 }
    2] Help
    3] Info
    4] Info




3.

Image
Image

Code: Select all


_____infogump_______
serial   0x0001a591
gumpid   0x00000431
X   0
Y   0
446   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 , F , E , 4 }
    2] Help
    3] Info
    4] Info



the antiafk changed this is the new

Posted: 2009-02-27 01:41:27
by suc
anyone can helpp??

Posted: 2009-02-27 12:44:35
by Destruction

Code: Select all

sub AntiMacro()
   var reply
   repeat
      if not uo.lastgump('replyed') && uo.lastgump('text',0) == 'AFK Check' then
         reply = uo.lastgump('text',1)
         uo.lclick(170,250)
         uo.say(reply[2] + reply[6] + reply[10] + reply[14] + reply[18])
         uo.lclick(220,300)
         repeat
            wait(100)
         until uo.lastgump('replyed')
      endif
      wait(500)
   until false
endsub

Posted: 2009-02-27 14:52:13
by suc
thankssss

Posted: 2009-02-27 15:01:55
by suc
when antimakro start get this wrong

Image
Image

Posted: 2009-02-27 19:06:05
by Destruction
four letters ? not five ?..

Code: Select all

sub AntiMacro() 
   var reply, i, clean
   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
            if reply[i] != ' ' && reply[i] != ',' && reply[i] != '{' && reply[i] != '}' 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


PS: I was asked about few gumps to see full picture..

Posted: 2009-02-28 13:34:57
by Bangbuss

Code: Select all

clean = clean + reply[i] 


pokazivaet 6to error v etoj liniji.

bivaet 4 simboli a bivaet i 5.

Posted: 2009-02-28 14:19:21
by Destruction
Ну.. тогда используйте какой-нибудь MID.. У меня инжекта под рукой нету, чтобы все проверять..

Its isnt complete script, its only hint how to make it.

Posted: 2009-02-28 15:53:56
by Bangbuss
nu ladno, a vot etot skript rabotaet, toka kak sdelat' 6tob on rabotal kak s 5 tak i s 3 i 4 simbolami?

Code: Select all

sub AntiMacro()
   var reply
   repeat
      if not uo.lastgump('replyed') && uo.lastgump('text',0) == 'AFK Check' then
         reply = uo.lastgump('text',1)
         uo.lclick(170,250)
         uo.say(reply[2] + reply[6] + reply[10] + reply[14] + reply[18])
         uo.lclick(220,300)
         repeat
            wait(100)
         until uo.lastgump('replyed')
      endif
      wait(500)
   until false
endsub

Posted: 2009-02-28 21:53:22
by Destruction
Хмм, а думаешь что я делал со скриптом ?) Ну вообще есть другой ацццкий вариант:

Code: Select all

sub AntiMacro() 
   var reply
   repeat
      if not uo.lastgump('replyed') && uo.lastgump('text',0) == 'AFK Check' then
         reply = uo.lastgump('text',1)
         uo.lclick(170,250)
         if strlen(reply) == 21 then
             uo.say(reply[2] + reply[6] + reply[10] + reply[14] + reply[18])
         else
         if strlen(reply) == 17 then
             uo.say(reply[2] + reply[6] + reply[10] + reply[14])
         else
             uo.say(reply[2] + reply[6] + reply[10])
         endif
         endif
         uo.lclick(220,300)
         repeat
            wait(100)
         until uo.lastgump('replyed')
      endif
      wait(500)
   until false
endsub

Posted: 2009-03-01 10:13:35
by Bangbuss
polnij parjadak. zheton tebe.

Posted: 2009-03-05 10:00:41
by Bangbuss
slushaj, eta tablichka pojavlaetsa randomna na ekrane, est problemi s nazhatiem 'Accept'. Ti mozhesh 6tota pridumat'?

Posted: 2009-03-05 15:59:05
by Mindfreak
судя по скринам табличка в одном месте

Posted: 2009-03-05 17:26:59
by Destruction
Bangbuss wrote:slushaj, eta tablichka pojavlaetsa randomna na ekrane, est problemi s nazhatiem 'Accept'. Ti mozhesh 6tota pridumat'?

Скрины, инфогампы, штучки три, наиболее разнообразных.

Mindfreak wrote:судя по скринам табличка в одном месте

Хочешь сказать он врет? - Ему нет смысла :-)

Posted: 2009-03-06 00:09:03
by suc
no work forme:s
Image
Image

Posted: 2009-03-06 00:58:21
by Destruction
What you have at line 33? - I do not telepathy!

Are you use the latest script from the topic?

Show 30-35th line script.

Posted: 2009-03-07 19:48:20
by Bangbuss
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.