Register for your free account! | Forgot your password?

Go Back   elitepvpers > Metin2 > Metin2 PServer - Discussions / Questions
You last visited: Today at 13:37

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

 

[PROBLEM]Crafting System *Lite*

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2013
Posts: 86
Received Thanks: 48
Unhappy [PROBLEM]Crafting System *Lite*

my cube.lua

PHP Code:
function cube_open(vnum)
    
cube_results = {}
    
cube_needs = {}

    
cube_results[20018] = "39031,1/71018,10/71019,10"
    
cube_needs[20018] = "35011,5&35016,[email protected],[email protected],200"    

    
cmdchat("cube_npc_id "..vnum.."")
    
cmdchat("cs_result "..cube_results[vnum].."")
    
cmdchat("cs_need "..cube_needs[vnum].."")
    
command("cube open")

    return
end 
But just appears first material item second material item doesn't appear:



please help me.

thx.



IGotPower is offline  
Old   #2

 
elite*gold: 0
Join Date: May 2013
Posts: 594
Received Thanks: 465
Quote:
Originally Posted by IGotPower View Post
my cube.lua

PHP Code:
function cube_open(vnum)
    
cube_results = {}
    
cube_needs = {}

    
cube_results[20018] = "39031,1/71018,10/71019,10"
    
cube_needs[20018] = "35011,5&35016,[email protected],[email protected],200"    

    
cmdchat("cube_npc_id "..vnum.."")
    
cmdchat("cs_result "..cube_results[vnum].."")
    
cmdchat("cs_need "..cube_needs[vnum].."")
    
command("cube open")

    return
end 
But just appears first material item second material item doesn't appear:



please help me.

thx.
Seems like there is an syntax fail: cube_needs[20018] = "35011,5&35016,[email protected],[email protected],200" (5&35016,2) so u have to change it into a @ i think, i'm using the official system, so just try it.


#dynastie is offline  
Reply

Tags
crafting system, lite, problem



« Previous Thread | Next Thread »

Similar Threads
[HELP]Crafting System Second Material Problem
my cube.lua function cube_open(vnum) cube_results = {} cube_needs = {} cube_results = "39031,1/71018,10/71019,10" cube_needs =...
2 Replies - Metin2 PServer - Discussions / Questions
Crafting System
http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/2670211-release-official-crafting-system.html I do this system on my server..But...
2 Replies - Metin2 PServer - Discussions / Questions
Crafting System
Hello there, I added crafting system but when i open this it appers empty. How can i show items in? http://s1308.hizliresim.com/1d/y/s306s.jpg
0 Replies - Metin2 PServer - Discussions / Questions
[B] Crafting System
Metin2 Pserver Crafting System - YouTube Angebote!! Hier die Formeln: 5 Craft Sand's = 1 Rohdiamant Rohdiamant + Diamanthammer = Diamant...
19 Replies - Metin2 PServer Guides & Strategies



All times are GMT +2. The time now is 13:37.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.