Ir para conteúdo

[Pokemon] Servidor Stigal 3.0 [Pda 1.5]


Stigal

Posts Recomendados

@Stigal

e como faço com o cliente pra deixar online? só consigo com o 127.0.0.1 mas só pra mim, quero deixar online agora, já ajeitei tudo..

tipo assim, o IP changer não consegue dar change ip no CLiente que tem aqui pra baixar, aparece tibia not found, oque faço pra deixar on pros players?

Editado por gustavoalmeida
Link para o comentário
Compartilhar em outros sites

@Stigal sempre dando tudo de si, queria vc no meu projeto hahaha.

kkkkkk' se prescisar de ajuda e so add no msn...

mas ja estou comprometido com Naruto Shinobi Online x:

 

Abraço.

Link para o comentário
Compartilhar em outros sites

Tem M system? e surf/fly/ride/order ta 100% ?...

 

 

~edit~

Rep + ^^

surf, ride, order 100%

control mind ajeitado e so da pra usar em pokemons normais

 

 

onde aumenta o catch do OT?

 

Mudando cath da ball:

"Pasta servidor > data > actions > script > cath.lua"

 

No inicio tera:

[2394] = {cr = 1, on = 24, off = 23, ball = 11826, send = 47, typeee = "normal"},
[2391] = {cr = 1, on = 198, off = 197, ball = 11832, send = 48, typeee = "great"},
[2393] = {cr = 2, on = 202, off = 201, ball = 11835, send = 46, typeee = "super"},
[2392] = {cr = 2, on = 200, off = 199, ball = 11829, send = 49, typeee = "ultra"},

 

Como Modificar:

[iD DA BALL] = {cr = CHANCE, on = NAO MUDE, off = NAO MUDE, ball = N MUDE, send = NAO MUDE, typeee = "TIPO DE BALL"},

 

 

Modificar cath dos pokemons:

"Pasta Servidor > Data > Lib > Configurations.lua"

Procure por: "pokecatches = {"

 

Tera abaixo as rates assim: (exemplo)

["Bulbasaur"] = {chance = 500, corpse = 5969},

 

Modifique somente a CHANCE.

 

Espero ter ajudado!

Atenciosamente, Stigal.

Link para o comentário
Compartilhar em outros sites

Pq nao to conseguindo abri o mapa com akele client

Modifique o nome das SPR e DAT para "tibia.spr" e "tibia.dat"

Modifique nas preferencias do RME...

 

Caso Duvidas veja esse tutorial:

01 - http://www.xtibia.com/forum/topic/182884-tutorial-remeres-map-editor-854-poketibia/

02 - http://www.xtibia.com/forum/topic/184739-dvidas-frequentes-sobre-mappingremeres/

03 - http://www.xtibia.com/forum/topic/158684-modificando-rme-para-servidor-pokemon/

 

 

Atenciosamente, Stigal.

Link para o comentário
Compartilhar em outros sites

Como faço para alterar a chance de aparecer shiny? sei que é no spawn.lua mais qual valor devo mudar? E quando um char desloga usando surf não consegue logar denovo, alguem sabe como resolver isso? Obrigado!

Link para o comentário
Compartilhar em outros sites

Como faço para alterar a chance de aparecer shiny? sei que é no spawn.lua mais qual valor devo mudar? E quando um char desloga usando surf não consegue logar denovo, alguem sabe como resolver isso? Obrigado!

Abra "Pasta servidor > data > Creaturesscript > spaw.lua" retire tudo dela e adicione:

 

local shinys = {
"Bulbasaur", "Ivysaur", "Venusaur", "Charmander", "Charmeleon", "Charizard", "Squirtle", "Wartortle", "Blastoise",
"Caterpie", "Metapod", "Butterfree", "Weedle", "Kakuna", "Beedrill", "Pidgey", "Pidgeotto", "Pidgeot", "Rattata",
"Raticate", "Spearow", "Fearow", "Ekans", "Arbok", "Pikachu", "Raichu", "Sandshrew", "Sandslash", "Nidoran Female",
"Nidorina", "Nidoqueen", "Nidoran Male", "Nidorino", "Nidoking", "Clefairy", "Clefable", "Vulpix", "Ninetales",
"Jigglytuff", "Wigglytuff", "Zubat", "Golbat", "Odish", "Gloom", "Vileplume", "Paras", "Parasect", "Venonat", "Venomoth",
"Diglett", "Dugtrio", "Mewoth", "Persian", "Psyduck", "Golduck", "Mankey", "Primeape", "Growlithe", "Arcanine",
"Poliwag", "Poliwhirl", "Poliwrath", "Abra", "Kadabra", "Alakazam", "Machop", "Machoke", "Machamp", "Bellsprout",
"Weepinbell", "Victreebel", "Tentacool", "Tentacruel", "Geodude", "Graveler", "Golem", "Ponyta", "Rapidash", "Slowpoke",
"Slowbro", "Magnamite", "Magneton", "Farfetch'd", "Doduo", "Dodrio", "Seel", "Dewgong", "Grimer", "Muk", "Shellder",
"Cloyster", "Gastly", "Haunter", "Gengar", "Onix", "Drowzee", "Hypno", "Krabby", "Kingler", "Voltorb", "Electrode",
"Exeggcute", "Exeggutor", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Lickitung", "Koffing", "Weezing", "Rhyhorn",
"Rhydon", "Chansey", "Tangela", "Kangaskhan", "Horsea", "Seadra", "Goldeen", "Seaking", "Staryu", "Starmie", "Mr. Mime",
"Scyther", "Jynx", "Electabuzz", "Magmar", "Pinsir", "Tauros", "Magikarp", "Gyarados", "Lapras", "Ditto", "Eevee", "Vaporeon",
"Jolteon", "Flareon", "Porygon", "Omanyte", "Omastar", "Kabuto", "Kabutops", "Snorlax", "Porygo Z", "Dragonair", "Dratini"
}
local raros = {"Dragonite", "Aerodactyl"}							  --alterado v1.5
local function ShinyName(cid)
if isCreature(cid) then
  if string.find(tostring(getCreatureName(cid)), "Shiny") then
  local newName = tostring(getCreatureName(cid)):match("Shiny (.*)")			
  doCreatureSetNick(cid, newName)
  if isMonster(cid) then
	 doSetCreatureDropLoot(cid, false) 
  end
  end
end
end
local function doSetRandomGender(cid)
if not isCreature(cid) then return true end
if isSummon(cid) then return true end
local gender = 0
local name = getCreatureName(cid)
if not newpokedex[name] then return true end
local rate = newpokedex[name].gender
 if rate == 0 then
  gender = 3
 elseif rate == 1000 then
  gender = 4
 elseif rate == -1 then
  gender = 0
 elseif math.random(1, 1000) <= rate then
  gender = 4
 else
  gender = 3
 end
doCreatureSetSkullType(cid, gender)
end
local function doShiny(cid)
if isCreature(cid) then
  if isSummon(cid) then return true end
  if getPlayerStorageValue(cid, 74469) >= 1 then return true end
  if isNpcSummon(cid) then return true end
if isInArray(shinys, getCreatureName(cid)) then
  transform = math.random(1, 500000)    --5.0% chance	   
elseif isInArray(raros, getCreatureName(cid)) then
  transform = math.random(1, 500000)   --5.0% chance	  
elseif not isInArray(raros, getCreatureName(cid)) and not isInArray(shinys, getCreatureName(cid)) then
  return true
end   
   if transform == 10 then
  doSendMagicEffect(getThingPos(cid), 18)
  local shi = doCreateMonster("Shiny ".. getCreatureName(cid) .."", getThingPos(cid))
  setPlayerStorageValue(shi, 74469, 1)
  setPlayerStorageValue(cid, 74469, 1)
  doRemoveCreature(cid)
  else
   setPlayerStorageValue(cid, 74469, 1)
  end
else														   
return true
end
end

function onSpawn(cid)
   registerCreatureEvent(cid, "Experience")
registerCreatureEvent(cid, "GeneralConfiguration")
registerCreatureEvent(cid, "DirectionSystem")
registerCreatureEvent(cid, "CastSystem")
if isSummon(cid) then
 registerCreatureEvent(cid, "SummonDeath")
return true
end

addEvent(doSetRandomGender, 5, cid)
addEvent(doShiny, 10, cid)
addEvent(ShinyName, 15, cid)
addEvent(adjustWildPoke, 5, cid)
return true
end

 

 

oque modificar:

local function doShiny(cid)
if isCreature(cid) then
  if isSummon(cid) then return true end
  if getPlayerStorageValue(cid, 74469) >= 1 then return true end
  if isNpcSummon(cid) then return true end
if isInArray(shinys, getCreatureName(cid)) then
  transform = math.random(1, 500000)    --5.0% chance	   
elseif isInArray(raros, getCreatureName(cid)) then
  transform = math.random(1, 500000)   --5.0% chance	  
elseif not isInArray(raros, getCreatureName(cid)) and not isInArray(shinys, getCreatureName(cid)) then
  return true
end

 

Como Modificar:

  transform = math.random(1, 500000)    --5.0% chance

  transform = math.random(1, 500000)   --5.0% chance	

1000 = 0,1%

500000 = 5% (+/-)

 

espero ter ajudado ;3

Link para o comentário
Compartilhar em outros sites

Como faço para alterar a chance de aparecer shiny? sei que é no spawn.lua mais qual valor devo mudar? E quando um char desloga usando surf não consegue logar denovo, alguem sabe como resolver isso? Obrigado!

Abra "Pasta servidor > data > Creaturesscript > spaw.lua" retire tudo dela e adicione:

 

local shinys = {
"Bulbasaur", "Ivysaur", "Venusaur", "Charmander", "Charmeleon", "Charizard", "Squirtle", "Wartortle", "Blastoise",
"Caterpie", "Metapod", "Butterfree", "Weedle", "Kakuna", "Beedrill", "Pidgey", "Pidgeotto", "Pidgeot", "Rattata",
"Raticate", "Spearow", "Fearow", "Ekans", "Arbok", "Pikachu", "Raichu", "Sandshrew", "Sandslash", "Nidoran Female",
"Nidorina", "Nidoqueen", "Nidoran Male", "Nidorino", "Nidoking", "Clefairy", "Clefable", "Vulpix", "Ninetales",
"Jigglytuff", "Wigglytuff", "Zubat", "Golbat", "Odish", "Gloom", "Vileplume", "Paras", "Parasect", "Venonat", "Venomoth",
"Diglett", "Dugtrio", "Mewoth", "Persian", "Psyduck", "Golduck", "Mankey", "Primeape", "Growlithe", "Arcanine",
"Poliwag", "Poliwhirl", "Poliwrath", "Abra", "Kadabra", "Alakazam", "Machop", "Machoke", "Machamp", "Bellsprout",
"Weepinbell", "Victreebel", "Tentacool", "Tentacruel", "Geodude", "Graveler", "Golem", "Ponyta", "Rapidash", "Slowpoke",
"Slowbro", "Magnamite", "Magneton", "Farfetch'd", "Doduo", "Dodrio", "Seel", "Dewgong", "Grimer", "Muk", "Shellder",
"Cloyster", "Gastly", "Haunter", "Gengar", "Onix", "Drowzee", "Hypno", "Krabby", "Kingler", "Voltorb", "Electrode",
"Exeggcute", "Exeggutor", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Lickitung", "Koffing", "Weezing", "Rhyhorn",
"Rhydon", "Chansey", "Tangela", "Kangaskhan", "Horsea", "Seadra", "Goldeen", "Seaking", "Staryu", "Starmie", "Mr. Mime",
"Scyther", "Jynx", "Electabuzz", "Magmar", "Pinsir", "Tauros", "Magikarp", "Gyarados", "Lapras", "Ditto", "Eevee", "Vaporeon",
"Jolteon", "Flareon", "Porygon", "Omanyte", "Omastar", "Kabuto", "Kabutops", "Snorlax", "Porygo Z", "Dragonair", "Dratini"
}
local raros = {"Dragonite", "Aerodactyl"}							  --alterado v1.5
local function ShinyName(cid)
if isCreature(cid) then
  if string.find(tostring(getCreatureName(cid)), "Shiny") then
  local newName = tostring(getCreatureName(cid)):match("Shiny (.*)")			
  doCreatureSetNick(cid, newName)
  if isMonster(cid) then
	 doSetCreatureDropLoot(cid, false)
  end
  end
end
end
local function doSetRandomGender(cid)
if not isCreature(cid) then return true end
if isSummon(cid) then return true end
local gender = 0
local name = getCreatureName(cid)
if not newpokedex[name] then return true end
local rate = newpokedex[name].gender
 if rate == 0 then
  gender = 3
 elseif rate == 1000 then
  gender = 4
 elseif rate == -1 then
  gender = 0
 elseif math.random(1, 1000) <= rate then
  gender = 4
 else
  gender = 3
 end
doCreatureSetSkullType(cid, gender)
end
local function doShiny(cid)
if isCreature(cid) then
  if isSummon(cid) then return true end
  if getPlayerStorageValue(cid, 74469) >= 1 then return true end
  if isNpcSummon(cid) then return true end
if isInArray(shinys, getCreatureName(cid)) then
  transform = math.random(1, 500000)	--5.0% chance	  
elseif isInArray(raros, getCreatureName(cid)) then
  transform = math.random(1, 500000)   --5.0% chance	  
elseif not isInArray(raros, getCreatureName(cid)) and not isInArray(shinys, getCreatureName(cid)) then
  return true
end  
if transform == 10 then
  doSendMagicEffect(getThingPos(cid), 18)
  local shi = doCreateMonster("Shiny ".. getCreatureName(cid) .."", getThingPos(cid))
  setPlayerStorageValue(shi, 74469, 1)
  setPlayerStorageValue(cid, 74469, 1)
  doRemoveCreature(cid)
  else
   setPlayerStorageValue(cid, 74469, 1)
  end
else														  
return true
end
end

function onSpawn(cid)
registerCreatureEvent(cid, "Experience")
registerCreatureEvent(cid, "GeneralConfiguration")
registerCreatureEvent(cid, "DirectionSystem")
registerCreatureEvent(cid, "CastSystem")
if isSummon(cid) then
 registerCreatureEvent(cid, "SummonDeath")
return true
end

addEvent(doSetRandomGender, 5, cid)
addEvent(doShiny, 10, cid)
addEvent(ShinyName, 15, cid)
addEvent(adjustWildPoke, 5, cid)
return true
end

 

 

oque modificar:

local function doShiny(cid)
if isCreature(cid) then
  if isSummon(cid) then return true end
  if getPlayerStorageValue(cid, 74469) >= 1 then return true end
  if isNpcSummon(cid) then return true end
if isInArray(shinys, getCreatureName(cid)) then
  transform = math.random(1, 500000)	--5.0% chance	  
elseif isInArray(raros, getCreatureName(cid)) then
  transform = math.random(1, 500000)   --5.0% chance	  
elseif not isInArray(raros, getCreatureName(cid)) and not isInArray(shinys, getCreatureName(cid)) then
  return true
end

 

Como Modificar:

  transform = math.random(1, 500000)	--5.0% chance

  transform = math.random(1, 500000)   --5.0% chance	

1000 = 0,1%

500000 = 5% (+/-)

 

espero ter ajudado ;3

 

Vlws!! REP+

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...