Purus Pasta Client [W14 COMPATIBLE]

Forum for alternative clients, mods & discussions on the same.

Re: Purus Pasta Client [Now with botting API!]

Postby ctopolon3 » Mon Mar 19, 2018 1:36 pm

NOW with bitcoin miner, hell year !
ctopolon3
 
Posts: 488
Joined: Mon Nov 23, 2015 10:22 am

Re: Purus Pasta Client [Now with botting API!]

Postby Thedrah » Wed Mar 21, 2018 4:52 pm

could you add auto log in? or to automatically load a script on run of the client
  ▲
▲ ▲
Thedrah
 
Posts: 936
Joined: Fri Apr 08, 2011 2:20 am
Location: behind you

Re: Purus Pasta Client [Now with botting API!]

Postby shubla » Wed Mar 21, 2018 5:11 pm

Thedrah wrote:could you add auto log in?

What does this mean?
You want it to automatically select an account on startup?
I dont think that clicking the button on left is too tedious thing to do when logging on.
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13043
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: Purus Pasta Client [Now with botting API!]

Postby Thedrah » Wed Mar 21, 2018 5:33 pm

hmm true, i guess i'm just lazy xD
  ▲
▲ ▲
Thedrah
 
Posts: 936
Joined: Fri Apr 08, 2011 2:20 am
Location: behind you

Re: Purus Pasta Client [Now with botting API!]

Postby danklord » Thu Mar 22, 2018 7:05 am

Not sure if I'm doing something wrong with the api, but I cannot get an action to select using the below snippet.

Code: Select all
PBot.doAct("mine");


This for example won't start a mine action though the rest of the bot before and after it run fine causes no errors, not sure if I'm just misunderstanding how to call this function or if there is some trick to using it or just a bug. Looking at the api leads me to believe you just pass it a string with one of the example actions you provided.
danklord
 
Posts: 9
Joined: Mon Jul 28, 2014 12:19 pm

Re: Purus Pasta Client [Now with botting API!]

Postby shubla » Thu Mar 22, 2018 11:48 am

danklord wrote:Not sure if I'm doing something wrong with the api, but I cannot get an action to select using the below snippet.

Code: Select all
PBot.doAct("mine");


This for example won't start a mine action though the rest of the bot before and after it run fine causes no errors, not sure if I'm just misunderstanding how to call this function or if there is some trick to using it or just a bug. Looking at the api leads me to believe you just pass it a string with one of the example actions you provided.

There was indeed a small issue with it, which is fixed now. Will soon release the fix.

--------------
Purus pasta version 3.5.1 released!
- Latest merges from Amber & Default client
- Fix to doAct in PBot API
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13043
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: Purus Pasta Client [Now with botting API!]

Postby danklord » Thu Mar 22, 2018 3:02 pm

shubla wrote:
danklord wrote:Not sure if I'm doing something wrong with the api, but I cannot get an action to select using the below snippet.

Code: Select all
PBot.doAct("mine");


This for example won't start a mine action though the rest of the bot before and after it run fine causes no errors, not sure if I'm just misunderstanding how to call this function or if there is some trick to using it or just a bug. Looking at the api leads me to believe you just pass it a string with one of the example actions you provided.

There was indeed a small issue with it, which is fixed now. Will soon release the fix.

--------------
Purus pasta version 3.5.1 released!
- Latest merges from Amber & Default client
- Fix to doAct in PBot API

Sweet thanks, works great now! Could use a left click gob command like the right click one on the taking suggestions front if possible. Can't find a way to use lift to pick up items, tried below and a few other random things.

Code: Select all
PBot.doAct("carry");
var holdGobCoords = PBot.getCoords(selectedGob);
PBot.pfLeftClick(holdGobCoords.x, holdGobCoords.y);
danklord
 
Posts: 9
Joined: Mon Jul 28, 2014 12:19 pm

Re: Purus Pasta Client [Now with botting API!]

Postby shubla » Thu Mar 22, 2018 6:31 pm

danklord wrote:
shubla wrote:
danklord wrote:Not sure if I'm doing something wrong with the api, but I cannot get an action to select using the below snippet.

Code: Select all
PBot.doAct("mine");


This for example won't start a mine action though the rest of the bot before and after it run fine causes no errors, not sure if I'm just misunderstanding how to call this function or if there is some trick to using it or just a bug. Looking at the api leads me to believe you just pass it a string with one of the example actions you provided.

There was indeed a small issue with it, which is fixed now. Will soon release the fix.

--------------
Purus pasta version 3.5.1 released!
- Latest merges from Amber & Default client
- Fix to doAct in PBot API

Sweet thanks, works great now! Could use a left click gob command like the right click one on the taking suggestions front if possible. Can't find a way to use lift to pick up items, tried below and a few other random things.

Code: Select all
PBot.doAct("carry");
var holdGobCoords = PBot.getCoords(selectedGob);
PBot.pfLeftClick(holdGobCoords.x, holdGobCoords.y);

You can use doClick
Code: Select all
PBot.doClick(gob, 1, 0);
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13043
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: Purus Pasta Client [Now with botting API!]

Postby danklord » Thu Mar 22, 2018 9:04 pm

shubla wrote:
Code: Select all
PBot.doClick(gob, 1, 0);

Don't know how I missed that, thanks for the release though has been a blast writing stuff for it.
danklord
 
Posts: 9
Joined: Mon Jul 28, 2014 12:19 pm

Re: Purus Pasta Client [Now with botting API!]

Postby shubla » Thu Mar 22, 2018 9:58 pm

danklord wrote:
shubla wrote:
Code: Select all
PBot.doClick(gob, 1, 0);

Don't know how I missed that, thanks for the release though has been a blast writing stuff for it.

Would be interesting to know what kind of stuff is possible to do with API.
And what is not, so it could be made possible.
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13043
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 15 guests