Histórico de Curtidas
-
hian.araujo16 deu reputação a Noob II em Help, dropstone.luaVocê andou criando stone nova? se sim procura por isStone no some fuctions e substitui a função por essa:
function isStone(id) if id == 1111 then -- coloca aqui o id da nova stone return true end if id >= leaf and id <= ice then return true end if id == 12232 or id == 12242 or id == 12244 or id == 12245 then return true -- alterado v1.7 com as stones shinys tb soh pra garantir end if (id >= sfire and id <= searth) or id == 12417 or id == 12419 then return true end return false end
if id == 1111 then -- coloca aqui o id da nova stone
-
hian.araujo16 deu reputação a Noob II em BUG NA DISTRO - Unknown event nameIsso é uma tag em algum xml dos pokémons do seu servidor, abra o notepad++, aperte ctrl+f e clique na aba localizar em arquivos, em localizar você coloca a palavra removewall3 e em pasta você seleciona a do seu servidor e só apertar em localizar todos agora
dps que achar você dar duplo clique na linha e remove.
-
hian.araujo16 recebeu reputação de wesquel em habilitar pvp systemOBRIGADO DEU CERTO! 100% GANHOU R+
-
hian.araujo16 deu reputação a MySticaL em habilitar pvp systemEm data/lib/some functions.lua
procure por:
if ehMonstro(cid) and ehMonstro(pid) then return "Can" end e coloque isto em cima
if getTileInfo(getThingPos(cid)).pvp then return "Can" end
REP se ajudei?
-
hian.araujo16 deu reputação a Noob II em habilitar pvp systemvai em data/lib/050-function.lua e verifica se tem isso dentro se não tiver adiciona:
function getTileZoneInfo(pos) local tmp = getTileInfo(pos) if(tmp.pvp) then return 2 end if(tmp.nopvp) then return 1 end return 0 end
Depois vai em data/lib/somefunctions.lua e procura por essa função:
function canAttackOther(cid, pid)
abaixo disso:
local master2 = isSummon(pid) and getCreatureMaster(pid) or pid
coloca isso:
if getTileInfo(getThingPos(cid)).pvp then return "Can" end