-
Posts
38 -
Joined
-
Last visited
-
Days Won
2
Reputation Activity
-
Aciz got a reaction from hellreturn in Individual map configs
There's your problem. Check if you have saves the mapconfig in the right directory.
-
Aciz reacted to Dragonji in Reverse order of popups in alternate HUDs
I think that it would be reasonable to reverse the order of popups in the HUDs where popups area is located at the top of the screen.
Pic related:
-
Aciz reacted to Dragonji in Log playernames w/o colorcodes
Playernames without colorcodes would definitely improve readability of admin and cheat logs.
-
Aciz reacted to gaoesa in Custom command with LUA - problem
You could add the admin level to the passed arguments to the function:
function CheckCommand(clientNum, level, arguments) if( arguments[0] == "!mycommand" ) then et.trap_SendServerCommand(clientNum, "chat \"Your command "..arguments[0].." has been received\"") return 1 end return 0 end function et_ClientCommand(clientNum, command) local level = et.G_shrubbot_level(clientNum) local flood = et.ClientIsFlooding(clientNum) -- we're not interested if the level is too low or if the client is flooding if (level < 1) or (flood == 1) then return 0 end local arg0 = string.lower(et.trap_Argv(0)) local arguments -- check to see if the command was given through any of the chat methods or as sparse text from the console if arg0 == "say" or arg0 == "say_team" or arg0 == "say_buddy" or arg0 == "say_teamnl" then arguments = SplitToArguments(et.trap_Argv(1)) else arguments = SplitToArguments(et.ConcatArgs(0)) end -- actual command handling return CheckCommand(clientNum, level, arguments) end Or you can declare the variable as close to its intended use as possible. This style is generally preferred when programming:
function CheckCommand(clientNum, arguments) local level = et.G_shrubbot_level(clientNum) if( (arguments[0] == "!mycommand") and (level >= 1) ) then et.trap_SendServerCommand(clientNum, "chat \"Your command "..arguments[0].." has been received\"") return 1 end return 0 end function et_ClientCommand(clientNum, command) local flood = et.ClientIsFlooding(clientNum) -- we're not interested if the client is flooding if flood == 1 then return 0 end local arg0 = string.lower(et.trap_Argv(0)) local arguments -- check to see if the command was given through any of the chat methods or as sparse text from the console if arg0 == "say" or arg0 == "say_team" or arg0 == "say_buddy" or arg0 == "say_teamnl" then arguments = SplitToArguments(et.trap_Argv(1)) else arguments = SplitToArguments(et.ConcatArgs(0)) end -- actual command handling return CheckCommand(clientNum, arguments) end -
Aciz reacted to gaoesa in Custom command with LUA - problem
I added an example to http://mygamingtalk.com/wiki/index.php/Silent_Creating_Custom_Commands You can use that to check issues. Btw, thanks for giving some code to start adding to it.
-
Aciz got a reaction from BettyBoop in Silent mod (a few problems)
It's documented on wiki...
g_friendlyFireOptsDescription:
Allows greater control over friendly fire events.
Type: bitmask
Parameters:
1 Landmines ALWAYS damage teammates regardless of g_friendlyfire setting
2 Allow 'grenade boosting' when friendly fire is off
4 Non-engineer players do not trigger landmines on their own team
8 Players do not trigger trip mines on their own team
16 Tripmines ALWAYS damage teammates regardless of g_friendlyfire setting
32 Only engineer that planted the landmine can trigger/defuse it (concerns team landmines only). This flag requires that the flag 4 is set.
Default: 0
-
Aciz got a reaction from hellreturn in Daily Logs
Would be awesome to have something such as g_dailyLogs from ETJump implemented into silEnT. Or if not daily, at least have a g_logOptions value that gives you ability to control how big server log becomes until it's "archived" and new log is started. -
Aciz got a reaction from Dragonji in Daily Logs
Would be awesome to have something such as g_dailyLogs from ETJump implemented into silEnT. Or if not daily, at least have a g_logOptions value that gives you ability to control how big server log becomes until it's "archived" and new log is started. -
Aciz got a reaction from clan DIABOLIK in zoom of binocular to high
cg_zoomDefaultBinoc
This is the one you are looking for, 22.5 is default value.
-
Aciz got a reaction from clan DIABOLIK in zoom of binocular to high
Afaik there is no server CVAR that changes the default level of zoom, it's just client side CVAR.
-
Aciz got a reaction from hellreturn in zoom of binocular to high
cg_zoomDefaultBinoc
This is the one you are looking for, 22.5 is default value.