Findin Griefers? Decontructed Buildings....

Place for sharing your game modifications for Life is Feudal: Your Own

Remystemple
 
Posts: 80
Joined: 15 Jan 2015, 22:30

Findin Griefers? Decontructed Buildings....

Post by Remystemple » 15 Feb 2015, 22:07

hey guys. i'm running a server, i use HeidiSQL. how can i use it to find out who deconstructed a building. i NEED to ban people who do this....


RudgerWolvram
 
Posts: 37
Joined: 01 Jan 2015, 22:27

Re: Findin Griefers? Decontructed Buildings....

Post by RudgerWolvram » 16 Feb 2015, 22:23

It appears that it is in the log files (nothing can be modified in the database to capture who did it).

In the log files you can search for the string ability=Deconstruct
Then once you find that, go about 11 lines down, you will see a "sending ObjEffectsEvent" line. There is a "channel" and port number on the end of this line. the "channel" will appear as ch_### where ### is the character ID from the character table.

Example
ECHO 2015-02-16 16:09:00.251 {00} <NOSCOPE> sending ObjEffectsEvent, action=3 over ch_159 [15293] - 1

The Red is my character'd ID on my Dev server, you can then use that character ID, find the accountID associated with it, then set the IsActive = 0 for that account in the account table and they will be banned. You may also note the Action number as the log file may get garbled with many players playing and doing normal things.

Also, use Notepad++ or something other than Notepad to open the log files as they are quite large and Notepad will just bog the system down. Notepad++ grabs a section of the data a time so it doesn't load the entire thing into memory.


Edit: Almost forgot, look below this section of log to find a CALL p_delete...object and CALL p_addObjectPatch. The Patch will give the GeoID data, go and physically stand where the deconstructed object was, then look at your characters info in the character table and find the GeoID for your characters location. Make sure the geodata is close or exact in the log file, otherwise you may end up banning someone that accidentally put a furnace down where they didn't want to.

Excerpt from log file to see what you're looking for.
Spoiler


Remystemple
 
Posts: 80
Joined: 15 Jan 2015, 22:30

Re: Findin Griefers? Decontructed Buildings....

Post by Remystemple » 17 Feb 2015, 00:50

oh man, thank you so much for taking the time to help me out. it's becoming a problem on my server. i can see who floated logs in the database but couldn't figure out for the life of me how to see this. i used to say that i could see it in the database just to try bluff them. lol. but now i can ..

thanks again. your the man :Yahoo!:

Return to Game mods