-
Posts
117 -
Joined
-
Last visited
-
Days Won
16
Content Type
Forums
Profiles
Events
Gallery
Downloads
Articles
Posts posted by Sol
-
-
Hello, i have two requests so.
1. In our server is notorious arty spam, g_minartytime works like crap.
Its my alternative ex:
team_maxartillery -- Max (artilleries and supports fire (per team)) per (team_betweenarts) time team_betweenarts -- time between artilleries
2. So many peoples (haters) destroy teammate's landmines. Its pretty good if you will add new bit flag ex:
g_friendlyFireOpts 32 - Only owner of landmine can destroy own landmine.
-
set g_antiwarp 1 (server)
set pmove_fixed 0 (server) ?
pmove_fixed 0 (client)
But prediction problems aren't fixed completely yet.
-
function et_InitGame( levelTime, randomSeed, restart ) et.trap_SendConsoleCommand(et.EXEC_NOW,"sets sv_uptime "..et.trap_Cvar_Get( "uptime" ) ) end
but it's a string, and it will refresh every map
-
g_serverinfo's cvars arent updates every frame i think.
You can chack that with !update command, or just make simple LUA script which will be loging uptime per 1,2,3min or per map etc.
-
I dont know any cvars but just type on ur console netstat and connect to that server.
-
-
Voted for silent too.
-
Anyway thanks for the informations gao.
-
I made a simple script to remove players guid, but it doesn't remove why?
function et_ClientConnect( clientNum, firstTime, isBot ) if isBot == false then et.Info_SetValueForKey( et.trap_GetUserinfo( clientnum ), "cl_guid", "" ) -- MAX_GAMESTATE_CHARS end end
Simple Panzer Check
author = "Sol" info = "PF Check" ver = "1.0" mintopanzer = 30 -- min players to panza on checktime = 30 -- seconds between checks spammsg = true -- msg available and unavailable weapon = "team_maxpanzers" -- current weapon (team_maxpanzers ; team_maxflamers ; team_maxmg42s ; team_maxgrenlaunchers etc) pos = "chat" -- position available = "^3Panzer is now ^2Available" -- available msg unavailable = "^3Panzer is now ^1Unavailable" -- unavailable msg function et_InitGame( levelTime, randomSeed, restart ) et.RegisterModname( "" .. info .. " ver: " .. ver .. "") end oldtime = os.time() function et_RunFrame( levelTime ) currentime = os.time() if currentime - oldtime > checktime then if et_CountPlayers() >= mintopanzer then et.trap_SendConsoleCommand(et.EXEC_APPEND,string.format("%s 1\n",weapon)) if spammsg == true then et.trap_SendConsoleCommand(et.EXEC_APPEND,string.format("%s %s\n", pos, available)) end else et.trap_SendConsoleCommand(et.EXEC_APPEND,string.format("%s 0\n",weapon)) if spammsg == true then et.trap_SendConsoleCommand(et.EXEC_APPEND,string.format("%s %s\n", pos, unavailable)) end end oldtime = currentime end end function et_CountPlayers() local i = 0 local liczba = 0 for i = 0, (et.trap_Cvar_Get("sv_maxclients") - 1) do if et.gentity_get(i, "sess.sessionTeam") ~= 0 then liczba = liczba + 1 end end return liczba end
I will add more scripts soon
-
like we had sometimes with nq max game chars exceeded ?
I had too.
Some Alternatives
in Feature Request
Posted · Edited by sol
As for the mines u're right. I have maybe solution for it.
example:
team_maxlandmines = 10
g_landminepereng = 2
With these settings 5 engs can set 2 landmines
@
Rather, it will not be threatened 'mine fields'