Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Stat Function

 
Post new topic   Reply to topic Printable version
 View previous topic  Simultaneous kills Post :: Post Scores Resetting Problem  View next topic  
Author Message
Guest



Offline

PostPosted: Mon Mar 21, 2011 8:46 pm    Post subject: Stat Function Reply to topic Reply with quote

I was looking to manually be able to manipulate stats. I have looked in the stat.h and another file, but not sure exactly how to use the functions.

I think I would have to include (I_STATS), but then from there I am lost.

I had tried stats.STAT_KILL, (targ, 1) and stats.SendUpdate, (targ, 1) in a python module. I tried a couple different formulas with no luck. Has anyone done anything using stats?
Back to top
D1st0rt
Miss Directed Wannabe


Age:36
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Mon Mar 21, 2011 9:00 pm    Post subject: Reply to topic Reply with quote

The argument to SendUpdate is for players to exclude, try using None instead of the target and see if it works then
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 675 page(s) served in previous 5 minutes.

phpBB Created this page in 0.589606 seconds : 27 queries executed (79.1%): GZIP compression disabled