vergil250493 Posted November 7, 2017 Share Posted November 7, 2017 Well i have a walk script that's works fine except if during the script i make a click in a position that's dont belong my script! so i need help to fix with math formule or anything else exemple: Lets say guys last positon i move right was 90;85 screenposition and for mistake i click position 100;90 that's dont belong my script how i back to 90;85 if when i moved to 100;90 the position 90;85 arent more 90;85. Link to comment Share on other sites More sharing options...
Viston Posted November 7, 2017 Share Posted November 7, 2017 (edited) Fak men, walk da posizition to left, then posizition to right, then 2 screen pixels up left, da ting goes right left right papapa Den azk skript why he move left positizion 95 screen pixelz instad he move 100 pixelz Edited November 7, 2017 by Viston Link to comment Share on other sites More sharing options...
Explv Posted November 7, 2017 Share Posted November 7, 2017 Sorry, your question is pretty incomprehensible Link to comment Share on other sites More sharing options...
vergil250493 Posted November 7, 2017 Author Share Posted November 7, 2017 1 hour ago, Explv said: Sorry, your question is pretty incomprehensible Hum let me try to explain better ! i did a pixelbot/colorbot to walk back to city to buy items and etc and back to hunt spot back. It's work fine but if during walkscript i click mouse in gamescreen position to character moves! my bot be lost because i did the script based on screen position ! so when i am running it i always back to script origin position to start walk back. So what i want to do is if i for mistake click during script running in a position that's dont belong to the script i want that the bot back to last right position. But lets say 100;100 is the last right position bot moved and for mistake i click in the position 105;105 that's dont belong my script ! what i want to do is back to 100;100 to continue the script! but how i moved to 105;105 i dont know how to back for 100;100 because it's are coord based on screen so when i moved to 105;105 the position in game that's 100;100 arent more 100;100 because screen moved understand me now ? Link to comment Share on other sites More sharing options...
Explv Posted November 7, 2017 Share Posted November 7, 2017 1 minute ago, vergil250493 said: Hum let me try to explain better ! i did a pixelbot/colorbot to walk back to city to buy items and etc and back to hunt spot back. It's work fine but if during walkscript i click mouse in gamescreen position to character moves! my bot be lost because i did the script based on screen position ! so when i am running it i always back to script origin position to start walk back. So what i want to do is if i for mistake click during script running in a position that's dont belong to the script i want that the bot back to last right position. But lets say 100;100 is the last right position bot moved and for mistake i click in the position 105;105 that's dont belong my script ! what i want to do is back to 100;100 to continue the script! but how i moved to 105;105 i dont know how to back for 100;100 because it's are coord based on screen so when i moved to 105;105 the position in game that's 100;100 arent more 100;100 because screen moved understand me now ? Why are you making a pixel bot / colour bot with OSBot? Why not just use the API to do things as that is the best way here, and most people will be able to help you if things go wrong. As for your issue, I cant comment on it as you have provided no code. Link to comment Share on other sites More sharing options...
vergil250493 Posted November 7, 2017 Author Share Posted November 7, 2017 1 hour ago, Viston said: Fak men, walk da posizition to left, then posizition to right, then 2 screen pixels up left, da ting goes right left right papapa Den azk skript why he move left positizion 95 screen pixelz instad he move 100 pixelz i didnt understand are you speaking english or other language ? 1 minute ago, Explv said: Why are you making a pixel bot / colour bot with OSBot? Why not just use the API to do things as that is the best way here, and most people will be able to help you if things go wrong. As for your issue, I cant comment on it as you have provided no code. Oh my bad bro i didnt know this forum was for a specific tool ! tought was to share knowledge of boting ! i am current developing it in C# all code. but to solve this i guess just a math formule to calcules the new position of previous position can resolve it i just dont know how. Link to comment Share on other sites More sharing options...
Explv Posted November 7, 2017 Share Posted November 7, 2017 5 minutes ago, vergil250493 said: i didnt understand are you speaking english or other language ? Oh my bad bro i didnt know this forum was for a specific tool ! tought was to share knowledge of boting ! i am current developing it in C# all code. but to solve this i guess just a math formule to calcules the new position of previous position can resolve it i just dont know how. Well this is the OSBot forum. This is the scripting help section for help related to OSBot scripts. If you need help with something outside of OSBot you can go to the software development section, or to another forum, such as a colour bot forum Link to comment Share on other sites More sharing options...