Register for your free account! | Forgot your password?

You last visited: Today at 10:19

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

Advertisement



Master-Apprentice System[LUA]

Discussion on Master-Apprentice System[LUA] within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
thenemne0032's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 19
Received Thanks: 23
Post Master-Apprentice System[LUA]

Hi all,

I will share with you the master-apprentice system. This system code when I had not yet learned to write new quests and so can seem a bit clumsy, but it is a very robust system. I primarily provide information about the system and then let's move on to the installation and promotional videos.


What is the Master-Apprentice system?

The person who provided the necessary conditions that would master a certain level. His apprentice can take up to 10 after the Masters. Received apprentices they exp safe, exp 5% of their muscle to master Honor points are earned. Master, if exp safe experience muscle that gives up 5% exp apprentice. Experience the moment is transmitted immediately stiffened in the game, just as if you were cutting slots. Likewise immediately installed in the master account Honor points. Masters of the Master-Apprentice Market with Honor Points can buy yourself items.


Installation Video






Trailer






NOTE: You can not do that, if you get an error or understand where you can write under this topic. Please write clear bug and add visual on possible error.


IMPORTANT INFORMATION:


Master-apprentice system - you can add new items, including Market stakes and miktarsız. I'll show you how to add it now.

First, we find the following passage:

PHP Code:
       function esyalar(esya_bilgisi
            
esya = { 
                [
1] = {"Hız İksiri",71050,50000,1}, 
                [
2] = {"Saldırı İksiri",27112,10000,1}, 
                [
3] = {"Eskrim Broşür",70031,1000000,0}, 
                [
4] = {"Kutsama Kağıt",25040,500000,0}, 
                [
5] = {"Büyülü Metal",25041,10000000,0
                } 
                return 
esya[esya_bilgisi
        
end 

Then we add new items to that we add the following:

PHP Code:
[6] = {"Beyaz İnci",27992,500000,0

The first part is the name of the goods to be sold. Please the last letter of the items that will be sold " ı " Let's not. Otherwise, the system will work.
The second part is the code of the goods to be sold.
The goods will be sold to few Third Honor Points. So is the price.


The fourth part is very important, please read carefully:

This will give the fourth section 1 or 0 value. If you give your goods with sales value of 1 means to be sold. So how many players do you want to click on that stuff when he will meet with warning. But if you give a value of 0 will not ask any one value and will be directly purchased goods enter and be able to take only 1 of those things. If you do not understand this type of issue under Let me tell you a little more detail.

Yes, the new codes as it's going to end as follows:


PHP Code:
    function esyalar(esya_bilgisi
            
esya = { 
                [
1] = {"Hız İksiri",71050,50000,1}, 
                [
2] = {"Saldırı İksiri",27112,10000,1}, 
                [
3] = {"Eskrim Broşür",70031,1000000,0}, 
                [
4] = {"Kutsama Kağıt",25040,500000,0}, 
                [
5] = {"Büyülü Metal",25041,10000000,0}, 
                [
6] = {"Beyaz İnci",27992,500000,0
                } 
                return 
esya[esya_bilgisi
        
end 

Please put a comma after the end of each item you add, and add new items to it. Otherwise, the system will still work. If there is a place you do not understand, please ask again I say under the issue.
Attached Files
File Type: rar ustacirak_sistemi.rar (18.3 KB, 27 views)
thenemne0032 is offline  
Thanks
1 User
Old 06/13/2015, 02:13   #2

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
you can return the table directly and add a little "error-handling" into it:
Code:
function esyalar(esya_bilgisi)
	return ({
	[1] = {"Hiz Iksiri",71050,50000,1},
	[2] = {"Saldiri Iksiri",27112,10000,1},
	[3] = {"Eskrim Brosür",70031,1000000,0},
	[4] = {"Kutsama Kagit",25040,500000,0},
	[5] = {"Büyülü Metal",25041,10000000,0}
	})[esya_bilgisi] or {"THIS_IS_A_DEFAULT_VALUE", 1, 1, 1}
end
and maybe you could use english words for your variables ...
rollback is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
Problem Apprentice chest
03/22/2014 - Metin2 Private Server - 0 Replies
when i click on chest got you recived nothing i put quest in server and pput name in locales but noting any help
Looking for apprentice h4x0r...
01/21/2012 - SWTOR Hacks, Bots, Cheats & Exploits - 3 Replies
Hi folks, I'm a professional software engineer and I've recently decided to write hacks for games on the side. It's a hobby that's beneficial for me at work as well as something (potentially) fun. Some coding friends and I are a few weeks deep into the development of a very sophisticated pixel search bot (that's all my saying publicly), but there is a LOT of mundane code that still needs to be written. This will be time consuming but you'll be learning. Not to mention you'll have...
My Apprentice GOLD-METAL-DESPERADO
06/11/2011 - Soldier Front Hacks, Bots, Cheats & Exploits - 10 Replies
Its CrakerLast work.. CLICK HERE TO DOWNLOAD http://a3.sphotos.ak.fbcdn.net/hphotos-ak-snc6/24 9424_114591135296091_100002356155302_154682_411233 9_n.jpg VS:
Pay DB`s for Proffesionell Apprentice
03/14/2011 - Conquer Online 2 Trading - 0 Replies
Hey Guys I need very Proffesionell Apprentice on Eagle who lvl him self and dont use Praystone . Idk u use Bot or something i know only i need noobs who lvl him self from 1-125 or 130 to make me Mentor reward , My rules ... dont use Praystone i know how many exp balls i become from 1 to 125-130 without praystone I pay DB on all servers but i need time to make lvl 50 on your server to credit db on ur server ..... and now offer me what u want for 1x 125 or 2x125 or 1x130 or 2x130...



All times are GMT +1. The time now is 10:20.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.