|
Auron Prefect
Registered User
Join date: 25 Dec 2004
Posts: 1
|
10-18-2006 17:37
Hello. I have a HUD that records points. The points are increased when it recieves a certain email. The problem I'm having is that some people have had their points changed back to what they were several hours ago. This seems to happen the most when the sim crashes, or after they log out and back in. The script doesn't even record how many points there were before, only how many there is now.
Any ideas on what is causing this?
|
|
Silje Russell
lsl geek
Join date: 2 Oct 2005
Posts: 63
|
10-18-2006 17:59
I seen somting like this my self But not on huds.. i see it happens on rentores stabels and stuff like that. we had one that paid for 30 days on a rentor yesterday. and today rentor says no payment happen.
_____________________
Yes i know i got typos.. I got writing and reading problems. but i am still a humen!!
|
|
Thanto Usitnov
Lord Byron wannabe
Join date: 4 Aug 2006
Posts: 68
|
10-19-2006 09:10
Try adding a timestamp for when the data was recorded that's updated whenever the data to be sent is, then add that in message sent through the email. Record the timestamp somewhere on the HUD object and have it viewable by the person with the HUD. Have it be something like "time last data sent" or something like that. That should tell you if it really is from hours ago. I suppose there's some lag issue involved. I'm guessing that it was an email message that was supposed to go through at the time that maybe got skipped or something somehow. If your emailing script sends emails regularly, then you should be able to figure out a way to find if there are any gaps between messages sent. Assuming the messages are sent regularly, how's about this: when each message is received, record the time it's received. Compare that to the time the last message was received. That will be your gap. If the gap between messages is over a certain amount, you'll know that a message was missed.
|