no script de evento automatico deu um erro 
  
[08/09/2009 22:21:43] Lua Script Error: [GlobalEvent Interface] 
[08/09/2009 22:21:43] data/globalevents/scripts/eventoini.lua:onThink 
  
[08/09/2009 22:21:43] luaGetContainerItem(). Container not found 
  
[08/09/2009 22:21:43] Lua Script Error: [GlobalEvent Interface] 
[08/09/2009 22:21:43] data/globalevents/scripts/eventoini.lua:onThink 
  
[08/09/2009 22:21:43] luaSetItemName(). Item not found 
  
  
COMO AGEITA PLZ! 
  
  
  
ai vai o script! 
  
function onThink(interval, lastExecution) 
local valor = { 
gem_pos = { 
{x=1028,y=1031,z=7,stackpos=1}, 
{x=1029,y=1039,z=7,stackpos=1}, 
{x=1004,y=1064,z=7,stackpos=1}, 
{x=1015,y=1026,z=6,stackpos=1} 
}, 
evento_items = { 
2153, --simple 
2154, --medium 
2155, --high 
2156 --extreme 
} 
} 
  
  
if getGlobalStorageValue(2200) == -1 or getGlobalStorageValue(2200) == 0 then 
local rand = math.random(1,4) 
local sorx = math.random(1,100) 
doBroadcastMessage('Evento: Esta começando mais um evento de item, ache a gema escondida na city e leve até a mesa no piso superior do templo para ganhar sua recompensa !', MESSAGE_EVENT_ADVANCE) 
if sorx > 0 and sorx < 3 then 
doAddContainerItem(doCreateItem(1987, 1, valor.gem_pos[rand]), valor.evento_items[4], 1) 
elseif sorx > 2 and sorx < 11 then 
doAddContainerItem(doCreateItem(1987, 1, valor.gem_pos[rand]), valor.evento_items[3], 1) 
elseif sorx > 10 and sorx < 42 then 
doAddContainerItem(doCreateItem(1987, 1, valor.gem_pos[rand]), valor.evento_items[2], 1) 
elseif sorx > 41 and sorx < 101 then 
doAddContainerItem(doCreateItem(1987, 1, valor.gem_pos[rand]), valor.evento_items[1], 1) 
end 
local bag = getThingFromPos(valor.gem_pos[rand]) 
setItemName(getContainerItem(bag.uid, 0).uid,"gem of the event") 
setGlobalStorageValue(2200,1) 
return TRUE 
end 
return TRUE 
end 
  	Editar/Apagar Mensagem