Raised This Month: $32 Target: $400
 8% 

[CS:S] Timer 1.0.7


Post New Thread Reply   
 
Thread Tools Display Modes
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 08-10-2013 , 16:17   Re: [CS:S] Timer 1.0.7
Reply With Quote #501

Quote:
Originally Posted by Lepraaah View Post
maybe a very stupid question, but what the hell is the admin flag assigned to access the timer menu.

i noticed when i enable "abcdefghijklmn" for an admin, he can access the timer menu, why is that? cant it be assigned to like "X", ifso, can anyone tell me where to change that in the code?

I couldnt find it, hoped to find it in the info, but nope, so please anyone, this is frustrating as hell
I think it's ADMFLAG_RCON.
__________________
cw main:

cw speedruns:
vodka00 is offline
zigrass
Junior Member
Join Date: May 2011
Old 08-14-2013 , 06:02   Re: [CS:S] Timer 1.0.7
Reply With Quote #502

Hey everybody i have some problems getting timer working have seached for fixed but cant find one :/

i am getting this huge error and have no clue whats wrong?

Quote:
g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:57: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:57: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:57: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:57: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:57: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()
L 08/14/2013 - 05:44:57: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 08/14/2013 - 05:44:57: [SM] Displaying call stack trace for plugin "timer-core.smx":
L 08/14/2013 - 05:44:57: [SM] [0] Line 475, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:57: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:57: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:57: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:57: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:57: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()
L 08/14/2013 - 05:44:57: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 08/14/2013 - 05:44:57: [SM] Displaying call stack trace for plugin "timer-core.smx":
L 08/14/2013 - 05:44:57: [SM] [0] Line 475, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:57: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:57: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:57: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:57: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:57: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()
L 08/14/2013 - 05:44:57: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 08/14/2013 - 05:44:57: [SM] Displaying call stack trace for plugin "timer-core.smx":
L 08/14/2013 - 05:44:57: [SM] [0] Line 475, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:57: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:57: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:57: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:57: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:57: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()
L 08/14/2013 - 05:44:57: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 08/14/2013 - 05:44:57: [SM] Displaying call stack trace for plugin "timer-core.smx":
L 08/14/2013 - 05:44:57: [SM] [0] Line 475, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:57: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:57: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:57: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:58: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:58: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()
L 08/14/2013 - 05:44:58: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 08/14/2013 - 05:44:58: [SM] Displaying call stack trace for plugin "timer-core.smx":
L 08/14/2013 - 05:44:58: [SM] [0] Line 475, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:58: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:58: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:58: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:58: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:58: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()
L 08/14/2013 - 05:44:58: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 08/14/2013 - 05:44:58: [SM] Displaying call stack trace for plugin "timer-core.smx":
L 08/14/2013 - 05:44:58: [SM] [0] Line 475, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:58: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:58: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:58: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:58: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:58: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()
L 08/14/2013 - 05:44:58: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 08/14/2013 - 05:44:58: [SM] Displaying call stack trace for plugin "timer-core.smx":
L 08/14/2013 - 05:44:58: [SM] [0] Line 475, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:58: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:58: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:58: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:58: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:58: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()
L 08/14/2013 - 05:44:59: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 08/14/2013 - 05:44:59: [SM] Displaying call stack trace for plugin "timer-core.smx":
L 08/14/2013 - 05:44:59: [SM] [0] Line 475, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:59: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:59: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:59: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:59: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:59: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()
L 08/14/2013 - 05:44:59: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 08/14/2013 - 05:44:59: [SM] Displaying call stack trace for plugin "timer-core.smx":
L 08/14/2013 - 05:44:59: [SM] [0] Line 475, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:59: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:59: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:59: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:59: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:59: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()
L 08/14/2013 - 05:44:59: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 08/14/2013 - 05:44:59: [SM] Displaying call stack trace for plugin "timer-core.smx":
L 08/14/2013 - 05:44:59: [SM] [0] Line 475, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::GetBestRecord()
L 08/14/2013 - 05:44:59: [SM] [1] Line 907, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-core.sp::Native_GetBestRecord()
L 08/14/2013 - 05:44:59: [SM] Native "Timer_GetBestRecord" reported: Error encountered while processing a dynamic native
L 08/14/2013 - 05:44:59: [SM] Displaying call stack trace for plugin "timer-hud.smx":
L 08/14/2013 - 05:44:59: [SM] [0] Line 290, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::UpdateHUD()
L 08/14/2013 - 05:44:59: [SM] [1] Line 179, C:\Users\Alon\Documents\GitHub\timer\scriptin g\timer-hud.sp::HUDTimer()


my database looks like this:

Quote:
"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"timer"
{
"driver" "mysql"
"host" "matniel.clanservers.com"
"database" "c1023133_Database"
"user" "c1023133_Plugin"
"pass" "*******"
}
}
i have NO idea what to do or what's wrong and if anyone could help i would be very happy

and if typing "sm plugins" all the timer plugins show up and i am able to say "!admin" click timer magnment, create zone, but when i click start or end zone the box just keep white and nothing happend
zigrass is offline
Glite
Senior Member
Join Date: Sep 2011
Location: Ukraine
Old 08-14-2013 , 06:44   Re: [CS:S] Timer 1.0.7
Reply With Quote #503

Connection to your database is wrong. Check timer logs: timer_2013-xx-xx.log. Look for:
Code:
Connection to SQL database has failed, Reason:
Fix for previous errors in timer-mapzones: https://github.com/alongubkin/timer/...7ac4ce8f98f0ce

Last edited by Glite; 08-14-2013 at 06:46.
Glite is offline
Glite
Senior Member
Join Date: Sep 2011
Location: Ukraine
Old 08-14-2013 , 09:45   Re: [CS:S] Timer 1.0.7
Reply With Quote #504

Quote:
Originally Posted by zigrass View Post
okey i tryed do open log but says the same as the console (the huge error above)

any idea of what i can do to fix this then?
Can you read? I said, look for:
Code:
Connection to SQL database has failed, Reason:

Last edited by Glite; 08-14-2013 at 09:47.
Glite is offline
zigrass
Junior Member
Join Date: May 2011
Old 08-14-2013 , 10:47   Re: [CS:S] Timer 1.0.7
Reply With Quote #505

Quote:
Originally Posted by Glite View Post
Can you read? I said, look for:
Code:
Connection to SQL database has failed, Reason:
so sry i though i deleted the other one :/

but now its that's working. thx , now im getting

Quote:
L 08/14/2013 - 10:40:47: [timer-logging.smx] Connection to SQL database has failed, Reason: [1045]: Access denied for user 'c1023133_Plugin'@'173.199.68.8' (using password: YES)
i know it beacuase it cant get access to the mysql server but...

i cant see why it cant?

my database looks like this and it should have access to it?i trueky understand if you cant help me with this one but if you can... yes would be great

Quote:
"timer"
{
"driver" "mysql"
"host" "matniel.clanservers.com"
"database" "c1023133_Database"
"user" "c1023133_Plugin"
"pass" "*******" //password sercret
}

Last edited by zigrass; 08-14-2013 at 10:48.
zigrass is offline
Glite
Senior Member
Join Date: Sep 2011
Location: Ukraine
Old 08-14-2013 , 11:12   Re: [CS:S] Timer 1.0.7
Reply With Quote #506

Show this error line to database owner he knows what to do.
Glite is offline
zigrass
Junior Member
Join Date: May 2011
Old 08-14-2013 , 11:22   Re: [CS:S] Timer 1.0.7
Reply With Quote #507

Quote:
Originally Posted by Glite View Post
Show this error line to database owner he knows what to do.
okey thx i will do
zigrass is offline
Lepraaah
Member
Join Date: May 2013
Location: Netherlands
Old 08-16-2013 , 19:19   Re: [CS:S] Timer 1.0.7
Reply With Quote #508

everything about this is so easy, exept the fucking admin flag. i've been trying to find this out for hours, and im frustrated as fuck atm, why cant you just assign "s" as admin flag for this menu, so i can easesly include/disable the timer menu for other admins, fckin hell..
__________________

Last edited by Lepraaah; 08-16-2013 at 19:22.
Lepraaah is offline
Send a message via Skype™ to Lepraaah
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 08-17-2013 , 00:46   Re: [CS:S] Timer 1.0.7
Reply With Quote #509

Quote:
Originally Posted by Lepraaah View Post
everything about this is so easy, exept the fucking admin flag. i've been trying to find this out for hours, and im frustrated as fuck atm, why cant you just assign "s" as admin flag for this menu, so i can easesly include/disable the timer menu for other admins, fckin hell..
Are you 100% positive that your other admins (not under flag Z) are able to access the menu? Are you sure?
__________________
cw main:

cw speedruns:
vodka00 is offline
Glite
Senior Member
Join Date: Sep 2011
Location: Ukraine
Old 08-17-2013 , 03:21   Re: [CS:S] Timer 1.0.7
Reply With Quote #510

I love to see, how people trying to fix problems which doesn't exist:
PHP Code:
AddToTopMenu(hTopMenu
    
"timer_delete",
    
TopMenuObject_Item,
    
AdminMenu_DeleteRecord,
    
oMapZoneMenu,
    
"timer_delete",
    
ADMFLAG_RCON);
    
    
AddToTopMenu(hTopMenu
    
"timer_deletemaprecords",
    
TopMenuObject_Item,
    
AdminMenu_DeleteMapRecords,
    
oMapZoneMenu,
    
"timer_deletemaprecords",
    
ADMFLAG_RCON); 

Last edited by Glite; 08-17-2013 at 03:21.
Glite is offline
Reply


Thread Tools
Display Modes

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 00:23.


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