Selling Items via Auto Trade (PUB) Macro

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
afrozenminute
Noob
Noob
Posts: 3
Joined: 07 Feb 2013, 23:29
Noob?: No

Selling Items via Auto Trade (PUB) Macro

#1 Post by afrozenminute »

Hi guys this is my first macro, what it does is you can sell item via auto trade and it will create PUB for you.

1. Leave your character on your desire spot
2. Log out
3. Run this macro
#############################################################################
# Trade macro by afrozenminute
# Openkore: http://openkore.com/
# pRO: (New Loki/Valhala) Pedro Kurimaw / Malou Ang
# Date Release: February 8, 2013
#############################################################################

automacro pub {
run-once 1
call {
do sit
pause 2
do chat create "S> Shit/Cum/Smegma 1B (auto deal)" 2 0 wtfs <--- edit chatroom name
}
}

automacro deal {
console /(.*) \(level (.*)\) Requests a Deal/i
call {
pause 2
do deal
pause 15
do deal no
}
}

automacro check {
console /(.*) added (.*) z to Deal/i
call {
$sell = @Inventory (Awakening Potion) <--- put your desire item
$item = $.lastMatch2
if ($item == 1) goto item <--- how much ur item is
pause 2
do deal no
stop

:item
pause 1
do deal add $sell
pause 1
do deal
stop
}
}
Last edited by afrozenminute on 10 Feb 2013, 17:03, edited 1 time in total.
NiTRO106
Plain Yogurt
Plain Yogurt
Posts: 64
Joined: 30 Nov 2012, 20:27
Noob?: No

Re: Selling Items via Auto Trade (PUB) Macro

#2 Post by NiTRO106 »

@afrozenminute

Code: Select all

console /(.*) added (.*) z to Deal/
this macro has exploits. when someone pm the character with that phrase above, it will still initiate the deal sequence, even they is no zeny dealed in the trade window. it must be console /(.*) added (.*) z to Deal/i with /i in order to be secure and free from exploitation.
afrozenminute
Noob
Noob
Posts: 3
Joined: 07 Feb 2013, 23:29
Noob?: No

Re: Selling Items via Auto Trade (PUB) Macro

#3 Post by afrozenminute »

NiTRO106 wrote:@afrozenminute

Code: Select all

console /(.*) added (.*) z to Deal/
this macro has exploits. when someone pm the character with that phrase above, it will still initiate the deal sequence, even they is no zeny dealed in the trade window. it must be console /(.*) added (.*) z to Deal/i with /i in order to be secure and free from exploitation.
Thank you bro, I edited it already.
wasesa
Noob
Noob
Posts: 1
Joined: 02 Apr 2013, 00:41
Noob?: No

Re: Selling Items via Auto Trade (PUB) Macro

#4 Post by wasesa »

dont work :cry: