Is there an event such as onUserVariablesUpdateHandler the will fire off when the userVariables of my own avatar is changed.
I wanted the users variables to be updated at different times though out the game. And it would make it easier if there was an event I could listen to when this happens.
-jms
userVaribles event
- mistermind
- Posts: 131
- Joined: 15 Sep 2007, 01:33
- Contact:
Humm I'm not sure if I understand your question. Do you mean you can't see your own variables updated from the onVariablesUpdate event? To be honest I never tried (or noticed) that, but I can see its functionalities. I believe there are ways to do that, since things like room chat (sendPublicMessage) are picked from all users, including the sender.
SELECT * FROM users WHERE clue > 0
0 rows returned.
0 rows returned.
What I have going on is in the java extensions I'm tied into a database and though out the cycle of the game there is some logic that changes the user based on time and I wanted to push that to my users variables when this happens.
So I was wondering if in the event onUserVariablesUpdateHandler or one like it I could listen when this happens. Just trying to save some over head and not constantly trying to pipe everything through the onExtensionResponse event.
So I was wondering if in the event onUserVariablesUpdateHandler or one like it I could listen when this happens. Just trying to save some over head and not constantly trying to pipe everything through the onExtensionResponse event.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 42 guests