Server Help

General Questions - SSB2 Usage Problem

Contempt+ - Sun May 21, 2006 10:08 pm
Post subject: SSB2 Usage Problem
I was wondering if anyone else has experienced this problem on CatID's biller.

I stayed afk in a zone that uses SSB2 for about 60 hours. Disconnected, and logged back on, and my usage was the same as what it was before, meaning it didn't add the 60 hours to my usage.

If anyone knows how to fix this problem, it would be greatly appriciated.
Confess - Sun May 21, 2006 10:57 pm
Post subject:
This is a known issue with the SSB2 biller, many people have had this problem...Im curious as to if anyone has found out how to fix it yet though. If you do, tell me how as I'd like to fix it also.
Cyan~Fire - Mon May 22, 2006 10:32 am
Post subject:
Do you have access to the biller console? If so, does it say anything weird?

As far as I can tell, online time is reported by the client, and thus is just a simple adding operation on the biller's part. Not much that could go wrong with that.
Contempt+ - Mon May 22, 2006 4:33 pm
Post subject:
Yeah, it doesn't say anything on the biller console. How would it be fixed? You say it's just by adding a simple adding operation on the biller's part.
Cyan~Fire - Mon May 22, 2006 7:07 pm
Post subject:
Wait, it doesn't say anything? Like not even "Player Leaving: Contempt+"? Because that would explain a lot.
Contempt+ - Mon May 22, 2006 11:11 pm
Post subject:
Oh, well it does.. I meant that it didn't say anything by means of anything un usual.

biller wrote:
5000 - Player entering(No Score): Contempt+

5000 - Player leaving(No Score): Contempt+


That's all it says really. The other things it says are ?chat=blah and that's it.

Any ideas?
Smong - Wed May 24, 2006 7:32 am
Post subject:
Maybe "no score" means you didn't add the zone to the biller, so not only are scores discared but also usage times.
Contempt+ - Wed May 24, 2006 10:08 pm
Post subject:
No, the zone is added to the biller, and I experimented: I stayed in a zone for more than 1 minute, to see that the usage went up, which it did, and I killed an AI bot 2 times, and it killed me once. After that, I left the zone, and re-entered, with 2 wins, and 1 loss, but the usage went back to what it was prior to me leaving the zone.

Any ideas?
CypherJF - Thu May 25, 2006 9:53 am
Post subject:
Not exactly sure, Catid has the following lines:

declares.h
class User ...
LONG TotalSeconds; // Total seconds online

rpc.c
bool HandlePlayerLeaving (PacketStruct * Packet) { ...
// Update total seconds online
player->TotalSeconds += GetShort(Packet->Message, 13);


I don't think the biller saves objects instantly when a user logs out, which I guess it _should_. Can't assume just because it's saving the score doesn't mean it should be saving the player object since they handled differently.
Cyan~Fire - Fri May 26, 2006 9:25 pm
Post subject:
It doesn't save instantly, but it does save every 500ms or so.

You could always modify the code to print some sort of debug message when the logout packet is received.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group