Good to know that it works fine for you, but we are looking for a solution here! Maybe someone else (someone who cares), will help...
yeah
Good to know that it works fine for you, but we are looking for a solution here! Maybe someone else (someone who cares), will help...
[20:51:55.875] [Error - CreatureScript Interface]
[20:51:55.875] domodlib('teamFunctions')
[20:51:55.875]
[20:51:55.875] function onLogout(cid)
[20:51:55.875] clearTeamEventStorages(cid)
[20:51:55.875] if thereIsAWinner() then
[20:51:55.875] endTeamEvent("KO")
[20:51:55.875] end
[20:51:55.875] return true
[20:51:55.875] end
[20:51:55.875]
[20:51:55.875] :onLogout
[20:51:55.875] Description:
[20:51:55.875] [string "domodlib('teamSetting')..."]:79: attempt to call field 'insert' (a nil value)
[20:51:55.875] stack traceback:
[20:51:55.875] [string "domodlib('teamSetting')..."]:79: in function 'getBlueMembers'
[20:51:55.875] [string "domodlib('teamSetting')..."]:283: in function 'blueWon'
[20:51:55.875] [string "domodlib('teamSetting')..."]:277: in function 'thereIsAWinner'
[20:51:55.875] [string "LuaInterface::loadBuffer"]:5: in function <[string "LuaInterface::loadBuffer"]:3>
[20:51:58.822] [Error - CreatureScript Interface]
[20:51:58.822] domodlib('teamFunctions')
[20:51:58.822]
[20:51:58.822] function onLogout(cid)
[20:51:58.822] clearTeamEventStorages(cid)
[20:51:58.822] if thereIsAWinner() then
[20:51:58.822] endTeamEvent("KO")
[20:51:58.822] end
[20:51:58.822] return true
[20:51:58.822] end
[20:51:58.823]
[20:51:58.823] :onLogout
[20:51:58.823] Description:
[20:51:58.823] [string "domodlib('teamSetting')..."]:79: attempt to call field 'insert' (a nil value)
[20:51:58.823] stack traceback:
[20:51:58.823] [string "domodlib('teamSetting')..."]:79: in function 'getBlueMembers'
[20:51:58.823] [string "domodlib('teamSetting')..."]:283: in function 'blueWon'
[20:51:58.823] [string "domodlib('teamSetting')..."]:277: in function 'thereIsAWinner'
[20:51:58.823] [string "LuaInterface::loadBuffer"]:5: in function <[string "LuaInterface::loadBuffer"]:3>
<talkaction log="yes" words="/mundinho" access="5" event="script" value="allonline.lua"/>
function onSay(cid, words, param, channel)
local t = string.explode(param, ",")
if t[1] ~= nil and t[2] ~= nil then
local list = {}
for i, tid in ipairs(getPlayersOnline()) do
list[i] = tid
end
for i = 1, #list do
-- coment or discoment
-- doPlayerAddItem(list[i],t[1],t[2]) -- additem for all players online /mundinho itemId,count
-- doPlayerRemoveItem(list[i],t[1],t[2]) -- remove item for all players online /mundinho itemId,count
setPlayerStorageValue(list[i],t[1], t[2]) -- set storage for all players online /mundinho storage,value
-- desbug TeamBattle
-- after use comment all this lines
setPlayerStorageValue(list[i],9901, -1)
setPlayerStorageValue(list[i],9907, -1)
doSetStorage(9902, -1)
doSetStorage(9903, -1)
doSetStorage(9904, -1)
doSetStorage(9905, -1)
doSetStorage(9906, -1)
doSetStorage(9908, -1)
doSetStorage(9909, -1)
doSetStorage(9910, -1)
doSetStorage(9911, -1)
doSetStorage(9912, -1)
-- after use comment all this lines
-- desbug TeamBattle
end
doPlayerPopupFYI(cid, "Thanks for use!")
else
doPlayerPopupFYI(cid, "Sample: /mundinho 9999,1")
end
return true
end
-- desbug TeamBattle
-- after use comment all this lines
setPlayerStorageValue(list[i],9901, -1)
setPlayerStorageValue(list[i],9907, -1)
doSetStorage(9902, -1)
doSetStorage(9903, -1)
doSetStorage(9904, -1)
doSetStorage(9905, -1)
doSetStorage(9906, -1)
doSetStorage(9908, -1)
doSetStorage(9909, -1)
doSetStorage(9910, -1)
doSetStorage(9911, -1)
doSetStorage(9912, -1)
-- after use comment all this lines
-- desbug TeamBattle
-- desbug TeamBattle
-- after use comment all this lines
--setPlayerStorageValue(list[i],9901, -1)
--setPlayerStorageValue(list[i],9907, -1)
--doSetStorage(9902, -1)
--doSetStorage(9903, -1)
--doSetStorage(9904, -1)
--doSetStorage(9905, -1)
--doSetStorage(9906, -1)
--doSetStorage(9908, -1)
--doSetStorage(9909, -1)
--doSetStorage(9910, -1)
--doSetStorage(9911, -1)
--doSetStorage(9912, -1)
-- after use comment all this lines
-- desbug TeamBattle
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaCreateConditionObject) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaSetConditionParam) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaAddOutfitCondition) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaCreateConditionObject) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaSetConditionParam) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaAddOutfitCondition) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaCreateConditionObject) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaSetConditionParam) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaAddOutfitCondition) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaCreateConditionObject) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:01] Description:
[03/01/2013 16:54:01] (luaSetConditionParam) This function can only be used while loading the script.
[03/01/2013 16:54:01] [Error - GlobalEvent Interface]
[03/01/2013 16:54:01] buffer:onTimer
[03/01/2013 16:54:02] Description:
[03/01/2013 16:54:02] (luaAddOutfitCondition) This function can only be used while loading the script.
[03/01/2013 16:54:02] [Error - GlobalEvent Interface]
[03/01/2013 16:54:02] buffer:onTimer
[03/01/2013 16:54:02] Description:
[03/01/2013 16:54:02] (luaCreateConditionObject) This function can only be used while loading the script.
[03/01/2013 16:54:02] [Error - GlobalEvents::timer] Couldn't execute event: teamBattleStart