Welcome to Open Carnage

A resource for Halo Custom Edition and MCC modding, with unique means of rewarding content creation and support. Have a wander to see why we're worth the time! - EST. 2012

Search the Community: Showing results for tags 'Management'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OPENCARNAGE.NET (OC)
    • Site Matters
    • Member Introductions
  • HALO: SOFTWARE EXTENSIONS (SE)
    • Chimera: General
    • SAPP: General
  • HALO: CUSTOM EDITION (CE)
    • Halo CE: General
    • Halo CE: Development
  • HALO: COMBAT EVOLVED (PC)
    • Halo PC: General
    • Halo PC: Development
  • HALO: MASTER CHIEF COLLECTION (MCC)
    • Halo MCC: General
    • Halo MCC: Development
  • BROAD STROKES (BS)
    • General Gaming
    • Tech Chatter
    • Off-Topic

Outstanding Mapper

Found 40 results

  1. Script: Name Replacer Description: Change blacklisted names into something funny! During pre-join, a player's name is cross-checked against a blacklist table. If a match is made, their name will be changed to a random one from a table called "random_names". As random names get assigned, they become marked as "used" until the player quits the server. This is to prevent someone else from being assigned the same random name. Name Replacer.lua Video Demonstration:
  2. Script: Name Ban Description: Players have names that you don't like? No problem! When a player joins, their name is cross-checked against a blacklist. If a match is made, they will be instantly kicked. Name Blacklist.lua This script is in response to this post. Video Demonstration:
  3. This script will periodically announce defined messages from an announcements array. You can manually broadcast a message from this array with a simple command (see below). /broadcast list (view list of available announcements) /broadcast [message id] (force immediate announcement broadcast) Download Page
  4. This script would be to send Halo messages to a specific Discord channel, it also serves to make a command log by sending the command that was used to a Discord channel. This script can also send any message in real time but that could be a problem for the server connection as it would send a lot of webhooks. Here I leave the download link, in the link come the instructions on how to install it. https://github.com/srpatatafrita/HaloCEDiscordWebhooks/releases/tag/0.0.1 Logger: Reports: Realtime Chat:
  5. Made at the request of @CartmansPieHole This script will changed anyone who joins your server's name to something else if their name contains something in a list of banned words/characters. Server moderators can use this to ban bad words in names or just names you don't like. This will log a message to the console when a players name is changed. Download: https://raw.githubusercontent.com/TagiaNetwork/SAPP-Scripts/master/Open Carnage/BannedNameChanger.lua Video: Credits: OnNameRequest by @Devieth badwordsarebad by @Kavawuvi BannedNameChanger.lua
  6. This script can execute commands when a player joins, based on the player's IP location. Note that IP locations are not always accurate. Requires wget.exe to be in the same directory as halo[ce]ded.exe Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. It is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs, terminals without X-Windows support, etc. http://www.gnu.org/software/wget/ DOWNLOADS: Wget (32-bit 1.16.3) https://eternallybored.org/misc/wget/releases/wget-1.16.3-win32.zip SAPP Script http://pastebin.com/HUaCSuEP
  7. WorldBuster is an advanced profanity filter mod that automatically censors, replaces or blocks chat messages containing profanity. Features: Pattern matching algorithm to detect variations of words, like "asshole", for example, "a$$hole", "assH0l3" or "a55h01e. Censor, Block or Replace bad words (optionally mute players) Supports multiple languages Warning System + Grace Period Customizable messages Install Instructions: Click here for download link and install instructions Supported Languages: Chinese, Czech, Danish, Dutch, English, Esperanto French, German, Hungry, Italian, Japanese Korean, Norwegian, Polish, Portuguese, Russian Spanish, Swedish, Thai, Turkish, Vietnamese Mute System Support: See download page for details.
  8. map_download.lua script to replace/take place of SAPP's deprecated map_downlaod command. //Edit: Script version bumped to 2.0 -- Changes: '7z.exe is no longer used due to unwanted behavior, has been replaced by unzip.exe' 'Script can now download dependent unzip.exe and wget.exe using powershell upon load (should be compatible with powershell 2.0.) Default source is me at halopc.com, it is possible to change at the top of the script.' //Notes: 'Still using wget because downloads via powershell alone would run along side the server (better for performance, bad for checking if the map actually downloaded afterward. Pastebin: https://pastebin.com/kdEH3nyB Github: https://github.com/it300/Halo-Lua/blob/master/map_download.lua Search for available maps @ http://maps.halonet.net/maplist.php Commands: map_download <map_name>
  9. Halo 1 (PC/CE) Discord Bot (for SAPP servers) Description: A Discord bot framework built using the Discordia API and Luvit runtime environment for SAPP SERVERS. Easily connect one (or more) Halo servers to a Discord server. FEATURES: 1). EVENTS An array of (configurable) messages are broadcast to your Discord server when the following events are fired: event_death Killed by the server, Squashed by vehicle, Run over, Betrayal, PVP, Suicide, Zombie-infect, First blood, Guardians, Killed from the grave, Unknown. event_join Player connected to the server. event_quit Player disconnected from the server. event_game_start A new game starts (shows map & mode). event_game_end The current game mode ends (shows who won). event_score Message sent when player scores event_chat Global messages sent to defined global-channel. event_command Command logs sent to defined command-log channel. [note] The bot will ignore commands containing sensitive information (namely passwords). 2). Two-way chat integration You can send messages directly to the Halo server from Discord and vice versa. Discord to halo example, as seen in-game: [discord] Chalwk: Hi Halo to Discord example: [CHAT] Chalwk: Hi (halo to Discord) Please see this video for a brief demonstration. 3). End Game results The Bot will announce the name of the winning player (or team) on Discord after each game (see below) 4). Server Status Messages The bot will automatically create and periodically edit an embedded status message. Installation: The Discordia API and Luvit environment are both required system packages. Additionally, you will have to register an application on the Discord Developer Portal and obtain a bot token. A Discord bot token is a short phrase (represented as a jumble of letters and numbers) that acts as a key to controlling a Discord Bot. Put your bot token inside the ./Discord Bot/Auth.data file and never share your Discord bot token with anyone. There are many tutorials online to help you learn how to create a Discord Application, however, as a general guide, follow these steps: 1). Click New Application 2). Provide a name for your bot and click create. 3). Click the Bot tab then click the blue Add Bot button (click yes, do it! when prompted). Copy your token and paste it into the aforementioned Auth.data file located inside the Discord Bot folder. Now click the OAuth2 tab and check the BOT scope. Under bot permissions -> text permissions, check the following: Send Message Embed Links Use External Emojis Add Reactions. Copy and paste the URL that gets generated into a web browser and hit enter. You will be prompted to add the bot to a Discord server, select one, click continue and authorize (see below) IMPORTANT The release zip contains: Discord.lua (sapp script) Discord Bot (folder) See Discord Bot/settings.lua for full configuration. The Discord Bot folder itself MUST go in the servers root directory (the same folder where sapp.dll is located). Note: You will need a file decompression tool like WinRAR or 7-zip to extract the Discord.Bot.zip file. If you need help installing on Linux (or Windows, for that matter), DM me on Discord: Chalwk#9284 Launching the Discord Bot on Windows or Linux: Open Command Prompt (terminal on Linux) and CD into the Discord Bot folder. Type luvit main and the bot will launch. CLICK TO DOWNLOAD
  10. This script is intended for use on public servers. It is best used within a group of players that have trust among each other. The script is triggered by a slash command from halo chat like /register <password> or /unregister <password>. The password is configured in the script, and is the same for anyone who registers. For added security the command names "unregister" and "register" can both be changed in the script configuration. If you run a public server and have a group of people you know that often visit, then you can give that group this method of registration. If someone were to join with their name without it seeing their registered IP address the server would announce that they are a possible imposter. They would be automatically kicked within a configured time (20 seconds by default). The time limit is set to allow players with dynamic IP addresses to re-register their new IP. Which some may not want to register to begin with because it will become a hassle. Anonymous players that join will be unaffected as long as they do not attempt to impersonate someone who has registered. To them this script will be more or less invisible other than the messages it sends to all players. A name can be registered to as many IP addresses as necessary. When someone unregisters their name, all IP addresses associated with it are cleared from the match list. This script is only as strong as the people in the group who use it. If you intend to use this then keep in mind that the password may leak to parties that you do not wish to have it. The configuration section of the script is commented to give an idea of what each option does. This has been an issue believe it or not where an anonymous player joining as someone else and acting and chatting similar to what the real person would do. This does not ensure that will never happen due to the human element of using a password, but it's a good countermeasure against that type of trolling. This is basically a dynamic block / allow list based on IP address controlled from a slash command and password from within halo Use /register <password> to register your name to your IP Use /unregister <password> to no longer keep track of your name Both /register and /unregister can be changed to different command names to add extra security This may not be worth the effort for some, but if it's a legitimate problem then this script works as a solution, even if it can be a hassle. There may be some bugs, it would be cool if you posted them here so I can fix them when / if they do happen. Also I probably or maybe missed something important in the code, but it's my first release on OC FTW. Also I welcome improvement upon this or new ideas or angles on mitigating this type of problem. I'm probably just lazy so this is the best I could come up with for now. clan_register.lua
  11. So I created a Discord bot that will allow you to run console commands from Discord. First thing is you will need to set up a bot with Discord and copy its Token over for use in the Discordia Script. https://discord.com/developers/applications When inviting your bot, do not give your bot administrative privilege, this is to make sure you make it so the bot can only read messages from admin channels by specifically adding that bot to category permissions or per-channel permissions. Here are the permissions you want to give it: How to invite your bot: https://discordpy.readthedocs.io/en/latest/discord.html ____________________________________________ After that you will need the Discordia + Bot package [ discord.lua ] and the server side script [ discord.lua ]. Setting up the Discordia bot: 1. Unzip the luvit.zip onto the same system your server is going to be running on. 2(a). Open the haloce.lua in the luvit.zip, at the top you should see this: -- Set up bot local bot_prefix = ">" local bot_token = "YOUR_BOT_TOKEN" -- Path to haloceded/haloded(s) local servers = {} servers['ce01'] = {"C:\\Users\\Gigabyte\\Desktop\\CE_Test", '-path "C:\\Users\\Gigabyte\\Desktop\\CE_Test"', "haloceded.exe"} --servers['ce01'] = {"C:\\Users\\Gigabyte\\Desktop\\PC_Test", '-path "C:\\Users\\Gigabyte\\Desktop\\PC_Test"', "haloded.exe"} 2(b). Take the bot token you got from your discord developers page and paste it in replacing `YOU_BOT_TOKEN`, and make sure that the quotations are still around it. 2(c). Now below `servers` you will want to set your server short-name (in my case it was ce01, so `servers['ce01'] =`). Set the server path, launch arguments, and executable name as well. (The second line is an example how to do a HaloPC server, or add another server.) NOTE: You cannot have 2 servers with the same short-name like I did by accident. 3(a). Take the discord.lua and paste it into your SAPP server's lua folder. 3(b). Remember to add `lua_load discord` to your SAPP init.txt. 4(a). Open t he discord.lua, at the top it should look like this: -- Path to Discordia bot. local discordia_path = "C:\\Users\\Gigabyte\\Desktop\\luvit\\" -- Path to read commands from. local command_file_path = "\\ce01\\command.txt" 4(b). For discordia_path, put the path were you have the the bot unzipped to, like shown above. 4(c). For command_file_path you need to put the server short-name where I did otherwise the server will not be able to pick up commands. 5. Start your Halo server + the bot (using the start_bot.cmd) Preview of how it should work when set up correctly: luvit.zip
  12. This library will enable you to send defined console text messages to a player for a specified period of time. Please see THIS PAGE for download link and usage. ~EDIT: Updated just now with a bug fix for a minor oversight and updated the GitHub page documentation to include an example script.
  13. Admin Chat enables admins to chat privately in a custom text channel. CLICK HERE TO DOWNLOAD DEMO:
  14. This script will periodically change the name of the server. The default interval between name changes is 15 seconds. There is an array with multiple server names in the config section. Repeat the structure to add more entries! SCRIPT DOWNLOAD
  15. This lets you specify coordinates to spawn weapons. Currently you'll have to use a delay on the event but if its possible to extend the time before a weapon despawns I will add that later on. Should resolve the duplicate weapon spawning issue, hopefully. Video: Download: WeaponSpawner.lua How to Use: Must load the script first. Adapt the follow events (put in events.txt) event_start $map:bloodgulch 'w8 2;cevent shotgun1' event_custom $ename:shotgun1 'lua_call "WeaponSpawner" "spawnWeapon" "weap" "weapons" "shotgun" "shotgun" "97.73" "-155.51" "2.31";w8 32;cevent shotgun1' WeaponSpawner.lua
  16. Allows you to execute a map reset command after a specified amount of time with the server being empty has elapsed. Download: https://pastebin.com/UEpEKatk
  17. This script does as it says, it spoof's scrim_mode being on. This is because scrim_mode is flawed for many reasons, one of which made this script possible. The idea of scrim_mode was to disable SAPP's cheat commands from being used by server admins in, scrims/competitive matches, but many people have found many ways around this in the past. The bonus of scrim_mode being on is it blocks all other Lua scripts from running, including ones that fix issues in the game, allow new game modes, and more. But with this script, if you type `/info` in chat, it will say scrim_mode is on, even when its not. That is as long as you do not enable scrim_mode within the init or sapp's init. spoof_scrimmode.lua
  18. So it was brought to my attention about a month ago that people were using HAC2 and Chimera (-572 and its derivatives, including mine) to cheat by setting their tickrate to 31-35 (30 = default, 36 and above and Halo's built in speed_hack_detection kicks in and ignores packets.) Today an idea popped in my head about a memory location I abused in the past to freeze players, checked the area around and sure enough, a counter that well, counts the number of updates it gets from the client, and my anti-speedhack was born. https://github.com/it300/Halo-Lua/blob/master/anti-speedhack.lua
  19. This plugin will kill a player if they leave the BSP. It works on all maps, including Danger Canyon, so you won't have to worry about people getting quick and cheap caps. Note that in Death Island, jumping out of the water outside of the map is considered being outside of the BSP, which is why if you try to crouch underwater, you can't uncrouch. That means that this plugin will not kill people who exit the map unless they are not in the water. Download (SAPP): firewall.lua
  20. This script will automatically kick or kill players who are teamshooting their teammates repeatedly. It uses a score system. The score is increased if a teammate is hit. The score can only be increased once per second. This is in place to prevent players from being kicked too quickly, such as from 10 bullets from an assault rifle vs. 10 bullets from a pistol. By default, 5 points will warn the player and 10 points will kill the player, also adding 15 seconds to his or her respawn time. One point is added per hit, and two extra points are added if the player is driving a vehicle. The score will reset if the player stops attacking teammates for 15 seconds. Download (SAPP only): antiteamshoot.lua
  21. This script will allow you to ban players via their names. There is two ways you can ban them by their name, first is if they are in the server you can just enter their index number (1-16) and the second is buy manually typing in their name. Players who are name banned with be given default hash bans lasting 1 minute (this is to prevent re-joing by spamming connect <ip:port> <password> which would allow them to rejoin with a default name.) Commands: Ban player index (1-16) or string (no spaces.) nameban <index or string> <reason (only for index bans) > Unbans the ban index of a player (found with namebans.) nameunban <index> Lists all current namebans namebans Download: Pastebin - nameban
  22. This script will disable the "rcon command failed" message such as if you override EVENT_COMMAND or do not otherwise want your server to respond to failed commands. Download (SAPP): rcon_command_failed_disabled.lua
  23. This script will prevent players who leave the server more than an amount of attempts (default is 3 times) in an interval of time (default is 60 minutes) from rejoining. If a player leaves the server this many times, then they are prevented from rejoining temporarily. Note: The game ending does not count as a player leaving. Download (SAPP): exit_throttle.lua
  24. This script can be used to replace SAPP's logging system: Features: - Creates a new file with the current days (os.date("%Y-%m-%d_"))..environment.."Log.txt" (Ex: 10-26-2016_ChatLog.txt) - Saves the files into the servers profilepath.."\logs\" (Ex: C:\HaloServer\MyHaloServer\logs\) - Each environment has its own log file (join/lead, chat, and commands.) - Tracks joining and quitting. (All saved to the date..JoinLog.txt) timestamp New001 has joined the server. IP: 192.168.1.130 Hash: t07a1y4r3alh45h timestamp New001 has left the server. - Tracks chat. timestamp New001: Im saying words! timestamp New002: Im saying words as well! - Tracks commands. timestamp Admin: false Name: New001 Command: /info IP: 192.168.1.130 Hash: t07a1y4r3alh45h timestamp Admin: true Name: New002 Command: /kill *new001 IP: 192.168.1.130 Hash: 4n07h3r6ealh45h I did not include hashes/ip addresses with the chat log because those can be found in the JoinLog (and I presume people cant change their names while in a server.) Yes I know this makes more work for the person looking through these but ctrl+f is a thing and the file looked super messy with it included. NOTE: Only works in HaloCE at the moment. (p.s. Its because I don't know how to get sigs.) Logging script: Pastebin - Log
  25. This script for SAPP accomplishes the goal of keeping your server's teams balanced. When teams have been unbalanced for 5 seconds, it will warn players that teams are unbalanced. If players manually switch teams, they will not get a death, and will respawn instantly. Otherwise, the next player to die on the bigger team will change teams. Download: team_balance.lua Old 1.0 version