Ir para conteúdo
  • 0

Bug vip tile e outifts!


renanalexandre

Pergunta

To usando o Vip Sistem by Account do Kydrai .. aconteceu 2 bugs e nao to conseguindo corrigir e se vc conseguir arrumar te do uns 5 REP+ mano namoral!!

 

1° Bug:

A viptile está apresentando esse erro :

[Error - MoveEvent::executeStep] Call stack overflow.

[Error - MoveEvent::executeStep] Call stack overflow.

e causa debug no CLIENT nao no server!

ja tentei dar /intallvip e mesmo assim esta causando Debug no client do meu servidor '-'

 

2° Bug:

Bug nas Outfits , tipo nao sei se eh bug pq realmente nao está funcionando!

 

Meu Outfits.xml =

 

 

 

<?xml version="1.0"?>

<outfits>

<outfit id="1">

<list gender="0" lookType="136" name="Cidada"/>

<list gender="1" lookType="128" name="Cidadao"/>

</outfit>

 

<outfit id="2">

<list gender="0" lookType="137" name="Cacadora"/>

<list gender="1" lookType="129" name="Cacador"/>

</outfit>

 

<outfit id="3">

<list gender="0" lookType="138" name="Maga"/>

<list gender="1" lookType="130" name="Mago"/>

</outfit>

 

<outfit id="4">

<list gender="0" lookType="139" name="Cavaleira"/>

<list gender="1" lookType="131" name="Cavaleiro"/>

</outfit>

 

<outfit id="5" premium="yes">

<list gender="0" lookType="140" name="Nobre"/>

<list gender="1" lookType="132" name="Nobre"/>

</outfit>

 

<outfit id="6" premium="yes">

<list gender="0" lookType="141" name="Invocadora"/>

<list gender="1" lookType="133" name="Invocador"/>

</outfit>

 

<outfit id="7" premium="yes">

<list gender="0" lookType="142" name="Guerreira"/>

<list gender="1" lookType="134" name="Guerreiro"/>

</outfit>

 

<outfit id="8" premium="yes">

<list gender="0" lookType="147" name="Barbara"/>

<list gender="1" lookType="143" name="Barbaro"/>

</outfit>

 

<outfit id="9" premium="yes">

<list gender="0" lookType="148" name="Druida"/>

<list gender="1" lookType="144" name="Druida"/>

</outfit>

 

<outfit id="10" premium="yes" quest="50010">

<list gender="0" lookType="149" name="Feiticeira"/>

<list gender="1" lookType="145" name="Feiticeiro"/>

</outfit>

 

<outfit id="11" premium="yes" quest="50009">

<list gender="0" lookType="150" name="Oriental"/>

<list gender="1" lookType="146" name="Oriental"/>

</outfit>

 

<outfit id="12" premium="yes" quest="50008">

<list gender="0" lookType="155" name="Pirata"/>

<list gender="1" lookType="151" name="Pirata"/>

</outfit>

 

<outfit id="13" premium="yes">

<list gender="0" lookType="156" name="Assassina"/>

<list gender="1" lookType="152" name="Assassino"/>

</outfit>

 

<outfit id="14" premium="yes">

<list gender="0" lookType="157" name="Mendiga"/>

<list gender="1" lookType="153" name="Mendigo"/>

</outfit>

 

<outfit id="15" premium="yes" quest="50007">

<list gender="0" lookType="158" name="Xama"/>

<list gender="1" lookType="154" name="Xama"/>

</outfit>

 

<outfit id="16" premium="yes" quest="50006">

<list gender="0" lookType="252" name="Nordica"/>

<list gender="1" lookType="251" name="Nordico"/>

</outfit>

 

<outfit id="17" premium="yes" quest="50005">

<list gender="0" lookType="269" name="Pesadelo"/>

<list gender="1" lookType="268" name="Pesadelo"/>

</outfit>

 

<outfit id="18" premium="yes" quest="50004">

<list gender="0" lookType="270" name="Palhaca"/>

<list gender="1" lookType="273" name="Palhaco"/>

</outfit>

 

<outfit id="19" premium="yes">

<list gender="0" lookType="279" name="Fraternidade"/>

<list gender="1" lookType="278" name="Fraternidade"/>

</outfit>

 

<outfit id="20" premium="yes" quest="50003">

<list gender="0" lookType="288" name="Matadora"/>

<list gender="1" lookType="289" name="Matador"/>

</outfit>

 

<outfit id="21" premium="yes" quest="50002">

<list gender="0" lookType="324" name="Yalahariana"/>

<list gender="1" lookType="325" name="Yalahariano"/>

</outfit>

 

<outfit id="22" premium="yes" quest="50001">

<list gender="0" lookType="336" name="Supremo"/>

<list gender="1" lookType="335" name="Supremo"/>

</outfit>

 

<outfit id="23" premium="yes" quest="50000">

<list gender="0" lookType="366" name="Viajante"/>

<list gender="1" lookType="367" name="Viajante"/>

</outfit>

 

<outfit id="24" premium="yes">

<list gender="0" lookType="329" name="Noiva"/>

<list gender="1" lookType="328" name="Noivo"/>

</outfit>

 

<outfit id="25" access="5" premium="yes">

<list gender="0-3" lookType="12" name="GM Gigante"/>

</outfit>

 

<outfit id="26" access="5" premium="yes">

<list gender="0-3" lookType="159" name="Elfo"/>

</outfit>

 

<outfit id="27" access="5" premium="yes">

<list gender="0-3" lookType="160" name="Dwarf"/>

</outfit>

 

<outfit id="28" access="5" premium="yes">

<list gender="0-3" lookType="226" name="Sapo"/>

</outfit>

 

<outfit id="29" access="5" premium="yes">

<list gender="0-3" lookType="194" name="Cult"/>

</outfit>

 

<outfit id="30" access="5" premium="yes">

<list gender="0-3" lookType="253" name="Headsplitter"/>

</outfit>

 

<outfit id="31" access="5" premium="yes">

<list gender="0-3" lookType="254" name="Skullhunter"/>

</outfit>

 

<outfit id="32" access="5" premium="yes">

<list gender="0-3" lookType="255" name="Bloodwalker"/>

</outfit>

 

<outfit id="33" premium="yes" quest="50011">

<list gender="0-3" lookType="264" name="Brutetamer"/>

</outfit>

 

<outfit id="34" access="3" premium="yes">

<list gender="0-3" lookType="75" name="Gamemaster"/>

</outfit>

 

<outfit id="35" access="4" premium="yes">

<list gender="0-3" lookType="266" name="Gerente da Comunidade"/>

</outfit>

 

<outfit id="36" access="5" premium="yes">

<list gender="0-3" lookType="302" name="ADM"/>

</outfit>

</outfits>

 

 

 

 

Meu Creaturescripts Outfitvip.xml =

 

 

 

--[[ Script By Vodkart]]--

function onLogin(cid)

 

local x = {

[0] = {lookType = 136, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -- Outfit Female caso acabe a vip (n precisa mexer)

[1] = {lookType = 128, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0} -- Outfit Male caso acabe a vip (n precisa mexer)

}

quest_storage = 50000

quest_storage = 50001

quest_storage = 50002

quest_storage = 50003

quest_storage = 50004

quest_storage = 50005

quest_storage = 50006

quest_storage = 50007

quest_storage = 50008

quest_storage = 50009

quest_storage = 50010

quest_storage = 50011

quest_storage = 50012

 

if isVip(cid) == TRUE and getPlayerStorageValue(cid, quest_storage) == -1 then

setPlayerStorageValue(cid, quest_storage, 1)

elseif isVip(cid) == FALSE and getPlayerStorageValue(cid, quest_storage) >= 1 then

setPlayerStorageValue(cid, quest_storage, -1)

doCreatureChangeOutfit(cid, x[getPlayerSex(cid)])

end

return TRUE

end

 

 

POR FAVOR MANO ME AJUDA! REP+++++

 

 

@vodkart

Link para o comentário
Compartilhar em outros sites

9 respostass a esta questão

Posts Recomendados

  • 0

Okkk desculpa galera foi mals mesmo!

 

o tópico para jogadores vip com outfits é esse: http://www.xtibia.com/forum/topic/141882-outfits-so-para-jogadores-vips/ ta bem diferente

 

mano mais tipo pra eu adicionar mais de 1 outfit eu vo te q fazer outro script?

Link para o comentário
Compartilhar em outros sites

  • 0
Okkk desculpa galera foi mals mesmo!
o tópico para jogadores vip com outfits é esse: http://www.xtibia.com/forum/topic/141882-outfits-so-para-jogadores-vips/ ta bem diferente
mano mais tipo pra eu adicionar mais de 1 outfit eu vo te q fazer outro script?

 

claro que não, vc só tem que adicionar as storages na outfit que vc quer q só player vip use!

Link para o comentário
Compartilhar em outros sites

  • 0

entao é isso que eu fiz :( só que nao deu certo ó =

 

--[[ Script By Vodkart]]--

function onLogin(cid)

 

local x = {

[0] = {lookType = 136, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -- Outfit Female caso acabe a vip (n precisa mexer)

[1] = {lookType = 128, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0} -- Outfit Male caso acabe a vip (n precisa mexer)

}

quest_storage = 50000

quest_storage = 50001

quest_storage = 50002

quest_storage = 50003

quest_storage = 50004

quest_storage = 50005

quest_storage = 50006

quest_storage = 50007

quest_storage = 50008

quest_storage = 50009

quest_storage = 50010

quest_storage = 50011

quest_storage = 50012

 

if isVip(cid) == TRUE and getPlayerStorageValue(cid, quest_storage) == -1 then

setPlayerStorageValue(cid, quest_storage, 1)

elseif isVip(cid) == FALSE and getPlayerStorageValue(cid, quest_storage) >= 1 then

setPlayerStorageValue(cid, quest_storage, -1)

doCreatureChangeOutfit(cid, x[getPlayerSex(cid)])

end

return TRUE

end

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...