Forum

LogUploader SourceMod plugin

Created 14th March 2013 @ 22:18

Add A Reply Pages: 1 2 Next »

Duckeh

[T-A!]

Hi guys,

Just thought I’d let you guys know about a plugin I’ve been working on recently.
It basically uploads the log for a game to logs.tf automatically once a match finishes.

You can find all the details on this page:
https://forums.alliedmods.net/showthread.php?p=1911904#post1911904

I haven’t had much time to test it, but so far it seems to be working pretty well..

Just thought I’d post this here as a lot of people said I should!

Cheers,
Duckeh

Arie

(serveme.tf)
FB
[FB]

<3

Rob!

TROLLIED
[T-A!]

Duckeh the legend delivering.

LaMqTa

fenneks

My hero! <3 thanks

Swift

MAYOGURL
Poo

I cant find the logs.tf api key :(. Am I blind or what?

Duckeh

[T-A!]

Go to this page while logged in:
http://logs.tf/uploader

Towards the bottom it has a bit saying:
File upload API Key

Swift

MAYOGURL
Poo

I cant find it. The only ones i have are: How to upload, Enabling supplemental stats, drag and drop files, file upload api development and json api. Ive looked in all of them and the only think related to the api key is in the file upload api development where it says: Key: Your unique key, see “File upload API Key” on upload page.

Kaneco

Quoted from Duckeh

Go to this page while logged in:
http://logs.tf/uploader

Towards the bottom it has a bit saying:
File upload API Key

I still can’t see it

dave

TIDS
TSGHUH

i couldn’t find it either.
read the page source, it will basically tell you how to get one.

edit: I’ve just read through the plugins code. Oh boy. I’ve posted a few things on the plugins thread about stuff that needs fixing badly.


Last edited by dave,

Crafz

Works for me: https://dl.dropbox.com/u/8516328/Screenshots/tflogsapikey.PNG

Duckeh

[T-A!]

Quoted from dave

edit: I’ve just read through the plugins code. Oh boy. I’ve posted a few things on the plugins thread about stuff that needs fixing badly.

Not pro at SourceMod scripting, like you :(


Last edited by Duckeh,

Henghast

open
bobs

Quoted from Duckeh

[…]

Not pro at SourceMod scripting, like you :(

If it’s working it’s a good job and well done, expecting it to be clean and well written on the first release is meh. If it can be improved you can learn stuff whilst improving it, or whilst others improve it with/for you.

Still it’ll be good to have.

Fallen

TC

Would agree with dave, it’s a nice plugin especially if you’re new to this kind of thing but there definitely is some areas that can be improved :P Don’t let it get you down though, nobody makes a perfect piece of code first time, there’s always problems and oversights.

A good idea would be to do simple parsing of the log file just to check that it is what it says on the tin. You can check the file size to give you a good idea that its not a ‘real’ log if its under a certain size (make sure you don’t get any false negatives though, something like all logs under a 20kB should be a pretty good starting point). After that you just want to check for things like a point getting capped.

fraac

JOHN
CENATION

I check for World triggered “Game_Over” and final score “d” with “6” players.


Last edited by fraac,

Fallen

TC

Quoted from fraac

I check for World triggered “Game_Over” and final score “d” with “6” players.

Probably right with the Game_Over trigger, haven’t really looked at all the different messages logs can give. Personally I wouldn’t use the 6 players however, what happens if a player leaves/drops before the game ends?

Add A Reply Pages: 1 2 Next »