[Client-side Mod] Simple stats [counter]

User avatar
TalkLounge
Member
 
Posts: 210
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
IRC: TalkLounge
In-game: TalkLounge

[Client-side Mod] Simple stats [counter]

by TalkLounge » Sat Jul 08, 2017 16:00

Hi,
this mod counts your doing on a server. There are many counts to different topics(look screenshot spoiler).

Usage
Image

License
Code: LGPL v2.1+

Dependencies
None

Download
Video
Download
Browse on Github

+ Screenshots


+ Changelog
Last edited by TalkLounge on Wed Feb 14, 2018 15:35, edited 6 times in total.
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de
 

User avatar
maikerumine
Member
 
Posts: 1340
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine
 

User avatar
BBmine
Member
 
Posts: 3450
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins

Re: [Client-side Mod] Simple stats [counter]

by BBmine » Sat Jul 08, 2017 16:43

Cool CSM, but a few things I must point out:

"dug", not "digged"
"sent", not "send"
"connected", not "connect"
:D

Just me being a little Grammer-Nazi ;)
 

User avatar
TalkLounge
Member
 
Posts: 210
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
IRC: TalkLounge
In-game: TalkLounge
 

User avatar
Lone_Wolf
Member
 
Posts: 1930
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf
 

User avatar
Fixer
Member
 
Posts: 863
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer
 

User avatar
TalkLounge
Member
 
Posts: 210
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
IRC: TalkLounge
In-game: TalkLounge

Re: [Client-side Mod] Simple stats [counter]

by TalkLounge » Wed Jul 12, 2017 01:30

Please also add "Played N hours"


Very cool idea. I added it.
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de
 

User avatar
Fixer
Member
 
Posts: 863
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer

Re: [Client-side Mod] Simple stats [counter]

by Fixer » Mon Jul 17, 2017 20:53

As of engine 5117ce4c:
ERROR[Main]: ModError: Failed to load and run mod "counter":
ERROR[Main]: counter:init.lua:51: attempt to call field 'register_on_sending_chat_messages' (a nil value)
ERROR[Main]: stack traceback:
ERROR[Main]: counter:init.lua:51: in main chunk
 

User avatar
TalkLounge
Member
 
Posts: 210
Joined: Sun Mar 26, 2017 12:42
Location: Germany
GitHub: TalkLounge
IRC: TalkLounge
In-game: TalkLounge

Re: [Client-side Mod] Simple stats [counter]

by TalkLounge » Tue Jul 18, 2017 11:18

As of engine 5117ce4c:


Change in the init.lua, that "register_on_sending_chat_messages" to that "register_on_sending_chat_message". Then it should work with your minetest version. There are two version of Minetest. The official 0.4.16, they say: register_on_sending_chat_messages
On the 0.4.16 dev they say: "register_on_sending_chat_message"
Subgames Server: Sky World Subgames German Survival Server: Wildes Land 2 E-Mail: talklounge@yahoo.de
 

User avatar
Lone_Wolf
Member
 
Posts: 1930
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: [Client-side Mod] Simple stats [counter]

by Lone_Wolf » Tue Jul 18, 2017 14:38

TalkLounge wrote:
As of engine 5117ce4c:


Change in the init.lua, that "register_on_sending_chat_messages" to that "register_on_sending_chat_message". Then it should work with your minetest version. There are two version of Minetest. The official 0.4.16, they say: register_on_sending_chat_messages
On the 0.4.16 dev they say: "register_on_sending_chat_message"

Might want to do a kind of Q&A spoiler in the first post. Or at least explain this above. Some ppl might be too lazy to scroll down lol
 

User avatar
azekill_DIABLO
Member
 
Posts: 7450
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
Fixer
Member
 
Posts: 863
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer

Re: [Client-side Mod] Simple stats [counter]

by Fixer » Tue Jan 30, 2018 19:29

New error as of engine 584d00a0, when starting singleplayer world:
Code: Select all
2018-01-30 21:19:04: ERROR[Main]: ModError: Failed to load and run mod "counter":
2018-01-30 21:19:04: ERROR[Main]: counter:init.lua:61: attempt to call field 'register_on_connect' (a nil value)
2018-01-30 21:19:04: ERROR[Main]: stack traceback:
2018-01-30 21:19:04: ERROR[Main]:    counter:init.lua:61: in main chunk
 

User avatar
PolySaken
Member
 
Posts: 268
Joined: Thu Nov 09, 2017 05:18
Location: djelibabi
GitHub: PolySaken-I-Am
In-game: PolySaken

Re: [Client-side Mod] Simple stats [counter]

by PolySaken » Sat Feb 24, 2018 21:46

BBmine wrote:Cool CSM, but a few things I must point out:

"dug", not "digged"
"sent", not "send"
"connected", not "connect"
:D

Just me being a little Grammer-Nazi ;)


"Grammar", not "Grammer"

"Grammer" is a name.

>:)
 

aristotle
Member
 
Posts: 48
Joined: Wed Mar 14, 2018 23:40
GitHub: askotos
IRC: aristotle_
In-game: aristotle

Re: [Client-side Mod] Simple stats [counter]

by aristotle » Wed Aug 15, 2018 16:43

TalkLounge wrote:this mod counts your doing on a server....

+1!
:D
Happy builds & explorations!
 


Return to Client-side modding



Who is online

Users browsing this forum: No registered users and 1 guest