PDA

View Full Version : Trading script!@!@!@



RSDangers
03-02-2013, 03:44 AM
Hey i need someone to write up a quick script that detects when a trade is offered and accepts it.

Sjoe
03-02-2013, 05:21 AM
There are FindText functions. For example GetTextatExWrap() works well. (U gotta play with it to ideally use it)


Or just use colors of text?
eg:
If findColorstolerance() // Tradecolor then IsTrading;

RSDangers
03-02-2013, 06:38 AM
Yes what is this bigger script you are working on? :)
Mysteries, mysteries...

1. Stands on certain tile
2. Auto talks BXXX. (XXX = Whatever amount the player sets it to, you could use a variable)
3. Detects trades and when it comes up in the trade screen accept it. (You would make it click the trade tab on the chat so it is filtered and easier to detect)
4. Puts in XXX amount of gold.
5. Detects when there is 27 silk in the other players trade screen
6. Clicks accept through both trade screens. (On the second trade screen make it check how many silk is there to avoid getting scammed)
7. Goes through the chat process with the silk trader to sell the silk.
8. Repeats

Daniel
03-02-2013, 09:51 AM
Really guys, really? What has our community come to that people are getting flamed when they ask for help?

RSDangers: Sjoekeloe has suggested two very good ways that you might detect a trade request (detecting the pink, and using GetTextAt to read/understand what it says [i.e. to grab the username]). :)