Signup Now
Results 1 to 6 of 6
  1. #1
    Free User Architect's Avatar
    Join Date
    Feb 2017
    Posts
    36
    Reputation
    10
    Rep Power
    0

    moveitems malfunction

    Bot version: 2.8.12
    OS: windows 7 64 bits
    Not using windAddon.

    Description:
    moveitems doesnt work if the window where he suppose to move is minimized.

    Code:
    16:15:04.077 Event 4101 issued. Type: Say Text, Channel: NPCs, Text: trade
    16:15:04.077 Event 4101 started.
    16:15:04.077 Event 4101 finished successfully.
    16:15:06.145 Event 4102 issued. Type: Trade Items, ItemId: -1
    16:15:06.145 Event 4102 started.
    16:15:06.145 Event step changed to 9.
    16:15:06.889 Event step changed to 3.
    16:15:07.264 Event step changed to 21.
    16:15:07.313 Event step changed to 22.
    16:15:08.548 Event step changed to 15.
    16:15:08.588 Event step changed to 16.
    16:15:09.072 Event step changed to 19.
    16:15:09.181 Event step changed to 20.
    16:15:09.309 Event step changed to 30.
    16:15:09.779 Event 4102 finished successfully.
    In this log he said Trade correctly, bought what he suppose to do but he get stuck when trying to move those manas to a bp that was minimized. Since _MOVEITEMS its a internal function I cant fix it manually. I can only do a hot fix by calling restorewindows() before use a function that uses moveitems to that bp.

    EDIT 1:
    Doesn't look like the problem is with the minimized BP... I'm using the function buyistemsupto() to buy supplies.

    EDIT 2:
    Looks like I did shit in my code. Testing it again.

    EDIT3:
    I was wrong. Close this thread!
    Last edited by Josh; 02-11-2017 at 06:02 AM.

  2. #2
    Free User Wesker's Avatar
    Join Date
    Dec 2013
    Posts
    462
    Reputation
    -65
    Rep Power
    0
    Type: Trade Items, ItemId: -1

    the issue starts with a trade ??

    also post the script

  3. #3
    Moderator RoxZin xD's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    4,914
    Reputation
    109
    Rep Power
    31
    It does restore the window before moving, I just tried it by calling a simple moveitems() oneliner on console.



    Troubled Animals Quest [100+]
    ALL
    Feyrist Animals Surface [160+]
    RP
    Feyrist Silencers Underground X1 [180+]
    RP | EK
    Feyrist Silencers Underground X2 [200+]
    RP | EK
    Feyrist Silencers Surface [210+]
    RP | EK
    Rathleton Sewers [240+]
    RP
    Glooth Fairy [350+]
    ED/MS
    Hardcore Draken Walls [400+]
    EK

  4. #4
    Wind Powered
    Join Date
    Jan 2014
    Posts
    14
    Reputation
    10
    Rep Power
    0
    tried here and worked

  5. #5
    Free User Architect's Avatar
    Join Date
    Feb 2017
    Posts
    36
    Reputation
    10
    Rep Power
    0
    read edit 3. I was wrong. @XtrmJosh could you close it?

    Quote Originally Posted by Wesker View Post
    Type: Trade Items, ItemId: -1

    the issue starts with a trade ??

    also post the script
    Idk why it shows that it tried to buy an item with item id -1... it bought mana potions normally... if i'm not wrong mana potion id is 285...
    Last edited by Architect; 02-11-2017 at 08:34 PM.

  6. #6
    Moderator Josh's Avatar
    Join Date
    Dec 2013
    Posts
    1,394
    Reputation
    183
    Rep Power
    24
    Closed, if there's any further bug here please raise it separately, if there are any questions about functionality such as this the support board would be the right place... Let's not make a mess of this
    Interested in software development and/or programming for Tibia?
    Check out the new Tibia Programming Forums (TibiaPF) by clicking the image below.

    Looking for a bot for the MMORPG, Medivia?
    Check out MediviaBotter, a powerful, injected bot by clicking the link below.


 

 

Posting Permissions

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