View Full Version : Protecting your own script, make it for X persons only. :D
ososzayat
01-22-2016, 09:26 PM
to protect your own script, making it for some players only so no one can give it away but you :D
first.. you need this module to check the right character every x seconds:
Module.New('CheckIfAllowed', function(Allow)
local ListAllowed = {"Lord Zayat", "Wezy"}
if (table.find(ListAllowed, Self.Name())) then
print([[Happy Hunting]])
else
print([[You're NOT ALLOWED To run this script]])
Cavebot.Stop()
end
Allow:Delay(30000, 60000)end)
Second.. you need to prevent anyone from adding his name.. using Hex format of script and loadstring().. all about this here:
http://forums.xenobot.net/showthread.php?17125-Camouflaging-Lua-Code
good luck ;)
kamilqq
01-24-2016, 01:39 PM
to protect your own script, making it for some players only so no one can give it away but you :D
first.. you need this module to check the right character every x seconds:
Module.New('CheckIfAllowed', function(Allow)
local ListAllowed = {"Lord Zayat", "Wezy"}
if (table.find(ListAllowed, Self.Name())) then
print([[Happy Hunting]])
else
print([[You're NOT ALLOWED To run this script]])
Cavebot.Stop()
end
Allow:Delay(30000, 60000)end)
Second.. you need to prevent anyone from adding his name.. using Hex format of script and loadstring().. all about this here:
http://forums.xenobot.net/showthread.php?17125-Camouflaging-Lua-Code
good luck ;)
That module suck. When im on pc ill write what i mean.
eldera
01-24-2016, 05:28 PM
You can't really make scripts only for x character. All you can do is obfuscate code but it still doesn't 100% protect your code from beeing stolen/edited.
Jontor
01-24-2016, 05:49 PM
You can't really make scripts only for x character. All you can do is obfuscate code but it still doesn't 100% protect your code from beeing stolen/edited.
Or you can get trusted enough and have privilege to use .xblua files
Fatality
01-24-2016, 06:24 PM
.lol.
eldera
01-24-2016, 06:25 PM
Or you can get trusted enough and have privilege to use .xblua files
Everyone can use them. You have to get permission to generate those and gl with that :)
Fatality
01-24-2016, 06:26 PM
He meant to get permission to generate them.
ososzayat
01-24-2016, 07:27 PM
That module suck. When im on pc ill write what i mean.
im not a scripter, i tryed to make this and i succeeded.. then i shared it. if you have a better idea share it please ;)
kamilqq
01-24-2016, 08:16 PM
im not a scripter, i tryed to make this and i succeeded.. then i shared it. if you have a better idea share it please ;)
Your module just stops cavebot, check this out. It won't make script work if name doesnt match.
Access = false
names =
{
{Name = 'Rawkerkan Coli'},
{Name = 'Zenia Sena'},
{Name = 'Arherd Gumi'},
{Name = 'Thor Jord'},
{Name = 'Lonliu Maimar'},
{Name = 'Ephil Melon'},
{Name = 'Froskurek'}
}
for _, name in ipairs(names) do
if Self.Name() == name.Name then
Access = true
end
end
if Access then
print('authorization complete')
WHOLE UR SCRIPT HERE
else
print('You are not able to use this script.')
end
it's would work better :) belive me.
You can add some prints there.
eldera
01-24-2016, 09:52 PM
Your module just stops cavebot, check this out. It won't make script work if name doesnt match.
Access = false
names =
{
{Name = 'Rawkerkan Coli'},
{Name = 'Zenia Sena'},
{Name = 'Arherd Gumi'},
{Name = 'Thor Jord'},
{Name = 'Lonliu Maimar'},
{Name = 'Ephil Melon'},
{Name = 'Froskurek'}
}
for _, name in ipairs(names) do
if Self.Name() == name.Name then
Access = true
end
end
if Access then
print('authorization complete')
WHOLE UR SCRIPT HERE
else
print('You are not able to use this script.')
end
it's would work better :) belive me.
You can add some prints there.
You can still "crack" it wi
kamilqq
01-24-2016, 10:09 PM
You can still "crack" it wi
ill obfusciate the code, send to you, if u are going to edit it u are my master.
HjugO
01-24-2016, 10:22 PM
ill obfusciate the code, send to you, if u are going to edit it u are my master.
I'll be your `master`, LUADec, CheatEngine and Voilą.
kamilqq
01-24-2016, 10:28 PM
I'll be your `master`, LUADec, CheatEngine and Voilą.
why you need cheat engine? I want you to deobfusciate the code and paste it there, full raw code. Not like %DD%SADSAF and other signs.
HjugO
01-24-2016, 10:32 PM
why you need cheat engine? I want you to deobfusciate the code and paste it there, full raw code. Not like %DD%SADSAF and other signs.
LuaDec for decompile script and extract names from array, cheat engine for change orginal character name to name from decompiled script. ezpz
kamilqq
01-24-2016, 10:34 PM
LuaDec for decompile script and gain names from array, cheat engine for change orginal character name to name from decompiled script. ezpz
So it's not able to get raw code, but u can manipulate variables. Fine ;)
HjugO
01-24-2016, 10:40 PM
So it's not able to get raw code, but u can manipulate variables. Fine ;)
http://i.imgur.com/5yVlUhk.png
kamilqq
01-24-2016, 10:41 PM
http://i.imgur.com/5yVlUhk.png
what you want to say by that screen?
HjugO
01-24-2016, 10:43 PM
what you want to say by that screen?
Look at window title, nickname, server log and walker window.
kamilqq
01-24-2016, 10:45 PM
Look at window title, nickname, server log and walker window.
You didnt proove that u used that script, lol i can make same ss.
HjugO
01-24-2016, 10:46 PM
You didnt proove that u used that script, lol i can make same ss.
I proved what I said.
Fatality
01-24-2016, 10:56 PM
You didnt proove that u used that script, lol i can make same ss.
This is far from "uncrackable" lol, What HjugO did is very simple to do.
eldera
01-25-2016, 12:29 AM
You don't even need to use CheatEngine haha. Give me script for x name and I will "crack" it by adding 1 line of code to it.
kamilqq Give me your super safe SCRIPTORZ and I will "crack/hack/potato" it in 10 seconds even without use of CheatEngine or LuaDec.
ososzayat
01-25-2016, 11:01 AM
what you want to say by that screen?
wtf? how is that even possible?
kamilqq
01-25-2016, 03:13 PM
You don't even need to use CheatEngine haha. Give me script for x name and I will "crack" it by adding 1 line of code to it.
kamilqq Give me your super safe SCRIPTORZ and I will "crack/hack/potato" it in 10 seconds even without use of CheatEngine or LuaDec.
http://www.speedyshare.com/HfE3A/obfusciated.lua
send screen with the thing that script printed out.
eldera
01-25-2016, 04:56 PM
http://www.speedyshare.com/HfE3A/obfusciated.lua
send screen with the thing that script printed out.
http://imgur.com/RAFh2tI :rolleyes: Without use of LuaDec, CheatEngine.
kamilqq
01-25-2016, 04:58 PM
http://imgur.com/RAFh2tI :rolleyes: Without use of LuaDec, CheatEngine.
propsik mistrzu
Fatality
01-25-2016, 06:05 PM
http://www.speedyshare.com/HfE3A/obfusciated.lua
send screen with the thing that script printed out.
Shrekted lmfao
shadowart
01-25-2016, 06:27 PM
Obfuscating the string constants before compiling would probably have made it a little harder.
kamilqq
01-25-2016, 11:34 PM
Obfuscating the string constants before compiling would probably have made it a little harder.
Need to talk with you but i can't send a simple message.
1027929
02-09-2016, 12:19 AM
*Generated by my Script Lua :V*
see if is this your script
Thor Jord
Lonliu Maimar
Ephil Melon
Froskurek
Rawkerkan Coli
Zenia Sena
Arherd Gumi
if[1]
you did it scumbag
if[2]
you did not made it my friend
kamilqq
02-09-2016, 02:21 PM
*Generated by my Script Lua :V*
see if is this your script
If any of this names are you self.name then u did it else false
drac0ner
02-09-2016, 03:15 PM
acendo = false
names = {
{
Name = "Rawkerkan Coli"
},
{Name = "Zenia Sena"},
{
Name = "Arherd Gumi"
},
{Name = "Thor Jord"},
{
Name = "Lonliu Maimar"
},
{
Name = "Ephil Melon"
},
{Name = "Froskurek"}
}
for _, name in ipairs(names) do
if Self.Name() == name.Name then
acendo = true
end
end
if acendo then
print("you did it scumbag")
else
print("you did not made it my friend")
end
alehopper
02-10-2016, 05:05 AM
embarassing how this is the most popular thread made in months on xenobot forum
kamilqq
02-10-2016, 06:54 AM
acendo = false
names = {
{
Name = "Rawkerkan Coli"
},
{Name = "Zenia Sena"},
{
Name = "Arherd Gumi"
},
{Name = "Thor Jord"},
{
Name = "Lonliu Maimar"
},
{
Name = "Ephil Melon"
},
{Name = "Froskurek"}
}
for _, name in ipairs(names) do
if Self.Name() == name.Name then
acendo = true
end
end
if acendo then
print("you did it scumbag")
else
print("you did not made it my friend")
end
Thats the source wat
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.