Ulysses Stuff > Ulysses Release Archives
Utime - Ultimate Edition [Who needs other versions now?]
Belly136:
Same problem here. Are you going to fix this ?
Beast:
I need more details as to what your problem is.
What gamemode are you running?
Buzzkill:
--- Code: ----- Start timer
+ RunConsoleCommand( "bot" )
--- End code ---
There are a number of ways to get timers to start running on startup. Adding a bot to someone's server probably isn't the best way, as you're now extending way beyond the purpose of the addon (that is -- people might get rightfully annoyed that an addon designed to track user time is suddenly spawning bots).
Just my $.02
--- Code: ---RunConsoleCommand( "sv_password", math.random( 1, 999999 ) ) -- This prevents people from joining and tampering with data
RunConsoleCommand( "hostname", "[MAINTENANCE] " .. GetHostName() )
--- End code ---
Whoa. Saw this after I commented above. This is a little dangerous. What if someone who doesn't appreciate what's going on runs this and it dies in the middle? You now have a server that is unexpectedly password protected until someone either restarts the server or clears the password. Fairly trivial for most - but certainly not for everyone.
At least give people the option for this kind of extra functionality and make the default off.
Belly136:
--- Quote from: Beast on March 31, 2016, 10:35:57 AM ---I need more details as to what your problem is.
What gamemode are you running?
--- End quote ---
https://steamcommunity.com/sharedfiles/filedetails/?id=135509255
Beast:
--- Quote from: Buzzkill on April 01, 2016, 05:44:11 AM ---
--- Code: ----- Start timer
+ RunConsoleCommand( "bot" )
--- End code ---
There are a number of ways to get timers to start running on startup. Adding a bot to someone's server probably isn't the best way, as you're now extending way beyond the purpose of the addon (that is -- people might get rightfully annoyed that an addon designed to track user time is suddenly spawning bots).
Just my $.02
--- Code: ---RunConsoleCommand( "sv_password", math.random( 1, 999999 ) ) -- This prevents people from joining and tampering with data
RunConsoleCommand( "hostname", "[MAINTENANCE] " .. GetHostName() )
--- End code ---
Whoa. Saw this after I commented above. This is a little dangerous. What if someone who doesn't appreciate what's going on runs this and it dies in the middle? You now have a server that is unexpectedly password protected until someone either restarts the server or clears the password. Fairly trivial for most - but certainly not for everyone.
At least give people the option for this kind of extra functionality and make the default off.
--- End quote ---
If you read the readme it specifies that it's going to do all of that. I'm just having it do that so I don't have people getting annoyed by data becoming corrupt and complaining about it.
As for the bot, I did that as a hacky quick method to start tick in the case that you run this addon upon server start. If you'd looked through carefully, that's only on the code to upload data to the MySQL database, it's not used in any other circumstances.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version