Jump to content

Zelly

Coders
  • Posts

    142
  • Joined

  • Last visited

  • Days Won

    32

Posts posted by Zelly

  1. Is there a way to get fullscreen console via bind? rather than using Alt+~

     

    Reason:

    set SCREENSHOT        "echo ^e<^c<^7SCREENSHOT^c>^e> ; toggleconsole ; wait 4 ; wait 4 ; wait 4 ; autoscreenshot ; toggleconsole"
    

    Allows me to get a screenshot of the half console.

  2. Ello again
    Updated to 2.7.4 fixed a lot of problems  that did not happen on my test server.
    I brought the wiki a lot more up to date, the install page is a little more complete, I think all I need to do is explain the features a little more in detail, it is hard to keep them up to date since I change them so often.
    I also added a lot more config options
    If anything isn't explained very well send me a message I will get it updated when I can.
    Changes:

    2.7.4

    Updated config format to group related values
    Updated config creation to show which values you are missing
    Updated config command to not require "get" "list" and "set"
    Updated config sub command "save" now will save a new config with current values and any missing values
    Updated maplist command to use mapcycle cvars
    Updated calculator command to not require spaces
    Updated syntax highlighting to help command
    Updated privatemessaging to filter through the privatemessage command
    Updated the level config option to make more sense
    Updated mail commands to work much better
    Updated info command to contain more accurate info
    Updated logs to encrypt password before it gets to logs
    Updated mapents to show messages when near
    Updated mail help to only show mail commands
    Added an incremental team block function with config options
    Added info sub command license displays license
    Added mail inbox delete command
    Added mail inbox empty command
    Added ability to use a lightweight encrypt instead of sha1
    Added a location print for more configuration
    Added a bunch of new config options for each feature
    Added mute overwrite command
    Added strictmute in mute command
    Added a wrapprint function for clients and consoles
    Added authFollow to follow command
    Added FreezeStart and FreezeStartTime
    Added ability to freeze clients and command with it
    Added a MessageFilter to filter all messages chat,command, etc.
    Added et_Damage support with showdamagedealt,showname, and showweapon user keys
    Added a IntermissionStart callback in Game for mods that don't have et_Intermission
    Added the ability to block the team command
    Added farewells and farewellsounds for when clients disconnect from the server
    Added abilty to mention players from chat
    Added an isAlive function
    Added xpdecay,expire options
    Added sort of a ClientGibbed callback
    Added Sound.TeamKillConfirm Sound.Return
    Added better connectprint
    Added better deathprint
    Added option to use metricdistance
    Added printing of nextmap on intermission
    Added options for more control over balanceteam
    Added a message so clients know not to use a password they are using elsewhere
    Added inbox sub command to mail commands
    Added ability to get help info for command using help as first argument /register help Fixed shoutcaster now disables when joining a team from spectator
    Fixed chat commands returning wrong
    Fixed leveltime get from wrong place
    Fixed dependecy on shrubbot commands for setTeam
    Fixed many sound events
    Fixed many obituary / stat bugs
    Fixed fieldnames for clients
    Fixed getting current mapname when nextmap is nil
    Fixed muting in legacy
    Fixed setlevel message for non shrubbot
    Fixed freeze console command
    Fixed playsound partial sound command
    Fixed calculator command using float values
    Fixed core command return value
    Fixed overwrite command return values
    Removed insanity command for non shrubbot



    2.7.3

    Updated all commands to use a new improved format
    Updated the login,logout, and register command to work in sync with command system
    Updated printing of tables to better fit on screen
    Updated printing of tables for long tables to print over time
    Updated sound methods to be outside of playsound command
    Updated no mail message to print instead of chat
    Updated routines to run on levelTime again
    Updated help command to look a lot better
    Updated ammocheck to work off of percentages
    Updated config options for debugging to debug specific sections
    Updated Spec999 to a number value
    Added config option to toggle adminwatch for console
    Added license
    Added default weapon tables for each mod
    Added view for console
    Added some basic et constants
    Added name to user greeting
    Added new RegularUserData system
    Added minimal comment support to the reading of JSON files
    Added help to mail commands
    Added prefixes for Admin and Chat
    Added options for allowing user greetings
    Added option to toggle logging of colors
    Added option to toggle logging full message Added 8ball command 
    Rewrote edit command and user keys to more easily update
    Fixed config not using default value when not exist
    Fixed first connection code
    Fixed several Logger errors
    Removed server authorization

  3. Is that how it works? lol Honestly I don't know what kind of license to use, I was suggested to use at least something.

    I figured it wouldn't matter since the ones its not being added into the silent mod project.

     

    What should I be using, basically all I need is to keep it open and not be able to claim it as their own.

  4. Hello everyone!

     

    I have been working on a project with pure lua that enhances current ET servers.

    I have been working on it alone for a few years and just recently invited purple to come help me out.

     

    A short description of some of the many features that it has: 

    It is very configurable, if something isn't already configurable it would be very easy to make it configurable.

    It includes over 60 custom commands.

    Has a mail system.

    It has an option to register a profile to see all your stats over time. (Also used for a bunch of other stuff)

     

    There is a lot in the project and it is constantly changing, so for more up to date information you can view the wiki on bitbucket:

    https://bitbucket.org/zelly/lua-enhanced-server-mod/wiki/Home

    The wiki has a feature list, command list, information about the keys, how to report bugs, how to join development and more.

     

    I am always open to ideas to improve my project so please take a look.

    Here is the home page if you want to take a look around the project: https://bitbucket.org/zelly/lua-enhanced-server-mod/overview

  5. Basically I check it once in ClientBegin and I check it in ClientUserInfoChanged

     

    As for the renaming: it will only save for the current round, which isn't ideal, but its better than nothing. ( You could replace it with the !rename command instead, I think that lasts until they disconnect )

    function Client:setName(name)
        if ( name == nil ) then return end
        if ( string.len(Misc:trim(et.Q_CleanStr(name))) <= 0 ) then return end
        local userinfo = self:getUserInfo()
        userinfo = et.Info_SetValueForKey( userinfo, "name", name )
        et.trap_SetUserinfo( self.id, userinfo )
        et.ClientUserinfoChanged( self.id )
    end

     

    I really should open my lua to public lol.
    It is hard to copy my code without seeing the entire project.

  6. I would make sure to check length of cleanstr and trimmed for trailing spaces.

     

    Can be done in lua. I don't have the code for the trim function though.

    name = et.Info_ValueForKey( et.trap_GetUserinfo( clientnum ) , "name" )
    name = trim(et.Q_CleanStr(name))
    
    if ( string.len(name) < 1 ) then
        -- kick rename w/e
    end
    
  7. I am content with using lua to accomplish this. I use it to let clients choose if they want to spawn with it, as well as it will pick smg as secondary if available.

     

    But I suppose it could be added as a server cvar and or a client cvar.

     

    /cg_singlePistolPriority 1

    /g_forceSinglePistol 1

  8. I mean artillery (binoculars) - not airstrike.

    It basically does the artillery event the split second you call it in (If you have the charge and your allowed to place it in at that time)

     

    What I don't know:
    - Is what specifically causes it? Shot in the dark it may be moving objects, I vaguely remember it happening on supplydepot when I place it near or on a truck

    - I also can't recall if there is any red/blue smoke that goes with the strike. I think it skips that part altogether

    I will start recording autodemos if it ever happens again ill try to upload. Since it happens pretty random.

  9. Sometimes when placing an arty, it will instantly explode where I placed it. (No warning smoke where its placed)

    I really have no idea how to reproduce it just happens randomly.

    Mainly curious if anyone else has had this happened, or is it just me.

     

  10. g_coverts

    Description:

    Controls various aspects of the Covert Op class.

    Type: bitmask

    Parameters:

    1 Level 4 Coverts have more accurate scoped weapons.

    2 Disguised coverts can only be identified with the "crosshair name" by level 4 Field Ops.

    4 After detonating a satchel charge, the primary weapon will be selected instead of satchel again.

    8 Coverts in disguise take half the normal combat damage.

    16 Coverts in disguise take no splash damage.

    32 Coverts do not automatically lose their uniform if an enemy sees them firing a weapon.

    64 Coverts do not automatically lose their uniform if they fire a non-silent weapon.

    128 Coverts do not automatically lose their uniforms if they attach to an emplaced MG weapon. Note that this flag has nothing to do with firing.

    256 Coverts are awarded xp for constructive use of smoke.

    512 Coverts will lose their uniform if an enemy sees him using ANY weapon (otherwise knife/satchel/smoke/binoc will never lose uni).

    1024 A disguised covert can still steal enemy uniforms.

    Default: 0

     

     

  11. Hmm well I guess this would work then.

    I thought that having stuff like that in etmain folder would sometimes still get downloaded automatically under certain circumstances.

    I will try it thanks.

    Appears to be working lol, I guess never mind then unless there are downsides to doing it this way, which for some reason I thought there were.

     

    Thanks beck :)

×
×
  • Create New...