mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
c12a1b420675fe11e257c362faf78719a628f93d
http://nanotrasen.com/phpBB3/viewtopic.php?f=10&t=4548&start=50#p37266 Added a power switch (/obj/structure/powerswitch), which is used to split or connect two cables. The way it works is simple. It connects the powernets by adding cable on the floor it's on and removing it when it's turned off. In-file description: //This is a power switch. When turned on it looks at the cables around the tile that it's on and notes which cables are trying to connect to it. //After it knows this it creates the number of cables from the center to each of the cables attempting to conenct. These cables cannot be removed //with wirecutters. When the switch is turned off it removes all the cables on the tile it's on. //The switch uses a 5s delay to prevent powernet change spamming. Screenshot: http://www.kamletos.si/power%20switch.PNG git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3072 316c924e-a436-60f5-8080-3fe189b3f50e
tgstation13 v1.0 - 6 October 2010 Website: http://nanotrasen.com Code: https://github.com/tgstation/-tg-station IRC: irc://irc.rizon.net/tgstation13 ================================================================================ INSTALLATION ================================================================================ First-time installation should be fairly straightforward. First, you'll need BYOND installed. You can get it from http://www.byond.com/. Once you've done that, extract the game files to wherever you want to keep them. This is a sourcecode-only release, so the next step is to compile the server files. Open tgstation.dme by double-clicking it, open the Build menu, and click compile. This'll take a little while, and if everything's done right you'll get a message like this: saving tgstation.dmb (DEBUG mode) tgstation.dmb - 0 errors, 0 warnings If you see any errors or warnings, something has gone wrong - possibly a corrupt download or the files extracted wrong. Once that's done, open up the config folder. You'll want to edit config.txt to set the probabilities for different gamemodes in Secret and to set your server location so that all your players don't get disconnected at the end of each round. It's recommended you don't turn on the gamemodes with probability 0, except Extended, as they have various issues and aren't currently being tested, so they may have unknown and bizarre bugs. Extended is essentially no mode, and isn't in the Secret rotation by default as it's just not very fun. You'll also want to edit admins.txt to remove the default admins and add your own. "Game Master" is the highest level of access, and the other recommended admin levels for now are "Game Admin" (a little below host) and "Moderator". The format is byondkey - Rank where the BYOND key must be in lowercase and the admin rank must be properly capitalised. There are a bunch more admin ranks, but these three should be enough for most servers, assuming you have trustworthy admins. Finally, to start the server, run Dream Daemon and enter the path to your compiled tgstation.dmb file. Make sure to set the port to the one you specified in the config.txt, and set the Security box to 'Safe'. Then press GO and the server should start up and be ready to join. ================================================================================ UPDATING ================================================================================ To update an existing installation, first back up your /config and /data folders as these store your server configuration, player preferences and banlist. Then, extract the new files (preferably into a clean directory, but updating in place should work fine), copy your /config and /data folders back into the new install, overwriting when prompted except if we've specified otherwise, and recompile the game. Once you start the server up again, you should be running the new version. ================================================================================ SQL Setup ================================================================================ The SQL backend for the library, karma system and stats tracking requires a MySQL server. Your server details go in /config/dbconfig.txt, and the SQL schema is in /SQL/tgstation_schema.sql. More detailed setup instructions are coming soon, for now ask in our IRC channel. ================================================================================ IRC Bot Setup ================================================================================ Included in the SVN is an IRC bot capable of relaying adminhelps to a specified IRC channel/server (thanks to Skibiliano) Instructions for bot setup are included in the /bot/ folder along with the bot/relay script itself
Languages
DM
86.5%
JavaScript
8.8%
TypeScript
1.9%
Python
1.4%
Rust
0.8%
Other
0.3%