Troubleshooting & Frequently Asked Questions (Resource for Server Owners)

Discussion in 'KZTimer & Other Plugins' started by Kenneth, Aug 18, 2015.

  1. Kenneth

    Kenneth KZ-Climb.com Founder Staff Member

    Joined:
    Jan 20, 2015
    Messages:
    626
    Likes Received:
    303
    You can show your appreciation to the developer of KZTimer by donating here.

    This thread is constantly updated with new information. If you want to add a Q&A or suggest a change to an existing one, please comment below.

    Troubleshooting:

    • Make sure that you are using the latest snapshot of SourceMod 1.7. SM1.6 is no longer supported, and 1.8 is known to cause crashes.
    • If you are experiencing irregular crashes, the cause could be another plugin. Make sure that you only use the default SourceMod plugins and KZTimer.
    • If you have just installed KZTimer and you believe that it not functioning correctly, make sure that you are in a kz_ map. Next, check if you have added an entry for KZTimer in your database.cfg.
    • KZTimer still not working due to database error? Make sure that you have proper read/write permissions (755 is fine).
    • If you cannot connect to the global database, make sure that you are using the global version of KZTimer found here. Global database still not working? Type !globalcheck to see if there are any errors.
    • Any other problems? Check for any errors in /addons/sourcemod/logs/ and post a thread here.


    FAQ:


    Q:
    How do I configure KZTimer for my Surf server?
    A: Use ckSurf, a fork of KZTimer, instead.

    Q: How do I configure KZTimer for my Bhop server?
    A: Configure settings in /csgo/cfg/sourcemod/kztimer/map_types/ for bhop_ and bkz_ maps. Use !kzadmin to create custom timers if the map does not have them built-in.

    Q: How do I enable Zones for my Bhop server?
    A: Zones are not supported in KZTimer. Use shavit's simple bhop timer instead.

    Q: What can I do if I only need the JumpStats element of KZTimer?
    A: Use the KZTimer JumpStats plugin.

    Q:
    What SourceMod version is best for KZTimer?
    A: Use the latest snapshot of SourceMod 1.7. SM1.6 is no longer supported, and 1.8 is known to cause crashes.

    Q: Where can I find the Global edition of KZTimer
    A: It can either be found at this forum, or the KZTimer Steam group.

    Q: How do I add VIPs to my server?
    A: VIPs are admins with flag 'a'.

    Q: How do I have two servers share the same database?
    A: Use an online MySQL server. Modify database.cfg and change "driver" "sqlite" to "driver" "mysql". Existing data will need to be converted from the KZTimer local sqlite (found in the addons/sourcemod/data/kztimer/) into MySQL format. This can be done in a number of ways.

    Q: How do I delete Jump Stats (LongJumps, BunnyHops) for a single player?
    A:
    Code:
    !resetljrecord - Resets lj record for given steamid - requires z flag
    !resetljblockrecord - Resets lj block record for given steamid - requires z flag
    !resetbhoprecord - Resets bhop record for given steamid - requires z flag
    !resetdropbhoprecord - Resets drop bhop record for given steamid - requires z flag
    !resetwjrecord - Resets wj record for given steamid - requires z flag
    !resetmultibhoprecord - Resets multi bhop record for given steamid - requires z flag
    !resetplayerjumpstats - Resets jump stats for given steamid - requires z flag 
    Q: How do I set a time limit for each map?
    A:
    Code:
    kz_dynamic_timelimit
    mp_timelimit 60 // 60 minutes
    Q: How can I set different settings for different maptypes?
    A: Look at /csgo/cfg/sourcemod/kztimer/map_types/ folder and configure the files inside. You can even disable KZTimer on same maps (look at the de_.cfg as an example).

    Q: How can I tell KZTimer not to automatically close / overwrite other plugins that use the left-menu.
    A: You first need to find out the sm_ command that opens the other menu. Then, open up addons/sourcemod/cfg/kztimer/exception_list.txt and put it in. For example in the case of the Skin Chooser plugin, I will write in "sm_models" in so the !models command that opens up the left-menu does not get overwritten by the Climber's Menu. Restart your server and try to see if it is fixed. If not and if you really want to fix it, you would need to modify the source code of the incompatible plugin, and recompile it. Refer here.

    Q: How do I change the welcome message that gets displayed to players that join the server?
    A: Open /csgo/cfg/sourcemod/KZTimer.cfg and modify kz_welcome_msg.

    Q: How do I make Ultimate Map Chooser compatible with KZTimer?
    A: Use this modified version of UMC.

    Q: Compatibility with Store plugin?
    A: Use this modified version of Store.

    Q: How do I extend the current map timelimit?
    A: Install the Extend Map plugin, and then you can simply use sm_extend_roundtime.

    Q:
    How do I create a menu system so my admins or VIPs can extend?
    A: Create a Custom Admin Menu with the correct parameters. Make sure to add the command to open the menu to your exceptions_list.txt. Click here for an example.

    Q: How can I fix the map automatically changing when someone gets a record?
    A: Make sure replay_bot.nav is present in your /csgo/maps/ directory. If not, grab one from the KZTimer download link. Also make sure that the map in question is also in your /csgo/mapcycle.txt
     
    Last edited: Sep 30, 2015
  2. smex

    smex gfyfgt Donor KZ Server Owner Mapper

    Joined:
    Sep 18, 2015
    Messages:
    181
    Likes Received:
    103
    hi ive setup a server and at the start everything went well but after few days i cant change maps after some time and i have to restart the server every now and then to get t workin again, is there a known cause for this or did i fuck up something?

    "Basic Info Triggers" (1.7.3-dev+5265) by AlliedModders LLC
    "Rock The Vote" (1.7.3-dev+5265) by AlliedModders LLC
    "FragRadio SourceMod Plugin" (1.4.5) by BomBom - Dunceantix
    "Basic Ban Commands" (1.7.3-dev+5265) by AlliedModders LLC
    "Player Commands" (1.7.3-dev+5265) by AlliedModders LLC
    "Map Nominations" (1.7.3-dev+5265) by AlliedModders LLC
    "Basic Votes" (1.7.3-dev+5265) by AlliedModders LLC
    "Basic Chat" (1.7.3-dev+5265) by AlliedModders LLC
    "Admin Menu" (1.7.3-dev+5265) by AlliedModders LLC
    "KZTimer" (1.75 Global) by 1NutWunDeR
     
  3. smex

    smex gfyfgt Donor KZ Server Owner Mapper

    Joined:
    Sep 18, 2015
    Messages:
    181
    Likes Received:
    103
    i cant find a different download? where to get it?

    //ok found it on a russian site

    //still doesnt work, even more buggy stuff



    22:08:24 sm_map kz_colors_v2
    22:08:24 CModelLoader::Map_IsValid: No such map 'maps/kz_colors_v2.bsp'
    [SM] Changing map to kz_colors_v2...
    22:08:24 L 10/22/2015 - 22:09:26: [basecommands.smx] "Console<0><Console><Console>" changed map to "kz_colors_v2"

    maybe problems with the workshop folders?
     
    Last edited: Oct 22, 2015
  4. smex

    smex gfyfgt Donor KZ Server Owner Mapper

    Joined:
    Sep 18, 2015
    Messages:
    181
    Likes Received:
    103
    fuck this, nothin works anymore


    01 "Basic Info Triggers" (1.7.2) by AlliedModders LLC
    02 "Rock The Vote" (1.7.2) by AlliedModders LLC
    03 "Nextmap" (1.7.2) by AlliedModders LLC
    04 "Basic Ban Commands" (1.7.2) by AlliedModders LLC
    05 "Player Commands" (1.7.2) by AlliedModders LLC
    06 "Map Nominations" (1.7.2) by AlliedModders LLC
    07 "Basic Votes" (1.7.2) by AlliedModders LLC
    08 "Basic Chat" (1.7.2) by AlliedModders LLC
    09 "Admin Menu" (1.7.2) by AlliedModders LLC
    10 "KZTimer" (1.75 Global) by 1NutWunDeR
    11 "Admin Help" (1.7.2) by AlliedModders LLC
    12 "Reserved Slots" (1.7.2) by AlliedModders LLC
    13 "Sound Commands" (1.7.2) by AlliedModders LLC
    14 "Fun Votes" (1.7.2) by AlliedModders LLC
    15 "Basic Commands" (1.7.2) by AlliedModders LLC
    16 "Replay bot fixer" (1.0) by 1nut
    17 "Anti-Flood" (1.7.2) by AlliedModders LLC
    18 "Fun Commands" (1.7.2) by AlliedModders LLC
    19 "KZErrorBoxFixer" (1.1) by 1NutWunDeR
    20 "MapChooser" (1.7.2) by AlliedModders LLC
    21 "Admin File Reader" (1.7.2) by AlliedModders LLC
    22 "Client Preferences" (1.7.2) by AlliedModders LLC
    23 "Basic Comm Control" (1.7.2) by AlliedModders LLC


    complete fresh csgo install, metamod, sourcemod, kztimer - now when i start the server it wont even change to a kz map... im so confused, since 3 days this shit wont work.... changing to non workshop maps works..
     
    Last edited: Oct 22, 2015
  5. smex

    smex gfyfgt Donor KZ Server Owner Mapper

    Joined:
    Sep 18, 2015
    Messages:
    181
    Likes Received:
    103
    no, like i said its a fresh install, i installed csgo, metamod, sourcemod, kztimer, added the lines for the database and setup the workshop maps, should i try the extended mapchooser?
     
  6. AzaZPPL

    AzaZPPL Moderator KZ Server Owner

    Joined:
    Sep 16, 2015
    Messages:
    75
    Likes Received:
    37
    Same stuff with KZ-Climb eu servers happening now. Not sure why this is happening yet. I will post another reply when ive found something.
     
  7. smex

    smex gfyfgt Donor KZ Server Owner Mapper

    Joined:
    Sep 18, 2015
    Messages:
    181
    Likes Received:
    103
    seems to fix the problem with the mapchange commands, but now RTV doesnt work, if i rtv and in chat comes the message "[SM] Smex ツ wants to rock the vote. (1 votes, 0 required)" nothing happens after this, no vote or anything



    errorlog after firing up server and just call rtv from the chat.
    http://pastebin.com/DdDf6jL2
     
    Last edited: Oct 23, 2015
  8. pr0s0nly

    pr0s0nly NEW

    Joined:
    Jan 24, 2016
    Messages:
    13
    Likes Received:
    0
    L 01/24/2016 - 01:41:18: SourceMod error session started
    L 01/24/2016 - 01:41:18: Info (map "kz_longjumps_easy") (file "errors_20160124.log")
    L 01/24/2016 - 01:41:18: [SM] Plugin encountered error 30: Script execution timed out
    L 01/24/2016 - 01:41:18: [SM] Displaying call stack trace for plugin "KZTimerGlobal.smx":
    L 01/24/2016 - 01:41:18: [SM] [0] Line 4859, kztimerGlobal/misc.sp::SetupHooksAndCommandListener()
    L 01/24/2016 - 01:41:18: [SM] [1] Line 816, F:\csgo-ds\server01\csgo\addons\sourcemod\scripting\K ZTimerGlobal.sp::OnPluginStart()
    L 01/24/2016 - 01:43:55: Error log file session closed.

    Can you please help me fix this error I'm not sure whats wrong Ive installed everything from the github properly
    Running Latest SM on Linux. I've Replaced the KZTimerGlobal.smx with KZTimer.smx to have my server working at the moment but would like to have Global Timer working. Thanks
     
    Last edited: Jan 24, 2016
  9. Funk

    Funk Community/KZTimer Admin

    Joined:
    Oct 9, 2015
    Messages:
    158
    Likes Received:
    1,005
    Pretty sure that mean's you're being ddos'd or smth
     
  10. Pasta Prince

    Pasta Prince NEW

    Joined:
    Feb 18, 2017
    Messages:
    8
    Likes Received:
    3
    where do you type the code to change the time limit?

    kz_dynamic_timelimit
    mp_timelimit 60 // 60 minutes
     

Share This Page