Page 5 of 5 FirstFirst ... 3 4 5
Results 81 to 89 of 89

Thread: Server Clearance - Script Release

  1. #81

    Re: Server Clearance - Script Release

    Quote Originally Posted by mortis View Post
    ETpro mapscripts make a lot of fixes possible, but not everything. I spent many evenings trying to figure out why certain scripts/maps didn't work properly,and what could be done to fix them. This ability has extended the lifespan of ET considerably. I wish I had more time to play, but my parental and work duties don't allow me as much free time as I used to have... <sigh>

    --Mortis

    We still use your mapscripts on our server. Your scripts have been helpful a lot on our server at least! Thank you for that!

  2. #82
    Fire Team Alpha mortis's Avatar
    Join Date
    Jan 2005
    Location
    NorCal, USA
    Posts
    1,191
    Most Recent Awards:

    Re: Server Clearance - Script Release

    You're welcome. I have loved few games in my life as much as Wolf:ET.
    Objective Completed!

  3. #83

    Re: Server Clearance - Script Release

    And another one, by request:

    Episode VIII - Showmaps Client Command LUA


    * * * * *

    UPDATE: VERSION 3 - 30 NOV 2015


    Changelog #2 -> #3:
    -------------------
    * The script now supports campaign mode.
    NOTE: Name your .campaign files exactly the way you named them in your campaigncycle.cfg, or the script won't find them!
    * The script now supports the concatenation of multiple mapcycle configs (in objective mode):
    For example, you can now have three config files mapcycle1.cfg, mapcycle2.cfg & mapcycle3.cfg
    In the last line of mapcycle1.cfg, you can now put the following and the script will get along with it:
    set d3 "set g_gametype 2 ; map clownbase ; set nextmap exec mapcycle2.cfg"
    * The output has changed: Mapname indexes < 10 are now properly aligned (see screenshot)
    * Several minor improvements

    * * * * *

    UPDATE: VERSION 2 - 16 NOV 2015


    Changelog #1 -> #2:
    -------------------
    * You no longer need to point the script to your mapcycle config file, it will
    now find out the mapnames automatically by recursively following the "nextmap"-cvar
    * The output mapnames have changed, they are now sent through a "fancify"-function
    beforehand to make them better-looking: For example, "__random-mapname_release---candidate1_"
    is now turned into "Random Mapname Release Candidate1"
    * The numbering of the output mapnames has changed, the current map now always starts at index 1
    * Faster code: The mapnames are now only calculated once per match and no longer upon every usage of !showmaps

    I strongly recommend using v2 for the above reasons. I'll leave the v1 zip-file attached for documentation purposes.

    * * * * *

    Features:
    ---------
    * This script adds the "!showmaps" client command that lists all maps in the current mapcycle config file.
    The current map is printed first, the others in subsequent order.
    * No configuration is necessary, script will find out your map cycle automatically.
    Should there be an "ERROR"-message when doing !showmaps, make sure the syntax of your mapcycle.cfg looks
    like that of the default objectivecycle.cfg
    * NOTE: The script loads your mapcycle only once per match, any change to the mapcycle config afterwards
    will remain unrecognized until the next map.
    * In order for clients to know about this command,
    you might want to add it to your shrubbot config file with something like this:
    Code:
    [command]
    command = showmaps
    exec =
    desc = lists all maps in the current map cycle config
    levels = 0 1 2 3 4 5
    The script was developed on NQ 1.2.9 with only the official ETpro LUA API, so there should be no incompatibilities.

    NOTE: Since the forum administrator still hasn't awaken from their 10-year coma, the files have been uploaded as .mp3 to bypass the max file size restriction of 16KB imposed on zip files. Rename to .zip and extract.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by phisherman; 30th Nov 2015 at 17:49.
    Quote Originally Posted by oveove
    critisism is not allowed as it is another way to offend someone

  4. #84

  5. #85

    Re: Server Clearance - Script Release

    You're welcome ;) I'll be happy if somebody uses it.
    I also uploaded an update, check the post above.
    Quote Originally Posted by oveove
    critisism is not allowed as it is another way to offend someone

  6. #86

    Re: Server Clearance - Script Release

    And another update, see above.
    Quote Originally Posted by oveove
    critisism is not allowed as it is another way to offend someone

  7. #87

    Re: Server Clearance - Script Release

    Thank you very much for all the scripts!
    I hope a lot of server admins can make good use of them.

  8. #88

    Re: Server Clearance - Script Release

    And another one, by request:

    Episode IX - Team Balance LUA

    This script keeps an eye on the teams and notifies/moves players when the teams are unfair. The script is compatible to OmniBot, meaning it will ignore all bots and regard human players only.

    Features:
    Code:
    maxPlayerDiff = 2	-- Teams will be balanced if one team has # more players than the other
    			-- NOTE: Values less than 2 will be ignored
    					
    autoBalanceInterval = 20	-- Teams will be checked for imbalance every # seconds
    				-- Larger intervals are less resource-intense
    							
    enableClientCommand = true	-- enable !teams client command to trigger team balance
    				-- you need to add this command to your shrubbot cfg for it to show up when doing !help
    							
    voluntaryChangeTime = 10	-- whenever the script detects imbalanced teams, it prints a message and waits # of
    				-- seconds for someone to switch teams voluntarily before it moves a player
    				-- Set to 0 to immediately move players
    				-- If _autoBalanceInterval runs out while waiting for a voluntary team change,
    				-- nothing happens
    Script was written for NQ 1.2.9, I don't know about compatibility to other mods and older versions.
    Attached Files Attached Files
    Quote Originally Posted by oveove
    critisism is not allowed as it is another way to offend someone

  9. #89

    Re: Server Clearance - Script Release

    Hi,
    Unfortunately, it often happens that not only moves the human player, but also a BOT, so in the case of a human player there will be one in the teams, but in one there will be two more bots.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •