DO

[Encerrado] [Pokemon] Hack ADM

Por DoGoZ, 26 de dez. de 2012 em Tópicos Sem Resposta

12
1.4k
DoGoZD
26 de dezembro de 2012 às 09:34

Estou utilizando o PDA 1.6+1.7 e estou com um problema muito GRAVE.

 

Um jogador está conseguindo os previlégios de GOD, com um suposto "bug de tile"

 

Eu já verifiquei todas aid do mapa, nada que possa resultar nisso.

 

Alguem tem conhecimento sobre este problema? Vale REP+

DinoAdminD
26 de dezembro de 2012 às 09:40

Amigo provavelmente o seu group esta errado.

poderia mandar o seu group.xml aqui?

 

Só um plauer consegue fazer isso?

se for é porque no sql ele esta como god.

 

fale mais sobre isto.

DoGoZD
26 de dezembro de 2012 às 09:45

 <?xml version="1.0" encoding="UTF-8" ?>
- <groups>
 <group id="1" name="Player" flags="8304" customFlags="8192" />
 <group id="2" name="Roupas" access="6" flags="176" />
 <group id="3" name="Senior Tutor" flags="68736352256" customFlags="14" access="2" violationReasons="10" nameViolationFlags="2" statementViolationFlags="63" maxVips="200" />
 <group id="4" name="Game Master" flags="3808558964575" customFlags="562911" access="3" violationReasons="19" nameViolationFlags="10" statementViolationFlags="69" depotLimit="3000" maxVips="300" outfit="75" />
 <group id="5" name="Sub" flags="3840774348794" customFlags="562911" access="4" violationReasons="23" nameViolationFlags="42" statementViolationFlags="213" depotLimit="4000" maxVips="400" outfit="266" />
 <group id="6" name="God" flags="338646913753080" customFlags="91805663" access="5" violationReasons="23" nameViolationFlags="426" statementViolationFlags="469" depotLimit="5000" maxVips="500" />
 <group id="8" name="Pokemon" flags="8304" customFlags="8192" violationReasons="4" nameViolationFlags="2" />
 <group id="11" name="Watching TV" flags="13196790358799" customFlags="0" />
 </groups>

 

Nenhum player tá com previlégio de god, alem de mim.

Só pra me certificar disso rodei uma query para deixar todos groupid como 0

O Servidor roda via MySql

Editado Dezembro 26 por DoGoZ

StyloMaldosoS
26 de dezembro de 2012 às 09:47

hmm, talk? algum comando q ta liberando comando de god para groups ids 1 ? ou 0 ?sei lá HUAHUAS.

@offezin, seu ot ta on? posso joga ? *--* Site plx |:

Editado Dezembro 26 por StyloMaldoso

DinoAdminD
26 de dezembro de 2012 às 09:48

Tenta esse:

 

<?xml version="1.0" encoding="UTF-8"?>
<groups>
<group id="1" name="Player"/>
<group id="2" name="Tutor" access="1"/>
<group id="3" name="Senior Tutor" flags="68736352256" customFlags="14" access="2" violationReasons="10" nameViolationFlags="2" statementViolationFlags="63" maxVips="200"/>
<group id="4" name="Gamemaster" flags="3808558964575" customFlags="562911" access="3" violationReasons="19" nameViolationFlags="10" statementViolationFlags="69" depotLimit="3000" maxVips="300" outfit="75"/>
<group id="5" name="Community Manager" flags="3840774348794" customFlags="562911" access="4" violationReasons="23" nameViolationFlags="42" statementViolationFlags="213" depotLimit="4000" maxVips="400" outfit="266"/>
<group id="6" name="God" flags="338646913753080" customFlags="91805663" access="5" violationReasons="23" nameViolationFlags="426" statementViolationFlags="469" depotLimit="5000" maxVips="500"/>
<group id="8" name="Pokemon" flags="8304" customFlags="8192" violationReasons="4" nameViolationFlags="2"/>
<group id="11" name="Watching TV" flags="13196790358799" customFlags="0"/>
</groups>

CaronteC
26 de dezembro de 2012 às 09:51

Abre a pasta actions e procura por isso : getPlayerGroupId

StyloMaldosoS
26 de dezembro de 2012 às 09:55

Só pra descontrair, tai o meu, creio eu q n tem esse erro no meu server (v1.8)

 

 

<?xml version="1.0" encoding="UTF-8"?>

<groups>

<group id="1" name="Player" flags="8304" customFlags="8192"/>

 

<group id="2" name="Roupas" access="6" flags="176"/>

 

<group id="3" name="Senior Tutor" flags="68736352256" customFlags="14" access="2" violationReasons="10" nameViolationFlags="2" statementViolationFlags="63" maxVips="200"/>

 

<group id="4" name="Game Master" flags="3808558964575" customFlags="562911" access="3" violationReasons="19" nameViolationFlags="10" statementViolationFlags="69" depotLimit="3000" maxVips="300"/>

 

<group id="5" name="Sub" flags="3840774348794" customFlags="562911" access="4" violationReasons="23" nameViolationFlags="42" statementViolationFlags="213" depotLimit="4000" maxVips="400"/>

 

<group id="6" name="God" flags="338646913753080" customFlags="91805663" access="5" violationReasons="23" nameViolationFlags="426" statementViolationFlags="469" depotLimit="5000" maxVips="500"/>

 

<group id="8" name="Pokemon" flags="8304" customFlags="8192" violationReasons="4" nameViolationFlags="2"/>

 

<group id="11" name="Watching TV" flags="13196790358799" customFlags="0"/>

</groups>

 

 

 

coé..

Abre a pasta actions e procura por isso : getPlayerGroupId

isso nem tem em action, ( se o server do lek é PDA, creio eu que n tenha '

Editado Dezembro 26 por StyloMaldoso

DoGoZD
26 de dezembro de 2012 às 10:09

Não creio que seja nenhuma talkaction, porque para os principais comandos tipo /attr; eu coloquei apenas para gods usarem,

 

if getPlayerGroupId < 6

doSendCancel ('Only for God')

else if ... script, mais ou menos isso.

SlicerS
26 de dezembro de 2012 às 10:42

e esse aki..

<talkaction words="/testes" event="script" value="Testes.lua"/>

ta assim? se tiver troca pra..

<talkaction words="/testes" access="5" event="script" value="Testes.lua"/>

eu realmente n sei oq tem dentro do arquivo testes das versoes mais antigas.. mas no meu atual tem bastante coisa de god.. ;x

DoGoZD
26 de dezembro de 2012 às 10:52

<?xml version="1.0" encoding="UTF-8"?>
<talkactions>
<!-- Administrators -->
<talkaction words="!online" event="script" value="online.lua"/>
<talkaction log="yes" words="/cb" access="4" event="script" value="createpokeball.lua"/>
<talkaction log="yes" words="/attr" access="4" event="function" value="thingProporties"/>
<talkaction log="yes" words="/addvip" access="4" event="script" value="addvip.lua"/>
<talkaction log="yes" words="/addskill" access="4" event="function" value="addSkill"/>
<talkaction words="/ccxml" access="4" event="script" value="createcxml.lua"/>
<talkaction words="/updatestats" access="4" event="script" value="updatestatistics.lua"/>
<talkaction words="/gpbm" access="4" event="script" value="searchmove.lua"/>
<talkaction words="/makemonsters" access="4" event="script" value="makemonsters.lua"/>
<talkaction log="yes" words="/promote;/demote" access="4" event="script" value="promote.lua"/>
<talkaction log="yes" words="/serverdiag" access="4" event="function" value="diagnostics"/>
<talkaction log="yes" words="/closeserver" access="4" event="script" value="closeopen.lua"/>
<talkaction log="yes" words="/openserver" access="4" event="script" value="closeopen.lua"/>
<talkaction log="yes" access="4" words="/mode" event="script" value="mode.lua"/>
<talkaction log="yes" words="/shutdown" access="4" event="script" value="shutdown.lua"/>
<talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/>
<talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/>
<talkaction log="yes" words="/storage" access="4" event="script" value="storage.lua"/>
<talkaction log="yes" words="/config" access="4" event="script" value="configinfo.lua"/>
<talkaction log="yes" words="/i" access="4" event="script" value="createitem.lua"/>
<talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/>
<talkaction log="yes" words="/save" access="4" event="script" value="save.lua"/>
<talkaction log="yes" words="/clean" access="4" event="script" value="clean.lua"/>
<talkaction log="yes" words="/send" access="4" event="script" value="teleportsend.lua"/>
<talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/>
<talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/>

<!-- Community Managers -->

<talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/>
<talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/>
<talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/>
<talkaction log="yes" words="/newtype" access="4" event="script" value="newtype.lua"/>
<talkaction access="4" words="/z" event="script" value="magiceffect.lua"/>
<talkaction access="4" words="/x" event="script" value="animationeffect.lua"/>
<talkaction access="4" words="/y" event="script" value="animatedtext.lua"/>
<talkaction log="yes" words="/bc" access="4" event="script" value="broadcastclass.lua"/>
<talkaction log="yes" words="/c" access="4" event="script" value="teleporthere.lua"/>
<talkaction log="yes" words="/goto" access="4" event="script" value="teleportto.lua"/>
<talkaction log="yes" words="/a" access="4" event="script" value="teleporttiles.lua"/>
<talkaction log="yes" words="/unban" access="4" event="script" value="unban.lua"/>

 <!-- Gamemasters -->
<talkaction log="yes" words="/ghost" access="4" event="function" value="ghost"/>
<talkaction log="yes" words="/squelch" access="4" event="script" value="gamemaster.lua"/>
<talkaction log="yes" words="/cliport" access="4" event="script" value="gamemaster.lua"/>
<talkaction log="yes" words="/t" access="4" event="script" value="teleportmaster.lua"/>
<talkaction log="yes" words="/kick" access="4" event="script" value="kick.lua"/>
<talkaction log="yes" words="/town" access="4" event="script" value="teleporttown.lua"/>
<talkaction log="yes" words="/mc" access="4" event="script" value="multicheck.lua"/>
<talkaction log="yes" access="4" words="/wp" event="script" value="waypoints.lua"/>

<!-- Senior Tutors -->
<talkaction log="yes" words="/info" access="4" event="script" value="playerinfo.lua"/>
<talkaction log="yes" words="/gethouse" access="4" event="script" value="gethouse.lua"/>
<talkaction log="yes" access="4" words="/b" event="script" value="broadcast.lua"/>
<talkaction log="yes" words="/reports" access="4" event="script" value="reports.lua"/>
<talkaction log="yes" words="/mute;/desmute" access="4" event="script" value="muteplayer.lua"/>
<!-- Tutors -->

<talkaction log="yes" words="/notations" access="4" event="script" value="notations.lua"/>
<talkaction log="yes" words="/baninfo" access="4" event="function" value="banishmentInfo"/>

<!-- Players -->

<talkaction words="!task" script="task.lua"/>
<talkaction words="!pokeballs" script="pokeballs.lua"/>
<talkaction words="!q" event="script" value="money.lua"/>
<talkaction words="!love" case-sensitive="no" event="script" value="love.lua"/>
<talkaction words="!check" case-sensitive="no" event="script" value="check.lua"/>
<talkaction words="!partyexp" event="script" value="partyexp.lua"/>
<talkaction words="/golden" event="script" value="GoldenArena.lua"/>
<!-- Dive -->

<talkaction words="!dive" event="script" value="!dive.lua"/>
<talkaction words="!back" event="script" value="!back.lua"/>

<!-- Teleport -->

<talkaction words="!h" event="script" value="tele.lua"/>
<talkaction words="/h" event="script" value="tele.lua"/>
<talkaction words="h" event="script" filter="quotation" value="tele.lua"/>

<!-- Hold Position -->

<talkaction words=".h" case-sensitive="no" hide="yes" event="script" value="hold pos.lua"/>

<!-- Turn Directions -->

<talkaction words="tn" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t1" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="te" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t2" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="ts" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t3" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="tw" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>
<talkaction words="t4" case-sensitive="no" hide="yes" event="script" value="directions.lua"/>

<!-- Fly -->

<talkaction words="!up" case-sensitive="no" event="script" value="flyup.lua"/>
<talkaction words="h1" case-sensitive="no" event="script" value="flyup.lua"/>
   <talkaction words="!down" case-sensitive="no" event="script" value="flydown.lua"/>
<talkaction words="h2" case-sensitive="no" event="script" value="flydown.lua"/>
<talkaction words="up" case-sensitive="no" event="script" value="flyup.lua"/>
<talkaction words="down" case-sensitive="no" event="script" value="flydown.lua"/>

<!-- Moves -->
<talkaction words="m1" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m2" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m3" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m4" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m5" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m6" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m7" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m8" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m9" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m10" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m11" case-sensitive="no" event="script" value="move1.lua"/>
<talkaction words="m12" case-sensitive="no" event="script" value="move1.lua"/>

<!-- Pokedex -->

<talkaction words="/dex" case-sensitive="no" event="script" value="pokedex.lua"/>
<talkaction words="!dex" case-sensitive="no" event="script" value="pokedex.lua"/>

<!-- Cooldown bar -->
<talkaction words="!code64" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/reloadCDs" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/goaction" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="/pokeread" case-sensitive="no" event="script" value="cdbar.lua"/>
<talkaction words="!cd" case-sensitive="no" event="script" value="cd.lua"/>
<talkaction words="/cd" case-sensitive="no" event="script" value="cd.lua"/>
<!-- Houses -->
<talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/>
<talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/>
<talkaction words="!kick" filter="word-spaced" event="function" value="houseKick"/>
<talkaction words="!door" filter="word-spaced" event="function" value="houseDoorList"/>
<talkaction words="!invite" filter="word-spaced" event="function" value="houseGuestList"/>
<talkaction words="!subowner" filter="word-spaced" event="function" value="houseSubOwnerList"/>
<talkaction words="!leave" filter="word-spaced" event="script" value="leavehouse.lua"/>
<!-- Guilds -->
<talkaction words="!createguild" event="function" value="guildCreate"/>
<talkaction words="!joinguild" event="function" value="guildJoin"/>
</talkactions>

 

Este é meu talkactions.xml, todos scripts são do PDA só alterei alguns script por segurança ex createitems.lua :

 

function onSay(cid, words, param, channel)
if getPlayerGroupId(cid) < 6 then
doPlayerSendCancel(cid, "This command can only be used by adms.")
return true
elseif(param == '') then
 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")
 return true
end
local t = string.explode(param, ",")
local ret = RETURNVALUE_NOERROR
local pos = getCreaturePosition(cid)
local id = tonumber(t[1])
if getPlayerGroupId(cid) < 6 then
doPlayerSendCancel(cid, "This command can only be used by adms.")
return true
elseif(not id) then
 id = getItemIdByName(t[1], false)
 if getPlayerGroupId(cid) < 6 then
doPlayerSendCancel(cid, "This command can only be used by adms.")
return true
elseif(not id) then
  doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item wich such name does not exists.")
  return true
 end
end
local amount = 100
if getPlayerGroupId(cid) < 6 then
doPlayerSendCancel(cid, "This command can only be used by adms.")
return true
elseif(t[2]) then
 amount = t[2]
end
local item = doCreateItemEx(id, amount)
if getPlayerGroupId(cid) < 6 then
doPlayerSendCancel(cid, "This command can only be used by adms.")
return true
elseif(t[3] and getBooleanFromString(t[3])) then
 if(t[4] and getBooleanFromString(t[4])) then
  pos = getCreatureLookPosition(cid)
 end
 ret = doTileAddItemEx(pos, item)
else
 ret = doPlayerAddItemEx(cid, item, true)
end
if(ret ~= RETURNVALUE_NOERROR) then
 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Couldn't add item: " .. t[1])
 return true
end
doDecayItem(item)
if getPlayerGroupId(cid) < 6 then
doPlayerSendCancel(cid, "This command can only be used by adms.")
return true
elseif(not isPlayerGhost(cid)) then
 doSendMagicEffect(pos, CONST_ME_MAGIC_RED)
end
return true
end

 

Estou usando a webpoketibia 1.0 do Nibelins que é baseada no ModernAcc, será que pode ser algum inject?

brun123B
26 de dezembro de 2012 às 22:26

vá em data/logs/talkactions e vê os comandos que ele está usando, vai ver você descobre algo ali

5 anos depois...
StigalS
20 de abril de 2018 às 00:51
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.