Completely remove Karma/fama

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Biarnel
New User
Posts: 10
Joined: Sun Jan 14, 2007 2:32 am

Completely remove Karma/fama

Post by Biarnel »

In my shard, karma, fama, being blue or red is only a distracting thing, so I have to completely remove it, to have an "all grey" pg base.

Using 097, what should I do? Is there a painless way of just disable it? Do I have to patch every script related to kill, steal, poison, etc?
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

Grey isnt a permanent thing though in POL. What I would do is just set everyone to red using

who.setmurderer(1)

and search your scriptbase removing all

who.setmurderer(0)

This is probably the easiest way to do it.
Serpicus
New User
Posts: 4
Joined: Mon Jan 15, 2007 12:41 am

Post by Serpicus »

CWO wrote:Grey isnt a permanent thing though in POL. What I would do is just set everyone to red using

who.setmurderer(1)

and search your scriptbase removing all

who.setmurderer(0)

This is probably the easiest way to do it.
I remember at least two shards where grey names were permanent (but with POL 0.95). There isn't another ways?
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

Well, theres CriminalFlagInterval in repsys.cfg. Thats the number of seconds they're set criminal. Who.setcriminal(1) will make them criminal for that many seconds. If you do who.setcriminal higher than 1, it will multiply the CriminalFlagInterval by that number. Sure you can make it weeks long that way but always be mindful that who.setcriminal is never permanent, it just has to keep being set.
Serpicus
New User
Posts: 4
Joined: Mon Jan 15, 2007 12:41 am

Post by Serpicus »

In repsys.cfg I set all NameColoring as grey. Problem solved :smile:
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

But does this stop the "Query Criminal" type of stuff. You set all names grey but all of the reputations exist still.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

in 097 you use the highlight hook and set everyone to the criminal highlight which is 4. This makes the health bar turn gray and the client will no longer prompt a warning about it being a criminal action.

Then to make people grey for single click, a name color hook is used to return color 905.


See core-changes.txt and the 097 distro for more on that.
Post Reply