oke i have one problem
syser:
1013 21:49:26117 :: Traceback (most recent call last):
1013 21:49:26117 :: File "game.py", line 1613, in BINARY_Cube_Open
1013 21:49:26118 :: File "uiCube.py", line 483, in Refresh
1013 21:49:26118 :: KeyError
1013 21:49:26118 :: :
1013 21:49:26118 :: 1
1013 21:49:26118 ::
1013 21:50:33046 :: Traceback (most recent call last):
1013 21:50:33046 :: File "game.py", line 1643, in BINARY_Cube_Succeed
1013 21:50:33046 :: File "interfaceModule.py", line 1001, in SucceedCubeWork
1013 21:50:33047 :: File "uiCube.py", line 432, in Clear
1013 21:50:33047 :: File "uiCube.py", line 483, in Refresh
1013 21:50:33047 :: KeyError
1013 21:50:33047 :: :
1013 21:50:33047 :: 1
1013 21:50:33047 ::
quest:
quest cube begin
state start begin
function cube_open(vnum)
cube_results = {}
cube_needs = {}
cube_results[20083] = "460,1"
cube_needs[20083] = "145,1&30505,10&30500,10"
cmdchat("cube_npc_id "..vnum.."")
cmdchat("cs_result "..cube_results[vnum].."")
cmdchat("cs_need "..cube_needs[vnum].."")
command("cube open")
return
end
when 20083.click begin
cube.cube_open(20083)
end
when 20017.click begin
cube.cube_open(20017)
end
when 20022.click begin
cube.cube_open(20022)
end
end
end
image:
oke i see items in cube window...but i cant put this needs items in window only if i click in pictures of item they put...anyone can help how fix this problem?? thx