User talk:Daniel Letalis

&rarr; [ Leave message] &larr;

Archive
Archive 1

Server log data: can we prune it more?
Do you think it would be possible or even useful to gather statistics of more creature-related things with the same data you get from the Loot Statistics parser? For example, now it shows how much a creature heals, values which we don't have. There are some problems with this, but I think enough statistics should make it a reliable estimate of the exact values.

I was thinking that all creature information in the server log could be logged to some TibiaWiki-namespace page for future use (but it wouldn't be 100% accurate because of resistances, final hits, and such). -- Sixorish 01:13, May 12, 2011 (UTC)

Sounds great, 1st problem that came to my mind is the edit conflicts, like when someone edits a page you've been working on and you can't just save it, so I'll need to check how that works inside wiki to avoid the issue.

I saved the log for 1 of my cams 8.72 demon hunt, it uses around 160 lines per minute, so I really think we should filter and compress as much as possible, an example of what I mean with compression: something like this: 00:57 A demon healed itself for 198 hitpoints. 00:57 You lose 94 hitpoints due to an attack by a fire elemental. should be saved as: demon healed itself 198 player lose 94 a fire elemental

About filtering lines, I think it depends on what info we want, I really don't see much use for lines that are not creatures healing themselves but I guess we should think what to add and with what purpose instead of add all and remove what we don't want.

Also in case we save players heals/damages to don't have problems with privacy, all the player names should be replaced by "player" or similar.

Another issue with this new server log info is that the server log has the same limit it always had, 1000 lines, in the example loot I saved, me and my friend killed 3 demons, 3 dragon lord and some demon skeletons in 500~ lines, so the log quality for statistics is being reduced because the player "saves" are not that often, I might be wrong but I believe that many players use the server log with less info as possible so saving statistics with all info will degrade more the statistics. Going a bit off-topic it would be interesting to have a program that reads the server log of tibia client and upload statistics, just having ideas, I'm really far from being able to do it. --Daniel Letalis 06:45, May 12, 2011 (UTC)

Well, I don't think we would advise people to use the unfiltered log but in the case that they do this information could be used. I understand about the players' privacy issues but I fear the healing values are useless if we can't attach a name (because their name would be used to get an ml or skill from the highscores, if they're on them).

I don't think it's necessary to write each line like this: demon healed itself 198, but something like: a demon healed | 198 | 256 | 144 | 52 Player healed a demon | 945 | 634 | 664 (on PvP, players healing demons might conflict with demon heals)

I was thinking that graphs could be created using this data to make it more readable, where there's a huge jump in frequencies is likely to be the "cutoff" i.e. further values were caused by healing to max.

But regarding the real-time server log application, I think this would be just as hard to code as it would be to check the memory/received packets for even more data, such as the spell used and the HP before and after it was used. However, I doubt that players would be interested in running an executable on their system, in fear of their account being compromised or the "antibot" system picking it up.

If you are still interested in that even though people most likely won't use it, a friend told me about an API designed for Tibia: http://code.google.com/p/tibiaapi/ - it is designed primarily for bot creation, but I think you could use it as a proxy to log stuff. (I'm not sure if it would be safe to use though with the anticheating mechanisms).

By the way, I found some Google chart creation tool a long time ago which could be used if we wished to create a frequency plot. http://code.google.com/apis/chart/interactive/docs/index.html (I think it was this). I'm not sure if they support histograms but haven't delved too far in it. -- Sixorish 16:48, May 12, 2011 (UTC)

I still like the idea for creatures healing because this is the only option to get that data but I think it is the wrong way for player healing, I believe it is a lot easier to test healing spells of players individually, we only need about a dozen players of different vocations and levels to make tests and there wouldn't be error margin, we could do this a project to reduce the individual wastes and using the new server log info will avoid human errors. I think it is better to analyze few quality data than a lot of non quality data.

About the google api it could be interesting if we need to show some info on the site or similar but making all the needed calculations on excel would be faster and easier, it supports histograms and many other things.

I don't trust Tibiaapi, but I've thought about many ways to implement this and hooking like tibiaapi does seems the best option. I will check if I can do something there. --Daniel Letalis 00:32, May 13, 2011 (UTC)