Tudo que PriisioneR postou
-
(Resolvido)Ajuda erro no items.xml
o erro na ta 2 linha não na ultima.. poste o items.xml
-
[Perdido] Dragon Ball Com Acc Manager
http://www.tibiaking.com/forum/topic/20585-854-wodbo-warrior/
-
[Perdido] Consertar Acc Manager
Qual erro amigo ? poderia me mostrar ou colocar mais informações no tópico ?
-
Facebook....
De boas andando no faceburquis quando me deparo com a seguinte frase "hey meninas voces k namoram homem por caráter atitude nao pelo ok ele eh voces sao nota 10" alguém consegue decifrar ?
- Erro Background
-
Como Adiciono Habilidades nos Pokémons?
Sistema de FLY http://www.tibiaking.com/forum/topic/27258-pedido-sistema-de-fly/
-
Item não chega
1º EM GLOBALEVENTS E FAÇA A COPIA DE UM ARQUIVO E RENOMEIE PRA SHOP.LUA E ADICIONE ISSO DENTRO -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 19 -- time (in seconds) between connections to SQL database by shop script SQL_interval = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do id = tonumber(result_plr:getDataInt("id")) action = tostring(result_plr:getDataString("action")) delete = tonumber(result_plr:getDataInt("delete_it")) cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) == TRUE then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if not(result_plr:next()) then break end end result_plr:free() end return TRUE end 2º EM GLOBAEVENTS.XML ADICIONE A SEGUINTE LINHA <globalevent name="shop" interval="30" script="shop.lua"/>
-
Já haviam visto essa doença?
Wolf seu lugar esta reservado com sucesso yagsuashiuashiasd
-
Já haviam visto essa doença?
neurofibromatose
-
(Resolvido)HELP EFEITOS
data/creaturescripts/scripts Procure algo como lvlup.lua
-
Pelo amor de deus alguém me dê uma luz
Amigo primeiro recomendo tirar algumas palavras de seu tópico. tente testar com outros servidores de versões diferentes para ver se o servidor roda, caso contrario pode ser que seu servidor esteja com problema
-
100 REPS
Matheus usa uns AdminCp da horas.tiamu Parabéns
-
VPS Web lara ou Servercore?
Não recomendo Dedicado para Baiak. se for usar um dedicado recomendo ServerCore, agora para VPS weblara tem uns preços muito acessível. Recomendo também um global para seu Dedicado caso o compre
- [PEDIDO,IP FIXO] Como Alterar de ip dinamico para ip fixo no moldem, portas do roteador nao liberam
-
(Resolvido)Duvida simples demais
<attribute key="shootType" value="energyball"/> Só editar
-
Problema com Servidor e Database
Veja se seus dados do banco de dados estão corretos e se a versão do Gesior é da sua TFS. provavelmente sua senha esteja errado no config.lua
-
Clean Map com bug, dando Server in Maintance ajuda
Troque seu Clean Script por esse local cleanEvent = 0 function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Collected " .. doCleanMap() .. " items.") return true end local t = string.explode(param, ",") if(t[1] == 'tile') then local removeLoaded = false if(t[2]) then removeLoaded = getBooleanFromString(t[2]) end doCleanTile(getCreaturePosition(cid), removeLoaded) return true end if(not tonumber(param)) then doPlayerSendCancel(cid, "Command numeric param required.") return true end stopEvent(cleanEvent) prepareClean(tonumber(param), cid) return true end function prepareClean(minutes, cid) if(minutes == 0) then if(isPlayer(cid)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cleaned " .. doCleanMap() .. " items.") end doBroadcastMessage("Game map cleaned.") elseif(minutes > 0) then if(minutes == 1) then doBroadcastMessage("Game map cleaning in " .. minutes .. " minute, please pick up all your items.") else doBroadcastMessage("Game map cleaning in " .. minutes .. " minutes.") end cleanEvent = addEvent(prepareClean, 60000, minutes - 1, cid) end end
-
Portas 80, 8080, 443 não querem liberar
Porta 80 não é preciso liberar. pois é porta padrão da internet exemplo digite www.google.com:80 o :80 vai sumir. Para liberar 7171 7172 e 8090 só ir em achar opção avançada em seu modem, Virtual Servers e adicionar
- The Flash
-
[ERRO] Can't load file config.lua
Inverta as barras .....
- AJUDA COM ERRO DE STEP 5
-
allocation failed, server out of memory! Decrease size of your map or campile in a 64-bit mode. Global 10.10 by Alissonfgp
Acho que pode ajudar amigo http://www.tibiaking.com/forum/topic/36500-erro-distro-64-bit/
-
Não queria falar nada
só falo uma coisa, não falo nada.
-
[ERRO] Can't load file config.lua
C:/Documents and Settings/Desktop/WorldOT/config.lua Substitua por C:\Documents and Settings\Desktop\WorldOT\
-
AJUDA COM PREMIUM POINTS
Você esta adicionando direto do phpmyadmin ?