-
Total de itens
2175 -
Registro em
-
Última visita
-
Dias Ganhos
96
Tudo que Deadpool postou
-
Nightwolf.. Teria como mudar isso? Tipo, ao invés de Cap. Colocar por mana? No meu serve é por cap, e isso está me dando bug quando captura o pokemon.. E bem, eu tenho essa função onmoveitem.. E possuo as sources..
-
[Encerrado] Quitar level system a un otpokemon
tópico respondeu ao eliminito de Deadpool em Tópicos Sem Resposta
Ceetros, sou prova disso de que não é! Eu retirei realmente o sistema de level do meu servidor! Os poké até estão ganhando vida de acordo com o level do player rs -
me ame, n tinha pensando nisso.. Em console demora demais pra ligar meu serve AUSHSUAHAUAHS.. Vou tentar aqui chefinho
-
Galera.. Eu to com uma dúvida.. Fui compilar minhas sources em GUI.. Aí compilei de boas.. Porém quando vou abrir ele não abre.. E tem vez que abre, porém ele não aparece o console,e fica do o ícone na barra de tarefas :c alguém sabe o que pode ser isso?
-
Melhor projeto, to até ansioso :3 @blog nao está entrando aqui :3
- 31 respostas
-
- gba
- sprites de game boy
-
(e 1 mais)
Tags:
-
poketibia [Encerrado] Efeitos [POKETIBIA]
tópico respondeu ao Mihawk Mp de Deadpool em Tópicos Sem Resposta
Isso é facil fazer gato -
Vale lembrar que se o pokémon tiver os 12 moves, é preciso modificar essa parte: for i = 1, 12 do if not moveTable[i] then index = i break end end
- 166 respostas
-
- mega stone
- megevolution
-
(e 1 mais)
Tags:
-
Que erro? da /i 11401 e clica no item
-
você adicionou na pasta MODS? na pasta raiz do servidor..
-
remove essa linha ae.. n precisa adicionar nada
-
<?xml version="1.0" encoding="UTF-8"?> <mod name="AdvancedExpPotionSystem" enabled="yes" author="MatheusMkalo" forum="XTibia.com"> <!-- Configs and Functions --> <config name="PotionExpConfigs"><![CDATA[ ------ CONFIGURE SEU SCRIPT ------ TRUE ou FALSE configs = { time = 1, ---- TIME IN MINUTES needpa = TRUE, needlvl = {TRUE, level = 50}, costmana = {TRUE, mana = 300}, addrate = 20, -- Exp que vai adicionar em % removeonuse = TRUE } function getTime(s) local n = math.floor(s / 60) s = s - (60 * n) return n, s end CreatureEventChecker = function(event, ...) -- Colex if isCreature(arg[1]) then event(unpack(arg)) end end creatureEvent = function(event, delay, ...) -- Colex addEvent(CreatureEventChecker, delay, event, unpack(arg)) end function getPlayerExtraExpRate(cid) -- By MatheusMkalo return (getPlayerRates(cid)[8]-1)*100 end ]]></config> <!-- exppotion.lua --> <action itemid="11401" event="script"><![CDATA[ domodlib('PotionExpConfigs') if getPlayerStorageValue(cid, 62164) >= 1 then return doPlayerSendCancel(cid, "You are already taking effect from this item.") end if configs.needpa and not isPremium(cid) then return doPlayerSendCancel(cid, "You need to be a premmium account to use this item.") end if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then return doPlayerSendCancel(cid, "You need to be level " .. configs.needlvl.level .. " to use this item.") end if configs.costmana[1] then if getCreatureMana(cid) < configs.costmana.mana then return doPlayerSendCancel(cid, "You need " .. configs.costmana.mana .. " mana to use this item.") else doCreatureAddMana(cid, -configs.costmana.mana) end end if configs.removeonuse then doRemoveItem(item.uid, 1) end for i = configs.time*60, 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == configs.time*60 then creatureEvent(doPlayerSendCancel, configs.time*60*1000, cid, "The effect of the exp potion end.") end creatureEvent(doPlayerSendCancel, (configs.time*60-i)*1000, cid, "The effect of the exp potion will end in "..a..".") end doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, configs.time *60*1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) doPlayerSendTextMessage(cid, 22, "Agora voce ira receber mais exp por matar os mosntros.") setPlayerStorageValue(cid, 62164, os.time()) creatureEvent(setPlayerStorageValue, configs.time *60*1000, cid, 62164, 0) return TRUE ]]></action> <creaturescript type="login" name="ExpPotion" event="script"><![CDATA[ domodlib('PotionExpConfigs') local time = configs.time if os.time()-getPlayerStorageValue(cid, 62164) < time *60 then doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) creatureEvent(setPlayerStorageValue, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000 , cid, 62164, 0) for i = (time*60-(os.time()-getPlayerStorageValue(cid, 62164))), 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) then creatureEvent(doPlayerSendCancel, (time*60-(os.time()-getPlayerStorageValue(cid, 62164)))*1000, cid, "The effect of the exp potion end.") end creatureEvent(doPlayerSendCancel, ((time*60-(os.time()-getPlayerStorageValue(cid, 62164)))-i)*1000, cid, "The effect of the exp potion will end in "..a..".") end end return TRUE ]]></creaturescript> </mod>
-
Posta o id do amuleto ae
-
Primeiramente vamos ver oque o script tem de diferente dos outros: Se voce sair com o efeito da exp potion o tempo da potion continuara passando, se voce logar antes que ele acabe voce ainda vai poder aproveitar umpouco da double exp. Voce pode escolher varias opçoes, como escolher se so premium accounts podem usar o item, quanta mana vai gasta, se vai remover quando usar e outros; Agora aparece a mensagem quando POT acabar; Vá na pasta mods e adicione um arquivo.xml com o nome de ExpPotion.xml e bote isso: <?xml version="1.0" encoding="UTF-8"?> <mod name="AdvancedExpPotionSystem" enabled="yes" author="MatheusMkalo" forum="XTibia.com"> <!-- Configs and Functions --> <config name="PotionExpConfigs"><![CDATA[ ------ CONFIGURE SEU SCRIPT ------ TRUE ou FALSE configs = { time = 1, ---- TIME IN MINUTES needpa = TRUE, needlvl = {TRUE, level = 50}, costmana = {TRUE, mana = 300}, addrate = 20, -- Exp que vai adicionar em % removeonuse = TRUE } function getTime(s) local n = math.floor(s / 60) s = s - (60 * n) return n, s end CreatureEventChecker = function(event, ...) -- Colex if isCreature(arg[1]) then event(unpack(arg)) end end creatureEvent = function(event, delay, ...) -- Colex addEvent(CreatureEventChecker, delay, event, unpack(arg)) end function getPlayerExtraExpRate(cid) -- By MatheusMkalo return (getPlayerRates(cid)[8]-1)*100 end ]]></config> <!-- exppotion.lua --> <action itemid="7440" event="script"><![CDATA[ domodlib('PotionExpConfigs') if getPlayerStorageValue(cid, 62164) >= 1 then return doPlayerSendCancel(cid, "You are already taking effect from this item.") end if configs.needpa and not isPremium(cid) then return doPlayerSendCancel(cid, "You need to be a premmium account to use this item.") end if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then return doPlayerSendCancel(cid, "You need to be level " .. configs.needlvl.level .. " to use this item.") end if configs.costmana[1] then if getCreatureMana(cid) < configs.costmana.mana then return doPlayerSendCancel(cid, "You need " .. configs.costmana.mana .. " mana to use this item.") else doCreatureAddMana(cid, -configs.costmana.mana) end end if configs.removeonuse then doRemoveItem(item.uid, 1) end for i = configs.time*60, 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == configs.time*60 then creatureEvent(doPlayerSendCancel, configs.time*60*1000, cid, "The effect of the exp potion end.") end creatureEvent(doPlayerSendCancel, (configs.time*60-i)*1000, cid, "The effect of the exp potion will end in "..a..".") end doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, configs.time *60*1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) doPlayerSendTextMessage(cid, 22, "Agora voce ira receber mais exp por matar os mosntros.") setPlayerStorageValue(cid, 62164, os.time()) creatureEvent(setPlayerStorageValue, configs.time *60*1000, cid, 62164, 0) return TRUE ]]></action> <creaturescript type="login" name="ExpPotion" event="script"><![CDATA[ domodlib('PotionExpConfigs') local time = configs.time if os.time()-getPlayerStorageValue(cid, 62164) < time *60 then doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) creatureEvent(setPlayerStorageValue, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000 , cid, 62164, 0) for i = (time*60-(os.time()-getPlayerStorageValue(cid, 62164))), 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) then creatureEvent(doPlayerSendCancel, (time*60-(os.time()-getPlayerStorageValue(cid, 62164)))*1000, cid, "The effect of the exp potion end.") end creatureEvent(doPlayerSendCancel, ((time*60-(os.time()-getPlayerStorageValue(cid, 62164)))-i)*1000, cid, "The effect of the exp potion will end in "..a..".") end end return TRUE ]]></creaturescript> </mod> Tudo pronto! Para trocar o id do item eh so mudar essa linha: <action itemid="IDDOAMULETO" event="script"><![CDATA[ Créditos: MatheusMKalo
-
Take, gostaria de ajudar no seu servidor..
- 10 respostas
-
- take down
- take down world
-
(e 1 mais)
Tags:
-
poketibia [Tutorial] Mudar icone e nomes kpdo no client do kpdo
tópico respondeu ao LeoTK de Deadpool em Tutoriais para Iniciantes
A area correta seria tutorias de client '-' -
poketibia [Tutorial] Mudar icone e nomes kpdo no client do kpdo
tópico respondeu ao LeoTK de Deadpool em Tutoriais para Iniciantes
Tentando entender o porque deste topico está em tutoriais de programação kkk -
Eu estava com esse mesmo erro. Quando adicionei autostacking.. Você adicionou? Tive que dar um fix na função add item.
-
[Encerrado]Pokémon Open Source *ShowOff* *Atualizado*
tópico respondeu ao Deadpool de Deadpool em Formação de Equipes
Felipe, não ;/ tava tentando aqui- 183 respostas
-
- pokemon online
- open source
- (e 5 mais)
-
[Encerrado]Pokémon Open Source *ShowOff* *Atualizado*
tópico respondeu ao Deadpool de Deadpool em Formação de Equipes
Tenho milhares de prints.. Mentira, umas 20.. Mas já terminei o servidor..- 183 respostas
-
- pokemon online
- open source
- (e 5 mais)
-
É verdade, o lulamp foi pra pxg.. O pdub anda paradao, o Jefferson ta muito sem tempo..
-
To percebendo isso.. Saudades eks 2011/2012..
-
[Encerrado] como fazer a pokebag abrir 8 slots.
tópico respondeu ao CaioSilva99 de Deadpool em Tópicos Sem Resposta
Haha. Estou empalhado em uns projetos.. E estou fazendo um poke serve e liberar ora galera, se nao eu iria.. Mas manda PM aí, com infos do projeto rs -
[Encerrado] como fazer a pokebag abrir 8 slots.
tópico respondeu ao CaioSilva99 de Deadpool em Tópicos Sem Resposta
Você poderia criar um item tipo uma backpack, com os slots necessários. Daí você editava no fist itens. E adiciona os IDS que você quer que o slot adicionado abra.. E posta seu spawn.lua em creaturescript. -
otclient [Tutorial] Mudar miniwidow
tópico respondeu ao Deadpool de Deadpool em Tutoriais de Clients
Vou entrar pc
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.