Posts: 16
Threads: 1
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Nov 2014
Reputation:
0
Hey guys,
So I am incorporating online time cash into my server at the moment. I know it would all work if a_zone_num (in the table t_users) actually switched whilst a player was online, but it stays at -1.
Things I have tried so far:
- Re-executing the newproject_db_user.sql file into the corresponding database.
- [CeNsOrEd] around (never a good thing) with different values and such.
- Re-executing every DB file
None of these was able to actively change a Player's online status.
It was working before I committed a lot of changes..but I have no idea what is causing it to not work.
Thanks!!!
Posts: 16
Threads: 1
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Nov 2014
Reputation:
0
I have done that. I have done my research haha. It is just that my a_zone_num in t_users table will not change when a player is online.
Posts: 212
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Oct 2011
Reputation:
0
DO UPDATE newproject_auth.bg_user SET cash = cash + 50 WHERE user_code IN (SELECT a_portal_index FROM newproject_auth.t_users WHERE a_zone_num != -1); change for it
DO UPDATE newproject_auth.bg_user SET cash = cash + 50 WHERE user_code IN (SELECT a_portal_index FROM newproject_auth.t_users WHERE a_zone_num > -1); this must work
Posts: 16
Threads: 1
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Nov 2014
Reputation:
0
I also have tried that. Hmm...i have never run into this problem developing on other servers..I really have no idea what the problem could be >.<
Posts: 75
Threads: 3
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jul 2014
Reputation:
0
"It was working before I committed a lot of changes"
So what changes ? It not say a lot.
Try to use original t_users table, truncate it, restart server, login into game, and check again, if changes are in server bins, we cannot help a lot cuz we dont know what changes you do ...
Posts: 528
Threads: 50
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Oct 2011
Reputation:
0
#closed since you got your answer.
If you want me to reopen this topic just write a PM.
Posts: 1,163
Threads: 160
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jun 2011
Reputation:
0
Hi there.
As your topic has been answered, and from this topic you can solve your problem or already have I am going to move this topic into our Solved section database.
Thankyou,
-LCKB Staff