[Mod] Reputation [0.3]

Post Reply
User avatar
Sirvoid
Member
Posts: 47
Joined: Thu Feb 04, 2016 22:12
GitHub: Sirvoid
IRC: Sirvoid
In-game: Sirvoid
Location: Canada
Contact:

[Mod] Reputation [0.3]

by Sirvoid » Post

REPUTATION

This mod allows the players to know if a player is a murderer or a good player.

Features
-When you hit a good player your reputation drop.
-If you kill a player with less than X reputation your reputation will get higher.
-Do /reputation <Player> to know the reputation of a player.
-The reputation is saved in the world folder.
-You can't get reputation two time in a row by killing the same bad guy.
-You can't get reputation by killing a bad guy who is on the same ip than you.

Code: Select all

------v0.3------
-Now you need to kill a bad guy to get more reputation. 
-Now you can lose reputation more than once by hitting a good person.

------v0.2------
-The ip is now checked when you hit someone to prevent people to use multiple account.
-You can't get points two time in a row by hitting the same person.
Useful for the new players who don't know who they can trust !

Github

Download

Code: Select all

Licence: WTFPL

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

Version 2, December 2004

Copyright (C) 2004 Sam Hocevar sam@hocevar.net

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.
Last edited by Sirvoid on Mon Jan 02, 2017 18:17, edited 7 times in total.

User avatar
DS-minetest
Member
Posts: 1136
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] Reputation [0.1]

by DS-minetest » Post

interesting!
you could show the reputation of a player also by coloring the name in chat and hud
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

FaceDeer
Member
Posts: 462
Joined: Sat Aug 29, 2015 19:01
GitHub: FaceDeer

Re: [Mod] Reputation [0.1]

by FaceDeer » Post

Gives incentive to work on clever traps instead of attacking people directly. :)

I'm trying to think of ways to exploit the system. If I created two alt accounts, I could have one of the two accounts accumulate a bit of negative reputation and then just have the two players sit there punching each other to continue pushing their reputations in opposite directions as far as they wanted to go. The "good guy" is punching a "bad guy" so his reputation goes up, the "bad guy" is punching a "good guy" so his reputation goes down.

Not sure what would be a good approach to making this exploit less powerful. Maybe track the identity of the players a person is hitting so that they can only gain a certain amount from hitting any one player? That way a long-running feud with a single person isn't going to affect your score much, but if you run around punching every newbie you meet your score will shift dramatically. Which is probably the best outcome if the goal of this mod is to help newbies identify who's risky to be around.

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Reputation [0.1]

by ManElevation » Post

great idea
My Public Mods! Discord: Rottweiler Games#3368

User avatar
Sirvoid
Member
Posts: 47
Joined: Thu Feb 04, 2016 22:12
GitHub: Sirvoid
IRC: Sirvoid
In-game: Sirvoid
Location: Canada
Contact:

Re: [Mod] Reputation [0.1]

by Sirvoid » Post

FaceDeer wrote:Gives incentive to work on clever traps instead of attacking people directly. :)

I'm trying to think of ways to exploit the system. If I created two alt accounts, I could have one of the two accounts accumulate a bit of negative reputation and then just have the two players sit there punching each other to continue pushing their reputations in opposite directions as far as they wanted to go. The "good guy" is punching a "bad guy" so his reputation goes up, the "bad guy" is punching a "good guy" so his reputation goes down.

Not sure what would be a good approach to making this exploit less powerful. Maybe track the identity of the players a person is hitting so that they can only gain a certain amount from hitting any one player? That way a long-running feud with a single person isn't going to affect your score much, but if you run around punching every newbie you meet your score will shift dramatically. Which is probably the best outcome if the goal of this mod is to help newbies identify who's risky to be around.
Oh I didn't think about that ^^'

I will verify the player ip to check if this is the same person before giving the points.
And maybe some kind of cooldown ... I will think about that.
Thanks.

[EDIT]
mod updated ^^

User avatar
Sirvoid
Member
Posts: 47
Joined: Thu Feb 04, 2016 22:12
GitHub: Sirvoid
IRC: Sirvoid
In-game: Sirvoid
Location: Canada
Contact:

Re: [Mod] Reputation [0.3]

by Sirvoid » Post

New Update
Everything has been rebalanced !

it should be better now ^^

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Reputation [0.3]

by ManElevation » Post

great, thx for the update!
My Public Mods! Discord: Rottweiler Games#3368

Post Reply

Who is online

Users browsing this forum: Jordach and 4 guests