Register for your free account! | Forgot your password?

You last visited: Today at 16:39

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[QUEST-RELEASE] Auction House

Discussion on [QUEST-RELEASE] Auction House within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2012
Posts: 11
Received Thanks: 21
Post [QUEST-RELEASE] Auction House

Hello everybody!

I've written a quest for Auction House. I've tested it with 34k and vanilla core gamefiles. For me, it works fine.

The quest uses mysql, select3 and item2_pc2_lib, so if you want to use it, you have to have them. Oh, iMer's item2_pc2_lib needed only for 34k, if you use it with vanilla core, you have to change the following things:
Code:
item2.sett_attr -> item.set_value
local t, v = item2.get_attr(i) -> local t, v = item.get_attr_type(i), item.get_attr_value(i)
Well, its function is that players can sell, buy items, or can make offers for them.
If somebody buys an item, the item will immediately move to the one's Received Items. The owner of the item will get the money, of course, in the Received Money.
If a player makes an offer for an item, and another player makes a bigger offer, the previous one will get the money back.

So, as I mentioned, the quest uses mysql_query function, you have to create the tables. You'll find the SQL-Code for the them in attachment.

Well, you'll find the quest in attachment.
Sorry for half English-half Hungarian bonus table, but I don't know the exact English name of the bonuses.

Finally, I have to give a thank to:

Video:

Hope you'll like it.

Best regards,
xxxHUN™
Attached Files
File Type: rar Auction House.rar (4.6 KB, 503 views)
xxxHUN95 is offline  
Thanks
17 Users
Old 07/25/2014, 21:56   #2
 
RoxaLyssa's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 304
Received Thanks: 252
Thanks for your work, but at least you could translate all the rows to English or German before publishing. By the way, using an auction house is better from the game file, because this version can overload the server with many players, but of course, it's better and easier for the little servers.
RoxaLyssa is offline  
Thanks
2 Users
Old 07/26/2014, 13:45   #3
 
elite*gold: 0
Join Date: May 2012
Posts: 11
Received Thanks: 21
Thanks for your comment.
I have to agree with you.

Using the game file's auction system is way better, than my solution. As you mentioned, using this version is... Well, I can't say that it's better, but, of course, it's way easier for little servers.
xxxHUN95 is offline  
Thanks
1 User
Old 07/26/2014, 14:47   #4
 
elite*gold: 0
Join Date: Jul 2014
Posts: 8
Received Thanks: 1
Danke, hat Jemand einen Screen wie das Ingame aussieht?

mfg
Sheini is offline  
Old 07/26/2014, 15:52   #5
 
elite*gold: 0
Join Date: Sep 2013
Posts: 491
Received Thanks: 675
Quote:
Originally Posted by Sheini View Post
Danke, hat Jemand einen Screen wie das Ingame aussieht?

mfg
Es ist einfach nur eine Quest was denkst du denn wie es aussieht?
.Kibito is offline  
Old 07/27/2014, 09:05   #6
 
elite*gold: 0
Join Date: May 2012
Posts: 11
Received Thanks: 21
Quote:
Danke, hat Jemand einen Screen wie das Ingame aussieht?

mfg
Sheini, I uploaded a video, hope that's ok

Quote:
Es ist einfach nur eine Quest was denkst du denn wie es aussieht?
.Kibito, I think, he just wants to check, whether it works or not
xxxHUN95 is offline  
Thanks
1 User
Old 07/27/2014, 11:09   #7


 
Benhero's Avatar
 
elite*gold: 964
Join Date: Mar 2008
Posts: 2,629
Received Thanks: 1,636
Hier für alle die Deutsche übersetzung:

#Sollten Probleme auftreten einfach hier schreiben oder mir eine Privat Nachricht schicken!

Mfg. Benhero
Attached Files
File Type: rar auktions_haus.rar (4.7 KB, 82 views)
Benhero is offline  
Thanks
1 User
Old 07/27/2014, 20:04   #8
 
elite*gold: 0
Join Date: Jul 2014
Posts: 4
Received Thanks: 0
Hi I have problem I add quest and mysql

matizz9811 is offline  
Old 07/28/2014, 09:05   #9


 
Benhero's Avatar
 
elite*gold: 964
Join Date: Mar 2008
Posts: 2,629
Received Thanks: 1,636
you must change "--e=" to "-e" remove one "-" and "=" in your questlib.lua.
Benhero is offline  
Old 08/06/2014, 18:10   #10
 
elite*gold: 0
Join Date: Aug 2012
Posts: 974
Received Thanks: 89
was soll ich da jetzt ändern?
Code:
local t, v = item2.get_attr(i) -> local t, v = item.get_attr_type(i), item.get_attr_value(i)
thespeedyy is offline  
Old 08/06/2014, 19:28   #11
 
elite*gold: 0
Join Date: May 2012
Posts: 11
Received Thanks: 21
Quote:
Originally Posted by thespeedyy View Post
was soll ich da jetzt ändern?
Code:
local t, v = item2.get_attr(i) -> local t, v = item.get_attr_type(i), item.get_attr_value(i)
in the quest, you find "local t, v = item2.get_attr(i)"
but, if you want to use this quest with vanilla core, you have to replace that row with "local t, v = item.get_attr_type(i), item.get_attr_value(i)"
xxxHUN95 is offline  
Old 07/31/2015, 07:40   #12
 
elite*gold: 0
Join Date: Apr 2015
Posts: 1
Received Thanks: 0
Mt2KreKs is offline  
Old 07/31/2015, 09:49   #13
 
elite*gold: 0
Join Date: Sep 2013
Posts: 56
Received Thanks: 15
Quote:
Originally Posted by Mt2KreKs View Post
Enter your quest_functions

item2.get_attr
item2.set_attr
select3
AmerigoMendosa is offline  
Reply


Similar Threads Similar Threads
Changing Auction House Models-Release!
12/28/2020 - Shaiya PServer Guides & Releases - 26 Replies
Picture Of My Changes http://i49.tinypic.com/11c5phe.png And Names Of Stuff To Look For To Do Any Changing List Of DDS For Auction House - R1_Trade01 R1_Trade02 R1_Trade03 R1_Trade04 R1_Trade05 R1_Trade06
[QUEST-RELEASE]Auction System
04/06/2013 - Metin2 PServer Guides & Strategies - 8 Replies
Hi epvp, About quest: It's very simple script in lua for metin2, from AzorisMt2. The script is very short, it have only 1100 line. The source code by: masodikbela, from hungary. If be more than 50 records in the tables, it will very laggy Use: In the rar archive are two .sql files, you have to put these tables into the player database.
[Release]Custom Auction House PvP Zone!
01/06/2013 - Shaiya PServer Guides & Releases - 9 Replies
/removed i am not releasing anymore stuff therefore for trolls, immature who create drama ;)
[Beta Release] DrGoldbags Auction House Bot
06/17/2010 - WoW Bots - 13 Replies
I'd like to introduce DrGoldbags, a WoW Auction House Bot. I've been working on DrGoldbags for about a month. Since it is nearing completion and becoming more stable, I am starting an open beta of the bot. This means that everyone can use the bot until beta has ended! Download DrGoldbags Now *As seen here, F-Secure and Kaspersky mark DrGoldbags as potentially harmful. Please disregard this; they are merely detecting the packers I have used on it. Features Auction Rulesets allow you...



All times are GMT +2. The time now is 16:39.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.