From c14faa2c92a458259abfa14a71e7c05bbdc08027 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Fri, 29 Feb 2008 23:10:29 +0000 Subject: - Starting preparatives for Auctions System. - Added the @auction command to open the auctions. Just to start working on it and if someone wants to help. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12270 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index f2947372b..e32f288ce 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8169,6 +8169,17 @@ int atcommand_feelreset(const int fd, struct map_session_data* sd, const char* c return 0; } +/*========================================== + * AUCTION SYSTEM + *------------------------------------------*/ +int atcommand_auction(const int fd, struct map_session_data *sd, const char *command, const char *message) +{ + nullpo_retr(0,sd); + + clif_Auction_openwindow(sd); + return 0; +} + /*========================================== * Kill Steal Protection *------------------------------------------*/ @@ -8509,6 +8520,7 @@ AtCommandInfo atcommand_info[] = { { "homshuffle", 60, atcommand_homshuffle }, { "showmobs", 10, atcommand_showmobs }, { "feelreset", 10, atcommand_feelreset }, + { "auction", 60, atcommand_auction }, { "mail", 1, atcommand_mail }, { "noks", 0, atcommand_ksprotection }, { "allowks", 6, atcommand_allowks }, -- cgit v1.2.3-60-g2f50