

SkyLigh
Lorde-
Total de itens
2183 -
Registro em
-
Última visita
-
Dias Ganhos
23
Tudo que SkyLigh postou
-
monster Ultimatrix Baseado Servidor De Esperiência Alta (999999)
tópico respondeu ao TheSlayer de SkyLigh em NPCs, monsters e raids
Nao e nao pq os scripts sao iguais -
Duvida sanada reportado
-
monster Ultimatrix Baseado Servidor De Esperiência Alta (999999)
tópico respondeu ao TheSlayer de SkyLigh em NPCs, monsters e raids
Reportado por double post http://www.xtibia.com/forum/topic/190551-megatrix-baseado-em-servidores-de-xp-alta-999999/page__fromsearch__1 -
Este script e do vodkart espero que eu tenha ajudado-los function onSay(cid, words, param, channel) local tabble = { ["zealot2"] = {reqVoc= 14, needLevel=715} -- Tenque por a tag do nome ali dps a o id da voc e dps o lvl que precisa } local config = {pid = getPlayerGUID(cid),newlv = 8,life = 185,mana = 35} local param = string.lower(param) if not tabble[param] then doPlayerSendCancel(cid, "digite o nome correto.") return true elseif getTilePzInfo(getCreaturePosition(cid)) == FALSE then doPlayerSendCancel(cid, "precisa estar em pz.") return true elseif getPlayerLevel(cid) < tabble[param].needLevel then doPlayerSendCancel(cid, "You dont have the required level.") return true elseif tabble[param].reqVoc == nil and getPlayerStorageValue(cid, 789456) >= 1 then doPlayerSendCancel(cid, "você já virou mixed.") return true elseif tabble[param].reqVoc ~= nil and getPlayerVocation(cid) ~= tabble[param].reqVoc then doPlayerSendCancel(cid, "You dont have the required vocation.") return true end local newvoc = tabble[param].reqVoc ~= nil and (tabble[param].reqVoc+1) or 5 setPlayerStorageValue(cid, 650230, tonumber(newvoc)) setPlayerStorageValue(cid, 789456, tonumber(newvoc) == 5 and 1 or 0) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.newlv..", `experience` = "..getExperienceForLevel(config.newlv)..",`manamax` = "..config.mana..",`health` = "..config.life..", `healthmax` = "..config.life..",`mana` = "..config.mana..",`vocation` = "..newvoc.." WHERE `id` = "..config.pid) return true end
-
Título irregular reportado
-
Título irregular reportado
-
reportado pra moverem duvida sanada
-
Este sistema e muito bom e funciona http://www.xtibia.co...eset-system-20/
-
Ja existe scripts iguais no fórum e suponho que o script nao e seu ponha os créditos
-
título irregular reportado
-
Título Irregular reportado pra mudarem flw.
-
duvida sanada reportado
- 3 respostas
-
- script
- programação
-
(e 1 mais)
Tags:
-
aki o script suponho que o do actions.xml você tenha function onUse(cid, item) if doPlayerRemoveMoney(cid,200000) <= TRUE then doPlayerAddItem(cid,2159) doPlayerSendTextMessage(cid, 23, "Voce transformo 1kk em gold ignot") else doPlayerSendTextMessage(cid, 23, "Voce Nao tem 1kk") end return TRUE end
-
como assim se quer um script que o player da use e ganha exp ?
-
Sim e muito legal !! ja foi uns dos melhores mas lucro n depende do map depende do servidor o ot tenque ser serio eu mesmo ja tive um servidor que ja ganhei mas de R$ 1000,00 Em so 2 semanas
-
reportado pra moverem duvida sanada
-
Nossa esse xtibia vocês tudo gostam do map rozinx ficam imitando pq vocês num cria um propio sem copiar pra ter criatividade
-
esta sem detalhes mas fico um pouco legal.
- 73 respostas
-
- baiak supreme
- otserv
-
(e 1 mais)
Tags:
-
Se nao for agora n posso mas ajudar. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} local pos = {x=160,y=54,z=7} 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 if msgcontains(msg, "") or msgcontains(msg, "help") then talkState[cid] = 0 elseif msgcontains(msg, '') then selfSay("Good luck in war!", cid) doTeleportThing(cid, pos) end if getPlayerStorageValue(cid,7714) <= TRUE then if getPlayerStorageValue(cid,7715) <= TRUE then Say("Sorry, but your guild does not have access to a private area of war.", cid) end return true end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
agora eu acho que vai se n for amanha eu vo testar primeiro que vou baixar algum otserv local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} local pos = {x=160,y=54,z=7} 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 if msgcontains(msg, "") or msgcontains(msg, "help") then talkState[cid] = 0 elseif msgcontains(msg, '') then selfSay("Good luck in war!", cid) doTeleportThing(cid, pos) end getPlayerStorageValue(cid,7714) getPlayerStorageValue(cid,7715) selfSay("Sorry, but your guild does not have access to a private area of war.", cid) return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
criei o meu aki rapidinho function onUse(cid, item) local voc = 1 -- o id da vocaçao local itemid = 2175 -- o id do item que vai adicionar if getPlayerVocation(cid,voc) then doPlayerAddItem(cid,itemid) doPlayerSendTextMessage(cid,22,"Você recebeu seu item") else doPlayerSendTextMessage(cid,22,"Você nao e sorc") end return TRUE end
-
editei o meu era um erro técnico desculpe.
-
Sim e mesmo ! eu criei ele por uma duvida e achei legalzin e vai ajudar muitos então resolvi postar
-
Iae galera ! hoje estou com um tutorial bem interessante como criar uma vip e o player ganha-la por quest então vamos-la 1- Va em data / action / scripts / e pegue o ponhe o nome de algum arquivo para questvip e ponhe isto la dentro e poem esse script la dentro function onUse(cid, item, frompos, item2, topos) if item.uid ==7522 then -- Aki e o uniqueid que fica no actions.xml queststatus = getPlayerStorageValue(cid,7527) -- Aki Ponhe a storage da vip if queststatus == 1 then doPlayerSendTextMessage(cid,22,"Msg de quando ja ter pego a vip e o item.") else doPlayerSendTextMessage(cid,22,"MSG DE QUANDO VIRAR VIP.") doSendMagicEffect(topos,35) coins_uid = doPlayerAddItem(cid,2160,100) -- Id do item que vai adicionar e a quantidade setPlayerStorageValue(cid,7527,1) -- Aki ponhe a storage da vip igual la de cima end return 0 end return 1 end <action uniqueid="7522" script="questvip.lua"/> 2 - Pronto Sua Quest De Vip Ja Esta Pronta Agora E Para A Pessoa Poder Passar Pra Vip ! Va em data / movements / scripts / e ponhe o nome de algum arquivo para vip e coloke este script la function onStepIn(cid, item, pos) -- teleports config teleport1 ={x=155, y=52, z=7} -- Aki e a pos pra onde ele vai voltar se nao tiver vip if isPlayer(cid) then if item.actionid == 7527 then -- Aki e akela storage que tinha no actions vip = getPlayerStorageValue(cid,7527) -- Aki Também e akela storage e voce poem ela aki if vip == -1 then doPlayerSendCancel(cid,"Aki E A Msg Se Nao Tiver Vip Que Vai Aparecer ") doTeleportThing(cid,teleport1) else end end end end e dps em movements.xml ponhe esta tag la <movevent type="StepIn" uniqueid="7527" event="script" value="vip.lua"/> E Pronto Esta Tudo 100 % em funcionamento ! Porem um tutorial simples mais ira ajudar muitos iniciantes ! Se gostou nao custa 1 rep + Créditos Skyligh 95 % (Por Criar O Tutorial) Henrique990 5 % (Por Ter Criado Um Pedido Assim)
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.