antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Syst3m

Sistema de cubo

Question

Boa noite, a todos é o seguinte está a dar-me um erro no meu sistema de cubo em que não me aparece as imagens dos craft's, mas se eu colocar os itens para craftar ele crafta. Será que tenho que alterar alguma coisa no cliente ou é algum erro na quest ou na lua o no txt?
W228tFg.jpg

Cumprimentos.

Share this post


Link to post
Share on other sites

21 answers to this question

  • 0
1 minuto atrás, ruizinho-o disse:

"Eu nunca disse que sabia"

no shit sherlock.

 

See? Metes defeitos nos outros e não sabes. Good Luck. Off tópico

Share this post


Link to post
Share on other sites
antiblock
https://arwen2.global/
  • 0

Pessoal querem discutir descutam em pm, agora se me quiserem ajudar agradeço para isso é que criei o tópico.

Share this post


Link to post
Share on other sites
  • 0

Continua igual.

Share this post


Link to post
Share on other sites
  • 0

Fica o mesmo erro.

Tenho que alterar a cube.lua?

Spoiler

function cube_open(vnum) 
    cube_results = {} 
    cube_needs = {} 

    -- Generator URL:  
    -- PASTE GENERATED DATA BELOW THIS -- 
         
        cube_results[20018] = "50801,1/50802,1/50803,100/50804,100" 
        cube_needs[20018] = "50721,1@50722,1@50723,1@50724,1" 
        cube_results[20017] = "50801,1/50802,1/50803,100/50804,100/50813,1/50814,1/50815,100/50816,100" 
        cube_needs[20017] = "50721,1@50722,1@50723,1@50724,1@50801,1&50725,1@50802,1&50725,1@50803,100&50726,1@50804,100&50726,1" 
        cube_results[20022] = "50801,1/50802,1/50803,100/50804,100/50813,1/50814,1/50815,100/50816,100/50817,1/50818,1/50819,1/50820,1/50821,10/50822,10/50823,10/50824,10/50825,10/50826,10" 
        cube_needs[20022] = "50721,1@50722,1@50723,1@50724,1@50801,1&50725,1@50802,1&50725,1@50803,100&50726,1@50804,100&50726,1@50813,1&50727,1@50814,1&50727,1@50815,100&50728,1@50816,100&50728,1@50901,10&50814,20@50901,10&50813,20@50901,10&50820,20@50901,10&50819,20@50901,10&50817,20@50901,10&50818,20" 
        cube_results[20383] = "460,1/470,1/3190,1/1340,1/2370,1/7370,1/20000,1/20250,1/20500,1/20750,1" 
        cube_needs[20383] = "149,1&30505,10&30500,10@159,1&30503,10&30502,10@3139,1&30504,10&30508,10@1109,1&30507,10&30506,10@2149,1&30501,10&30506,10@7149,1&30504,10&30506,10@11299,1&30516,10&30514,10&30509,10@11499,1&30510,10&30511,10&30512,10@11699,1&30513,10&30511,10&30515,10@11899,1&30516,10&30517,10&30509,10" 
     
    -- GENERATED DATA END -- 
     
     
     
    cmdchat("cube_npc_id "..vnum.."") 
    cmdchat("cs_result "..cube_results[vnum].."") 
    cmdchat("cs_need "..cube_needs[vnum].."") 
    command("cube open") 
    return 
end

 

Share this post


Link to post
Share on other sites
  • 0

Continua a nao aparecer os itens para craftar  
Imagem do bug:

Spoiler

T9Iyjj9.jpg


cube.quest
 

Spoiler

quest cube begin
    state start begin
        when 20018.chat."Making Potions?" with pc.level >= 15 begin
            say_title("Baek-go:")
            say("")
            say("Hey!")
            say("Are you interested in making potions by any chance?")
            say("Recently Biologist Chaegirab did a lot of research")
            say("to create many new potions with different effects.")
            say("Do you want to try it out?")
            wait()
            setskin(NOWINDOW)
            command("cube open")
            -- say("Come anytime when you need, I will make them for you")
        end


Cube.lua:
 

Spoiler

function cube_open(vnum)
   cube_results = {}
   cube_needs = {}

   -- Generator URL: 
   -- PASTE GENERATED DATA BELOW THIS --
      
      cube_results[20018] = "19,1"
      cube_needs[20018] = "17,2"
   -- GENERATED DATA END --
   
   
   
   cmdchat("cube_npc_id "..vnum.."")
   cmdchat("cs_result "..cube_results[vnum].."")
   cmdchat("cs_need "..cube_needs[vnum].."")
   command("cube open")
   return
end

 

Cube.txt:
 

Spoiler

#teste
section        
npc    20018    
item    17    2
reward    19    1
percent    100    
end 

 

Share this post


Link to post
Share on other sites

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