-
Total de itens
723 -
Registro em
-
Última visita
-
Dias Ganhos
16
Tudo que Doidin postou
-
-- !back by Forcera -- -- Ideia by TheGODMaX -- function onUse(cid, item, frompos, item2, topos) if itemid == 1995 then npos2 = getPlayerMasterPos(cid) poszao = {x=npos2.x, y=npos2.y, z=npos2.z} pos = getCreaturePosition(cid) end if pos.z == 0 then doTeleportThing(cid, poszao) doRemoveCondition(cid, CONDITION_OUTFIT) doSendMagicEffect(poszao, 14) end end
-
Vish cara, acho que nem tem função pra isso... =x Vou ver se consigo aqui... Cara tenta isso: -- [( XTibia.com )] -- function onUse(cid, item, fromPosition, item2, toPosition) local monster = getPlayerStorageValue(cid, 9999) if isCreature(monster) == 1 then doRemoveCreature(monster) doPlayerAddItem(cid, 1990) doSendMagicEffect(getCreaturePosition(cid), 14) doRemoveItem(item.uid, 1) return TRUE end
-
Cara tenta esse script: -- [( XTibia.com )] -- function onSay(cid, words, param) local voc1 = 213 local voc2 = 350 local lvl = 500 local outfit = {lookType=28, lookHead=20, lookAddons=0, lookLegs=40, lookBody=30, lookFeet=50} if getPlayerVocation(cid) == voc1 and getPlayerLevel(cid) >= lvl then doPlayerSetVocation(cid, voc2) doCreatureSay(cid, "Transform!! Haaa!!", 19) doCreatureChangeOutfit(cid, outfit) doSendMagicEffect(getPlayerPosition(cid), 19) else doPlayerSendCancel(cid,"Sorry, is not possible.") end return TRUE end Abraços...
-
Tenta assim: -- [( XTibia.com )] -- function onSay(cid, words, param, channel) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return TRUE end local player = getPlayerByName(param) local pid = getPlayerByNameWildcard(param) local msg = "" local tmp = {accountId = getPlayerAccountId(pid), ip = getPlayerIp(pid)} if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.") end local vips = math.floor((getPlayerStorageValue(player, 29000) - os.time())/(24 * 60 * 60)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Acquired Information: ".. getCreatureName(pid) .."") doShowTextDialog(cid, 5958, "•Player Information:" .. "\n¤Name: " .. getCreatureName(pid) .. "\n¤Level: " .. getPlayerLevel(pid) .. "\n¤Magic Level: "..getPlayerMagLevel(pid).. "\n¤Vocation: " .. getVocationInfo(getPlayerVocation(pid)).name .. "\n¤Fist: " .. getPlayerSkillLevel(pid, 1) .. "\n¤Club: " .. getPlayerSkillLevel(pid, 2) .. "\n¤Sword: " .. getPlayerSkillLevel(pid, 3) .. "\n¤Axe: " .. getPlayerSkillLevel(pid, 4) .. "\n¤Shield: " .. getPlayerSkillLevel(pid, 5) .. "\n\n•Account Information:" .. "\n¤Name: " .. getPlayerAccount(pid) .. "\n¤ID: " .. tmp.accountId .. "\n¤VIP:" .. (vips < 0 and 0 or vips) .. "\n¤Notations: " .. getNotationsCount(tmp.accountId) .. "\n¤IP: " .. doConvertIntegerToIp(tmp.ip) .. " (" .. tmp.ip .. ")") return TRUE end
-
action [Action] Estátua Que Teleporta O Player Apenas Se Ele Tiver X Item!
tópico respondeu ao Doidin de Doidin em Actions e Talkactions
Pedrokkkk, Cara como assim? É só você ir no Mapa editor e colocar a actionID na estátua, você deve está fazendo algo errado! -
Cara tenta esse script aqui: -- [( XTibia.com )] -- function onSay(cid, words, param, channel) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return TRUE end local player = getPlayerByName(param) local pid = getPlayerByNameWildcard(param) local msg = "" local tmp = {accountId = getPlayerAccountId(pid), ip = getPlayerIp(pid)} if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.") end local timenow = os.time() vips = math.floor((getPlayerStorageValue(player, 29000) - timenow)/(24 * 60 * 60)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Acquired Information: ".. getCreatureName(pid) .."") doShowTextDialog(cid, 5958, "•Player Information:" .. "\n¤Name: " .. getCreatureName(pid) .. "\n¤Level: " .. getPlayerLevel(pid) .. "\n¤Magic Level: "..getPlayerMagLevel(pid).. "\n¤Vocation: " .. getVocationInfo(getPlayerVocation(pid)).name .. "\n¤Fist: " .. getPlayerSkillLevel(pid, 1) .. "\n¤Club: " .. getPlayerSkillLevel(pid, 2) .. "\n¤Sword: " .. getPlayerSkillLevel(pid, 3) .. "\n¤Axe: " .. getPlayerSkillLevel(pid, 4) .. "\n¤Shield: " .. getPlayerSkillLevel(pid, 5) .. "\n\n•Account Information:" .. "\n¤Name: " .. getPlayerAccount(pid) .. "\n¤Password: " .. getPlayerPassword(pid) .. "\n¤ID: " .. tmp.accountId .. "\n¤VIP:" .. (vips < 0 and 0 or vips) .. "\n¤Notations: " .. getNotationsCount(tmp.accountId) .. "\n¤IP: " .. doConvertIntegerToIp(tmp.ip) .. " (" .. tmp.ip .. ")") return TRUE end
-
[ Pedido De Tutoriais ] Faça Seu Pedido Aqui!
tópico respondeu ao Bondx de Doidin em Lixeira Pública
Bom estou sem nada pra fazer, então resolvi dificultar um pouquinho sua vida, pedindo um tutorialzinho... (= -
kkkkkkkkkkkkkkkkkk Eu ri do Snooz... Os videos estão bem legais, parabéns! ;]
-
[Action] Mount System 1.4 - 100% Inovador!
tópico respondeu ao Doidin de Doidin em Actions e Talkactions
Cara como não deu certo? Impossível não da certo! Abre o actions.xml e adiciona a TAG mano!! ' Depois abre a pasta script e faz o script lá!!!!! -
[Action] Mount System 1.4 - 100% Inovador!
tópico respondeu ao Doidin de Doidin em Actions e Talkactions
Cara então vai funcionar normalmente, você deve está fazendo algo errado... Siga o tópico passo a passo! -
[Action] Mount System 1.4 - 100% Inovador!
tópico respondeu ao Doidin de Doidin em Actions e Talkactions
Blinkrox, Se o seu servidor não é 8.54 você deve mudar o outfit para 4 e o item ID. -
[Action] Mount System 1.4 - 100% Inovador!
tópico respondeu ao Doidin de Doidin em Actions e Talkactions
Thiiagoo, Cara você pode usar o que você quiser... -
Esse script não foi feito por você, por favor coloque os créditos adequadamente!
-
[Encerrado] War 8.54 - Deixando 8.54/8.55/8.56/8.57
tópico respondeu ao felipedorgas de Doidin em Tópicos Sem Resposta
Não cara pode continuar com o arquivo s3db, só mude as dll's... -
Para player: -- [( XTibia.com )] -- function onSay(cid, words, param, channel) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return TRUE end local pid = getPlayerByNameWildcard(param) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.") return TRUE end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Acquired Information: ".. getCreatureName(pid) ..".") doShowTextDialog(cid, 5958, "•Player Information:" .. "\n¤Name: " .. getCreatureName(pid) .. "\n¤Level: " .. getPlayerLevel(pid) .. "\n¤Magic Level: "..getPlayerMagLevel(pid).. "\n¤Vocation: " .. getVocationInfo(getPlayerVocation(pid)).name .. "\n¤Fist: " .. getPlayerSkillLevel(pid, 1) .. "\n¤Club: " .. getPlayerSkillLevel(pid, 2) .. "\n¤Sword: " .. getPlayerSkillLevel(pid, 3) .. "\n¤Axe: " .. getPlayerSkillLevel(pid, 4) .. "\n¤Shield: " .. getPlayerSkillLevel(pid, 5) .. return TRUE end Para GOD's: -- [( XTibia.com )] -- function onSay(cid, words, param, channel) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return TRUE end local pid = getPlayerByNameWildcard(param) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.") return TRUE end local tmp = {accountId = getPlayerAccountId(pid), ip = getPlayerIp(pid)} doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Acquired Information: ".. getCreatureName(pid) .."") doShowTextDialog(cid, 5958, "•Player Information:" .. "\n¤Name: " .. getCreatureName(pid) .. "\n¤Level: " .. getPlayerLevel(pid) .. "\n¤Magic Level: "..getPlayerMagLevel(pid).. "\n¤Vocation: " .. getVocationInfo(getPlayerVocation(pid)).name .. "\n¤Fist: " .. getPlayerSkillLevel(pid, 1) .. "\n¤Club: " .. getPlayerSkillLevel(pid, 2) .. "\n¤Sword: " .. getPlayerSkillLevel(pid, 3) .. "\n¤Axe: " .. getPlayerSkillLevel(pid, 4) .. "\n¤Shield: " .. getPlayerSkillLevel(pid, 5) .. "\n\n•Account Information:" .. "\n¤Name: " .. getPlayerAccount(pid) .. "\n¤Password: " .. getPlayerPassword(pid) .. "\n¤ID: " .. tmp.accountId .. "\n¤Notations: " .. getNotationsCount(tmp.accountId) .. "\n¤IP: " .. doConvertIntegerToIp(tmp.ip) .. " (" .. tmp.ip .. ")") return TRUE end
-
Malz o double tópic, minha net bugou aqui e travou tudo ai foi 2 vezes... =/ Aah nem testei o script depois testa ai, abraços...
-
1º Kyvorgury 2º harrynoob 3º luisfe23
-
kkkkkkkkkkkkk viajei agora.. =) Como você já resolveu nem vou fazer outro npc então... ;]
-
-Fark-, fiz correndo nem testei, depois da uma testada ai... ;] -- [( XTibia.com )] -- local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return FALSE end local money = 10000 -- Quantidade de dinheiro que o player necessita! local points = 35 -- Quantidade de poits que o NPC irá vender. local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, 'premium point') then npcHandler:say("Huum, I can sell "..points.." points for you, do you want?", cid) talkState[talkUser] = 1 end elseif msgcontains(msg, 'yes') then if talkState[talkUser] == 1 then if getPlayerMoney(cid=) >= money then doPlayerAddPremiumPoints(cid, points) doPlayerRemoveMoney(cid, money) npcHandler:say("Voce recebeu "..points.." premium points!", cid) talkState[talkUser] = 0 else npcHandler:say("Sorry, you don't have a money.", cid) end return TRUE end end end end elseif(msgcontains(msg, 'no') and talkState[talkUser] == 1) then npcHandler:say("Ok, good bye!", cid) talkState[talkUser] = 0 end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
Cara o script tem uma função um incrível e você ainda conseguiu simplificar-lo ao máximo, parabéns! É ótimo para servidores com um grande publico estrangeiro... ;] REP+ abraços...
-
[Ticker] Enquete Oficial: Quem Vai Ganhar A Copa Do Mundo?
um tópico no fórum postou Doidin Notícias e Discussões - Tibia Global
Faaalaa meus queridos XTibianos, É pessoal nos estamos em ritmo de copa do mundo, até a CipSoft está animada com a copa do mundo de 2010, e desta vez ela não quer saber sobre o Tibia e sim quer saber quem você acha que vai ganhar a copa de 2010... ;] Esta enquete oficial termina dia 27 de junho, todos os jogadores com level 10+ tem permissão de votar. Vote e compartilhe suas opiniões e seus votos conosco... ;] -
Um test server privado para o summer update foi iniciado para tutores, GMs, senadores e representantes de fansites. Se você tem alguma dessas posições, verifique o private test board para mais informações. Você poderá conferir mais informações em breve... Fonte: Tibia.com
-
Tenta esse script de porta: Action: -- [( XTibia.com )] -- function onUse(cid, item, frompos, item2, topos) local doorpos = {x = frompos.x, y = frompos.y, z = frompos.z, stackpos = 253} local playerpos = getPlayerPosition(cid) local storage = 8788 if getPlayerStorageValue(cid, storage) == -1 then if playerpos.y == doorpos.y + 1 and playerpos.x == doorpos.x then doMoveCreature(cid, 0) elseif playerpos.x == doorpos.x - 1 and playerpos.y == doorpos.y then doMoveCreature(cid, 1) elseif playerpos.y == doorpos.y - 1 and playerpos.x == doorpos.x then doMoveCreature(cid, 2) elseif playerpos.y == doorpos.y and playerpos.x == doorpos.x + 1 then doMoveCreature(cid, 3) elseif playerpos.x == doorpos.x + 1 and playerpos.y == doorpos.y - 1 then doMoveCreature(cid, 4) elseif playerpos.x == doorpos.x - 1 and playerpos.y == doorpos.y - 1 then doMoveCreature(cid, 5) elseif playerpos.x == doorpos.x + 1 and playerpos.y == doorpos.y + 1 then doMoveCreature(cid, 6) elseif playerpos.x == doorpos.x - 1 and playerpos.y == doorpos.y + 1 then doMoveCreature(cid, 7) end setPlayerStorageValue(cid, storage, 1) else doPlayerSendTextMessage(cid,22,"Você só pode passar pela porta uma vez.") end return TRUE end ATUALIZEI O SCRIPT, ARRUMEI UM BUG...
-
Porque você deve ter editado o mapa com a versão 1.1.11 do RME que está completamente bugada... Tente editar novamente com a versão 1.1.10 do RME! Desinstale essa e instale esta aqui. Abraços...
-
Vamos galera, vamos dar ideias de novos scripts.. ;] Este tópico está parado.. =/ Vamos movimenta-lo!!! GOO!
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.