Raised This Month: $ Target: $400
 0% 

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: Robotex
Forum: Scripting 03-28-2017, 04:48
Replies: 6
Views: 1,664
Posted By Robotex
Re: Memory patching help

Messing with the push opcodes is almost never a good idea unless you know what you're doing, you will end up screwing the stack which means a sure crash sooner or later.
Forum: Extensions 03-26-2017, 08:02
Replies: 421
Views: 283,427
Posted By Robotex
Re: Accelerator - Crash Reporting That Doesn't Suck

crash
Failed to write minidump to: /usr/games/gameserver/serverfiles/left4dead2/addons/sourcemod/data/dumps/0ae4722d-9673-a6a7-62e434d8-3e6d2954.dmp
Aborted (core dumped)
email debug.log to...
Forum: Scripting 03-25-2017, 06:24
Replies: 6
Views: 2,096
Posted By Robotex
Re: Question about players count

Is OnMapEnd called when all players disconnect in middle of game? I cannot use any OnXXXXStart simply because... there won't be any called! My plugin has the objective of running a "quit" command...
Forum: Scripting 03-25-2017, 00:56
Replies: 6
Views: 2,096
Posted By Robotex
Re: Question about players count

Well after some tests this is what I noticed:
1. GetClientCount returns the number of currently playing+connecting players, HOWEVER when a map change occurs it will return 0 because clients will be...
Forum: Scripting 03-20-2017, 16:39
Replies: 6
Views: 2,096
Posted By Robotex
Question about players count

I am writing a plugin that needs to know how many players are connected.

However I am not sure about these matters:

On map changes, do the functions GetNumPlayers/GetClientCount still return...
Forum: Scripting 03-19-2017, 06:13
Replies: 3
Views: 797
Posted By Robotex
Re: Signals

I don't want to ignore the signals but actually use them to notify my scripts to do some actions.
One common case is when you run SRCDS in a Docker container, whenever a stop command is performed it...
Forum: Scripting 03-18-2017, 21:13
Replies: 3
Views: 797
Posted By Robotex
Signals

I'm wondering is there something that allows a script to intercept signals such as SIGINT/SIGTERM on linux or CTRL_CLOSE_EVENT on Windows?
If not, is there a function/forward that will notify a...
Forum: Scripting 04-29-2016, 03:58
Replies: 5
Views: 1,232
Posted By Robotex
Re: ConVar's .BoolValue expected value

The float value was declared right above the if expression as float TankHp_Multi = 1 + TankHpMulti.FloatValue*extrasurvivors; and I didn't include it in my post for sake of clarity.
I agree that the...
Forum: Scripting 04-28-2016, 18:38
Replies: 5
Views: 1,232
Posted By Robotex
Re: ConVar's .BoolValue expected value

.FloatValue is returning the expected value, however it's those .BoolValue s that are bugging me because the script I'm analyzing wasn't written by me and looking at the API documentation of SM it...
Forum: Scripting 04-28-2016, 18:20
Replies: 5
Views: 1,232
Posted By Robotex
ConVar's .BoolValue expected value

What should be the value returned by the .BoolValue property getter when the related ConVar is 0.0<x<1.0?
I'm asking because I have seen some scripts (ex. SuperVersus) that use this snippet
ConVar...
Forum: Source Servers (SRCDS) 04-25-2016, 13:34
Replies: 0
Views: 930
Posted By Robotex
[L4D2] CVars resetted on server hibernation

I own a l4d2 versus dedicated server which runs fine when there are players on it.
However when everyone lefts and server goes in hibernation, it seems to reset some cvars back to default, which is...
Showing results 1 to 11 of 11

 
Forum Jump

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


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