need help with anti afk macro

Ask for scripts here

Moderators: Murderator+, Murderator

suc
Posts: 26
Joined: 2007-12-24 04:13:21

need help with anti afk macro

Post 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
suc
Posts: 26
Joined: 2007-12-24 04:13:21

Post by suc »

anyone can help please
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Give few infogump reports and screenshot.

PS: Use

Code: Select all

[code][/code]
, 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.
Telegram: @tatikom
suc
Posts: 26
Joined: 2007-12-24 04:13:21

Post 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
suc
Posts: 26
Joined: 2007-12-24 04:13:21

Post by suc »

anyone can helpp??
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post 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
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
suc
Posts: 26
Joined: 2007-12-24 04:13:21

Post by suc »

thankssss
suc
Posts: 26
Joined: 2007-12-24 04:13:21

Post by suc »

when antimakro start get this wrong

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

Post 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..
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 »

Code: Select all

clean = clean + reply[i] 


pokazivaet 6to error v etoj liniji.

bivaet 4 simboli a bivaet i 5.
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Ну.. тогда используйте какой-нибудь MID.. У меня инжекта под рукой нету, чтобы все проверять..

Its isnt complete script, its only hint how to make it.
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 »

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
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post 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
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 »

polnij parjadak. zheton tebe.
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

Post by Bangbuss »

slushaj, eta tablichka pojavlaetsa randomna na ekrane, est problemi s nazhatiem 'Accept'. Ti mozhesh 6tota pridumat'?
Mindfreak
Posts: 8
Joined: 2008-01-31 11:28:06

Post by Mindfreak »

судя по скринам табличка в одном месте
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Bangbuss wrote:slushaj, eta tablichka pojavlaetsa randomna na ekrane, est problemi s nazhatiem 'Accept'. Ti mozhesh 6tota pridumat'?

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

Mindfreak 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.
Telegram: @tatikom
suc
Posts: 26
Joined: 2007-12-24 04:13:21

Post by suc »

no work forme:s
Image
Image
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post 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.
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 »

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.
Post Reply