fishbot doesnt work. offset problem? menu

User Tag List

Results 1 to 6 of 6
  1. #1
    artstylee's Avatar Member
    Reputation
    2
    Join Date
    Oct 2019
    Posts
    10
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    fishbot doesnt work. offset problem?

    hey guys. i just get opensource fishbot from github but it doesnt work. seems the trouble in the offsets
    can you look and tell whats wrong?
    download at github
    ive changed
    Code:
    auto pCameraBase = m.read(m.m_base + 0x2535398);
    auto pObjMgr = m.read(m.m_base + 0x231CED8);
    to
    Code:
    auto pCameraBase = m.read<uintptr_t>(m.m_base + 0x2546398);
    auto pObjMgr = m.read<uintptr_t>(m.m_base + 0x232DED8);
    but it still doesnt work
    got the values from this thread https://www.ownedcore.com/forums/wor...2-32089-a.html ([Classic] 1.13.2.32089)
    flags values hasnt changed
    any guess whats wrong?

    fishbot doesnt work. offset problem?
  2. Thanks ChrisIsMe (1 members gave Thanks to artstylee for this useful post)
  3. #2
    charles420's Avatar Contributor
    Reputation
    315
    Join Date
    Jun 2009
    Posts
    329
    Thanks G/R
    25/119
    Trade Feedback
    0 (0%)
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    just a quick guess no idea alt tabed tanking scholo do a log output to see where it fails / what it reads
    void fish() {
    bool state = false;
    while (1)
    {
    if (GetKeyState(0x77) & 0x8000)
    {
    break;
    }
    if (GetKeyState(0x76) & 0x8000)
    {
    state = !state;
    printf("Bot State: %d\n", state);
    Sleep(100);
    }
    if (state)
    {
    Sleep(1);
    uintptr_t NEXT_OBJECT = 0x70;
    auto pObjMgr = m.read<uintptr_t>(m.m_base + 0x231CED;
    auto pNextObj = m.read<uintptr_t>(pObjMgr + 0x1;
    do
    {
    Sleep(1);
    CGameObject obj;
    obj.type = m.read<byte>(pNextObj + 0x20);
    if (obj.type ==
    {
    obj.pos.x = m.read<float>(pNextObj + 0x1B0);
    obj.pos.y = m.read<float>(pNextObj + 0x1B4);
    obj.pos.z = m.read<float>(pNextObj + 0x1B;
    auto pUnitNameList = m.read<uintptr_t>(pNextObj + 0x47;
    auto pUnitName = m.read<uintptr_t>(pUnitNameList + 0xE0);
    obj.name = m.readstring(pUnitName);
    if (obj.name == "Fishing Bobber") {
    BYTE bobber = m.read<BYTE>(pNextObj + 0x14C);
    if (bobber == 1) {
    auto screenPos = W2S(obj.pos);
    printf("Fish Found, Click@ [%f,%f]\n", screenPos.x, screenPos.y);
    right_click(screenPos);
    send_key(0x31);
    Sleep(1500);
    }
    }
    }
    pNextObj = m.read<uintptr_t>(pNextObj + NEXT_OBJECT);
    } while ((pNextObj & 1) == 0 && pNextObj != 0);
    }
    }
    }
    Last edited by charles420; 10-20-2019 at 07:12 PM.

  4. #3
    artstylee's Avatar Member
    Reputation
    2
    Join Date
    Oct 2019
    Posts
    10
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ive got no errors but two notices
    var CGameObject:os not initialized always use ... (type/6)
    var CGameObject::type not initialized always use ... (type/6)

  5. #4
    ChrisIsMe's Avatar Contributor
    Reputation
    164
    Join Date
    Apr 2017
    Posts
    210
    Thanks G/R
    67/100
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by artstylee View Post
    hey guys. i just get opensource fishbot from github but it doesnt work. seems the trouble in the offsets
    can you look and tell whats wrong?
    download at github
    ive changed
    Code:
    auto pCameraBase = m.read(m.m_base + 0x2535398);
    auto pObjMgr = m.read(m.m_base + 0x231CED8);
    to
    Code:
    auto pCameraBase = m.read<uintptr_t>(m.m_base + 0x2546398);
    auto pObjMgr = m.read<uintptr_t>(m.m_base + 0x232DED8);
    but it still doesnt work
    got the values from this thread https://www.ownedcore.com/forums/wor...2-32089-a.html ([Classic] 1.13.2.32089)
    flags values hasnt changed
    any guess whats wrong?
    Resolution? 1920x1080? Admin? Not much information to work with other than 'it doesn't work'
    Last edited by ChrisIsMe; 10-21-2019 at 02:41 PM.

  6. #5
    artstylee's Avatar Member
    Reputation
    2
    Join Date
    Oct 2019
    Posts
    10
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ive tried multiple
    1080x
    800x
    window/fullscreen
    nothing helps
    it does not ever start fishing

  7. #6
    counted's Avatar Contributor Authenticator enabled
    Reputation
    203
    Join Date
    Mar 2008
    Posts
    183
    Thanks G/R
    11/108
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by artstylee View Post
    ive tried multiple
    1080x
    800x
    window/fullscreen
    nothing helps
    it does not ever start fishing
    well the bot says

    std::cout << "Ensure Fishing Skill is on Key [1]" << std::endl;

    Did you drag your fishing profession to bar 1 and bind it to key "1"?

    Looking at the code it :

    send_key(0x31);

    After it finds the bobber and right clicks on it.

    I do not see where it sends the first cast to start fishing, so i am guessing you have to hit the 1 key to start the first cast then it has a bobber to find and cast next casts.

  8. Thanks ChrisIsMe (1 members gave Thanks to counted for this useful post)

Similar Threads

  1. [Question] Need help [MWCS doesnt work]
    By Hiselor in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 08-27-2010, 10:47 AM
  2. wowstauts doesnt work
    By robtuner in forum World of Warcraft Emulator Servers
    Replies: 13
    Last Post: 01-03-2008, 01:06 PM
  3. [Question] My .lua doesnt work
    By Creepfold in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 12-20-2007, 07:32 PM
  4. .recall add (name) Doesnt work.
    By brunno159 in forum World of Warcraft Emulator Servers
    Replies: 25
    Last Post: 11-24-2007, 05:39 PM
  5. How come pvp doesnt work????!?!
    By flop159 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 10-08-2007, 10:59 AM
All times are GMT -5. The time now is 08:59 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search