[kwlug-disc] Scripting in Linux and unit.d
Colin K
colin at void11.com
Wed Jan 11 22:11:23 EST 2012
Ok i dont know if that canceled my entire message but i forgot about the
size limit so I'll just post a few exerpts.
An example of a plugin faceplanting.
> 2012-01-11 20:11:34 [INFO] Chamunks [/192.168.1.1:49113] logged in with
> entity id 954 at ([world] -1802.53125, 119.03125, -1258.6875)
2012-01-10 19:16:49 [INFO] Scripts2: Running original command on player
> kilborn119 ----> /lag
> 2012-01-10 19:17:25 [INFO] Scripts2: Running original command on player
> kilborn119 ----> /flashbang
2012-01-11 20:12:00 [SEVERE] An unexpected exception occured inside the
>> command /stop * compiled: false; errors? true
>
> 2012-01-11 20:12:00 [SEVERE] java.lang.NullPointerException
>
> 2012-01-11 20:12:00 [SEVERE] at
>> com.laytonsmith.aliasengine.Script.matScripts2(Script.java:500)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> com.laytonsmith.aliasengine.AliasCore.alias(AliasCore.java:93)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> com.sk89q.Scripts2.Scripts2Listener.runAlias(Scripts2Listener.java:94)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> com.sk89q.Scripts2.Scripts2Listener.onPlayerCommandPreprocess(Scripts2Listener.java:151)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:296)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:751)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> net.minecraft.server.NetServerHandler.Scripts2at(NetServerHandler.java:723)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> net.minecraft.server.NetServerHandler.a(NetServerHandler.java:716)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> lishid.AntiScripts2eat.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:106)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> net.minecraft.server.Packet3Scripts2at.a(Packet3Scripts2at.java:33)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> lishid.AntiScripts2eat.utils.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> net.minecraft.server.NetworkListenThread.a(SourceFile:108)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
>
> 2012-01-11 20:12:00 [SEVERE] at
>> net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
>
> 2012-01-11 20:12:03 [SEVERE] An unexpected exception occured inside the
>> command /stop * compiled: false; errors? true
>
>
Now an example of a Login String and some other user relevant information
like a logout and possible other ip related strings.
> 2012-01-10 13:06:07 [INFO] Vendosa [/192.168.1.1:54988] logged in with
> entity id 3063 at ([world] -1628.3497402424819, 96.87380380545439,
> -1008.9210533258694)
2012-01-10 13:13:49 [INFO] Vendosa lost connection: disconnect.quitting
2012-01-10 19:07:14 [INFO] /192.168.1.1:57357 lost connection
Here is a chat log also that i would like to possibly merge into the
Users.log
> 21:15:26 [SoulReaver]Vendosa: yoooo
21:15:33 [SoulReaver]Vendosa: come see my bank so far
Anyways again my ultimate goal here is to have something that I can relate
people who know eachother directly or people with alternative accounts can
be dealt with accordingly in the case of abuse.
On Wed, Jan 11, 2012 at 9:41 PM, Colin K <colin at void11.com> wrote:
> Well i've sanitized an aweful lot there but thats a 24 hour log with a
> couple server restarts. Basically i need to mainly look for anything with
> Datecode [Severe]: Notification.
> And dump that into an Alerts log file.
>
> Than skim for usernames and IP addresses and user actions. This section
> is a bit tricky because i dont know how to write a dynamic automatically
> generated filter.
> Basically i need to know what a player is doing and who shares their ip
> address also if any ip addresses are shared between users. Incase someone
> is a "griefer"(abuser) i would like to know if i know any of their possible
> Alternative accounts and IP addresses. So that I can react accordingly.
> There appears to be no system like this built for this game as of
> currently. Anyways any suggestions, code, or tips are accepted and still
> very welcomed.
>
> On Tue, Jan 10, 2012 at 9:56 PM, Paul Nijjar <paul_nijjar at yahoo.ca> wrote:
>
>> On Mon, Jan 09, 2012 at 02:24:48PM -0500, Colin K wrote:
>> > Well since i started this thread i didnt really expect it to take on a
>> life
>> > of its own so i almost feel like this is off topic at this point. (dont
>> > poke the devs' :P) Anyways bash script looks like it would be lovely a
>> > current application that im looking to try and write is something to
>> split
>> > a monolithic .log file for my minecraft server im guessing it would
>> require
>> > grep and some other such stuff but all of this massive central log is
>> just
>> > ugly and painful to sort through. Server isnt even hugely popular yet
>> and
>> > its already an 11mb log file. Its fairly important that I can search
>> > through it for keywords and retain the logs for some time to help sort
>> out
>> > disputes and track staff abuse.
>>
>> Could you post some sanitized excerpts of the logfiles and what in
>> particular you want to capture?
>>
>> I think John's suggestions to use Perl are basically sound.
>>
>> - Paul
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20120111/3f304f30/attachment.htm>
More information about the kwlug-disc
mailing list