Gkatt
New Member
- Joined
- Mar 24, 2009
- Messages
- 413
- Reaction score
- 4
Hello people
This is my tutorial how to protect your server against one example of cloning item.
Player "Cloner" = Puts a donate item inside his depot and relog this means that the character is saved now
"Cloners Friend" = Gets a donate item from the cloner and relogs
His char is saved.
He give back the donate item to cloner and cloner relogs once again = SAVED
"Cloner" !createguild Test - !invite Friend
"Friend" Friend doesnt join the guild he just relogs once again and this error will show up in ur server console
[05/11/2010 22:57:34] mysql_real_query(): INSERT INTO `guild_invites` (`player_id`, `guild_id`) VALUES (54, 20),(54, 21) - MYSQL ERROR: Cannot add or update a child row: a foreign key constraint fails (`war`.`guild_invites`, CONSTRAINT `guild_invites_ibfk_2` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE) (1452)
Character not saved
When the friend relogs he will have the doante item in his depot
and the cloner to..
How to get rid of this problem is to remove the command !createguild
This is tested on a simple war ot
If it helped someone please Rep++
And sorry for my english
I just try to help
/Gkatt
eace:
This is my tutorial how to protect your server against one example of cloning item.
Player "Cloner" = Puts a donate item inside his depot and relog this means that the character is saved now
"Cloners Friend" = Gets a donate item from the cloner and relogs
His char is saved.
He give back the donate item to cloner and cloner relogs once again = SAVED
"Cloner" !createguild Test - !invite Friend
"Friend" Friend doesnt join the guild he just relogs once again and this error will show up in ur server console
[05/11/2010 22:57:34] mysql_real_query(): INSERT INTO `guild_invites` (`player_id`, `guild_id`) VALUES (54, 20),(54, 21) - MYSQL ERROR: Cannot add or update a child row: a foreign key constraint fails (`war`.`guild_invites`, CONSTRAINT `guild_invites_ibfk_2` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE) (1452)
Character not saved
When the friend relogs he will have the doante item in his depot
and the cloner to..
How to get rid of this problem is to remove the command !createguild
This is tested on a simple war ot
If it helped someone please Rep++
And sorry for my english
I just try to help
/Gkatt
eace: