Tudo que Sammy postou
-
[Resolvido] [Problema] localhost/phpmyadmin/
De nada Chaamps!
- [AJUDA] Player cria ACC e aparece Link que ja veio no ot quando ele efetua a Acc
-
[Resolvido] [Problema] localhost/phpmyadmin/
use http://localhost:8090/phpmyadmin
-
[Resolvido] Dúvida PagSeguro.
Passar pro PayPal? É A MESMA COISA. A sua conta do PayPal tem que tar 100% com a conta do Banco e ainda tem mais, no paypal eles manda 0,25 centavoz pra sua conta pra você confirma pra eles que chego, sem essa confirmação a sua conta não é ativada, e dinheiro não retirado. Continue no pagseguro, e faça o metodo correto, peça o nome de sua mãe, tudo certinho, se você não pode, e continue com o pag.
-
[Resolvido] Dúvida PagSeguro.
100% Verdade... E tem mais, nome real, cpf, data de nascimento, do cadastro do pagseguro, tem que bater tudo com a conta que você vai transferir o dinheiro.
-
Alteração no Script de Mudar Vocação VIP
RESOLVIDO, REFIZ TOTALMENTE O SCRIPT.
-
Alteração no Script de Mudar Vocação VIP
Alguem que saber fazer isso nesse script, me de uma luz, REP ++ and Enjoy e Works!
-
[BUG] SHOP System Gesior Account Maker
-- ### 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 full_weight = getItemWeightById(itemtogive_id, 1) 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.escapeString("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.escapeString("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") doPlayerSave(cid) end end end if not(result_plr:next()) then break end end result_plr:free() end return TRUE end
-
Piso Level
level = 250 if getPlayerLevel(cid) < level then doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_RED) doPlayerSendCancel(cid,"Somente level " .. level .. " ou mais podem passar aqui.") end return TRUE end movements.xml <movevent type="StepIn" uniqueid="13550" event="script" value="NomeDoScript.lua"/>
-
output error : invalid character value ERRO NO DISTRO QUE DERRUBA OT
http://tibiaking.com/forum/topic/24602-modernacc-guild-shop-system-100-automatico/ Instalou esse sistema? Quando o lider utiliza o comando da algum erro no TFS(DISTRO?), Verificou se ha alguma falha nos script? Reveja tudo novamente. Se o problema persistir , entre em contato que resolveremos. Abraços.
-
Como adicionar pagseguro em meu gesior ?
Skype: igorp999
-
Como adicionar pagseguro em meu gesior ?
Sim entendido! Porém você não vai adicionar então o pagseguro ao seu site? Porquê se for adicionar, tem que ser assim, ou você pode ignorar a parte do token, mais como o pessoal que comprar vai receber seus pontos automatico? sem o "token" não há jeito amigo, pois esse é o sistema do "pagseguro" usando token para redirecionar o pagamento "aprovado" e setando a tabela premium_points. Mais como eu lhe disse você pode ignorar a parte do token, e colocando tipo um formulário de contato pro pessoal que compro, "confirmar seu pagamento", mais aí fica ruim sendo que você pode estar utilizando um sistema completo e automatico, lol.
-
Como adicionar pagseguro em meu gesior ?
Segue este topico: http://tibiaking.com/forum/topic/9002-adicionar-pagseguro-em-seu-sitegesior-acc/ BOA SORTE.
-
Duvida Sobre Domínio !
Sim você pode normalmente criar o ot e site em sua casa e pagar um dominio e colocar para redirecionar ao dns do seu IP. (:
-
Teleporte abre por comando
Segue o script: Na pasta talkactions/scripts/ crie um arquivo chamado eventoteleport.lua function onSay(cid, words, param) if words=="/eventoopen" then local create_pos = {x=1050 , y=1045 , z=6, stackpos=255} local tp_pos = {x=1028 , y=1040 , z=4} doCreateTeleport(1387, tp_pos , create_pos) doSendMagicEffect(create_pos , 10) doPlayerSendTextMessage(cid, 28 , "Portal para o Evento está aberto!") return TRUE end if words=="/eventoclose" then doRemoveItem(getTileItemById(create_pos,1387)) doPlayerSendTextMessage(cid, 28 , "Portal para o Evento fechou!") end return TRUE end Agora em talkactions.xml adicione <talkaction log="no" words="/eventoclose;/eventoopen" access="4" event="script" value="eventoteleport.lua"/> Abraços boa sorte.
-
Phpmyadmin
Tente: /usr/local/apache/conf/httpd.conf ou /usr/local/apache2/conf/httpd.conf E encontre oque lhe falei na postagem anterior.
-
Player soltando 3 spells seguidas sendo que tem exausted
Tente ir até os scripts.lua e abra e veja se ache uma linha como tipo: exhaustion.set(cid, XX, XX) XX = Numero. Ou algo relacionado com "exhaustion" no script.
-
Erro ao alterar o item no .xml
Poste seu item.xml
-
Frags não contam.
Altere seu talkactions/scripts/frags.lua para este: local config = { useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')), advancedFragList = getBooleanFromString(getConfigValue('advancedFragList')) } function onSay(cid, words, param, channel) if(not config.useFragHandler) then return false end local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = { name = result:getDataString("name"), level = result:getDataInt("level"), date = result:getDataInt("date") } if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } if(config.advancedFragList) then local result = "Frags gained today: " .. size.day .. "." if(size.day > 0) then for _, content in ipairs(contents.day) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this week: " .. (size.day + size.week) .. "." if(size.week > 0) then for _, content in ipairs(contents.week) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this month: " .. (size.day + size.week + size.month) .. "." if(size.month > 0) then for _, content in ipairs(contents.month) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then result = result .. "\nYour " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd) end doPlayerPopupFYI(cid, result) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You currently have " .. size.day .. " frags today, " .. (size.day + size.week) .. " this week and " .. (size.day + size.week + size.month) .. " this month.") if(size.day > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Last frag at " .. os.date("%d %B %Y %X", contents.day[1].date) .. " on level " .. contents.day[1].level .. " (" .. contents.day[1].name .. ").") end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd)) end end return true end
-
[BUG] SHOP System Gesior Account Maker
mude seu shop.lua em globalevents para este: -- ### 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 full_weight = getItemWeightById(itemtogive_id, 1) 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 .. ";") doPlayerSave(cid) end end end if not(result_plr:next()) then break end end result_plr:free() end return TRUE end
-
Alguem pode me ajudar?
Compilo pra você u.u, adicione skype: igorp999
-
Phpmyadmin
Não sei se você usa xampp, mais é só localizar o arquivo httpd.cnfig C:\xampp\apache\conf\httpd.config Abra-o. Aperte CTRL+F e pesquise pelo seu IP que você citou ter alterado (icewar.servegame.com) altere isso para localhost Acho que é uma linha que fica SEUIP:80, creio, se você não achar icewar, aperte ctrl+f procure por a porta 80 (2x provavelmente), e achara o IP que estiver alterado, é só remover e colocar "localhost:80". Abraços boa sorte.
-
output error : invalid character value ERRO NO DISTRO QUE DERRUBA OT
Eu acho que é problema com lib xml, ou um problema com a codificação UTF-8. Posso estar errado mais já tentou trocar de DISTRO? Já verificou todos os scripts que contém ativos no otserv? (creaturescripts/globalevents), sim verifique 1 por 1, se achar algo estranho remova-o, tente trocar todas as dll's da distro, coloque um sistema de anti-mc, vai testando e procurando e focando no servidor até achar o erro para ser solucionado. Se tiver alguma duvida com algum script, ou algo do tipo só postar que vamos solucionando seu problema.
-
Não Consigo Entrar No Meu Servidor De Poketibia
Utiliza qual sistema operacional? Windows XP ou 7?! Se for Windows XP va até o firewall do windows em (PAINEL DE CONTROLE). Na aba avançado clique em adicionar porta, adicione as 2 (7171,7172). Se for windows 7, apenas permite o programa (TFS) no firewall. Se você ja libero no roteador, agora o erro é no (S.O), ou teve algum erro na hora de liberar no roteador. Abraços, boa sorte!
-
Erro ao compilar em ubuntu 12.04 (tfs 0.3.6 naruto hobinhood)
Continue usando Ubuntu, em firewall ele é muito bom, configure o IPTables para dar retorno aos ataques e bloquear, isso no ubuntu é simples, já em outros eu não sei, recomendo Ubuntu. @Resolvendo seu erro. No terminal digite: apt-get install libboost-dev Instale a lib necessária e recompile novamente. Abraços e boa sorte!