Jump to content

Geo

Members
  • Posts

    70
  • Joined

  • Last visited

  • Days Won

    6

Reputation Activity

  1. Like
    Geo got a reaction from Zelly in Lua Enhanced Server Module   
    Looks interesting - nice work.
  2. Like
    Geo got a reaction from alex in Rifle Grenades   
    I'd like to request something (a cvar) to mirror the behaviour of b_riflegrenades. It would be useful for say disabling RG for lower numbers (i.e 3o3) as currently I have to disable the complete Rifle weapon and keeping the k43/garand enabled would be ideal. Thanks.
     
     
     
  3. Like
    Geo got a reaction from clan DIABOLIK in Custom Voting - Enemy Territory LUA   
    File Name: Custom Voting
    File Submitter: Arcane
    File Submitted: 06 Sep 2013
    File Category: LUA
     


    Custom voting system that gives users access to additional useful votes.


    To install:

    You need to unzip the file and extract the files customvote.lua and zzz_customvote.pk3
    Read the readme.txt
    Upload these files into the silent folder on your server
    In server.cfg cvar: lua_modules "customvote.lua"
    Restart the server
     


    Click here to download this file
  4. Like
    Geo got a reaction from hellreturn in Custom vote?   
    Will post my script that I have created for custom votes on silent soon. The current votes available are:
     
    kickbots
    25 percent bots (adds 1/4 bots of max slots)
    50 percent bots (adds 1/2 bots of max slots)
    +5 mins
    +10 mins
    crazygravity
    crazyspeed
     
    With all panzer/rifle/sniperwars being added once relevant bugs are fixed. Features include configuration for allowing/disallowing votes in the script, a command to display only enabled votes and a dynamically changing menu (pk3). Using the config section in the script the menu will automatically change and only allowed votes will be available as buttons. I can add more votes if they are requested and of course it is entirely up to the user to decide which votes can be used on the server.
  5. Like
    Geo got a reaction from Chuckun in Rifle Grenades   
    Already use those settings using player limits.
     
     
     
    Yes. 
     
     
     
    I wouldn't of posted if nobody was considering using it. It is a frequent question asked by players on the server, mainly etpro and I would like at least the option for a choice.
  6. Like
    Geo got a reaction from Dragonji in Rifle Grenades   
    I'd like to request something (a cvar) to mirror the behaviour of b_riflegrenades. It would be useful for say disabling RG for lower numbers (i.e 3o3) as currently I have to disable the complete Rifle weapon and keeping the k43/garand enabled would be ideal. Thanks.
     
     
     
  7. Like
    Geo got a reaction from Dragonji in et_ClientBinary   
    I wrote a simple script which logs both unknown/known binaries to a seperate log (I prefer seperating the data) and refuses connection to players using a specific cheat binary. This is currently done by specifying the binary in the script itself as I have only detected this one known binary on the server. If more are found, then these can be added to the script or alternatively a .cfg file for the binaries could be used.
     
    Note: script is unfinished here, only posting code incase it looks like it could be of any use to other people
    function et_ClientBinary( clientNum, checksum) local binary = checksum local name = et.gentity_get(clientNum, "pers.netname") local guid = et.gentity_get(clientNum, "sess.guid") local timestamp = os.date("%Y-%m-%d %H:%M:%S") local logLine = timestamp.. "Player: "..name.." silEnT GUID: "..guid.." Binary: "..binary.."\n" et.G_LogPrint(logLine) fd, len = et.trap_FS_FOpenFile("checksums.log", et.FS_APPEND) et.trap_FS_Write(logLine, string.len(logLine), fd) et.trap_FS_FCloseFile(fd) if binary == "30d13c5e1339f3c80ad89ab4525564ab" then et.trap_DropClient ( clientNum, "\^7You have been automatically banned for using a cheat program\n") else return end return 0 end end I also disabled g_ClientBinaries parameter 2 as the point was to seperate the binaries into a dedicated file instead of adding to an existing one.
  8. Like
    Geo got a reaction from Chuckun in Spec Command - Enemy Territory LUA   
    File Name: Spec Command
    File Submitter: Arcane
    File Submitted: 03 Apr 2013
    File Category: LUA
     
    Spec Command lua script which works as a shrubbot command. An alternative for the console command "follow".

    To install:

    You need to unzip the file and extract the spec.lua file
    Upload this file into the silent folder on server (/serverip/silent)
    In server.cfg cvar: lua_modules "spec.lua"
    In shrubbot.cfg add the shrubbot command information from inside Readme.txt
     
    Click here to download this file
  9. Like
    Geo got a reaction from clan DIABOLIK in Spec Command - Enemy Territory LUA   
    File Name: Spec Command
    File Submitter: Arcane
    File Submitted: 03 Apr 2013
    File Category: LUA
     
    Spec Command lua script which works as a shrubbot command. An alternative for the console command "follow".

    To install:

    You need to unzip the file and extract the spec.lua file
    Upload this file into the silent folder on server (/serverip/silent)
    In server.cfg cvar: lua_modules "spec.lua"
    In shrubbot.cfg add the shrubbot command information from inside Readme.txt
     
    Click here to download this file
  10. Like
    Geo got a reaction from Ruben0s1 in Spec Command - Enemy Territory LUA   
    File Name: Spec Command
    File Submitter: Arcane
    File Submitted: 03 Apr 2013
    File Category: LUA
     
    Spec Command lua script which works as a shrubbot command. An alternative for the console command "follow".

    To install:

    You need to unzip the file and extract the spec.lua file
    Upload this file into the silent folder on server (/serverip/silent)
    In server.cfg cvar: lua_modules "spec.lua"
    In shrubbot.cfg add the shrubbot command information from inside Readme.txt
     
    Click here to download this file
  11. Like
    Geo reacted to gaoesa in Recording in logs   
    Using the older example as base
     
    local timestamp = os.date("%Y-%m-%d %H:%M:%S") local logLine = timestamp.." Player "..name.." silEnT GUID "..guid.." executed command: "..command.."\n"
  12. Like
    Geo got a reaction from Dragonji in Spec Command - Enemy Territory LUA   
    File Name: Spec Command
    File Submitter: Arcane
    File Submitted: 03 Apr 2013
    File Category: LUA
     
    Spec Command lua script which works as a shrubbot command. An alternative for the console command "follow".

    To install:

    You need to unzip the file and extract the spec.lua file
    Upload this file into the silent folder on server (/serverip/silent)
    In server.cfg cvar: lua_modules "spec.lua"
    In shrubbot.cfg add the shrubbot command information from inside Readme.txt
     
    Click here to download this file
  13. Like
    Geo reacted to gaoesa in Custom commands and killing spree displays   
    In shrubbot.cfg
     
    [command] command = spec exec = putteam [i] s; specplayer [i] "[1?]" desc = spec any player syntax = [name] levels = 0 1 2 3 4 5  
    In Lua:
    function et_ConsoleCommand(command) if et.trap_Argv(0) == "specplayer" then if et.trap_Argc() == 3 then local clientNum = et.trap_Argv(1) local targetClientNum = et.ClientNumberFromString(et.trap_Argv(2)) et.gentity_set(clientNum, "sess.spectatorState", 2) et.gentity_set(clientNum, "sess.spectatorClient", targetClientNum) end return 1 end return 0 end  
    Notice that the Lua hook is now ConsoleCommand and not ClientCommand.
  14. Like
    Geo reacted to gaoesa in /cg_kspreepos   
    This is a bug. Thanks for reporting. Will be fixed in the next version. The same bug affects several other announcements too.
×
×
  • Create New...