Comments (8)
//PLUGIN
sharptimer_hostname A SharpTimer Server // Default Server Hostname. Default value: A SharpTimer Server
sharptimer_autoset_mapinfo_hostname_enabled false // Whether Map Name and Map Tier (if available) should be put into the hostname or not. Default value: false
sharptimer_mysql_enabled true // Whether player times should be put into a MySQL database by default or not. Default value: false
//MISC
sharptimer_connectmsg_enabled true // Whether connect/disconnect messages are enabled by default or not. Default value: true
sharptimer_connect_commands_msg_enabled true // Whether commands on join messages are enabled by default or not. Default value: true
sharptimer_kill_pointservercommand_entities true // If "true" the plugin will kill all point_servercommand ents on map start (necessary to make xplay maps playable. 🖕 @xplay). Default value: true
sharptimer_custom_map_cfgs_enabled false // Whether Custom Map .cfg files should be executed for the corresponding maps (found in cfg/SharpTimer/MapData/MapExecs/kz_example.cfg). Default value: true
sharptimer_command_spam_cooldown 0.5 // Defines the time in seconds between commands can be called. Default value: 0.5
sharptimer_remove_legs true // Whether Legs should be removed or not. Default value: true
sharptimer_remove_collision true // Whether player collision should be removed or not. Default value: true
sharptimer_remove_damage true // Whether dealing damage should be disabled or not. Default value: true
sharptimer_remove_crouch_fatigue true // Whether the player should get no crouch fatigue or not. Default value: true
sharptimer_trigger_push_fix false // When enabled all trigger_push ents will only push once OnStartTouch. Default value: false
sharptimer_hide_all_players false // Whether all players should be hidden or not. Default value: false
//TIMED MESSAGES
sharptimer_ad_enabled true // Whether timed hint messages are enabled by default or not. Default value: true
sharptimer_ad_timer 120 // Interval how often the timed hint messages shall be printed to chat. Default value: 120
//SPEED
sharptimer_use2Dspeed_enabled true // Whether the plugin should use 2D speed instead of 3D speed
sharptimer_disable_telehop true // Whether the players should lose all speed when entering a teleport map trigger or not. Default value: false
sharptimer_max_start_speed_enabled true // Whether the players speed should be limited on exiting the starting trigger or not. Default value: true
sharptimer_max_start_speed 320 // Defines max speed the player is allowed to have while exiting the start trigger. Default value: 320
sharptimer_force_knife_speed true // Whether the players speed should be always knife speed regardless of weapon held. Default value: false
sharptimer_forced_player_speed 250 // Speed override for sharptimer_force_knife_speed. Default value: 250
//HUD AND COLORS
sharptimer_chat_prefix ● // Default value of chat prefix for SharpTimer messages. Default value: SharpTimer
sharptimer_hud_primary_color #00FF00 // Primary Color for Timer HUD (you can use hex codes too). Default value: #00FF00 (green)
sharptimer_hud_secondary_color #FFA500 // Secondary Color for Timer HUD (you can use hex codes too). Default value: #FFA500 (orange)
sharptimer_hud_tertiary_color #FFFFFF // Tertiary Color for Timer HUD (you can use hex codes too). Default value: #FFFFFF (white)
sharptimer_enable_timer_hud true // If Timer Hud should be globally enabled or not. Default value: true
sharptimer_enable_keys_hud true // If Keys Hud should be globally enabled or not. Default value: true
sharptimer_override_beam_colors_enabled false // Whether Trigger Beams should use the colors below or not. If false plugin uses sharptimer_hud_primary_color
sharptimer_start_beam_color #00FF00
sharptimer_end_beam_color #FF0000
//BASIC COMMANDS
sharptimer_respawn_enabled true // Whether !r is enabled by default or not. Default value: true
sharptimer_top_enabled true // Whether !top is enabled by default or not. Default value: true
sharptimer_rank_enabled true // Whether !rank is enabled by default or not. Default value: true
sharptimer_goto_enabled true // Whether !goto is enabled by default or not. Default value: false
//GLOBAL RANK POINTS
sharptimer_global_rank_points_enabled true // Whether the plugin should reward players with global points for completing maps. MySQL Requierd. Default value: false
sharptimer_display_rank_tags_chat true // Whether the plugin should display rank tags infront of players names in chat or not. Default value: true
sharptimer_display_rank_tags_scoreboard true // Whether the plugin should display rank tags infront of players names in scoreboard or not. Default value: true
sharptimer_global_rank_free_points_enabled true // Whether the plugin should reward players with free points for completing maps without beating their PB (31xMapTier). Default value: true
sharptimer_global_rank_max_free_rewards 20 // How many times the player should recieve free 'participation' points for finishing the map without a new PB. Default value: 20
//REPLAYS
sharptimer_replays_enabled false // Whether replays should be enabled or not. This option might be performance taxing and use more ram & cpu. Default value: false
//CHECKPOINTS/SAVELOC
sharptimer_checkpoints_enabled true // Whether !cp/saveloc, !tp/loadloc, and !prevcp/prevloc & !nextcp/nextloc are enabled by default or not. Default value: false
sharptimer_remove_checkpoints_restrictions false // Whether checkpoints/locs should save in the air with the current player speed (enable for surf). Default value: false
sharptimer_checkpoints_only_when_timer_stopped false // Will only allow checkpoints/locs if timer is stopped using !timer
//DEBUGGING
sharptimer_debug_enabled false // Whether debug console messages should be printed or not. Default value: false
from sharptimer.
try logging with sharptimer_debug_enabled true so identifying where exactly the issue comes from is easier
from sharptimer.
try logging with sharptimer_debug_enabled true so identifying where exactly the issue comes from is easier
it is indeed happening the moment a new time is being saved into the db.
tried again with it on,
here is a example:
https://youtu.be/Cg-lB89BbOQ?t=26
I think this started to happen after i changed sharptimer_checkpoints_only_when_timer_stopped
to false but not sure
from sharptimer.
Im suspecting it happens cus the SQL insert is trying to occur before timer is stopped
Everytime someone beats the map, the server crashes when using SharpTimer :(
from sharptimer.
ngl i haven't heard of this issue from someone else
from sharptimer.
ngl i haven't heard of this issue from someone else
Yep I got no idea even tried to reinstall it.
I've debugged it and adding a return true
here seems to prevent it to crash
https://github.com/DEAFPS/SharpTimer/blob/main/src/PlayerUtils.cs#L40
why? idk
from sharptimer.
ngl i haven't heard of this issue from someone else
Yep I got no idea even tried to reinstall it.
I've debugged it and adding a
return true
here seems to prevent it to crashhttps://github.com/DEAFPS/SharpTimer/blob/main/src/PlayerUtils.cs#L40
why? idk
why would you want to return true when the player is null? this will create more issues than it fixes.
from sharptimer.
ngl i haven't heard of this issue from someone else
Yep I got no idea even tried to reinstall it.
I've debugged it and adding areturn true
here seems to prevent it to crash
https://github.com/DEAFPS/SharpTimer/blob/main/src/PlayerUtils.cs#L40
why? idkwhy would you want to return true when the player is null? this will create more issues than it fixes.
It was done and reported as a way to help you help me identify the issue, this was obviously not suggested as a fix.
Edit: I added stacktrace for debug and got this response within the said method
object reference not set to an instance of an object
So yes I suppose it is indeed the player that does not get set properly somewhere in the line of OnTimerStop
from sharptimer.
Related Issues (20)
- Feature Request : Remove debris collision and damage taken on every player , not using mp_humanteam and mp_solid_teammates instead HOT 1
- Some features wanted HOT 13
- BUG: spectators can use checkpoint and teleport HOT 1
- BUG:ERROR INVOKING CALLBACK HOT 1
- Out of memory HOT 3
- ERROR HOT 2
- Need force sv_cheats false or noclip stop timer! HOT 1
- How to change zones length if is possible ? HOT 4
- BHOP - Custom zones for bonus HOT 6
- Display timesharp viewers from the player HOT 1
- [CRASH]: Crash when selecting team on Windows HOT 2
- Language support
- server hostname changing itself to "surf | tier: 1 | Staged" HOT 1
- Server Time HOT 1
- possibly implementing rampglitch fix into timer? HOT 3
- Add SSJ and Gain
- valid LJ from slopes HOT 1
- Chat color inconsistencies (config: sharptimer_hud_primary_color) HOT 1
- 'Error in HandlePlayerStageTimes' When doing a run after resetting. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharptimer.