thenemne0032 70 Posted June 6, 2015 Share Posted June 6, 2015 (edited) M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) Hi all, I decided to prepare this system, on the recommendation of a friend. I hope you enjoy, and you used. First, I do not think any bugs in the system. I tried to avoid any kind of bug that could, at least as far as I checked. If you encounter any bugs please let. The fix in a short time I publish a new one. In addition, the coding system for getting a bit of a hurry I could have done inexperience. Using the function, but was going to do it that way because I'm rushing. And it does not seem to have any problems in handy again. What is the Offline Shopping System to do? Players not in the game is a system that can even sell items. How the system works? Players throw on goods they want to sell NPC. Then, against the price, how long the information will remain on the sales and revenues which category you want to add. After making the selection of necessary attachments to exchange goods. Players may withdraw the goods and wills can update the prices of goods. It expires if the player's belongings after he blocked the sale of expired goods and goods sent to the player's safe entry and exit in the event of any game and is deleted from the shopping list. If a player of goods sold, Shopping Box of money is saved. If all merchandise sold money is kept there and wished you could take the money players. If I'd let me share a detailed video on how the system works: MySQL file "players" are adding to the database. You do not need to take any action. (After making the additions you do not need to take REBOOT) Now we need to do another operation. "Player" table below, right click the "Design Table" call. https://metin2.download/picture/CZ87p208F1yEZ8758kLj0Lu8sfC60VtK/.jpg Then, "we alisveris_para" We are adding to our database column name. IMPORTANT NOTE: The default value of 0 must do! Very important. https://metin2.download/picture/35bi9ubHwORnw2Nz769gmVsiNXUJDzH1/.jpg BETWEEN THE AMOUNT OF MONEY. (DOT) DO place: Now between the amount of money. (Period) we came to put function. You also have to add this function. If you do not include this function the system work. According to him, it was coded. Now add to that function will show: "questlib.lu" file, we are opening and closing, add the following code at the bottom. No need to reboot to take. No need to take any further action. "questlib.lu to" the bottom of the Simply add the code I have given below. function genel_veri(gelen_miktar) gelen2 = tostring(gelen_miktar) local gelen = gelen_miktar local sayac = 10 local basamak = 1 local ilkhal = basamak while true do if gelen / sayac >= 1 then basamak = basamak + 1 sayac = sayac * 10 else break end end t = {} sonucText = "" for i=1, string.len(gelen2) do t[i]= (string.sub(gelen2,i,i)) end for k , v in pairs(t) do--1324 if (basamak == 9 or basamak == 6 or basamak == 3) and sonucText != "" then sonucText = sonucText.."." sonucText = sonucText..v else sonucText = sonucText..v end basamak = basamak - 1 end return sonucText end After this process the bit "quest_functions" file and opens to the bottom "genel_ver" function, we are adding. We're done with this place. LUA swipe file: 1) usr / game / share / locale / turkey / quests section "alisveris_sistemi.lu to" We put the file. Later; 2) We come to putty. cd / usr / game / share / locale / turkey / quests are enterliy wrote. Then we write the following command. ./qc alisveris_sistemi.lua We are done with putty. 3) We're going to the game and with a GM character "/ reload q" is suffering. 4) Then you can start using the Offline Shopping System. Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 31 1 1 1 2 1 13 1 18 Link to comment Share on other sites More sharing options...
Former Staff Shisui 490 Posted June 6, 2015 Former Staff Share Posted June 6, 2015 You can trade non-tradable items right? Link to comment Share on other sites More sharing options...
Aurora 46 Posted June 6, 2015 Share Posted June 6, 2015 It's like a auction house not a offline shop? 1 Link to comment Share on other sites More sharing options...
thenemne0032 70 Posted June 6, 2015 Author Share Posted June 6, 2015 Blocking Appliance available. Link to comment Share on other sites More sharing options...
thenemne0032 70 Posted June 6, 2015 Author Share Posted June 6, 2015 Aurora, yes. Offline shop. Link to comment Share on other sites More sharing options...
Flow 2 Posted June 7, 2015 Share Posted June 7, 2015 very strange version of shops offline,but very nice job 1 Link to comment Share on other sites More sharing options...
thenemne0032 70 Posted June 7, 2015 Author Share Posted June 7, 2015 very strange version of shops offline,but very nice job Thanks. 1 Link to comment Share on other sites More sharing options...
Flow 2 Posted June 7, 2015 Share Posted June 7, 2015 Thanks. try, can you do at source Link to comment Share on other sites More sharing options...
BeHappy4Ever 247 Posted June 10, 2015 Share Posted June 10, 2015 I can't understand this language ,does anyone translated this system in English or can contact me to translate it to greek & English? Link to comment Share on other sites More sharing options...
Sober 37 Posted June 10, 2015 Share Posted June 10, 2015 I can translate it to Greek for you Link to comment Share on other sites More sharing options...
BeHappy4Ever 247 Posted June 10, 2015 Share Posted June 10, 2015 (edited) Then translate it noob Αυγουστινο μου εσυ Edited June 10, 2015 by BeHappy4Ever Link to comment Share on other sites More sharing options...
Tülay 8 Posted June 11, 2015 Share Posted June 11, 2015 Very nice thank you Link to comment Share on other sites More sharing options...
Premium Dr3Ame3r 33 Posted June 11, 2015 Premium Share Posted June 11, 2015 http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/3742649-metin2-offline-shop-lua.html Congrats , you are the owner but please rename the topic , they are not a offline shop system , they are like an auction house as aurora said. 1 Link to comment Share on other sites More sharing options...
VatanBorcu25 0 Posted June 12, 2015 Share Posted June 12, 2015 Başarılı Link to comment Share on other sites More sharing options...
bloodmoon 0 Posted August 2, 2015 Share Posted August 2, 2015 And i need this as shop table ... xD like hikarimt2 and other Link to comment Share on other sites More sharing options...
daredevil09 5 Posted August 6, 2015 Share Posted August 6, 2015 SYSERR: Aug 4 02:53:14 :: RunState: LUA_ERROR: [string "alisveris"]:16: attempt to call global `mysql_query10' (a nil value) SYSERR: Aug 4 02:53:14 :: WriteRunningStateToSyserr: LUA_ERROR: quest alisveris.start click Link to comment Share on other sites More sharing options...
Honorable Member Mali 41780 Posted November 29, 2020 Honorable Member Share Posted November 29, 2020 This is the hidden content, please Sign In or Sign Up 30 2 5 2 13 Link to comment Share on other sites More sharing options...
Recommended Posts