Works great, only suggestion could use a placeAll(shift modifier) to go along with placeThing or at least a way to make placeThing use the shift modifier to dump all it can into the pile without needing to search for the pile after you place it to put the rest in.shubla wrote:I guess I'll ad some bad functionality to make stockpiles.danklord wrote:Not sure how to make a pile with an item from your inventory, seems what ever I do after I pick the item up from the inventory none of the default commands can turn it into a pile and place it even tried right clicking my self and having it place it to no avail if you have any advice before I dig into the haven code for it.
In the new version that I will release soon you can use PBot.makePile() to make pile from an object in the cursor (of course, assuming that it can be turned into a stockpile)
And to place the item, you use PBot.placeThing(x, y) with x and y being offset from the players current location that you want to place the stockpile. I should probably look into how coordinates are handled in PBot and make it more clear, coordinates are a mess currently. But with the two functions mentioned above, you can in theory place stockpiles.
Purus Pasta version 3.6.0 Released!!
- New features to PBot API, related to stockpile placement
- Latest merges from Amber & Default client
-
danklord
- Posts: 9
- Joined: Mon Jul 28, 2014 12:19 pm
Re: Purus Pasta Client [Now with botting API!]
-
shubla
- Posts: 13041
- Joined: Sun Nov 03, 2013 11:26 am
- Location: Finland
Re: Purus Pasta Client [Now with botting API!]
Purus Pasta veersion 3.6.1 has been released!
- Added spinning
--------
Will look into the launcher freezing later on
- Added spinning
--------
Will look into the launcher freezing later on

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
-
boreial
- Posts: 536
- Joined: Mon Sep 02, 2013 4:02 am
- Location: Smack dab in the middle of NoWhere
Re: Purus Pasta Client [Now with botting API!]
LOL put down the hooka Shulba,
-
glaive
- Posts: 15
- Joined: Sat Feb 22, 2014 7:33 pm
Re: Purus Pasta Client [Now with botting API!]
ok how do i turn it offshubla wrote:Purus Pasta veersion 3.6.1 has been released!
- Added spinning
--------
Will look into the launcher freezing later on
-
ribaeda
- Posts: 8
- Joined: Wed Apr 13, 2016 12:27 pm
-
AntiBlitz
- Posts: 638
- Joined: Sun Sep 25, 2011 11:43 am
Re: Purus Pasta Client [Now with botting API!]
did we ever determine how to fix the invsobj thing? id like to use the client without it constantly crashing to this.
-
shubla
- Posts: 13041
- Joined: Sun Nov 03, 2013 11:26 am
- Location: Finland
Re: Purus Pasta Client [Now with botting API!]
I am very busy and dont have that much time to mess with the client currently.AntiBlitz wrote:did we ever determine how to fix the invsobj thing? id like to use the client without it constantly crashing to this.
I think that it might be related to the resources being accessed from another thread (bots) while they are still being loaded/updated from the cache/server. And the worse your computer is, more it takes to load/process these things, giving more window for the error to occur. Thus people with really bad internet/computer get them more often than the client developer.
To fix it, probably should add something to sync with the main thread of the client, so it does not access the resources while they are still loading.
Issue is that I have no idea how to reproduce the bug, so its difficult to test what exactly causes it, or if some fixes fix it.

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
-
shubla
- Posts: 13041
- Joined: Sun Nov 03, 2013 11:26 am
- Location: Finland
Re: Purus Pasta Client [Now with botting API!]
Version 3.6.2 released!
- Reverted spinning
- Latest merges from upstream
- Reverted spinning
- Latest merges from upstream

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
-
isaradia
- Posts: 5
- Joined: Wed Mar 11, 2015 12:33 am
Re: Purus Pasta Client [Now with botting API!]
thank you!shubla wrote:Version 3.6.2 released!
- Reverted spinning
- Latest merges from upstream
-
shubla
- Posts: 13041
- Joined: Sun Nov 03, 2013 11:26 am
- Location: Finland
Re: Purus Pasta Client [Now with botting API!]
To fix the launcher causing client to freeze: Stop using windows.
This bug only happens in windows, because it is a bad operating system and they have changed something that causes the launcher to intervene with the client, even though this should be impossible, as they are completely different processes, or they should be, according to the java API.
This bug only happens in windows, because it is a bad operating system and they have changed something that causes the launcher to intervene with the client, even though this should be impossible, as they are completely different processes, or they should be, according to the java API.

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