Jump to content

Recommended Posts

Bom galera venho aqui pedir ajuda meu servidor que tem VPS foi banido do otservlist por causa daquele sistema tosco do player continuar online depois de dar exit 24 horas treiner, preciso de ajuda, pra remover esse sistema, alguém pode me ajudar?

 

O idle do meu servidor

 

-- Limits

idleWarningTime = 14 * 60 * 1000

idleKickTime = 1000 * 1000 * 10000

expireReportsAfterReads = 1

playerQueryDeepness = 2

maxItemsPerPZTile = 0

maxItemsPerHouseTile = 0

 

Creio eu que seja alguma configuração no login.lua/ Creature Scripts

 

Se alguém puder me ajudar REP+

Edited by Daniel000
Link to comment
https://xtibia.com/forum/topic/211453-encerrado-levando-ban-no-otservlist/
Share on other sites

Isso mesmo treiner offline, levei ban spofing data info por causa disso tentei olhar no RME só aparece no pvp tool, não tem o no lagout tool

Edited by Daniel000

Em qual pasta posso olhar isso? No próprio treiner? procurei na pasta data/lib não tem nada informando, eu não entendo nada desse sistema, mas fui banido por causa do player não deslogar depois de dar exit, não encontrei nenhuma pasta com o nome training offline ou algo do gênero, só a pasta idle, no creaturescripts e a pasta trainerroom.

Edited by Daniel000
function onUse(cid, item, frompos, item2, topos)

 

-- <beginning> Training Room script by Alreth.

-- Version 1.0, last edited 2006-06-02 17:39

 

-- Beginning of editable Variabels

aidNor = 4211 -- Action id for door where training room is north of door

aidSou = 4212 -- Action id for door where training room is south of door

aidWes = 4213 -- Action id for door where training room is west of door

aidEas = 4214 -- Action id for door where training room is east of door

-- End of editable Variabels

 

emptyRoom = true

charPos = getPlayerPosition(cid)

 

if (item.actionid == aidNor) then

if (charPos.y < frompos.y) then

othersidePos = {x=frompos.x, y=frompos.y+1, z=frompos.z}

else

othersidePos = {x=frompos.x, y=frompos.y-1, z=frompos.z, stackpos=253}

things = getThingfromPos(othersidePos)

if (things.itemid == 1) then

if (getPlayerLevel(things.uid) > 0) then

emptyRoom = false

end

end

end

 

elseif (item.actionid == aidSou) then

if (charPos.y > frompos.y) then

othersidePos = {x=frompos.x, y=frompos.y-1, z=frompos.z}

else

othersidePos = {x=frompos.x, y=frompos.y+1, z=frompos.z, stackpos=253}

things = getThingfromPos(othersidePos)

if (things.itemid == 1) then

if (getPlayerLevel(things.uid) > 0) then

emptyRoom = false

end

end

end

 

elseif (item.actionid == aidEas) then

if (charPos.x > frompos.x) then

othersidePos = {x=frompos.x-1, y=frompos.y, z=frompos.z}

else

othersidePos = {x=frompos.x+1, y=frompos.y, z=frompos.z, stackpos=253}

things = getThingfromPos(othersidePos)

if (things.itemid == 1) then

if (getPlayerLevel(things.uid) > 0) then

emptyRoom = false

end

end

end

 

elseif (item.actionid == aidWes) then

if (charPos.x < frompos.x) then

othersidePos = {x=frompos.x+1, y=frompos.y, z=frompos.z}

else

othersidePos = {x=frompos.x-1, y=frompos.y, z=frompos.z, stackpos=253}

things = getThingfromPos(othersidePos)

if (things.itemid == 1) then

if (getPlayerLevel(things.uid) > 0) then

emptyRoom = false

end

end

end

 

end

 

if (emptyRoom == true) then

doTeleportThing(cid, othersidePos)

doSendMagicEffect(charPos, 2)

doSendMagicEffect(frompos, 12)

doSendMagicEffect(othersidePos, 10)

 

else

doPlayerSendTextMessage(cid, 22, "Esta sala ja esta ocupada.")

end

-- <end> Training Room script by Alreth.

 

return 1

end

 

Ah já veio no seu servidor esse Training Offline?

Aconselho apagar pelo RME essa área de training off

 

Isso mesmo veio com o servidor

Você tem duas opções:

 

Vê o nome do arquivo, exemplo (trainingoff.lua), vá em actions.xml, procura pelo nome do arquivo e tira a tag que tá ele.

 

ou

 

Trocar por isso, rsrs:

 

 

function onUse(cid, item, frompos, item2, topos)

doPlayerSendCancel(cid,"Training Offline retired!")

end

 

Você tem que alterar no mapa editor!

Os pisos dos treiners!

 

Vou testar aqui

 

Você tem duas opções:

 

Vê o nome do arquivo, exemplo (trainingoff.lua), vá em actions.xml, procura pelo nome do arquivo e tira a tag que tá ele.

 

ou

 

Trocar por isso, rsrs:

 

 

function onUse(cid, item, frompos, item2, topos)

doPlayerSendCancel(cid,"Training Offline retired!")

end

 

 

Nosa caso remover essa tag aqui?

 

<action actionid="4211" script="trainroom.lua" />

<action actionid="4212" script="trainroom.lua" />

<action actionid="4213" script="trainroom.lua" />

<action actionid="4214" script="trainroom.lua" />

Edited by Daniel000

Exato, se existir mais retire também. Depois você entra na conta do GOD e fala:

 

/reload actions

 

Ou você reinicia o servidor mesmo :)

 

Acho que vai funcionar valeu mesmo pela ajuda :)

  • 5 years later...
A questão neste tópico de suporte foi encerrada por falta de respostas. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta.

+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.
Guest
This topic is now closed to further replies.
×
×
  • Create New...