Jump to content
Lighta

[SRC] Stats

Recommended Posts

This is a little statistics module devellop by Luxation and me for "Legend of Fea" back in the days. It's goal is to record, dammages, skills, kills, heal, items used during woe.

This code is working but not currently maintained and probably need improvment. I suggest you'll consider it as an example to do your, still if you did good improvment and want to share it I'd be glad to update topic.

statslof.c :

[http://pastebin.com/aNyGFuQ7

statslof.h

http://pastebin.com/DCMVmVEw

atcommand.c :

http://pastebin.com/mARm7DFB

now the calls :

http://pastebin.com/aT4ZvFsr

http://pastebin.com/mARm7DFB

sql-tables

http://pastebin.com/rmXxzWpB

makefile.in :

http://pastebin.com/tyVsRShz

Reconfigure remake and should be ok

./configure && make clean && make sql

Edited by Lighta
  • Upvote 1
Link to comment
Share on other sites

Ok so it's some sources to do some statisques on players, mainly devellop for woe. They probably need optimisation and improvement but are working and it's what matter. I release it so people seeking how to do some could found an easy exemple.

I changed topic description.

About diff I'll think about it, but when you patching you don't learn much which wasn't my goal and I really don't want to have lot of support question (still I'm available on IRC if you do have some). Second issue with diff it's that after a while it doesn't work anymore. (I'll do one when I have some time (try tomorrow)

Edited by Lighta
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.