Raised This Month: $ Target: $400
 0% 

Played Time Dosen't save players time [*]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PoLiCe
Senior Member
Join Date: Apr 2013
Location: Xen™
Old 11-17-2013 , 12:24   Played Time Dosen't save players time [*]
Reply With Quote #1

Hi,
i have solo gunner plugin, and i have problem in it. when map changes / player reconnect the time returns back to normal (before gaining time from SoloGunner plugin )
what does this plugin do? =
Solo Gunner mode That to add more fun to our players gaming experience. This mode can be activated in any round and any map by Silvers, Goldens, and Administrators.

The player who activates this mode becomes a Solo Gunner and the following happens:
The solo gunner will have a knife and a USP gun with 26 bullets only.

The rest of the players will only be able to carry a knife.

The solo gunner's team must help him/her eliminate the opposing team.

The solo gunner shall get 5 minutes added to his/her total time on every player he/she kills.

If the solo gunner gets knifed and killed, he/she will lose 350 minutes of his/her total time and a bell-like sound will be played to inform others.

If a player kills a solo gunner, 100 minutes will be added to his/her total time.

If the solo gunner disconnects from the server (to avoid being killed), he/she will lose 350 minutes.

Solo Gunner Mode is activated for one round only. Everything would return to normal by next round.

Silvers can activate this mode once per day, Goldens twice per day, and Administrators three times per day. However, to keep this mode interesting, the server will allow Solo Gunner mode to be activated a total of 3 times per map.

-- the problem is this plugin works well with Alka's played time plugin and i have another played time works with SQL, In SQL version it dosen't save player's played time when i use set_user_playedtime ..

SoloGunner Code:
Spoiler


Played Time Plugin:
Spoiler

EDIT:-
i checked the code again and i think the problem from Played Time plugin.
__________________

Last edited by PoLiCe; 11-20-2013 at 09:42.
PoLiCe is offline
Send a message via MSN to PoLiCe Send a message via Skype™ to PoLiCe
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 11-17-2013 , 13:56   Re: Played Time Dosen't Save Player's time
Reply With Quote #2

Check if you have write premissions in the database
__________________
simanovich is offline
PoLiCe
Senior Member
Join Date: Apr 2013
Location: Xen™
Old 11-17-2013 , 14:06   Re: Played Time Dosen't Save Player's time
Reply With Quote #3

Quote:
Originally Posted by simanovich View Post
Check if you have write premissions in the database
Okay, so the problem isn't from the plugins? it's from the Database?
__________________
PoLiCe is offline
Send a message via MSN to PoLiCe Send a message via Skype™ to PoLiCe
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 11-17-2013 , 14:19   Re: Played Time Dosen't Save Player's time
Reply With Quote #4

Quote:
Originally Posted by PoLiCe View Post
Okay, so the problem isn't from the plugins? it's from the Database?
If it doesn't save even if it save before and plugin has no change, the database is the problem
__________________
simanovich is offline
PoLiCe
Senior Member
Join Date: Apr 2013
Location: Xen™
Old 11-18-2013 , 06:35   Re: Played Time Dosen't Save Player's time
Reply With Quote #5

Quote:
Originally Posted by simanovich View Post
If it doesn't save even if it save before and plugin has no change, the database is the problem
Ok thanks, but how to Check write premissions in the database ?
__________________
PoLiCe is offline
Send a message via MSN to PoLiCe Send a message via Skype™ to PoLiCe
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 11-18-2013 , 08:21   Re: Played Time Dosen't Save Player's time
Reply With Quote #6

Quote:
Originally Posted by PoLiCe View Post
Ok thanks, but how to Check write premissions in the database ?
Make a test
__________________
simanovich is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 11-18-2013 , 10:47   Re: Played Time Dosen't Save Player's time
Reply With Quote #7

Your (alka's) threaded query handler is useless, since it doesn't provide any information about the query whatsoever.

Code:
public query(FailState, Handle:Query, Error[], Errcode){       }

You might want to check whether the query even executes:

Code:
public query(FailState, Handle:Query, Error[], Errcode){       log_amx( "Query %d executed. Data: { FailState: %d, Errcode: %d, Error: %s }", _:Query, FailState, Errcode, Error ) }

Run the plugin for several hours and then check your logs. Post the results here.
Backstabnoob is offline
PoLiCe
Senior Member
Join Date: Apr 2013
Location: Xen™
Old 11-18-2013 , 11:14   Re: Played Time Dosen't Save Player's time
Reply With Quote #8

AMXX LOGS:
Code:
L 11/18/2013 - 14:54:59: -------- Mapchange to awp_india --------
L 11/18/2013 - 14:54:59: [SoloGunner_TEST.amxx] The day has changed! Resseting Ghost Activates
L 11/18/2013 - 14:55:32: [playedtime.amxx] --> Get 0 minutes for POLICE
L 11/18/2013 - 14:55:32: [playedtime.amxx] --> Got 0
L 11/18/2013 - 14:56:51: [playedtime.amxx] --> Get 1 minutes for POLICE
L 11/18/2013 - 14:56:52: -------- Mapchange to awp_india --------
L 11/18/2013 - 14:56:56: [playedtime.amxx] --> Get 1 minutes for POLICE
L 11/18/2013 - 14:56:56: [playedtime.amxx] --> Got 1
L 11/18/2013 - 14:57:37: [playedtime.amxx] --> Get 1 minutes for POLICE
L 11/18/2013 - 14:57:38: -------- Mapchange to awp_india --------
L 11/18/2013 - 14:57:38: [admin.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 14:57:38: [admin_sql.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 14:57:41: [playedtime.amxx] --> Get 1 minutes for POLICE
L 11/18/2013 - 14:57:41: [playedtime.amxx] --> Got 1
L 11/18/2013 - 15:01:47: [playedtime.amxx] --> Get 5 minutes for POLICE
L 11/18/2013 - 15:01:48: -------- Mapchange to awp_india --------
L 11/18/2013 - 15:01:48: [admin.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:01:48: [admin_sql.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:01:50: [playedtime.amxx] --> Get 5 minutes for POLICE
L 11/18/2013 - 15:01:50: [playedtime.amxx] --> Got 5
L 11/18/2013 - 15:02:15: [playedtime.amxx] --> Get 5 minutes for POLICE
L 11/18/2013 - 15:07:58: -------- Mapchange to awp_india --------
L 11/18/2013 - 15:08:05: [admin.amxx] Login: "POLICE1<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:08:05: [admin_sql.amxx] Login: "POLICE1<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:08:07: [playedtime.amxx] --> Get 0 minutes for POLICE1
L 11/18/2013 - 15:08:07: [playedtime.amxx] --> Got 0
L 11/18/2013 - 15:08:23: [playedtime.amxx] --> Get 0 minutes for POLICE1
L 11/18/2013 - 15:09:15: -------- Mapchange to awp_india --------
L 11/18/2013 - 15:09:21: [admin.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:09:21: [admin_sql.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:09:23: [playedtime.amxx] --> Get 15000 minutes for POLICE
L 11/18/2013 - 15:09:23: [playedtime.amxx] --> Got 15000
L 11/18/2013 - 15:09:35: [admincmd.amxx] Cmd: "POLICE<1><STEAM_0:1:76890948><>" changelevel "de_dust2"
L 11/18/2013 - 15:09:37: [playedtime.amxx] --> Get 15000 minutes for POLICE
L 11/18/2013 - 15:09:37: -------- Mapchange to de_dust2 --------
L 11/18/2013 - 15:09:37: [admin.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:09:37: [admin_sql.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:09:40: [playedtime.amxx] --> Get 15000 minutes for POLICE
L 11/18/2013 - 15:09:40: [playedtime.amxx] --> Got 15000
L 11/18/2013 - 15:09:58: [playedtime.amxx] --> Get 15000 minutes for POLICE
L 11/18/2013 - 15:09:59: [admin.amxx] Login: "POLICE<2><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:09:59: [admin_sql.amxx] Login: "POLICE<2><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:10:01: [playedtime.amxx] --> Get 15000 minutes for POLICE
L 11/18/2013 - 15:10:01: [playedtime.amxx] --> Got 15000
L 11/18/2013 - 15:11:58: [playedtime.amxx] --> Get 15001 minutes for POLICE
L 11/18/2013 - 15:11:59: -------- Mapchange to de_dust2 --------
L 11/18/2013 - 15:12:04: [admin.amxx] Login: "POLICE<3><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:12:04: [admin_sql.amxx] Login: "POLICE<3><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:12:06: [playedtime.amxx] --> Get 15001 minutes for POLICE
L 11/18/2013 - 15:12:06: [playedtime.amxx] --> Got 15001
L 11/18/2013 - 15:13:11: [playedtime.amxx] --> Get 15002 minutes for POLICE
L 11/18/2013 - 15:13:12: [admin.amxx] Login: "POLICE<4><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:13:12: [admin_sql.amxx] Login: "POLICE<4><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 15:13:14: [playedtime.amxx] --> Get 15002 minutes for POLICE
L 11/18/2013 - 15:13:14: [playedtime.amxx] --> Got 15002
L 11/18/2013 - 15:41:04: [playedtime.amxx] --> Get 15029 minutes for POLICE
L 11/18/2013 - 17:31:18: -------- Mapchange to de_dust2 --------
L 11/18/2013 - 17:31:30: [admin.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 17:31:30: [admin_sql.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 17:31:32: [playedtime.amxx] --> Get 15029 minutes for POLICE
L 11/18/2013 - 17:31:32: [playedtime.amxx] --> Got 15029
L 11/18/2013 - 17:33:41: [playedtime.amxx] --> Get 15031 minutes for POLICE
L 11/18/2013 - 17:33:42: [admin.amxx] Login: "POLICE<2><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 17:33:42: [admin_sql.amxx] Login: "POLICE<2><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 17:33:44: [playedtime.amxx] --> Get 15031 minutes for POLICE
L 11/18/2013 - 17:33:44: [playedtime.amxx] --> Got 15031
L 11/18/2013 - 17:39:48: [admincmd.amxx] Cmd: "POLICE<2><STEAM_0:1:76890948><>" changelevel "de_dust2"
L 11/18/2013 - 17:39:50: [playedtime.amxx] --> Get 15037 minutes for POLICE
L 11/18/2013 - 17:39:50: -------- Mapchange to de_dust2 --------
L 11/18/2013 - 17:39:50: [admin.amxx] Login: "POLICE<2><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 17:39:50: [admin_sql.amxx] Login: "POLICE<2><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 17:39:52: [playedtime.amxx] --> Get 15037 minutes for POLICE
L 11/18/2013 - 17:39:52: [playedtime.amxx] --> Got 15037
L 11/18/2013 - 17:40:07: [playedtime.amxx] --> Get 15037 minutes for POLICE
L 11/18/2013 - 17:45:10: -------- Mapchange to de_dust2 --------
L 11/18/2013 - 17:45:13: [admin.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 17:45:13: [admin_sql.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 17:45:15: [playedtime.amxx] --> Get 15037 minutes for POLICE
L 11/18/2013 - 17:45:15: [playedtime.amxx] --> Got 15037
L 11/18/2013 - 17:45:40: [admincmd.amxx] Cmd: "POLICE<1><STEAM_0:1:76890948><>" changelevel "de_dust2"
L 11/18/2013 - 17:45:42: [playedtime.amxx] --> Get 15037 minutes for POLICE
L 11/18/2013 - 17:45:42: -------- Mapchange to de_dust2 --------
L 11/18/2013 - 17:45:43: [admin.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 17:45:43: [admin_sql.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 17:45:45: [playedtime.amxx] --> Get 15037 minutes for POLICE
L 11/18/2013 - 17:45:45: [playedtime.amxx] --> Got 15037
L 11/18/2013 - 17:59:59: [admincmd.amxx] Cmd: "Counter Strike Default Server<0><><>" changelevel "de_inferno"
L 11/18/2013 - 18:00:01: [playedtime.amxx] --> Get 15051 minutes for POLICE
L 11/18/2013 - 18:00:01: -------- Mapchange to de_inferno --------
L 11/18/2013 - 18:00:01: [admin.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 18:00:01: [admin_sql.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 18:00:04: [playedtime.amxx] --> Get 15051 minutes for POLICE
L 11/18/2013 - 18:00:04: [playedtime.amxx] --> Got 15051
L 11/18/2013 - 18:00:47: [playedtime.amxx] --> Get 15051 minutes for POLICE
L 11/18/2013 - 18:00:48: [admin.amxx] Login: "POLICE<2><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 18:00:48: [admin_sql.amxx] Login: "POLICE<2><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 18:00:50: [playedtime.amxx] --> Get 15051 minutes for POLICE
L 11/18/2013 - 18:00:50: [playedtime.amxx] --> Got 15051
L 11/18/2013 - 18:07:39: [playedtime.amxx] --> Get 15057 minutes for POLICE
L 11/18/2013 - 18:09:26: [admin.amxx] Login: "POLICE<3><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 18:09:26: [admin_sql.amxx] Login: "POLICE<3><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 18:09:28: [playedtime.amxx] --> Get 15057 minutes for POLICE
L 11/18/2013 - 18:09:28: [playedtime.amxx] --> Got 15057
L 11/18/2013 - 18:09:39: [admincmd.amxx] Cmd: "POLICE<3><STEAM_0:1:76890948><>" changelevel "de_dust2"
L 11/18/2013 - 18:09:41: [playedtime.amxx] --> Get 15057 minutes for POLICE
L 11/18/2013 - 18:09:41: -------- Mapchange to de_dust2 --------
L 11/18/2013 - 18:09:42: [admin.amxx] Login: "POLICE<3><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 18:09:42: [admin_sql.amxx] Login: "POLICE<3><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 18:09:43: [playedtime.amxx] --> Get 15057 minutes for POLICE
L 11/18/2013 - 18:09:43: [playedtime.amxx] --> Got 15057
L 11/18/2013 - 18:12:01: [playedtime.amxx] --> Get 15059 minutes for POLICE
L 11/18/2013 - 18:12:01: -------- Mapchange to de_dust2 --------
L 11/18/2013 - 18:12:04: [playedtime.amxx] --> Get 15059 minutes for POLICE
L 11/18/2013 - 18:12:04: [playedtime.amxx] --> Got 15059
L 11/18/2013 - 18:55:52: [playedtime.amxx] --> Get 15102 minutes for POLICE
L 11/18/2013 - 19:05:37: -------- Mapchange to de_dust2 --------
L 11/18/2013 - 19:05:37: [playedtime.amxx] Query 2 executed. Data: { FailState: 0, Errcode: 0, Error:  }
L 11/18/2013 - 19:05:49: [playedtime.amxx] --> Get 15102 minutes for POLICE
L 11/18/2013 - 19:05:49: [playedtime.amxx] --> Got 15102
L 11/18/2013 - 19:06:44: [playedtime.amxx] --> Get 15102 minutes for POLICE
L 11/18/2013 - 19:06:44: [playedtime.amxx] Query 1 executed. Data: { FailState: 0, Errcode: 0, Error:  }
L 11/18/2013 - 19:06:44: -------- Mapchange to de_dust2 --------
L 11/18/2013 - 19:06:45: [playedtime.amxx] Query 8 executed. Data: { FailState: 0, Errcode: 0, Error:  }
L 11/18/2013 - 19:06:45: [admin.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 19:06:45: [admin_sql.amxx] Login: "POLICE<1><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 19:06:47: [playedtime.amxx] --> Get 15102 minutes for POLICE
L 11/18/2013 - 19:06:47: [playedtime.amxx] --> Got 15102
L 11/18/2013 - 19:07:09: [playedtime.amxx] --> Get 15102 minutes for POLICE
L 11/18/2013 - 19:07:09: [playedtime.amxx] Query 8 executed. Data: { FailState: 0, Errcode: 0, Error:  }
L 11/18/2013 - 19:07:11: [admin.amxx] Login: "POLICE<2><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 19:07:11: [admin_sql.amxx] Login: "POLICE<2><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 19:07:13: [playedtime.amxx] --> Get 15102 minutes for POLICE
L 11/18/2013 - 19:07:13: [playedtime.amxx] --> Got 15102
L 11/18/2013 - 19:07:54: [playedtime.amxx] --> Get 15102 minutes for POLICE
L 11/18/2013 - 19:07:54: [playedtime.amxx] Query 8 executed. Data: { FailState: 0, Errcode: 0, Error:  }
L 11/18/2013 - 19:07:55: [admin.amxx] Login: "POLICE<3><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 19:07:55: [admin_sql.amxx] Login: "POLICE<3><STEAM_0:1:76890948><>" became an admin (account "STEAM_0:1:76890948") (access "abcdefghijklmnopqrstu") (address "192.168.1.14")
L 11/18/2013 - 19:07:57: [playedtime.amxx] --> Get 15102 minutes for POLICE
L 11/18/2013 - 19:07:57: [playedtime.amxx] --> Got 15102
L 11/18/2013 - 19:10:36: [playedtime.amxx] --> Get 15104 minutes for POLICE
L 11/18/2013 - 19:10:36: [playedtime.amxx] Query 1 executed. Data: { FailState: 0, Errcode: 0, Error:  }
__________________
PoLiCe is offline
Send a message via MSN to PoLiCe Send a message via Skype™ to PoLiCe
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 11-18-2013 , 11:49   Re: Played Time Dosen't Save Player's time
Reply With Quote #9

The data should be saved properly. Did you try checking the actual table using PHPMyAdmin or something like that to make sure it really doesn't save? The problem could also be in loading the data, instead of saving it.
Backstabnoob is offline
PoLiCe
Senior Member
Join Date: Apr 2013
Location: Xen™
Old 11-18-2013 , 13:42   Re: Played Time Dosen't Save Player's time
Reply With Quote #10

Quote:
Originally Posted by Backstabnoob View Post
The data should be saved properly. Did you try checking the actual table using PHPMyAdmin or something like that to make sure it really doesn't save? The problem could also be in loading the data, instead of saving it.
I've checked tables and checked if the files are Read-Only or no.. but i didn't find anything :/, Played Time works well, but solo gunner dosen't..
when the player kills the solo gunner or the solo gunner kills a player time should be added to his PT,
after killing the solo gunner / player you get the time but after map change/ reconnect it reset's to the played time that the player used to have before gaining time from "Solo Gunner" plugin.
i hope you understood what i said, & Sorry for my bad english
EDIT: Is it possible that the problem might be from the plugin itself not the Database?
because in played time it updates the SQL everytime the player disconnect. but in solo gunner it dosen't.
__________________

Last edited by PoLiCe; 11-18-2013 at 14:17.
PoLiCe is offline
Send a message via MSN to PoLiCe Send a message via Skype™ to PoLiCe
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode