SRL Archive - Outdated / Broken

Demise Merchanter


DemiseScythe

2012-03-10 12:22:13

Demise Merchanter V1.0
by DemiseScythe




This is the SRL Member Release of Demise Merchanter. It flip merchers for you making profits of 10k to 2500k+ GP per hour depending on the items. Currently on Version 1.0, Demise Merchanter is a full feature Merching Script. I will continue to support this script for as long as I am in SRL. I will change the mechanics of the script at my own discretion.

Features:

- Works for P2P and F2P.
- Supports all GE Slots.
- Random Free Method.
- Requirements Free Method.
- Super Stable and Reliable Engine.
- Smart Crash Ready.
- Optional On Screen Paint.
- Custom Login Manager.
- Super Low Memory and CPU Consumption.
- User Defined Buy and Sell Prices.
- Automatically Defined Buy and Sell Prices.
- Ability to Disable GE Slots, unprofitable Flips are automatically Disabled.
- Optional Smart Undercutting System.
- Optional Price Updating Service for Inactive Offers.
- User Defined Inactivity Time.
- Simple to Use and Setup, supports all Grand Exchange locations.
- Smart GE Slot Management.
- Smart Offer State Identification.
- Privacy Filters.

Rules:

- Do not Share/Leak/Resell this script to non SRL Members On or Off this site.
- Do not Mention/Name/Discuss Items or Item Choosing on this thread, this thread is for feature suggestions, bug reports, and is about the script code itself. If you need help with setting up the Item's DTMs just send me a Private Message, I will help you free and privately.
- Do not Copy/Use any code in this script for scripts that will be sold for profit. If you want to use part of the code for SRL Member+ releases only, it is alright to Copy/Use my code as long as I am asked first.
- Please do not abuse this script for Goldfarming, not only does it ruin the RS Market but it has a negative effect on the game. It is okay for you to run this on your main to make profit to train skills or buy cool items but do not make an army to bot with this script. Please try to run 2 instances of this script at most.

There is no way for me to enforce these rules so it is in each person's honor to follow the rules above. If this script gets leaked, it would heavily discourage me from releasing my other projects for SRL. Please do not customize it, just post your suggestion here so that I can make the changes into the main version of the script and everyone can enjoy the upgrades and fixes.


Instructions:

- All instructions are on the script and are very easy to understand and follow. Make sure when you make the DTMs of the Items, you have all 6 items in the inventory in NOTED form, and that when you check for the DTM, you get no false positive results.

If you enjoyed this script and would like to thank me or support my work, I am taking RSGP Donations.
Please send me a Private Message if you would like to Donate. All Donations are appreciated.

'Toxin

2012-03-10 12:23:20

Yes Demise! This looks great, I'm actually going to have a run through the code and will test it ASAP.

kitchenrange

2012-03-10 12:32:18

Could you do me the biggest favor ever and add alching in the downtime?

Definitely loving the paint. Ill comment on the code a little later once I check it out.

weequ

2012-03-10 12:32:22

Nice one.

This is just a suggestion to make it look more professional in my opinion.

type
Item = record
ItemName: String;
ItemDTM, BuyPrice, SellPrice, ItemQuantity, Timer, State: Integer;
Item: Boolean;
end;

var
Items: Array[1..6] of Item;

Edit: You never use Result in OpenGe.

DemiseScythe

2012-03-10 12:38:04

From: weequ
Nice one.

This is just a suggestion to make it look more professional in my opinion.

type
Item = record
ItemName: String;
ItemDTM, BuyPrice, SellPrice, ItemQuantity, Timer, State: Integer;
Item: Boolean;
end;

var
Items: Array[1..6] of Item;


I know Types and I know they are easier but there are only 6 Items and they look messy in my opinion. I wanted to make the Settings more straight foward and easier to read for the habitual user. I use types for a long list of Slayer NPCs on DemiseSlayer but for only 6 items, I hardly see the need to. Might add in the future just to make some people happy though ^.^~

From: kitchenrange
Could you do me the biggest favor ever and add alching in the downtime?

Definitely loving the paint. Ill comment on the code a little later once I check it out.


Unfortunately not, you cannot alch and pay attention to the Grand Exchange window at the same time. If your items are good, there shouldn't be too much down time anyways when using all 6 slots. I have thought of something like this but xp would mean the player would get randoms. I really want to keep this randomless and relatively impossible for Jgx to detect and track.

DemiseScythe

2012-03-10 12:48:29

Will add types and multiplayer for the next version although I don't see the use for multiplayer. This script takes a decent amount of money to run and it would be hard to have a few accounts with the money on them. Besides, no randoms means current user will not be set inactive, I haven't tested the Smart Crash yet but it should work. I however have another script sitting at the Grand Exchange for days on my maxed main and there has been no issues with it. The custom login prevents you from being in 1 world for more than 6 hours every 2 days. You should not be bothered by other users nor risk people seeing you standing in the same place for too long. I am working on a Waitlist system so that it will support more than 6 items at a time and if one item is not profitable, it will switch to the next item on the Waitlist.

Geo

2012-03-10 15:44:56

Congrats on the release! Looks good. If you want the type to be small use TStringArrays/TIntegerArrays

Example:


type
TItem = record
Name : TStringArray;
Buy, Sell, ListPos,
BuySlot, SellSlot, MaxBuyAmt,
MaxBuyTime, MaxSellTime : TIntegerArray;
BuyBox, SellBox : TBoxArray;
end;

Var
Item : TItem;

//******************************************************************************
// Setup the Items.
//******************************************************************************
Procedure SetupItem(Name : String);
Begin
Case Name Of

'ITEM_PACK_ONE':
With Item Do
Begin
Name := ['item 0', 'item 1', 'item 2'];
Buy := [1, 1, 1];
Sell := [1, 1, 1];
ListPos := [0, 0, 0];
BuySlot := [1, 2, 3];
SellSlot := [4, 5, 6];
MaxBuyAmt := [8, 8, 8];
MaxBuyTime := [123, 123, 132];
MaxSellTime := [321, 321, 321];
BuyBox := [GESpotToTBox(Item.BuySlot[0]), GESpotToTBox(Item.BuySlot[1]), GESpotToTBox(Item.BuySlot[2])];
SellBox := [GESpotToTBox(Item.SellSlot[0]), GESpotToTBox(Item.SellSlot[1]), GESpotToTBox(Item.SellSlot[2])];
End;

End;
End;

Obviously mines different, but you can customize to your liking.

jakeyboy29

2012-03-10 15:55:03

Am i going to have to be the first annoying noob ask which items are good :/

Great release though, i was thinking of buying this off you from sythe

weequ

2012-03-10 16:03:27

From: jakeyboy29
Am i going to have to be the first annoying noob ask which items are good :/

Great release though, i was thinking of buying this off you from sythe

Rules:

- Do not Share/Leak/Resell this script to non SRL Members On or Off this site.
- Do not Mention/Name/Discuss Items or Item Choosing on this thread, this thread is for feature suggestions, bug reports, and is about the script code itself. If you need help with setting up the Item's DTMs just send me a Private Message, I will help you free and privately.

DemiseScythe

2012-03-10 16:16:19

From: jakeyboy29
Am i going to have to be the first annoying noob ask which items are good :/

Great release though, i was thinking of buying this off you from sythe


You can still donate if you liked the script =)

To find out good items, you will need to experiment with the script, try out different things and eventually you will find something that gives you steady profit. There are two ways in which you can make money:

-High Profit per Flip with Low Trade Volume.
-Low Profit per Flip with High Trade Volume.

Sometime a balance of the two is favorable. My advice is try around until you find your own items. That is what I did, that is what everyone else did ^.^~

Now enough with the item discussions, at Geo, that looks complicated imo, I like code to be easily editable and obvious ^.^~

'Toxin

2012-03-10 17:31:25

Sometimes it's not clicking on the item properly as it should, might be because my DTM's are off, am going to re-make them. Did you find noted item DTM's were sometimes harder to identify?

DemiseScythe

2012-03-10 17:33:12

On my DTMs I use 15 tol, 1 area and I use 10-15 points on and off the item. If all of your items are similar, that might be the main issue.

'Toxin

2012-03-10 17:36:14

From: DemiseScythe
On my DTMs I use 15 tol, 1 area and I use 10-15 points on and off the item. If all of your items are similar, that might be the main issue.


I'll try it with more points then and a different tol, will let you know how it goes. So far it's been running fairly nicely, minus the item mess up on clicking. :)

the flea

2012-03-10 17:55:15

amazing script, I will definitely be using this :) I have never merchanted before though so it may take me a while to compile a list of good items.

E: found a bug, when merchanting coal it will buy and sell charcoal instead. I guess it cant use items where another item contains its name?

DemiseScythe

2012-03-10 18:21:52

From: the flea
amazing script, I will definitely be using this :) I have never merchanted before though so it may take me a while to compile a list of good items.

E: found a bug, when merchanting coal it will buy and sell charcoal instead. I guess it cant use items where another item contains its name?


Sorry for that and yea, you cannot merch items which when their full name is typed, doesn't appear in the first slot of the Grand Exchange window. I take this time to warn everyone about dragon items. It will buy the corrupted version for items which have corrupted versions. That means buying Dragon Scimitars that cost 2.4M each, just a friendly warning. It happened to me the other day while I was testing. I apologize for this, I might be able to allow you to assign a value to each item which tells the script which line the item will appear on, I will work on this for next version. I am a sick in real life at this time and got to visit the doctor quite often and for hours. I will try to release the next version as soon as possible though.

On another tone, glad you like the script. It is a nice one and I decided to release because it is fun to run and it is a nice piece of code. I am not being conceited, I really think the code is well written, organize, and is the best work I've released so far =) I hope my future code and other projects are just as good when I finish with them.

HT BaaFly

2012-03-10 18:31:21

It's funny the level of treatment on this fourm. I'm off it, goodbye.

PatDuffy

2012-03-10 18:35:28

From: HT BaaFly
It's funny the level of treatment on this fourm. I'm off it, goodbye.


What?….

DemiseScythe

2012-03-10 18:39:34

From: HT BaaFly
It's funny the level of treatment on this fourm. I'm off it, goodbye.


Please don't post stuff like that on here ^.^~ NOTA is there for posts like these.

If you got an issue with SRL Forums, go on BBQ for that.

Er1k

2012-03-10 20:40:09

Great release Demise. I liked how you basically rewrote the grandexchange include to make this work nicely :)

DemiseScythe

2012-03-10 20:46:12

From: Er1k
Great release Demise. I liked how you basically rewrote the grandexchange include to make this work nicely :)


I never looked at the grandexchange include but this script can be an include itself. When I went to make my script, I splitted everything into little parts and decided on whats the best way to do things, I end up not using DTMs for anything except Items. I hate looking at other people code since it makes my scripts more original ^.^~

Er1k

2012-03-10 20:54:46

Same thoughts :) I started by looking at the SRL include, and when I messed with it, I decided if anything I would have to write my own. It's a very neat piece of work you got here, and it can really be deployed as an include on its own :)

Flight

2012-03-10 21:00:14

Looks pretty neat. I've never merchant(ed) in Runescape to begin with so I dunno how any of this works at all. I'm an old-time RS player; I still hold my faith in earning money through skills. I like the on-screen painting, nice job with that.

Also, good suggestions weequ & Geo. :)

Usa

2012-03-11 14:20:47

Holy mother of god this looks awesome.

Home

2012-03-11 15:54:46

How did you solve multiple item Result?

~Home

jakeyboy29

2012-03-11 16:13:26

From: home
how did you solve multiple item result?

~home


From: demisescythe
sorry for that and yea, you cannot merch items which when their full name is typed, doesn't appear in the first slot of the grand exchange window. I take this time to warn everyone about dragon items. It will buy the corrupted version for items which have corrupted versions. That means buying dragon scimitars that cost 2.4m each, just a friendly warning. It happened to me the other day while i was testing. I apologize for this, i might be able to allow you to assign a value to each item which tells the script which line the item will appear on, i will work on this for next version. I am a sick in real life at this time and got to visit the doctor quite often and for hours. I will try to release the next version as soon as possible though.

On another tone, glad you like the script. It is a nice one and i decided to release because it is fun to run and it is a nice piece of code. I am not being conceited, i really think the code is well written, organize, and is the best work i've released so far =) i hope my future code and other projects are just as good when i finish with them.


mts

Home

2012-03-11 17:14:22

This solves multiple results. CASE SENSITIVE!


function Results :Boolean;
var
TextBox :TBox;
begin
TextBox := IntToBox(65, 344 + 15, 495, 344 + 30);
Result := CountColor(23200, TextBox.X1, TextBox.Y1, TextBox.X2, TextBox.Y2) <> 578;
end;



function BuyGEItem(ItemName :String) :Boolean;
var
TextBox :TBox;
LineCount, CorrCount, I :Integer;
begin
TypeSendEx(ItemName, False);
CorrCount := CountColor(clWhite, 31, 453, 492, 473) - 14;
WriteLn('Correct Count : ' + IntToStr(CorrCount));
If WaitFunc(@Results, RandomRange(10, 25), RandomRange(2500, 3000)) then
for I := 1 to 7 do
begin
TextBox := IntToBox(65, 344 + (15 * (I - 1)), 495, 344 + (15 * (I - 1)) + 15);
LineCount := CountColor(23200, TextBox.X1, TextBox.Y1, TextBox.X2, TextBox.Y2);
WriteLn('Line ' + IntToStr(I) + ' Count : ' + IntToStr(LineCount));
If InRange(LineCount, CorrCount - 1, CorrCount + 1) then
begin
MouseBox(TextBox.X1, TextBox.Y1, TextBox.X2, TextBox.Y2, mouse_Left);
Result := True;
Exit;
end;
end;
Result := False;
end;


I was only trying to help. NOT to steal attention from Demises merchanter or what so ever.

~Home

smurg

2012-03-14 12:54:29

Am I too late or is she just re-writing the OP or something?

Mjordan

2012-03-14 13:16:27

Aww dammit I knew I shoulda grabbed this just in case I wanted to use it. How come you removed it Demise?

Home

2012-03-14 14:01:58

From: DemiseScythe
Ben kb me on IRC, just forget about the script, I'll have this thread removed once a mod stops ignoring my reports with requests to remove it


Hmm? What :P?


~Home

jakeyboy29

2012-03-14 14:02:20

what does kb mean?

Rubix

2012-03-14 16:11:19

From: jakeyboy29
what does kb mean?


kickbanned.

'Toxin

2012-03-15 11:39:28

From: DemiseScythe
Ben kb me on IRC, just forget about the script, I'll have this thread removed once a mod stops ignoring my reports with requests to remove it


…..What? What even happened & why'd you remove everything :S

DemiseScythe

2012-03-16 11:09:52

I apologize to all the other SRL Member+ for removing it before, this script is meant for SRL members to profit from it. Please do not release code related to it on the public forums. If someone repairs grandexchange.simba I honestly hope it is place on the member goodies forum and not feed to the leeches. Enjoy.

I'll fix the signature later, got few other things to fix atm.

Can everyone please remove their spam, thank you.

footballjds

2012-03-16 11:12:21

From: DemiseScythe
It is back up for whoever wants to use it, Home please do not rewrite part of it and release on public forums since that will crash the profits as registered users gain the ability to make these type of scripts. I know you wish to help but keep this member+ so that the profits do not get destroyed and the RS market crashed; nothing personal Home but don't publish code inspired from my script on the public forums, thank you.

I apologize to all the other SRL Member+ for removing it before, this script is meant for SRL members to profit from it. Please do not release code related to it on the public forums. If someone repairs grandexchange.simba I honestly hope it is place on the member goodies forum and not feed to the leeches. Enjoy.


what happened to your sig now?

Flight

2012-03-16 11:33:52

Post removed on request.

cause

2012-03-16 11:47:27

Removed on request

Hero

2012-03-21 10:58:58

Damn good work. I wish I was around to test these things. :(

putonajonny

2012-04-06 06:19:08

Could I suggest you use a record for the item info?
type
ItemProperties = Record
ItemName : String;
ItemDTM, BuyPrice, SellPrice, ItemQuantity : Integer;
UseItem : Boolean;
end;

Var
Item : array [1..6] of ItemProperties;

Then when it comes to Settings you would just have
  With Item[1] do
begin
ItemName := '';
ItemDTM := DTMFromString('0');
BuyPrice := 0;
SellPrice := 0;
UseItem := True;
end;

It just cleans things up a bit :)

Gala

2012-04-15 19:07:43

Really, really nice script :)
Are you still developing this? I would be really glad.

DemiseScythe

2012-04-15 19:20:05

I thought the Grand Exchange update ruined flipping and made this script useless, if it still works, that is interesting.

Gala

2012-04-15 19:37:43

From: DemiseScythe
I thought the Grand Exchange update ruined flipping and made this script useless, if it still works, that is interesting.


Nope, it is working almost perfectly.
Sometimes it cant withdraw the item (it can withdraw the money all the time) and the mouse goes crazy.

smurg

2012-04-15 20:21:08

From: Gala
Nope, it is working almost perfectly.
Sometimes it cant withdraw the item (it can withdraw the money all the time) and the mouse goes crazy.


After 1 flip, you won't be able to buy any more of the item.

You'd have to use like 50-item lists to get by the 4-hour delay.

Gala

2012-04-16 06:08:59

@smurg
Yea, I just realised :/

Shatterhand

2012-06-02 04:56:18

This script is nice, however the update…
What my idea is: make a script which will buy tons of items (invest), and sell them after 4 hours.
All we need is: item names, their limits and their DTMs (three arrays).
How it would work: The the script would buy one for +15% then sell it -15% so it can read the SELL and BUY price. After that it would buy out the item, then do it with the rest items. After 4 hours or all finished buying all, it would make priority 1 for selling the items first, then continue buying the rest from the list.
I made an excel, this way (if prices wont change in 4 hours) I could make 220k from 4m in 4 hours in f2p.

Mjordan

2012-06-02 18:21:37

From: Shatterhand
This script is nice, however the update…
What my idea is: make a script which will buy tons of items (invest), and sell them after 4 hours.
All we need is: item names, their limits and their DTMs (three arrays).
How it would work: The the script would buy one for +15% then sell it -15% so it can read the SELL and BUY price. After that it would buy out the item, then do it with the rest items. After 4 hours or all finished buying all, it would make priority 1 for selling the items first, then continue buying the rest from the list.
I made an excel, this way (if prices wont change in 4 hours) I could make 220k from 4m in 4 hours in f2p.


Drop it. This method is long gone, there's more efficient and practical ways to make geepee now. With the birth of the update, this method died.

[S]paz

2012-06-03 13:17:06

From: Mjordan
Drop it. This method is long gone, there's more efficient and practical ways to make geepee now. With the birth of the update, this method died.


Like how Mjordan?