
Tudo que L3K0T postou
- Remover Level System
-
Erros de Monstro No Linux
não tem como dar o erro add as linhas
-
[PEDIDO] Piso e Arvore que teletransporta se tiver lvl
function onStepIn(cid,item,pos) if isMonster(cid) then return true end local chao = {x = 1079, y = 695, z = 15} if getPlayerLevel(cid) >= 100 then if isPlayer(cid) == TRUE then if (item.actionid == 6037) then doTeleportThing(cid, chao) doPlayerSendCancel(cid, "Voce foi teleportado.") end end else doPlayerSendCancel(cid, "Voce não tem level 100.") end end <movevent type="StepIn" actionid="6037" event="script" value="0.lua"/>
-
Erros de Monstro No Linux
tipo nessa fada por exemplo, la no monster.xml vc pode add mais uma linha da fada ficando <monster name="fada" file="fada"/> <monster name="Fada" file="fada"/> poide fazer duas linhas assim não dará erro é coisa simples... ali ta pedindo um respawn de Fada com f maiusuclo tendeu ? rsrs eh facil
-
[PEDIDO] Piso e Arvore que teletransporta se tiver lvl
function onStepIn(cid, item, pos) if isMonster(cid) then return true end local chao = {x = 1079, y = 695, z = 15} if getPlayerLevel(cid) >= 100 then if isPlayer(cid) == TRUE then if (item.actionid == 6037) then doTeleportThing(cid, chao) doPlayerSendCancel(cid, "Você foi teleportado.") end end else doPlayerSendCancel(cid, "Vocoê não tem level 100+.") end end
-
[ERRO] Bag não abre
são opções, tem vez que não vá automaticamente, verifique tbm a opção das sprites
-
[PEDIDO] Piso e Arvore que teletransporta se tiver lvl
você copiou algo a mais eu testei os 2!
-
[ERRO] Bag não abre
se ela não abre eh por que está sendo usada por algum scripts em actions, tbm pode ser a configuração do item pelo item editor se ela não tiver na opção de containers não vai funcionar!
-
[PEDIDO] Piso e Arvore que teletransporta se tiver lvl
sim to testanto o outro amigo como eu disse! Action! function onUse(cid, item, frompos, item2, topos) local itemt = {x = 1079, y = 695, z = 15} -- Posição pra onde o player vai. if getPlayerLevel(cid) >= 100 then --100 o level if isPlayer(cid) == TRUE then doTeleportThing(cid, itemt) doPlayerSendCancel(cid, "Você foi teleportado.") end else doPlayerSendCancel(cid, "Vocoê não tem level 100+.") end end
-
[PEDIDO] Piso e Arvore que teletransporta se tiver lvl
testei movements e ta funcionando vou testar o outro function onStepIn(cid, item, pos) if isMonster(cid) then return true end local chao = {x = 1079, y = 695, z = 15} -- Posição pra onde o player vai. if getPlayerLevel(cid) >= 100 then -- 100 o level if isPlayer(cid) == TRUE then if (item.actionid == 6037) then --6037 action que vai no chão lá pelo mapa editor doTeleportThing(cid, chao) doPlayerSendCancel(cid, "Você foi teleportado.") end end else doPlayerSendCancel(cid, "Vocoê não tem level 100+.") end end
-
[PEDIDO] Piso e Arvore que teletransporta se tiver lvl
para piso seria um movements segue: data/movements function onStepIn(cid, item, pos) if isMonster(cid) then return true end local chao = {x = 1079, y = 695, z = 15} -- Posição pra onde o player vai. if getPlayerLevel(cid) >= 100 then -- 100 o level if isPlayer(cid) == TRUE then if (item.actionid == 6037) then --6037 action que vai no chão lá pelo mapa editor doTeleportThing(cid, chao) doPlayerSendCancel(cid, "Você foi teleportado.") else doPlayerSendCancel(cid, "Vocoê não tem level 100+.") end end end <movevent type="StepIn" actionid="6037" event="script" value="seu arquivo.lua"/> vou fazer a action data/action function onUse(cid, item, frompos, item2, topos) local chao = {x = 1079, y = 695, z = 15} -- Posição pra onde o player vai. if getPlayerLevel(cid) >= 100 then -- 100 o level if isPlayer(cid) == TRUE then doTeleportThing(cid, chao) doPlayerSendCancel(cid, "Você foi teleportado.") else doPlayerSendCancel(cid, "Você não tem level 100+.") end end <action itemid="IDO DO ITEM" event="script" value="seu arquivo.lua"/> não testei nenhum fiz aqui rapidão
-
(Resolvido)Erros no distro
ALTER TABLE `players` ADD `exphist1` BIGINT( 255 ) NOT NULL DEFAULT '0'; CREATE TABLE IF NOT EXISTS `guild_wars` ( `id` INT, `guild_id` INT NOT NULL, `enemy_id` INT NOT NULL, `begin` BIGINT NOT NULL DEFAULT 0, `end` BIGINT NOT NULL DEFAULT 0, `frags` INT NOT NULL DEFAULT 0, `payment` BIGINT NOT NULL DEFAULT 0, `guild_kills` INT NOT NULL DEFAULT 0, `enemy_kills` INT NOT NULL DEFAULT 0, `status` TINYINT(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`) )
-
Ajuda
tenta local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } 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 addEvent(valid(doCreatureSay), MESSAGE_STATUS_CONSOLE_ORANGE, cid, "Hello, it appears that your character has been locked for name violating rules, what new name would you like to have?", TALKTYPE_PRIVATE_NP, true, cid) elseif(accountManager == MANAGER_ACCOUNT) then addEvent(valid(doCreatureSay), MESSAGE_STATUS_CONSOLE_ORANGE, cid, "Hello, type {account} to manage your account. If you would like to start over, type {cancel} anywhere.", TALKTYPE_PRIVATE_NP, true, cid) else addEvent(valid(doCreatureSay), MESSAGE_STATUS_CONSOLE_ORANGE, cid, "Hello, type {account} to create an account or {recover} to recover an account.", TALKTYPE_PRIVATE_NP, true, cid) end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "Reflect") if(getPlayerOperatingSystem(cid) >= CLIENTOS_OTCLIENT_LINUX) then registerCreatureEvent(cid, "ExtendedOpcode") end registerCreatureEvent(cid, "ReportBug") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "ultimo") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "aol") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "FirstItems") return true end
- ERROR: Unable To Load Config.lua
-
Retirar as permissao para fazer certas quest ?
sobre permissões de Quest, certamente tem uma função neles chamada if get blablabla isso verifica se o player tem certa storage, se está em certa posições etc... já deu pra ter uma i´deia
-
Substituir sprite de item fixo
coloque uma sprite nova no cliente, você não vai alterar o ID do Item e sim o ID da sprite assim podendo mudar seu designer usando apenas um Item Editor e Um Object Builder. Tem tutorias disso só da uma pesquisada
-
Tibia Linux
site do tibia mesmo só mudar o caminha da pasta http://static.tibia.com/download/tibia860.tgz
-
(Resolvido)Erros no distro
Tá falando que não achou a coluna >>> players /onlinetimetoday ALTER TABLE `players` ADD `exphist_lastexp` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist2` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetimeall` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist3` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist4` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist5` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist6` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `exphist7` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetimetoday` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime1` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime2` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime3` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime4` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime5` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime6` BIGINT( 255 ) NOT NULL DEFAULT '0'; ALTER TABLE `players` ADD `onlinetime7` BIGINT( 255 ) NOT NULL DEFAULT '0'; add linha por linha
-
Erros de Monstro No Linux
manda a print da tela do linux SSH
-
[C++] doCreatureSetNick Função
Sorte sua que estava num fórum.. não sei se serve, salvei até no favorito, mais ta ai rsrs achei hoje sem querer >> VER
-
segmentation fault ... queria uma jauda
achei o erro... eh quando o player compra house algum bug de house que não sei que da erre erro ? \/
-
segmentation fault ... queria uma jauda
-
segmentation fault ... queria uma jauda
sofri esse tal de segmentation fault e queria saber como faço pra resolver ? não é memoria pq roda meu server normal... isso acontece por peso da data base e queria saber como resolver ele pra não ficar pedindo isso... poderiam me ajudar ?
- Função doPlayerOpenChannel para tfs 0.4
- Novas Sprites Tibia Água etc...