Results 1 to 8 of 8

Thread: Making Farm Bot

  1. #1
    Inactive paulosousa12 is on a distinguished road
    Join Date
    2011 Jul
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Making Farm Bot

    Hi all,
    So my holidays have arrived, and i decided to start a small personal project, to create a simple (but efficient) mat farming bot. I'm using AutoIt, it seemed the language with more examples and source codes i could find (don't know the language, but knowing many other programming languages the language won't be a problem).

    Used CE and read some stuff, and already can read all the player info from my char

    Before starting of working on actions i was planing to create a function to allow the search for mats/loot in general. Using some examples, i managed to get this:

    Code:
    $pointer = _MemoryRead(_MemoryRead(_MemoryRead(_MemoryRead($Mem_Address, $Mem_Open)+0x8, $Mem_Open)+0x28, $Mem_Open)+0x14, $Mem_Open) ;reads value at memory address
    
    $item = _MemoryRead(_MemoryRead($pointer+$i*4, $Mem_Open) + 0x4, $Mem_Open)
    $ITEM_NAME = _MemoryRead(_MemoryRead($item_base + 0x164, $Mem_Open), $Mem_Open, 'wchar[30]') ;Item-Name
    My problem is that it seems i don't find any mats/loot :/ For what i'm seeing i must be looking at the wrong addresses

    Any help would be appreciated

    Cumps

  2. #2
    Veteran Dwar is on a distinguished road Dwar's Avatar
    Join Date
    2010 Mar
    Posts
    2,214
    Thanks
    210
    Thanked 2,220 Times in 286 Posts
    Rep Power
    10
    Hi pal,
    did you checked offsets? They are correct? As I remembered, item name offsets should be like this (from old PW client)
    [BA] + 1C + 08 + 28 + 18 + index*4 + 4 + 164 + 0 (wchar type)
    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

  3. #3
    Member-in-training MrSmith is on a distinguished road
    Join Date
    2010 Aug
    Posts
    87
    Thanks
    9
    Thanked 7 Times in 4 Posts
    Rep Power
    0
    Yes don't forget the terminating 0 at the end because the names are dynamic in memory it's never the same

    Offsets are practically the same just Item Name offset is different.
    Ever Danced With The Devil By The Pale Moonlight ?

  4. #4
    Inactive paulosousa12 is on a distinguished road
    Join Date
    2011 Jul
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I got all the offsets correct (following Dwar post, and prophet bot code) but i only get some random Chinese characters in the object/item name LOL
    Attached Images

  5. #5
    Inactive unfaceguy is on a distinguished road
    Join Date
    2011 Jun
    Posts
    26
    Thanks
    13
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    are you sure your offset correct ?

  6. #6
    Member-in-training MrSmith is on a distinguished road
    Join Date
    2010 Aug
    Posts
    87
    Thanks
    9
    Thanked 7 Times in 4 Posts
    Rep Power
    0
    Offset is definitely incorrect if you are receiving garbled characters.

    I forgot to ask for which version of Perfect World ?
    Last edited by MrSmith; 2011-07-10 at 11:22 PM. Reason: to prevent double posting
    Ever Danced With The Devil By The Pale Moonlight ?

  7. #7
    Inactive Aquila is on a distinguished road
    Join Date
    2011 Jul
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    hmmm, guys... well u are all here pro XD i don t understand anything but i wish to learn not just for this game, but i can start with it... so if any of you can explain me baby steps :O, 1. which program i need to download ..... XD I will understand if u don t have will to explain it to me, like that ... thx :O

    ---------- Post added 2011-07-13 at 09:23 AM ---------- Previous post was 2011-07-12 at 01:06 PM ----------

    guess it is to much to ask

  8. #8
    Member-in-training MrSmith is on a distinguished road
    Join Date
    2010 Aug
    Posts
    87
    Thanks
    9
    Thanked 7 Times in 4 Posts
    Rep Power
    0
    It's not one specific program, also it's bad to hijack someone elses thread.
    Ever Danced With The Devil By The Pale Moonlight ?

Visitors found this page by searching for:

pwi farming bot

perfect world farm bot

pwi farm bot

farm bot perfect world

pfarm pwibot farm perfect worldbot farm pwperfect world bot farmingpwi mat farmingbot farm pwipfarm bot pwpFarm botfarm bot pwiperfect world material botpwi mat farming botpwi farming botsfarming bot pwipwi bot matsbot mats pwbot farming perfect worldfarmbot perfect worldperfect world botperfect world mat botbot farming pw downloadperfect world mats bot

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts