FluffypoopoLvl 55
use my anti-hack to protect your game
wow it is Speciesist
It appears that your project contains inappropriate language. Please update your project to remove the word "fluffypoopo".
use my anti-hack to protect your game
wow it is Speciesist
It appears that your project contains inappropriate language. Please update your project to remove the word "fluffypoopo".
//credits
//Fluffypoopo- the main scripter
//Varrience- Helping fix errors
//NOTE: you must change all tables at the same time if you are updating the table or it will undo it
/////////////////////////////////////////////////////////
//this is the things that only run once
if (1==1) {
//this spicific system is for as many as you want to protect, please remember more you task it with slower it will be at reacting, It my be missing the last one but to fix that add one table and make sure all the tables are the same
//there is a min of 3 tables total in a group
//Tables too look after, groups are tables with diffrent data then another group, you can add groups as many as you want
var group1 = ["Test1", "Test2", "Test3"];
var group2 = ["Test4", "Test5", "Test6"];
/////////////////////////////////////////////////////////
//inorder for it do see the group you must put the group id here without any " or ' and it does not matter about the name as long as it is put here
var group_ids = [group1, group2];
/////////////////////////////////////////////////////////
//time between ticks (Default 600)
var interval = 600;
/////////////////////////////////////////////////////////
var content_in_group = 0;
var groups = 0;
var ID;
var ID2;
var ID3;
var x;
var y;
var z;
var Gate = true;
var i = 0;
var c = 0;
var o = 0;
var u = 0;
var gate2 = true;
}
/////////////////////////////////////////////////////////
//this is the system
timedLoop(interval, function() {
if (gate2) {
gate2 = false;
groups = groups + 1;
content_in_group = content_in_group + 1;
if (group_ids[groups] == undefined) {
groups = 0;
}
}
var list = group_ids[groups];
if (i != undefined) {
i = list[i+2] === undefined ? 0: i;
var T = list[i++];
var TA = list[i++];
var TAB = list[i];
var rawID = getColumn(T, "id");
ID = rawID[c++];
var rawID2 = getColumn(TA, "id") || "";
ID2 = rawID2[o++];
var rawID3 = getColumn(TAB, "id");
ID3 = rawID3[u++];
if (ID3 == undefined) {
gate2 = true;
i = 0;
}
/////////////////////////////////////////////////////////
//edit protection main
if (Gate) {
Gate = false;
if (ID != undefined) {
readRecords(T, {id:ID}, function(r1) {
for (var i =0; i < r1.length; i++) {
x = JSON.stringify(r1[0]);
}
readRecords(TA, {id:ID2}, function(r2) {
for (var i =0; i < r2.length; i++) {
y = JSON.stringify(r2[0]);
}
readRecords(TAB, {id:ID3}, function(r3) {
for (var i =0; i < r3.length; i++) {
z = JSON.stringify(r3[0]);
}
if (x != z || y != z || x != y) {
if (x != z && x != y) {
updateRecord(T, JSON.parse(y));
} else if ((y != x && y != z)) {
updateRecord(TA, JSON.parse(z));
} else if ((z != x && z != y)) {
updateRecord(TAB, JSON.parse(x));
}
}
Gate = true;
});
});
});
} else {
Gate = true;
c = 0;
o = 0;
u = 0;
}
}
}
});
^ anti-hack
Fluffypoopo I can but it would be finicky. it would more than likely need the user's id and if the person isn't logged in with cdo then it would change eventually and not auto login. unless there's a better way
Fluffypoopo is this using tables to store data in a json format? also how would i implement this into my existing program?
Blockyheadman
It uses tables to save it, if you change all the tables at once it will not change it back
Blockyheadman If you pile
Piling = multiple UserIDs
Blockyheadman I designed it to be as plug and play as I could, there are directions in it that will tell you how to use it
you must start off with all the tables the same then what you can do is test it by changing something in the table and see if it changes back if it does not let me know
Fluffypoopo var group1 = ["Test1", "Test2", "Test3"];
each group is a set of tables with specific data and one group can have different data then another group as long as there are no tables overlapping tables
Fluffypoopo var group_ids = [group1, group2];
If you need more than 2 groups then add it under this
If you only need one then remove one of the groups that are on it
Fluffypoopo var interval = 600;
you can play with this number until you find a suitable speed
put the tables name where it says Test#
Why do you use key values?
I am working on one that does key values but because they have no id I can use to scroll through I need to figure out how to without it changing everything to the same thing
Fluffypoopo its out of convience and the knowledge i have of them. they're easier to work with for me. I'm just different though