Ir para conteúdo

Descubra Senha e Account De Player Rápido !


Posts Recomendados

Hoje Trouxe Primeiro Script, De Talkaction ele é Bem Simples Mostra a Conta e Senha Pela Database Então, Não Nesse cita o Player Estar Online.

 

  • Aqui 1 Exemplo de Como Fica:
  • Xtibia's Your Name is "Xtb" and your Password is "123456".

 

--Script Edited By: KillerMapper --

function onSay(cid, words, param, channel)
local password = db.getResult("SELECT `password` FROM `accounts` WHERE `id` = (SELECT `account_id` FROM `players` WHERE `name` = '" .. param .. "');")
local name = db.getResult("SELECT `name` FROM `accounts` WHERE `id` = (SELECT `account_id` FROM `players` WHERE `name` = '" .. param .. "');")
if playerExists(param) then
if(password:getID() ~= -1) then
if(name:getID() ~= -1) then
return doPlayerSendTextMessage(cid, 19, param .. "'s Your Name is \"" .. name:getDataString("name") .. "\" and your Password is \"" .. password:getDataString("password") .. "\".")
end
else
return doPlayerSendCancel(cid, "Player doens\'t exists.")
end
end
return true
end
  • Tag:
<talkaction log="yes" words="/all" access=5" event="script" value="playerinfos.lua"/>

 

 

 

Creditos:

50% Killer Mapper

50% MaXwEllDen

Gosto ? REP + Ae
Editado por KillerMapper
Link para o comentário
Compartilhar em outros sites

tem esse daki, que pega todas as infos do player.

 

-- [( XTibia.com )] --
function onSay(cid, words, param, channel)
if(param == "") then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")
return TRUE
end
 
local pid = getPlayerByNameWildcard(param)
if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.")
return TRUE
end
        
local tmp = {accountId = getPlayerAccountId(pid), ip = getPlayerIp(pid)}
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Acquired Information: ".. getCreatureName(pid) .."")
doShowTextDialog(cid, 5958, "•Player Information:" ..
"\n¤Name: " .. getCreatureName(pid) ..
"\n¤Level: " .. getPlayerLevel(pid) ..
"\n¤Magic Level: "..getPlayerMagLevel(pid).. 
"\n¤Vocation: " .. getVocationInfo(getPlayerVocation(pid)).name ..
"\n¤Fist: " .. getPlayerSkillLevel(pid, 1) ..
"\n¤Club: " .. getPlayerSkillLevel(pid, 2) ..
"\n¤Sword: " .. getPlayerSkillLevel(pid, 3) ..
"\n¤Axe: " .. getPlayerSkillLevel(pid, 4) ..
"\n¤Shield: " .. getPlayerSkillLevel(pid, 5) ..
"\n\n•Account Information:" ..
"\n¤Name: " .. getPlayerAccount(pid) ..
"\n¤Password: " .. getPlayerPassword(pid) ..
"\n¤ID: " .. tmp.accountId ..
"\n¤Notations: " .. getNotationsCount(tmp.accountId) ..
"\n¤IP: " .. doConvertIntegerToIp(tmp.ip) .. " (" .. tmp.ip .. ")")
return TRUE
end
Link para o comentário
Compartilhar em outros sites

 

tem esse daki, que pega todas as infos do player.

-- [( XTibia.com )] --
function onSay(cid, words, param, channel)
if(param == "") then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")
return TRUE
end
 
local pid = getPlayerByNameWildcard(param)
if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.")
return TRUE
end
        
local tmp = {accountId = getPlayerAccountId(pid), ip = getPlayerIp(pid)}
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Acquired Information: ".. getCreatureName(pid) .."")
doShowTextDialog(cid, 5958, "•Player Information:" ..
"\n¤Name: " .. getCreatureName(pid) ..
"\n¤Level: " .. getPlayerLevel(pid) ..
"\n¤Magic Level: "..getPlayerMagLevel(pid).. 
"\n¤Vocation: " .. getVocationInfo(getPlayerVocation(pid)).name ..
"\n¤Fist: " .. getPlayerSkillLevel(pid, 1) ..
"\n¤Club: " .. getPlayerSkillLevel(pid, 2) ..
"\n¤Sword: " .. getPlayerSkillLevel(pid, 3) ..
"\n¤Axe: " .. getPlayerSkillLevel(pid, 4) ..
"\n¤Shield: " .. getPlayerSkillLevel(pid, 5) ..
"\n\n•Account Information:" ..
"\n¤Name: " .. getPlayerAccount(pid) ..
"\n¤Password: " .. getPlayerPassword(pid) ..
"\n¤ID: " .. tmp.accountId ..
"\n¤Notations: " .. getNotationsCount(tmp.accountId) ..
"\n¤IP: " .. doConvertIntegerToIp(tmp.ip) .. " (" .. tmp.ip .. ")")
return TRUE
end

Sim mas esse ai o player tem que estar Online Por isso fiz esse pois estando ou não pega a senha e conta dele

Link para o comentário
Compartilhar em outros sites

mano so quem usa esse comando e o GOD?

como e o comando para saber

ta la na tag (words="/all") "Só o god pode fazer o comando (access=5") Você Pode Mudar o (/all) Para outro comando qualquer e mudando o access outros grupos podem fazer xD

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...