n3ophyt3 c8a01f0b29 Bombs are now less laggy.
To go into details: Was some talk going on in the IRC about how bombs were far less laggy in ye olde days, and having a copy of oldcode, I decided to compare the code side by side a bit. With no particularly obvious difference between the two, we assumed atmos was the culprit, it being the laggy cesspool of mystery that it is. CPU profiling a test wherein atmos processing was turned off on tiles being exploded, we discovered that it was in fact the lighting code causing the lag.

So exploded walls no longer call sd_SetOpacity. This will likely cause some lighting quirks until we come up with a proper fix, but bombs are much quicker now.

http://pastebin.com/raw.php?i=jDAHH9x7 The CPU profile where the culprit was discovered. I kept the start and end times as close to the explosion as possible. Compare /proc/explosion's Total CPU (cpu usage of the proc and all procs called by it (and all procs called by THOSE, etc etc)) to /atom/proc/sd_SetOpacity's self CPU, which is the CPU use only the proc itself used. Notice how it accounts for over half of explosion's total CPU usage? So did I.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1904 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-22 05:37:13 +00:00
2011-07-22 05:37:13 +00:00
2011-05-07 15:38:32 +00:00
2011-07-21 20:14:06 +00:00
2011-07-18 17:46:20 +00:00
2011-07-18 19:17:58 +00:00

tgstation13 v1.0 - 6 October 2010

Website: http://tgstation13.servehttp.com
Code: http://code.google.com/p/tgstation13
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 goonstation.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 goonstation.dmb (DEBUG mode)

goonstation.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.  Host is the highest level of access, and the other recommended admin
levels for now are Coder (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 goonstation.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.
Description
Paradise Station's GitHub main repository.
Readme 6 GiB
Languages
DM 85.8%
JavaScript 9.2%
TypeScript 2%
Python 1.5%
Rust 0.8%
Other 0.3%