Jump to content

[Developing Flipping bot] - 99% Done - Testing!


igotlagg

Recommended Posts

Hey guys,

I'm new to the community, and also to script developing, so for my first script I wanna make is a flip bot.

I will update this post with progress, video's and screenshots. I also would like to hear what you guys think about it, or what it is missing.

Ps: should I make this free or paid?

- Answers: Free for F2P items, paid for P2P.
 

Development progress


CURRENT TOTAL PROGRESS: 99%

 

 

currently +-5000 lines of code doge.png

 

Milestones:

  1. 12/05/2016: Bot ran fine for 30 minutes flipping one single item. I had 1M in my inventory at start, and 1190K+ after 30 minutes!!!
  2. 14/05/2016: Bot ran for 4 hours with multiple items and no errors!
  3. 15/05/2016: Test account got banned. Switched to VIP for mirror mode and implementing more anti-ban.
  4. 17/05/2016: Bot ran overnight on freshly made account. anti-ban seems to work pretty well. Made sickest bank of 5K cash with a 1K cashstack lol. Script is now ready for distributing to alpha testers.

 

 

IN PROGRESS:

 

  • Testing, making alpha version for people to test theirselves.

DONE:

  • User can choose to log out between flipping sessions. This is one of the biggest anti bans (I think). Oh yea, all credit to Aibanker for this idea!
  • Anti ban (CURRENTLY TOP PRIORITY)
  • Predefined list of items lets the user choose which item he/she wants to flip.
  • Automatically fetches buy and sell prices (no external connection is made).
  • Buys predefined amount of items if the profit rate is big enough, and sells them when bought.
  • Learning Windowsbuilder in eclipse to create a start UI. Profiles can be loaded and saved here. Well, that's the idea, I have no idea if I can get permissions to write and read. We'll see smile.png - Works
  • Create start UI where users enter the items, and max amount to flip. Also a profit margin would be nice, so we won't waste time on flipping items with low profit.
  • Simultaneously switch between buying/selling/collecting all the different items. Right now it only loops through the items and flips them in a linear state.
  • Fix bug in gathering prices
  • Testing, basic program seems to run fine!
  • Create random actions, such as: checking state of selling/buying, ...
  • Bot throws error on multiple items (might be because of some special characters in some item names) or just my code going all nuts
  • Adding properties to the items such as time out's for when items won't sell/buy.
  • A new state (No profit state) where an item is placed in when the item is not profitable enough.
  • Adding property "re-peek time" so the bot automatically re-fetches the price of the item after x amount of time. This also puts an item out of "No profit state" to reconsider flipping it.
  • Peek and abort timers go below 0, this is a bug

 

TODO:

  • This list is infinite! It just holds up all of the idea's I can come up with. Also your idea's are welcome in this list!

Current Alpha version bugs:

TO ALL ALPHA TESTERS, KEEP TRACK OF THIS LIST. THIS WILL BE UPDATED EVERY FEW MINUTES

  • Aborted items wont be collected properly. This is kind of a weird situation. (CURRENTLY DELETED) - Changes applied, failed. There is some kind of a weird delay when aborting items, and it's hard without a non-ge API to react to that. depending on widgets worked sometimes, but the situation is weird. GF Jagex.
  • More than 8 items in one profile -> you're gonna have a bad tile - Fixed
  • It just randomly gets out of sync with the grand exchange boxes too - Fixed
  • Item names like charcoal will get chosen over coal, when coal is entered as an item. - awaiting

Introduction

 

First I want to thank everyone for the support, ideas, hate, and love!

 

Currently the script will be open for alpha testing. You can post here or message me to apply. I can't promise that I'll give it to you, since I'm gonna keep this very private now.

 

Also, alpha testers will have a hardcoded date in the script that will make the script complete useless after a while. (to be determined yet)

 

Setting up the script.

When you first run the script, a UI will popup with a lot of stuff. We’re going to go through all of this here.

We have 4 main sections: Profiles, Item list, Item properties and other settings.

 

Profiles:

They are used to store a unique set of items.

 

With the “Add profile” button, you create a new profile which you can select from the dropdown list at the upper left corner.

With the “Delete profile” button, you delete the current selected profile. Don’t worry when you missclick, a popup box will warn you.

 

Item List:

The item list holds all of the items in a profile together. You can add an item by clicking the “Add item” button. An empty item will be added to the list and selected.

A selected item from the list can be deleted by hitting the “Delete item” button.

Item Properties:

The item properties menu will let you customize your items to your own needs.

  1. Item Name:  name of the item. Make sure this is spelled correctly!!!!
  2. Peek %:  when peeking for an item,  I use the increase and decrease buttons in the grand exchange. 5% is one tick, 10% is 2, etc.  This setting depends on the type of item.
  3. Max. Flip amount: This is the max. amount of items that will be bought/sold at a time. THIS IS NOT A LIMIT OVER TIME.
  4. Buy offset: This is the offset a flipped item gets bought with. If the bot checked a buy price at 1.5K, and the buy offset is 1GP, than the bot will buy items for 1.499K.
  5. Sell offset: opposite of buy offset.
  6. Min. Profit: This is the min. profit required after an item’s price is checked in order for the bot to flip this item. If the profit is lower than this setting, the item wil be put in a “low profit” state and the price will be rechecked after the set “re-peek time”.
  7. Re-peek time: The time in minutes when an item’s price will be rechecked, or an item in “low-profit” state will be reconsidered and checked for flipping again.
  8. Abort sale: If an item is selling or buying for longer than this time in minutes, the offer will be aborted. Coins will be collected or items will be sold at the min. price. It will than be added to the “low profit” state and reconsidered for flipping again after the “re-peek” timer has done counting.

Other settings:

 

Log out between flipping sessions will let the bot log out his account and wait for a certain amount of time. The bot will log out after he checked items for being sold or bought, and doing the following actions on those.

 

When all the items are set up, press the start button to start the script.

 

In-game UI

An overlay will be painted on to the chat box. All 8 slots of the grand exchange will be drawn and settings will be displayed.

 

A white rectangle will be drawn on the box with an item which is currently progressed by the bot.

 

A box has a few properties:

 

  1. A name
  2. Bought: amount of items bought from this type
  3. Sold: same as bought, but then, sold
  4. Profit/item: …
  5. Total profit: …
  6. Repeek in: Time when the bot will repeek this item. This will only occur when the item has done selling, or has been aborted.
  7. Aborting in: Time left when an item is getting aborted.

 

As for the header UI, a text “state:x/y” will be displayed. This is the state of the current item. For example:

State: Buying/Flip = item is currently buying in flipping mode

State: Selling/peek = item is currently selling in peeking mode

 

But, how does it work?!

 

Well, this script requires some knowledge about flipping. My method might not be the best, but this used to make me bank. Be aware that low cashstacks will not result in much profit/hour.

 

So, this technique uses a peek and flip system. The bot will buy an item for a lot, and sell it for – wel euhm – not a lot. (This is the part where u loose a bit of money). Then He will save those values and calculate the difference. When the difference is big enough, it will start buying those items for the lowest price, and sell them for the highest.

 

Now, since prices always change, it’s hard for a bot to keep perfect track of this. That’s why the repeek and abort timers are implemented. It won’t be perfect, but it does the job.

 

Screenshots

 

ep9VMvx.png

6Ye1XNB.png

 

Edited by igotlagg
  • Like 5
Link to comment
Share on other sites

Nice idea.

Please don't fetch prices from osbuddy for something like this.

and apparently the no no list was abolished so go right ahead

 

No external connection is made, it uses it's own system to determine the price (buying and selling one amount of the item) which I call the peek state.

 

And cool! Was kind of worried I spend all of my time for a waste :)

 

Link to comment
Share on other sites

Full support for this script man! If you make it P2P, I'd say it probably should be paid seeing how if you are good enough, I know some can profit 1m+ /hr with flipping on p2p. If its uniquely for f2p items, i'd say why not make it free, its barely going to profit a portion of the investment but would definitely be awesome to check out.  if you want some sort of tester on anything, I'd be down to run and burn out some accounts anytime man!

Link to comment
Share on other sites

Full support for this script man! If you make it P2P, I'd say it probably should be paid seeing how if you are good enough, I know some can profit 1m+ /hr with flipping on p2p. If its uniquely for f2p items, i'd say why not make it free, its barely going to profit a portion of the investment but would definitely be awesome to check out.  if you want some sort of tester on anything, I'd be down to run and burn out some accounts anytime man!

 

I was thinking the same!

 

What about a free version for F2P items and a paid version for P2P items?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...