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
Scores and Information?

 
Post new topic   Reply to topic Printable version
 View previous topic  Flag ASSS Module Post :: Post Objon?  View next topic  
Author Message
TeHsU
Seasoned Helper


Joined: Mar 20 2003
Posts: 101
Offline

PostPosted: Sun Nov 07, 2004 2:45 pm    Post subject: Scores and Information? Reply to topic Reply with quote

Where is the score information set into asss, seems like the biller isnt holding it because when i type ?networkreset, the scores are still the same.. any ideas?
_________________
Back to top
View users profile Send private message Add User to Ignore List
i88gerbils
Oldbie Server Help


Gender:Gender:Male
Joined: Dec 13 2002
Posts: 423
Location: OH
Offline

PostPosted: Sun Nov 07, 2004 9:32 pm    Post subject: Reply to topic Reply with quote

scores are stored locally in the data directory. (docs/userguide.txt).

on a separate note:

If I want to update scores in a module after setting them, would it be a good idea to GetStat right after setting it in order to update the client's points immediately?
_________________
Oldbie Server Help
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website Yahoo Messenger
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Sun Nov 07, 2004 11:11 pm    Post subject: Reply to topic Reply with quote

Correct, asss keeps track of all scores (and lots more) locally, using berkeley db for storage.

I'm not sure what GetStat would do. I think the function you want is SendUpdates.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Nov 07, 2004 11:36 pm    Post subject: Reply to topic Reply with quote

mmm yes, this is why you should use the new user database protocol icon_wink.gif haha.. In regards to network score reset.
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
TeHsU
Seasoned Helper


Joined: Mar 20 2003
Posts: 101
Offline

PostPosted: Mon Nov 08, 2004 12:54 am    Post subject: Reply to topic Reply with quote

Is it possible to disable this, I like the idea of it saving it but, it'd be nice if I can change it..Maybe?
Back to top
View users profile Send private message Add User to Ignore List
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Mon Nov 08, 2004 1:36 am    Post subject: Reply to topic Reply with quote

Sorry, the score keeping is integrated with the rest of the persistent data system and can't be separated. You can disable the whole thing by not loading the "persist" and "stats" modules (and anything that depends on them). But then you get no saved scores at all.

But give it a chance, I think you'll like the new features. You can use the provided "dbtool" to export stats data in csv format for use by external apps.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
i88gerbils
Oldbie Server Help


Gender:Gender:Male
Joined: Dec 13 2002
Posts: 423
Location: OH
Offline

PostPosted: Mon Nov 08, 2004 9:14 pm    Post subject: Reply to topic Reply with quote

That's what I was looking for. SendUpdates. thanks.

*reads the API* And by that I mean grep SendUpdates *.h
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website Yahoo Messenger
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: 40 page(s) served in previous 5 minutes.

phpBB Created this page in 0.685767 seconds : 29 queries executed (97.2%): GZIP compression disabled