Tudo que Mr. Void postou
-
Queda de Server
Olá galera! Eu estou com um problema no meu otserver, que ele subitamente cai, porém eu possuo o core, creio que, sabendo ler ele, fica mais fácil de descobrir o erro (já tentei solucionar em tudo que é tipo de lugar, vasculhei o servidor inteiro e não encontrei o erro) segue o link do core http://hastebin.com/egoyeyoqus.xml utilizo otx 0.4 e ubuntu 15.10 obrigado!
-
Rainbow Outfit
nada! nem encostei lá
-
Rainbow Outfit
-
Rainbow Outfit
Primeiramente obrigado por tentar ajudar... Em segundo lugar, testei e não funcionou!
-
Rainbow Outfit
-
Rainbow Outfit
up
-
Rainbow Outfit
Olá!, eu uso esse script aqui para a talkaction de rainbow outfit, que para quem nao sabe, é um script onde fica trocando as cores do outfit enlouquecidamente: local colors = {94, 81, 79, 88, 18, 11, 92, 128} local storage = 65535 local time = 10 --in miliseconds function onSay(cid, words, param, channel) if(param == "on") then if getPlayerStorageValue(cid, storage) < 1 then if doPlayerRemoveMoney(cid, 0) == TRUE then local event = addEvent(changeOutfit, time, cid) setPlayerStorageValue(cid, storage, 1) return TRUE else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You do not have enough money.") return TRUE end else return TRUE end elseif(param == "off") then if getPlayerStorageValue(cid, storage) > 0 then setPlayerStorageValue(cid, storage, 0) return TRUE else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You do not have rainbow outfit on.") return TRUE end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Use !rainbow on-off.") return TRUE end return TRUE end function changeOutfit(cid) local randomHead = colors[math.random(#colors)] local randomLegs = colors[math.random(#colors)] local randomBody = colors[math.random(#colors)] local randomFeet = colors[math.random(#colors)] local tmp = {} if getPlayerStorageValue(cid, storage) > 0 then local outfit = getCreatureOutfit(cid) tmp = outfit tmp.lookType = outfit.lookType tmp.lookHead = randomHead tmp.lookLegs = randomLegs tmp.lookBody = randomBody tmp.lookFeet = randomFeet tmp.lookAddons = outfit.lookAddons doCreatureChangeOutfit(cid, tmp) local event = addEvent(repeatChangeOutfit, time, cid) return TRUE else stopEvent(event) return TRUE end end function repeatChangeOutfit(cid) local randomHead = colors[math.random(#colors)] local randomLegs = colors[math.random(#colors)] local randomBody = colors[math.random(#colors)] local randomFeet = colors[math.random(#colors)] local tmp = {} if getPlayerStorageValue(cid, storage) > 0 then local outfit = getCreatureOutfit(cid) tmp = outfit tmp.lookType = outfit.lookType tmp.lookHead = randomHead tmp.lookLegs = randomLegs tmp.lookBody = randomBody tmp.lookFeet = randomFeet tmp.lookAddons = outfit.lookAddons doCreatureChangeOutfit(cid, tmp) local event = addEvent(changeOutfit, time, cid) return TRUE else stopEvent(event) return TRUE end end Mas ocorre um bug ao deslogar: Além disso, ocorre outro erro também: se qualquer bicho faz o player trocar de outfit (como serpent spawn faz virar worm), buga o char da pessoa que ao dar change outfit da debug. Teria de alguma maneira como fazer resetar essa parada ao deslogar voltar pro outfit normal? ou qualquer outfit já existente. só pra nao dar esse bug?
- Sistema de Upgrade Bronson Server (refinar)
-
Married System [8.70]
Olá! Gostaria de saber se existe alguma forma de tirar esse negocio de "Husband of..."
-
Changename GESIOR 2012
Boa noite galera! Eu estou com um problema no meu Gesior 2012. Eu já tentei usar diversos sistemas de changename, mas nenhum funciona. Até consigo entrar numa página onde ela mostra o nick do char e pede pra escrever o novo nick, mas ao clicar no botão para trocar de nick, não acontece nada. Alguém sabe o que pode ser?
-
Porta de Trainer 8.6
Funcionou perfeitamente! Muito obrigado
-
Porta de Trainer 8.6
Uma vez eu vi um sistema de trainer, que se tivesse um player dentro da sala de trainer e um outro player quisesse entrar nessa mesma sala, ao clicar na porta, ele recebe uma mensagem dizendo que a sala ja esta ocupada e ele não consegue entrar na sala. Alguém teria esse script disponível? Abraços!
-
Problema task system
Eu tenho um sistema de task, e utilizo OTX. Estou com esse problema aqui: aqui seria a função com erro na linha 13 function taskKills(cid, storage) kills = getPlayerStorageValue(cid, storage) if kills < 0 then kills = 0 end return kills end e esse o creaturescripts -- Script por amoeba13 -- function onKill(cid, target, lastHit) if not isMonster(target) or not isPlayer(cid) then return true end for _, tasks in pairs(amoebaTask) do if isInArray(tasks.creatures, getCreatureName(target)) then if taskKills(cid, tasks.storagecount) < tasks.count then doPlayerSetStorageValue(cid, tasks.storagecount, taskKills(cid, tasks.storagecount)+1) break end else end end return true end OBS: eu já tentei usar o mas fica dando uns bugs de resetar task sozinho e aparecer uns caracteres doidos na task. (Exemplo: Dragon Lord [#$@#]) dentro dos colchetes era pra ter somente números.
-
"Problema" em look
local config = { loginMessage = getConfigValue('loginMessage') } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "TiraBattle") registerCreatureEvent(cid, "AbsoluteReward") registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "TopFrags") registerCreatureEvent(cid, "TopFrags") registerCreatureEvent(cid, "Monster Counter") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "FimVip") registerCreatureEvent(cid, "hmup") registerCreatureEvent(cid, "VipReceive") registerCreatureEvent(cid, "VocReward") registerCreatureEvent(cid, "LvlReward") registerCreatureEvent(cid, "KillingInTheNameOf") registerCreatureEvent(cid, "ArenaKill") -- if he did not make full arena 1 he must start from zero if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 2 he must start from zero if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 3 he must start from zero if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) -- did not arena level end setPlayerStorageValue(cid, 42350, 0) -- time to kick 0 setPlayerStorageValue(cid, 42352, 0) -- is not in arena return true end
-
[Ajuda] Problema com VPS
99% de certeza que tem alguma relacao com as portas. Ja verificou ou configurou o acesso das portas 7171 e 7172? Caso voce nao saiba, essas portas necessitam estar abertas para os players obterem o acesso ao seu servidor. Da uma conferida nisso aqui. http://www.tibiaking.com/forum/topic/8901-como-desbloquear-portas-no-firewall-do-windows-7/
-
"Problema" em look
Nao chega a ser um problema, mas incomoda os players, o look sai assim: 05:02 You see a strange carving. Position: [X: 32369] [Y: 32240] [Z: 7]. Deve ser muito simples, porem ainda nao consegui resolver...
-
Lag em um servidor Debian
Na verdade o problema era no TFS. mudei para otx e resolvi. Mas mesmo assim, obrigado pela ajuda!
-
Lag em um servidor Debian
Ola! Eu possuo um dedicado muito bom, e hosteio um servidor Global, cuja tfs 0.4 rev 7777 e o servidor encontra-se com um lag estranho... Diferente de grande parte dos ots, o char do player nao anda liso... da umas travadas ao andar na seta, e isso nao eh normal. Entrei em contato com o dedicado e dizem que a memoria nao esta sendo utilizada nem pela metade, e que o ping esta otimo. E realmente o ping nao e. Gostaria de saber qual pode ser o problema? Pensei ate na hipotese de ter algo ingame que esteja travando. Agradeco toda e qualquer ajuda. Abraco a todos!
-
Duvida sobre blessings
Ola! Como todos os ots, o meu possui blessing system (!bless) porem eu recebi algumas reclamacoes de players, que morreram e droparam coisas. Inclusive ouvi falar tambem que existe uma chance da bless nao estar protegendo 100%, ou seja, existir chance de dropar algo mesmo estando de bless. Alguem sabe onde e como eu posso solucionar isso? Obrigado desde ja
- "Erro" ao vender loot
- "Erro" ao vender loot
- "Erro" ao vender loot
-
Hide e Unhide nas frags
-
(Resolvido)Spell exori gran ico pra 8.6
Serviu, parceiro! Valeu! Mas caso vc vá passar essa pra outra pessoa, o ideal é assim: pra não sair a flecha do exori con... local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, true) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WEAPONTYPE) function onGetFormulaValues(cid, level, skill) return -(((skill + 25) / 3) * 2 + (level / 5)) * 2, -((skill + 25) + (level / 3 * 2)) * 3, 0 end setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues") function onCastSpell(cid, var) return doCombat(cid, combat, var) end
-
Passar servidor pra linux
Olá, eu tenho um servidor windows e ele vive dando APP CRASH, e já pesquisei sobre isso, e descobri que é por causa do windows... Então tentei diversos tutoriais para passar o servidor pra Linux, porém não obtive sucesso. Caso alguém saiba algum site que faça isso, ou então alguém que possa me ajudar com isso, eu dou uma "ajudinha". Abraço!