View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001627SphereServerexecutable - genericpublic19-06-09 00:2813-09-09 01:43
Reportercloud_br 
Assigned ToMrSugarCube 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version20-09-2009, 0.56b Prerelease 
Summary0001627: PlayerNeutral setting doesn't work as it should. It doesn't accept negative values.
DescriptionFrom 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.
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0000241)
MrSugarCube (administrator)
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 (reporter)
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 (reporter)
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 (reporter)
22-06-09 07:19

forget it.
apparently it just isn't working with Body != elf,man/woman

- Issue History
Date Modified Username Field Change
19-06-09 00:28 cloud_br New Issue
19-06-09 00:28 cloud_br Nightly Version => Not Available
19-06-09 00:28 cloud_br Experimental Flags => None
19-06-09 00:28 cloud_br Option Flags => None
21-06-09 16:55 MrSugarCube Status new => resolved
21-06-09 16:55 MrSugarCube Fixed in Version => 0.56c Nightly
21-06-09 16:55 MrSugarCube Resolution open => fixed
21-06-09 16:55 MrSugarCube Assigned To => MrSugarCube
21-06-09 16:55 MrSugarCube Note Added: 0000241
22-06-09 07:13 cloud_br Status resolved => feedback
22-06-09 07:13 cloud_br Resolution fixed => reopened
22-06-09 07:13 cloud_br Note Added: 0000245
22-06-09 07:15 cloud_br Note Added: 0000246
22-06-09 07:19 cloud_br Note Added: 0000247
13-09-09 01:43 MrSugarCube Status feedback => closed
13-09-09 01:43 MrSugarCube Resolution reopened => no change required


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker