Page 1 of 1

Completely remove Karma/fama

Posted: Tue Jan 16, 2007 2:19 am
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?

Posted: Tue Jan 16, 2007 2:52 am
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.

Posted: Tue Jan 16, 2007 4:16 pm
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?

Posted: Tue Jan 16, 2007 5:39 pm
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.

Posted: Wed Jan 17, 2007 2:28 am
by Serpicus
In repsys.cfg I set all NameColoring as grey. Problem solved :smile:

Posted: Wed Jan 17, 2007 3:32 am
by CWO
But does this stop the "Query Criminal" type of stuff. You set all names grey but all of the reputations exist still.

Posted: Wed Jan 17, 2007 4:00 am
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.