Domanda [NEW_CUBE]Unknown Server Command cube_npc_id

  • Autore discussione Autore discussione p.O.x
  • Data d'inizio Data d'inizio
Stato
Discussione chiusa ad ulteriori risposte.

p.O.x

Utente Silver
23 Dicembre 2011
68
26
44
92
Ultima modifica:
Hi to all from Inforge.net,
Well my problem is that i get the crafting window but empty.Even if i have server side quest and cube.txt ,is attched if you can see.

Problem:
bbc16b2bdd8f7214068cdf3e5cca8f6a.gif
QUEST:
Codice:
quest cube begin
    state start begin
        function cube_open(vnum)
            local cube_results = {
                [20018] = "50801,1/50802,1/50803,100/50804,100"}
            local cube_needs = {
                [20018] = "50721,1@50722,1@50723,1@50724,1"}
            cmdchat("cube_npc_id "..vnum)
            cmdchat("cs_result "..cube_results[vnum])
            cmdchat("cs_need "..cube_needs[vnum])
            command("cube open")
        end
      
        when 20018.chat."iarba"begin

            setskin(NOWINDOW)
            cube.cube_open(npc.get_race())
        end
    end
end
CUBE.txt
Codice:
#??????      
section      
npc    20018  
item    50721    1
reward    50801    1
percent    100  
end      
      
#?????      
section      
npc    20018  
item    50722    1
reward    50802    1
percent    100  
end      
      
#????      
section      
npc    20018  
item    50723    1
reward    50803    100
percent    100  
end      
      
#???????      
section      
npc    20018  
item    50724    1
reward    50804    100
percent    100  
end
Game.py
Syserr from client
Codice:
0807 23:01:24386 :: Unknown Server Command cube_npc_id 20018 | cube_npc_id
0807 23:01:24386 :: Unknown Server Command cs_result 50801,1/50802,1/50803,100/50804,100 | cs_result
0807 23:01:24386 :: Unknown Server Command cs_need 50721,1@50722,1@50723,1@50724,1 | cs_need
 
Codice:
#Ȱ½É¾×Áø¾×       
section       
npc    20022   
item    50801    1
item    50725    1
reward    50813    1
percent    100   
end

Prendi questo come esempio è gia tabbato!
 
i fixed the problem it was from outdated cube server game source..I just downloaded a good sf source code copy cube.cpp and cube.h recompiled and is working fine now.
Thanks for all ho try to help me.
 
Stato
Discussione chiusa ad ulteriori risposte.
Indietro
Top Bottom