SphereServer BugTracker - SphereServer
View Issue Details
0001627SphereServerexecutable - genericpublic19-06-09 00:2813-09-09 01:43
cloud_br 
MrSugarCube 
normalminoralways
closedno change required 
 
20-09-2009, 0.56b Prerelease 
Not Available
None
None
0001627: PlayerNeutral setting doesn't work as it should. It doesn't accept negative values.
From sphere.ini:
// Karma when player goes from good to neutral (from -10000 to 10000)
PlayerNeutral=-10000

It doesn't accept values below 0...
just doesn't work.
No tags attached.
Issue History
19-06-09 00:28cloud_brNew Issue
19-06-09 00:28cloud_brNightly Version => Not Available
19-06-09 00:28cloud_brExperimental Flags => None
19-06-09 00:28cloud_brOption Flags => None
21-06-09 16:55MrSugarCubeStatusnew => resolved
21-06-09 16:55MrSugarCubeFixed in Version => 0.56c Nightly
21-06-09 16:55MrSugarCubeResolutionopen => fixed
21-06-09 16:55MrSugarCubeAssigned To => MrSugarCube
21-06-09 16:55MrSugarCubeNote Added: 0000241
22-06-09 07:13cloud_brStatusresolved => feedback
22-06-09 07:13cloud_brResolutionfixed => reopened
22-06-09 07:13cloud_brNote Added: 0000245
22-06-09 07:15cloud_brNote Added: 0000246
22-06-09 07:19cloud_brNote Added: 0000247
13-09-09 01:43MrSugarCubeStatusfeedback => closed
13-09-09 01:43MrSugarCubeResolutionreopened => no change required

Notes
(0000241)
MrSugarCube   
21-06-09 16:55   
Considering that the default value for PlayerNeutral is -2000, I doubt that it doesn't accept negative values.. :)

Players go neutral when their karma is less than the PlayerNeutral setting. So in your example a player would need -10001 karma to turn neutral. Another catch to this is that if a player has less than -8000 karma then they are considered evil, so setting PlayerNeutral to anything below this will not work (although Sphere does readjust the evil karma amount to fit with neutral karma, so you could set PlayerNeutral twice to achieve this).

I'll consider this a request for a PlayerEvil setting which should be enough to let you set PlayerNeutral to whatever you want. :)
(0000245)
cloud_br   
22-06-09 07:13   
PlayerEvil isn't working.
// Karma when player goes from neutral to evil (from -10000 to 10000)
PlayerEvil=-9999

i'm getting evil with -1 karma.

Also, I'm getting neutral with 0 karma.

Tried with:
// Karma when player goes from good to neutral (from -10000 to 10000)
PlayerNeutral=-6000

// Karma when player goes from neutral to evil (from -10000 to 10000)
PlayerEvil=-8000

too
(0000246)
cloud_br   
22-06-09 07:15   
at least it's reading right now...
before if i did .show serv.playerneutral it returned 48594483
now it returns -6000
(0000247)
cloud_br   
22-06-09 07:19   
forget it.
apparently it just isn't working with Body != elf,man/woman