Jump to content

schwanz9000

Fun Pimps Staff
  • Posts

    1,503
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by schwanz9000

  1. I wouldn't recommend running both at the same time due to potential conflicts, but you can download a copy of the source code from dmustanger's github and rename /home fairly easily if you'd like. Look in Hook.cs. In CBSM, can't you just setup a zGate for multiple "homes"?
  2. I have not tested this, but you'll need to add an if statement somewhere under the if starts with "/" section in Hook.cs Example: if (_message == "StartShutdown") //This will be your chat forward slash command name. { if (ShutDownWorld.IsEnabled) [indent]{[/indent] [indent][indent]ShutDownWorld.Start;[/indent] [/indent] [indent]}[/indent] else [indent]{[/indent] [indent][indent]_cInfo.SendPackage(new NetPackageGameMessage(EnumGameMessages.Chat, string.Format("{0}Shutdown is not enabled.[-]", CustomCommands.ChatColor), "Server", false, "", false));[/indent] [/indent] [indent]}[/indent] [indent]return false;[/indent] } You'll also need to add the IsEnabled code to LoadConfig.cs I might be missing something, but that should get you started down the rabbit hole.
  3. You're welcome! I think you can do almost any console command available, but that would give everyone on the server a /command to do said command. Say, Kick, and Tele are the only ones I use. This is from the /day7 command. It's just a test string printed so dmustanger can see entities that are not known by his mod. This is also a way to handle the unknown and keep errors from popping up. Basically, if it's a listed known entity, count it. If not, print to log.
  4. With the mod installed in the Mod folder and the server running, go to /saves/ServerTools and enable custom commands in the ServerToolsConfig.xml. Then you can setup the commands in CustomChatCommands.xml to teleport to x,y,z. Once setup, you can use /whateveryourcommandis. Use -1 as the Y coord so you don't fall through the world. It will place you on the top most block. For that, I either make a platform/area just for the landing or an air shaft with a wall and spikes at the surface to land in underground establishments. Basically don't have any blocks above wherever you want to land. You can setup as many of these as you'd like and can set a timer for how long between ports. Example: <Command Command="arena" Response="tele {EntityId} 1000 -1 1000" /> As far as zgates and a coin system, there isn't anything for that.
  5. I think he's asking if dumustanger could add a command that does a count down warning in chat and then shuts down or restarts the server. It used to be a feature in FRT Server Manager. SERVER: WARNING: The server is restarting in 60 seconds. SERVER: WARNING: The server is restarting in 50 seconds. SERVER: WARNING: The server is restarting in 40 seconds. SERVER: WARNING: The server is restarting in 30 seconds. SERVER: WARNING: The server is restarting in 20 seconds. SERVER: WARNING: The server is restarting in 10 seconds. SERVER: WARNING: The server is restarting in 09 seconds. SERVER: WARNING: The server is restarting in 08 seconds. SERVER: WARNING: The server is restarting in 07 seconds. SERVER: WARNING: The server is restarting in 06 seconds. SERVER: WARNING: The server is restarting in 05 seconds. SERVER: WARNING: The server is restarting in 04 seconds. SERVER: WARNING: The server is restarting in 03 seconds. SERVER: WARNING: The server is restarting in 02 seconds. SERVER: WARNING: The server is restarting in 01 second.
  6. So just add a new js file with code like this? var myfunction = function() { $.getJSON( "../api/executeconsolecommand?llp") [color="#FF8C00"]<-- Format???[/color] .done(function(data) { //do things with returned data here })
  7. https://7dtd.illy.bz/wiki/Server%20fixes#Maprendering Edit: There is also this command. rendermap / rm: Render the map as far as it was ever visited by any player to both a big file and many small tiles that can be used for a map viewer like Leaflet. WARNING: This command can take a long time to execute (like 5 to 30 minutes) and the server won't be usable at that time for anything else!
  8. FYI for those watching... I'm not having any issues since I'm still running my modded version which was built off of Server Tools v2.2.
  9. Looks like there might be something wrong with HighPingKicker or InvalidItemKicker. Disable those in the ServerTools config and see if that lets the mod start. Just an idea until dmustanger can fix it.
  10. If you have access to the actual files (FTP, or web tool), you should be able to look at the version number in root/Mods/ServerTools/ModInfo.xml.
  11. Just to make sure, have you guys setup the config file? Install Mod in the Mods folder. Start the server. ServerToolsConfig.xml will be created in root/saves/ServerTools. Enable the commands you want to True in ServerToolsConfig.xml and save/upload updated file. If you had the mod before 3.0, you have to delete all of the config files so that it will make the new ones.
  12. The problem is in Hook.cs. I was able to fix my version by replacing all instances of _playerName to "Server". We don't use announce, so having the actual player name is not an issue. GameManager.Instance.GameMessageServer(_cInfo, EnumGameMessages.Chat, string.Format("/{0}", _message), _playerName, false, "", false);
  13. FRT is now dead. The chat methods were changed and FRT is no longer being updated. If you only need teleport and gimme commands, I would HIGHLY recommend dmustanger's Server Tools. It is a dll mod that runs on the server.
  14. No problem. Glad I could help! I did have to bug the crap out of Alloc to figure it out though. I've had my version running for a few hours now. Boy! What a pain in the a$$ that was to get everything working again, huh? I'll have to compare your additions to what I've got and post my version on github for you to look at if you'd like. My additional features: Teleport to a previous spot /setreturn /delreturn /return commands Arena setup commands /setsite /delsite /allsitedel - sets/deletes zombie spawn sites /listsites - displays all of the sites currently setup /spawn - starts a wave of zombies to randomly spawn at the given spawn sites every 2 seconds Coming Soon: Enhanced Quests for epic loot. Want a 15 round sniper rifle? Well, you're gonna have to fight for it! A custom quest instructs the player to go to an "Abandoned Military Bunker" (custom built prefab setup by hand. tells the player to go to map coords). Once there, the player has to find an item. That item will then instruct the player to use /quest1 command. This will start a wave of zombies to spawn in the various rooms of the bunker so the player has to fight their way out.
  15. As always, thanks for the updates Alloc! Could you give us a little more detail behind this one? I see that parameters have been changed and/or added . I'm guessing this is something that has changed in the game that we'll need to change in our modded dll's as well? i.e. my modded version of ServerTools.dll with custom chat commands What exactly is the chunk density and why should I need to repair it? I know what density is, but what does it mean to the game? In RepairChunkDensity.cs under the GetHelp method, it looks like you've left a copy of the teleport instructions.
  16. I finally got a minute to update my files and upload to GitHub. Please read the instructions on the page and use this mod at your own risk. I've been running this on my dedicated server over a week now without any issues. Let me know if you guys see any. Once again, thanks to dmustanger for the original work. Note that I have the Y coords hard coded to -1 so that you don't fall through the world. This will put you on the top most block at the set X and Z. If you have an underground base, build an air shaft where you want to set home. /return is best to be set on top of a building. https://github.com/schwanz9000/ServerTools-with-Return/releases/tag/v1.0
  17. I've added this function to my modded version of Server Tools. I've been testing it on our server the past couple of days without any issues. All of these A14 updates have kept me super busy updating my other mods and there will hopefully be another update tonight for the memory leak Madmole talked about. I'll try to update my github soon and post it here for you guys to try.
  18. These are separate items. InfoTicker - You have to enable it True in the ServerToolsConfig.xml and then setup the InfoTicker.xml Command /day7 will show you how many days until the next horde night as well as the number of entities.
  19. Will Lowlatency allow you to install the mod manually? i.e. FTP files to the Mods folder from your local files? Yes! Once the mod dll is in the Mods folder and the server is started, ServerToolsConfig.xml will be created in root/saves/ServerTools folder. It will require a /setreturn command too which would write the position coords to a file similar to the SavedHomesData.xml file when performing /sethome. dmustanger will have to look into that for you. I modded my copy of the dll so that doesn't happen. I hard coded the y coord to -1. Super fast teleports/chunk loading and no more falling, but you always land on the top most block in the world. In other words, if you are in your crafting room and do /sethome, /home will spawn you on the roof of your base. I could share my version after I remove some other code I've added. dmustanger said he'd look into this as well.
  20. It looks very similar to what it looks like if someone was flying or teleporting with a cheaters dll on a MP map.
  21. LOL!!! Yeah, I wanted to make sure all bases were covered to help you troubleshoot. Glad I could help!
  22. Install Mod in the Mods folder. Start the server. ServerToolsConfig.xml will be created in root/saves/ServerTools. Enable CustomCommands in ServerToolsConfig.xml and save/upload updated file. CustomChatCommands.xml in will be created in root/saves/ServerTools. Add the custom commands and save/upload updated file. There are several examples in that file. Add your own and make sure they are not commented out (Remove these <!-- and these -->). This will add the command /website which displays http://www.7daystodie.com in the chat window with GREEN text <Command Command="website" Response ="say "[00FF00]Visit www.7daystodie.com.[-]"" />
  23. 1. dmustanger said it's doable. You can setup custom chat commands until he gets around to adding that. Example: <Command Command="9000" Response="tele {EntityId} -2232 -1 -13840" /> 2. /saves/ServerTools/GimmeItems.xml
×
×
  • Create New...