Issue information

Issue ID
#8121
Status
Fixed
Severity
None
Started
readygo
Mar 24, 2014 10:51
Last Post
Ind
Mar 29, 2014 20:22
Confirmation
Yes (1)
No (0)

readygo - Mar 24, 2014 10:51

Step 1 : I use buyingstore is [color=#0000cd]ok ![/color]

[img]http://upic.me/i/hn/buying_store.png[/img]

Step 2 : I use command @autotrade, it kick character and show error . .

[img]http://upic.me/i/uq/buying_store2.png[/img]


How to fix it ?

I use last git update, client 2012-04-10

This post has been edited by readygo on Mar 24, 2014 10:52

Tepoo - Mar 24, 2014 13:28

@autotrade is only for vending shops,
not for buying shops (sadly)

Dastgir Pojee - Mar 24, 2014 14:47

[quote name="Tepoo" timestamp="1395667731"]
@autotrade is only for vending shops,
not for buying shops (sadly)
[/quote]If it does not work with bs, it should not disconnect the char, nor should throw any error on mapserver.

Tepoo - Mar 24, 2014 17:39

i should more prefer if it would work with buyshops ^^

readygo - Mar 24, 2014 17:43

fix it. map / atcommand.c[code=auto:0] if( !sd->state.vending && !sd->state.buyingstore ) { //check if player is vending or buying clif->message(fd, msg_txt(549)); // "You should have a shop open in order to use @autotrade." return false; } [/code]
into[code=auto:0] if( !sd->state.vending ) { //check if player is vending clif->message(fd, msg_txt(549)); // "You should have a shop open in order to use @autotrade." return false; } [/code]

-------------------------------------------------------------

# in rAthena -> use @autotrade for buyingstore is ok !!

This post has been edited by readygo on Mar 24, 2014 17:43

readygo - Mar 24, 2014 17:45

Please, Add Command @autotrade for buyingstore !

Thank.

Tepoo - Mar 24, 2014 22:42

i would realy like to see the solution from rathena on hercules too...
many of my players would love to use this.

Ind - Mar 29, 2014 20:22

Fixed in [url="https://github.com/HerculesWS/Hercules/commit/336b818cd4acc771563d4ab0d98566de25794143"]https://github.com/HerculesWS/Hercules/commit/336b818cd4acc771563d4ab0d98566de25794143[/url]