Jump to content
Forgot your email address? ×
×
×
  • Create New...

Recommended Posts

M2 Download Center

Hidden Content

    Give reaction to this post to see the hidden content.
( 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.

 

 

http://i.hizliresim.com/3DzD30.jpg

 

 

 

Then, "we alisveris_para" We are adding to our database column name.

 

IMPORTANT NOTE: The default value of 0 must do! Very important.

 

 

http://i.hizliresim.com/g5rvnN.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.

  • Metin2 Dev 3
  • Love 6
  • Good 4
Link to comment
  • 1 month later...
  • 5 years later...
  • Honorable Member

Hidden Content

    Give reaction to this post to see the hidden content.

  • Metin2 Dev 1
  • Love 3
  • Good 1
  • Not Good 1

I will be offline for an indefinite period.

Never forget that I love this community❤️

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


  • Read our Rules
  • Activity

    1. 0

      Visual Studio 2010 Ultimate

    2. 1

      Reduce server memory usage

    3. 31

      Metin2 Project - How to create à Metin2 private server on virtual machine

    4. 1

      Use BeltInventory slots without Belt

    5. 47

      Paid service - Vegas Projects

    6. 44

      Changelogs

    7. 79

      3D Shop - Mark Service

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.