Server Help

ASSS Questions - Retrieving a player's score

Anonymous - Fri Feb 22, 2008 10:30 pm
Post subject: Retrieving a player's score
I'm trying to make a donate command for a player to donate his points to another player. However, I've looked over all the documentation and either I missed it or it isn't there, but either way there is no actual Player.score data field. There is only killpoints and flagpoints, and we all know points come from more than just those sources.
Anyone know how I can retrieve a player's full score?
-JP
Dr Brain - Fri Feb 22, 2008 11:04 pm
Post subject:
isn't the full score just killpoints+flagpoints?
tcsoccerman - Sat Feb 23, 2008 11:48 am
Post subject:
yes i believe so.
Samapico - Sat Feb 23, 2008 1:34 pm
Post subject:
Quote:
There is only killpoints and flagpoints, and we all know points come from more than just those sources.

Well... I don't tongue.gif

Technically, soccer points count as flag points.. and... KOTH points probably too. Everything is a flag point, except kills.
Also, when you do /*points on someone, all his points are converted to flag points ... On subgame atleast, dunno what happens in ASSS.
Anonymous - Sat Feb 23, 2008 3:48 pm
Post subject:
Oh, didn't know KOTH and soccer points counted in flagpoints.
That should work fine then, thanks.
Anonymous - Sat Feb 23, 2008 5:27 pm
Post subject: Noting...
The documentation for the Player data structure indicates that killpoints and flagpoints are not used by ASSS as the authoritative score for that player. That's what led me to believe there must be another score kept somewhere on ASSS.
Anyone know what that would be?
Anonymous - Sun Feb 24, 2008 12:03 pm
Post subject:
Apparently I missed the score module. Slightly embarrassing =O
-JP
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group