-
Total de itens
76 -
Registro em
-
Última visita
-
Dias Ganhos
2
Posts postados por Markowiicz
-
-
Atualize o .spr/.dat.
File > Preferences > Client Version, e selecione a pasta onde está o dat e spr. -
Há chão embaixo da porta de saída?
E o house exit coloque em frente a porta. -
Cuidado com as datas, você reviveu um tópico.
@Refe -
Abra o RME, vá na coordenada indicada no erro, e provavelmente terá o item de ID 2590 lá, que está causando o erro. Remova-o.
Caso tenha alguma dúvida de como fazer isso, mande-me mensagem que ajudarei. -
Em 04/07/2018 em 11:46, ERAGON GAMER disse:
Mano la fala de source que source são essas? precisa baixar junto com o RME oque eu faço com a source????
Não é necessário baixar. São os códigos fontes para quem quiser se aprofundar no programa, ou até 'criar' uma versão própria.
-
Fala aí galera, tranquilo?
Aqui vai um show off do mapa do PokeChaos, que é desenvolvido por mim, Markowicz.
Criticas construtivas são bem vindas.
Uma parte de Fuchsia:Spoiler
Parte venenosa em fuchsia:Spoiler
Uma parte da Saffari Zone:Spoiler
Passagem do Snorlax em Celadon, conforme o anime:Spoiler
Partes da Floresta de Viridian:Spoiler
Mt.Moon/Stone Village:Spoiler
Área fantasma:Spoiler
E por fim, ginásio de Vermilion:Spoiler
Observações:
Esses mapas foram desenvolvidos entre 2015 e 2017, desde então, quaisquer update em relação ao meu conteúdo, eu irei postar como resposta desse tópico.
- Thalles Vitor, samlecter e Refe reagiu a isso
- 2
- 1
-
Obrigado zipter! Pedido sanado
-
@zipter98 editei acima
-
defeated blastoise
-
Alguem poderia me ajudar a bloquear certos pokemons serem catch pela master ball ? Aqui está meu catch.
local texts = { [PORTUGUESE] = {"Você CAPTUROU um Pokémon!", "Você está carregando seis pokemons, seu novo pokemon será enviado ao Centro Pokémon de sua cidade natal!", "Não foi dessa vez Tente novamente!", "A captura de pokémons não é permitida neste local.", "Este objeto não pode ser capturado.", "Você não é o dono deste corpo.", "Por favor, apenas utilize as Saffari Balls dentro da Saffari Zone.", "Este pokémon não pode ser capturado.", "Desculpe, não é possível."}, [ENGLISH] = {"You CAUGHT a Pokemon!", "You are holding six pokemons, your new pokemon will be sent to the Pokemon Center of your hometown!", "Not this time Try again!", "Catching pokemons is not allowed inside this place.", "This thing is uncatchable.", "You are not the owner of this corpse.", "Please, only use Saffari Balls inside the Saffari Zone.", "This pokemon is uncatchable.", "Sorry, not possible."}, } local ballsw = { [PORTUGUESE] = {"Voce gastou ", "para capturar esse pokemon."}, [ENGLISH] = {"You used ", "to catch it."} } local ea = { [PORTUGUESE] = "e ", [ENGLISH] = "and ", } -- 2001 é abra | 2304 é Wanted Farfetch'd. -- A cada pokemon novo, adicionar o próximo numero. local time = 4 local pokeballs = { [9271] = {multiplier=1, failEffect=23, successEffect=24, shootEffect=17}, -- STARTER'S PB [2149] = {multiplier=1, failEffect=23, successEffect=24, shootEffect=17}, -- PB [2147] = {multiplier=2, failEffect=197, successEffect=198, shootEffect=19}, -- GB [2150] = {multiplier=3, failEffect=201, successEffect=202, shootEffect=20}, -- SB [2146] = {multiplier=4, failEffect=199, successEffect=200, shootEffect=27}, -- UB [2151] = {multiplier=1, failEffect=203, successEffect=204, shootEffect=36}, -- Saffari Ball [11681] = {multiplier=100000000, failEffect=228, successEffect=228, shootEffect=42}, -- MB } catchRate = 1 local function onCapturePokemon(cid, name, params, ballid) local txt = texts[getPlayerLanguage(cid)] if isCreature(cid) then doPlayerAddSoul(cid, 1) doPlayerSendTextMessage(cid, 20, txt[1].." ("..name..").") if #getPlayerPokeballs(cid) >= 6 then local pokeball = doCreatePokeball(name, params.pokeball-1) doItemSetAttribute(pokeball, "pokemon_sex", params.sex) doPlayerSendMailByName(getCreatureName(cid), pokeball) local creature = getPlayerPokemon(cid) == false and cid or getPlayerPokemon(cid) doSendMagicEffect(getCreaturePosition(creature), 173) local file = io.open('data/logs/catchlog.txt','a') file:write(os.date().." "..getCreatureName(cid).." caught a "..name.." with "..getItemNameById(params.pokeball).." at pos {X="..getCreaturePosition(cid).x.." Y="..getCreaturePosition(cid).y.." Z="..getCreaturePosition(cid).z..".\n") file:close() doPlayerSave(cid) doPlayerSendTextMessage(cid, 20, txt[2]) else local pokeball = doCreatePokeball(name, params.pokeball) doItemSetAttribute(pokeball, "pokemon_sex", params.sex) doPlayerAddItemEx(cid, pokeball) end end end local function onFailCapturePokemon(cid) local txt = texts[getPlayerLanguage(cid)] if isCreature(cid) then local creature = cid local creature = getPlayerPokemon(cid) == false and cid or getPlayerPokemon(cid) doSendMagicEffect(getCreaturePosition(creature), 166) doPlayerSendTextMessage(cid, 27, txt[3]) end end function onUse(cid, item, frompos, item2, topos) local txt = texts[getPlayerLanguage(cid)] if isPlayerInsideMewtwoQuest(cid) or isInsideGhostPlagueQuest(cid) then doPlayerSendCancel(cid, txt[4]) return true end if item2.uid == 0 then return false end local corpses = {} local it = getTileInfo(topos) if not it or it.things == 0 then return false end for i=1, it.things do local item = getTileThingByPos({x=topos.x, y=topos.y, z=topos.z, stackpos=i}) if item.uid ~= 0 and isCorpse(item.uid) and getItemAttribute(item.uid, "corpseowner") == cid then item2 = item break end end if item2.uid == 0 or not isCorpse(item2.uid) then doPlayerSendCancel(cid, txt[5]) return true end if getItemAttribute(item2.uid, "corpseowner") ~= cid then doPlayerSendCancel(cid, txt[6]) return true end local tableshiny = {"Charizard"} if item.uid == 11681 and isInArray(tableshiny, name)then doPlayerSendCancel(cid, 27 , "Você não pode catar esse pokemon com a master ball!") return true end if getPlayerStorageValue(cid, Saffari.storage) > 0 and item.itemid ~= Saffari.pokeballId then doPlayerSendCancel(cid, txt[7]) return true end for i, x in pairs(pokes) do if item2.itemid == x.c then local chances = (x.chance) * pokeballs[item.itemid].multiplier * catchRate if chances == 0 then doPlayerSendCancel(cid, txt[8]) return TRUE end if math.random(1, 940) <= chances then doSendDistanceShoot(frompos, topos, pokeballs[item.itemid].shootEffect) doSendMagicEffect(topos, pokeballs[item.itemid].successEffect) doAddBrokeCount(cid, item.itemid, i) doEndCount(cid, item.itemid, i) addEvent(onCapturePokemon, time*1000, cid, i, {pokeball = getPokeballIn(item.itemid), sex = getItemAttribute(item2.uid, "corpsesex") }, item.itemid) else doSendDistanceShoot(frompos, topos, pokeballs[item.itemid].shootEffect) doSendMagicEffect(topos, pokeballs[item.itemid].failEffect) addEvent(onFailCapturePokemon, time*1000, cid) if getPlayerGroupId(cid) >= 4 and getPlayerGroupId(cid) <= 6 then doAddBrokeCount(cid, item.itemid, i) end end doRemoveItem(item.uid, 1) doRemoveItem(item2.uid, 1) return TRUE end end doPlayerSendCancel(cid, txt[9]) return TRUE end function doAddBrokeCount(cid, ballid, pokemon) local pbb = {9271, 2149} local gbb = {2147} local sbb = {2150} local ubb = {2146, 4758} local sfbb = {2151} local sto = pokes[pokemon].sto local toset = "nb = 0, gb = 0, sb = 0, sfb = 0, ub = 0;" local toget = "nb = (.-), gb = (.-), sb = (.-), sfb = (.-), ub = (.-);" if getPlayerStorageValue(cid, sto) == -1 then setPlayerStorageValue(cid, sto, toset) end local b = string.gmatch(getPlayerStorageValue(cid, sto), toget) local nc = "" for nb, gb, sb, sfb, ub in (b) do if isInArray(pbb, ballid) then nc = "nb = "..(tonumber(nb)+1)..", gb = "..gb..", sb = "..sb..", sfb = "..sfb..", ub = "..ub..";" break elseif isInArray(gbb, ballid) then nc = "nb = "..nb..", gb = "..(tonumber(gb) + 1)..", sb = "..sb..", sfb = "..sfb..", ub = "..ub..";" break elseif isInArray(sbb, ballid) then nc = "nb = "..nb..", gb = "..gb..", sb = "..(tonumber(sb) + 1)..", sfb = "..sfb..", ub = "..ub..";" break elseif isInArray(ubb, ballid) then nc = "nb = "..nb..", gb = "..gb..", sb = "..sb..", sfb = "..sfb..", ub = "..(tonumber(ub) + 1)..";" break elseif isInArray(sfbb, ballid) then nc = "nb = "..nb..", gb = "..gb..", sb = "..sb..", sfb = "..(tonumber(sfb) + 1)..", ub = "..ub..";" break end end setPlayerStorageValue(cid, sto, nc) return true end function doEndCount(cid, ballid, name) local sto = pokes[name].sto local toget = "nb = (.-), gb = (.-), sb = (.-), sfb = (.-), ub = (.-);" local str = "" local b = getPlayerStorageValue(cid, sto) if b == -1 or b == -2 or not b then doAddBrokeCount(cid, ballid,name) end local wast = { nbs = 0, gbs = 0, sbs = 0, ubs = 0, sfbs = 0, } local str = "" for nb, gb, sb, sfb, ub in (b:gmatch(toget)) do wast.nbs = (tonumber(nb) > 0 and (tonumber(nb) == 1 and tonumber(nb).." poke ball " or tonumber(nb).." poke balls ")) or "" wast.gbs = (tonumber(gb) > 0 and (tonumber(nb) == 1 and tonumber(gb).." great ball " or tonumber(gb).." great balls ")) or "" wast.sbs = (tonumber(sb) > 0 and (tonumber(sb) == 1 and tonumber(sb).." super ball " or tonumber(sb).." super balls ")) or "" wast.ubs = (tonumber(ub) > 0 and (tonumber(ub) == 1 and tonumber(ub).." ultra ball " or tonumber(ub).." ultra balls ")) or "" wast.sfbs = (tonumber(sfb) > 0 and (tonumber(sfb) == 1 and tonumber(sfb).." saffari ball " or tonumber(sfb).." saffari balls ")) or "" local aand = (wast.nbs ~= "" or wast.gbs~="" or wast.sfbs ~="" or wast.sbs~="" or wast.sbs~= "") and wast.ubs ~= "" local sfbv = (wast.nbs ~= "" or wast.gbs~="") and wast.sfbs ~= "" local sbv = (wast.nbs ~= "" or wast.gbs~="" or wast.sfbs ~= "") and wast.sbs ~= "" local gbv = (wast.nbs ~= "") and wast.gbs ~= "" str = ((wast.nbs)..(gbv and wast.gbs~="" and ", " or "")..(wast.gbs)..(sfbv and wast.sfbs~="" and ", " or "")..(wast.sfbs)..(sbv and wast.sbs~="" and ", " or "")..(wast.sbs)..(aand and ea[getPlayerLanguage(cid)] or "")..(wast.ubs)) end doPlayerSendTextMessage(cid, 20, (ballsw[getPlayerLanguage(cid)][1])..(str)..(ballsw[getPlayerLanguage(cid)][2])) setPlayerStorageValue(cid, sto, -1) return true end
@up
-
Em Items.xml, Edite Esta Parte Do Item Desejado:
<attribute key="containerSize" value="20" />
Em Value, Seria a Quantidade De Slot's Que Poderá Ter.
-
Qual Base Está Usando? Caso For PDA, Poste Aqui
Seu Box.lua (actions/scripts).
-
-
Meu Caro, O Arquivo SPR Da PokeXGames, Não Se Abre Mais Com
Este Progama, A Não Ser Que Algum "Mito" Consiga Resolver.
Abraços.
-
Bem, Erro Corrigido, Mas O Ditto Não Tem As Habilidades Dos Pokémons.
Exemplo: Clonei Um Pidgeot, Mas Ele Não Quer Dar Fly. Como No Tópico Diz
Que Ele Terá As Habilidades Dos Pokémons Clonados...
-
[Error - LuaScriptInterface::loadFile] data/lib/level system.lua:484: 'end' expected (to close 'function' at line 204) near '<eof>'[Warning - LuaScriptInterface::initState] Cannot load data/lib/
-
Amigo, Qual Base Está Usando?, Deixarei 2 Link's Aqui Abaixo, Um é PDA, Outro é Centurion.
Antes De Fazer Algum Topico, Verifique Bem Se Não Existe Outros Com a Mesma Duvida.
-
Ok, Reportado Para Que Movam!
-
Basta Adicionar Ela No Outfits.xml.
<outfit id="Numero Da Outfit"> <list gender="0" lookType="LookType Female" name="Nome Da Outfit Female"/> <list gender="1" lookType="LookType Male" name="Nome Da Outfit Male"/> </outfit>
Exemplo De Uma Já Feita:
<outfit id="60" premium="yes"> <list gender="0" lookType="1583" name="GirlFriend"/> <list gender="1" lookType="1582" name="BoyFriend"/> </outfit>
OBS: Com a Tag Premium, o Player Só Poderá Usar a Outfit Com Vip.
-
Você Estáva Logado Em Sua Conta No Site?,
Caso Contrário, Não Irá Para o Shop Mesmo, Ao Menos Que Você Logue.
-
Quando Vou Dar Look No Pokémon (Não Só o Da Lista, São Todos), Aparece Este Erro Na Distro:
[Error - CreatureScript Interface]
data/creaturescripts/scripts/look.lua:onLook
Description:
data/creaturescripts/scripts/look.lua:40: attempt to index global 'pokes_price' (a nil value)
stack traceback:
data/creaturescripts/scripts/look.lua:40: in function@Edited, Consegui Resolver, Pode Mover o Tópico! -
Mande-me Seu IP, Por MP, Que Irei Criar o Client!
-
Algum Scripter, Poderia Dar Uma Ajudinha Aqui?, Bem Como No Titulo, Gostaria De Adaptar Este Script:
Para Este Look:function onLook(cid, thing, position, lookDistance)
local str = ""
if not isCreature(thing.uid) then
local iname = getItemInfo(thing.itemid)
if not isPokeball(thing.itemid) then
if priceList[getItemInfo(thing.itemid).name] then
price = priceList[getItemInfo(thing.itemid).name].price
if thing.type > 1 then
str = "You see "..thing.type.." "..getItemInfo(thing.itemid).plural.."."
price = price * thing.type
else
str = "You see "..getItemInfo(thing.itemid).article.." "..getItemInfo(thing.itemid).name.."."
end
str = str.." Price: $"..price.."."
if getItemAttribute(thing.uid, "description") then
str = str.."\n"..getItemAttribute(thing.uid, "description").."."
end
if getPlayerGroupId(cid) >= 4 and getPlayerGroupId(cid) <= 6 then
str = str.."\nItemID: ["..thing.itemid.."]." --alterado v1.7
local pos = getThingPos(thing.uid)
str = str.."\nPosition: [X: "..pos.x.."][Y: "..pos.y.."][Z: "..pos.z.."]"
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, str)
return false
end
end
if isPokeball(thing.itemid) then
local owner = getItemAttribute(thing.uid, "firstpoke")
local pokename = getItemAttribute(thing.uid, "poke")
local item = getItemInfo(thing.itemid)
str = "You see "..item.article.." "..item.name..".\n"
str = str.."Contains "..getArticle(pokename)..""
if getItemAttribute(thing.uid, "gender") == SEX_MALE then
str = str.." Male"
elseif getItemAttribute(thing.uid, "gender") == SEX_FEMALE then
str = str.." Female"
end
if pokename == "Shiny Onix" then
pokename = "Crystal Onix"
elseif pokename == "Shiny Gyarados" then
pokename = "Red Gyarados"
elseif pokename == "Shiny Charizard" then
pokename = "Elder Charizard"
elseif pokename == "Shiny Venusaur" then
pokename = "Ancient Venusaur"
elseif pokename == "Shiny Blastoise" then
pokename = "Ancient Blastoise"
elseif pokename == "Shiny Farfetch'd" then
pokename = "Elite Farfetch'd"
elseif pokename == "Shiny Hitmonlee" then
pokename = "Elite Hitmonlee"
elseif pokename == "Shiny Hitmonchan" then
pokename = "Elite Hitmonchan"
elseif pokename == "Shiny Abra" then
pokename = "Dark Abra"
elseif pokename == "Shiny Snorlax" then
pokename = "Big Snorlax"
elseif pokename == "Shiny Hitmontop" then
pokename = "Elite Hitmontop"
end
str = str.." "..pokename..""
if getItemAttribute(thing.uid, "nick") then
str = str.." ("..getItemAttribute(thing.uid, "nick")..")"
end
local boost = getItemAttribute(thing.uid, "boost") or 0
if boost > 0 then
str = str.." +"..boost..""
end
str = str.."."
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, str)
return false
elseif string.find(iname.name, "fainted") or string.find(iname.name, "defeated") then
str = "You see a "..string.lower(iname.name)..".\n"
if getItemAttribute(thing.uid, "gender") == SEX_MALE then
elseif getItemAttribute(thing.uid, "gender") == SEX_FEMALE then
else
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, str)
return false
else
return true
end
end
local NPCBattle = {
["Brock"] = {artig = "He is", cidbat = "Pewter"},
["Misty"] = {artig = "She is", cidbat = "Cerulean"},
["Kira"] = {artig = "She is", cidbat = "Viridian"},
["Erika"] = {artig = "She is", cidbat = "Celadon"},
["Sabrina"] = {artig = "She is", cidbat = "Saffron"},
["Surge"] = {artig = "He is", cidbat = "Vermilion"},
["Blaine"] = {artig = "He is", cidbat = "Cinnabar"},
["Koga"] = {artig = "He is", cidbat = "Fuchsia"},
}
NPCname = {"Brock", "Misty", "Kira", "Erika", "Sabrina", "Surge", "Blaine", "Koga"}
local npcname = getCreatureName(thing.uid)
if not isPlayer(thing.uid) and not isMonster(thing.uid) and isInArray(NPCname, npcname) then
str = "You see "..npcname..". "..NPCBattle[npcname].artig.." a leader gym from "..NPCBattle[npcname].cidbat.."."
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, str)
return false
end
if not isPlayer(thing.uid) and not isMonster(thing.uid) then
str = "You see "..getCreatureName(thing.uid).."."
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, str)
return false
end
look = {
[1] = {"a Volcanic Spark", "a Volcanic Flame","a Volcanic Firetamer","a Volcanic Pyromancer","a Volcanic Master"},
[2] = {"a Seavell Drop", "a Seavell Icelake","a Seavell Waterfall","a Seavell Frost","a Seavell Master"},
[3] = {"an Orebound Sand", "an Orebound Rock","an Orebound Solid","an Orebound Hardskin","an Orebound Hero"},
[4] = {"a Wingeon Cloud", "a Wingeon Wind","a Wingeon Sky","a Wingeon Falcon","a Wingeon Dragon"},
[5] = {"a Malefic Troublemaker", "a Malefic Venomancer","a Malefic Spectre","a Malefic Nightwalker","a Malefic Master"},
[6] = {"a Gardestrike Fist", "a Gardestrike Tamer","a Gardestrike Fighter","a Gardestrike DeathHand","a Gardestrike Champion"},
[7] = {"a Psycraft Mind", "a Psycraft Brain","a Psycraft Scholar","a Psycraft Telepath","a Psycraft Medium"},
[8] = {"a Naturia Seed", "a Naturia Sprout","a Naturia Webhead","a Naturia Woodtrunk","a Naturia Keeper"},
[9] = {"a Raibolt Shock", "a Raibolt Watt","a Raibolt Electrician","a Raibolt Overcharged","a Raibolt Legend"},
}
youAre = {
[3] = "a Tutor",
[4] = "a Game Master",
[5] = "a Comunit Mananger", --alterado v1.3
[6] = "a Administrador"
}
if thing.uid == cid then
local city = getPlayerTown(thing.uid)
local cityname = getTownName(city)
if getPlayerStorageValue(thing.uid, 86228) <= 0 then
if getPlayerGroupId(thing.uid) >= 3 and getPlayerGroupId(thing.uid) <= 6 then
pos = getCreaturePosition(thing.uid)
ocupacao = youAre[getPlayerGroupId(thing.uid)] --alterado v1.3
str = "You see yourself. You are Pokemon Trainer. You are from the "..cityname..".\n"
else
str = "You see yourself. You are a Pokemon Trainer. You are from the "..cityname.."."
end
else
vocation = getPlayerStorageValue(thing.uid, 86228)
rank = getPlayerStorageValue(thing.uid, 862281)
promote = look[vocation][rank]
if getPlayerGroupId(thing.uid) >= 3 and getPlayerGroupId(thing.uid) <= 6 then
pos = getCreaturePosition(cid)
ocupacao = youAre[getPlayerGroupId(thing.uid)]
str = "You see yourself. You are "..promote..". You are from the "..cityname..".\n"
else
str = "You see yourself. You are "..promote..". You are from the "..cityname.."."
end
end
local id = getPlayerGroupId(thing.uid)
if id > 2 then
if id == 3 then
str = str.."You are Tutor"
elseif id == 4 then
str = str.."You are Game Master"
elseif id == 5 then
str = str.."You are Comunit Mananger"
elseif id == 6 then
str = str.."You are Administrador"
end
end
if getPlayerGuildId(thing.uid) > 0 then
str = str.." You are "..getPlayerGuildRank(thing.uid).." from the "..getPlayerGuildName(thing.uid).."."
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, str)
return false
end
--edited clan system
if isPlayer(thing.uid) and thing.uid ~= cid then
local city = getPlayerTown(thing.uid)
local cityname = getTownName(city)
vocation2 = getPlayerStorageValue(thing.uid, 86228)
rank2 = getPlayerStorageValue(thing.uid, 862281)
if getPlayerStorageValue(thing.uid, 86228) <= 0 then
promote2 = "a Pokemon Trainer"
else
promote2 = look[vocation2][rank2]
end
if getPlayerSex(thing.uid) == 1 then
artic = "He is"
elseif getPlayerSex(thing.uid) == 0 then
artic = "She is"
end
youAre = {
[3] = "a Tutor",
[4] = "a Game Master",
[5] = "a Sub", --alterado v1.3
[6] = "a Administrador"
}
if getPlayerGroupId(thing.uid) >= 3 and getPlayerGroupId(thing.uid) <= 6 then
pos = getCreaturePosition(thing.uid) --alterado v1.3
ocupacao = youAre[getPlayerGroupId(thing.uid)]
str = "You see "..getCreatureName(thing.uid)..". "..artic.." "..promote2..". "..artic.." from the "..cityname..".\n"
else
str = "You see "..getCreatureName(thing.uid)..". "..artic.." "..promote2..". "..artic.." from the "..cityname.."."
end
local id = getPlayerGroupId(thing.uid)
if id > 2 then
if id == 3 then
str = str..""..artic.." Tutor"
elseif id == 4 then
str = str..""..artic.." Game Master"
elseif id == 5 then
str = str..""..artic.." Sub"
elseif id == 6 then
str = str..""..artic.." Administrador"
end
end
if getPlayerGuildId(thing.uid) > 0 then
str = str.." "..artic.." "..getPlayerGuildRank(thing.uid).." from the "..getPlayerGuildName(thing.uid).."."
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, str)
return false
end
if getCreatureName(thing.uid) == "Evolution" then return false end
if not isSummon(thing.uid) then
local str = "You see a "
if getPokemonGender(thing.uid) == SEX_MALE then
str = str.."male"
elseif getPokemonGender(thing.uid) == SEX_FEMALE then
str = str.."female"
end
str = str.." "..string.lower(getCreatureName(thing.uid))..".\n"
if getPlayerGroupId(cid) > 3 then
str = str.."\nHP:"..getCreatureHealth(thing.uid).."/"..getCreatureMaxHealth(thing.uid)..""
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, str)
return false
elseif isSummon(thing.uid) then
str = "You see a "..string.lower(getCreatureName(thing.uid))..".\nIt belongs to "..getCreatureName(getCreatureMaster(thing.uid)).."."
if getPlayerGroupId(cid) > 3 then
str = str.."\nHP:"..getCreatureHealth(thing.uid).."/"..getCreatureMaxHealth(thing.uid)..""
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, str)
return false
end
return true
end
A Parte Do Configuration, Pode Deixar, Eu Sei EditarThanks!
-
Com Estes Problemas, Recomendo Que Use o MySql, Seria Mais Simples, Pois Os Players
Iriam Se Cadastrar No Site, e Não No 1/1 (Account Manager).
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
[Encerrado] Error ligar servidor
em Tópicos Sem Resposta
Postado
1.: O item.xml/.otb que você está usando para mappear é diferente do que está na pasta do servidor.
2.: Os novos items que você adicionou estão bugados, e será necessário um delete pequeno da área.
Para o número dois, basta clicar na ferramenta que apresenta um 'lápis' no canto inferior direito, e passar por cima da área, selecionando a mesma, e após, pressione delete.