Commit graph

  • d24e5184a3 ci.tshock.co test Lucas Nicodemus 2011-07-14 02:00:30 -06:00
  • 2bc61c1365 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel Lucas Nicodemus 2011-07-14 01:48:17 -06:00
  • 5b79212b8f Tweaked around with the region code a lot. Databases will need to be rebuilt past this build. Lucas Nicodemus 2011-07-14 01:47:57 -06:00
  • 37d30cd49e Check tile thresholds and banned items every second instead of every update. Increase tile threshold to accommodate for ^. Deathmax 2011-07-14 15:46:40 +08:00
  • c4efc96303 (Taking a break. If anyone wants to continue shit feel free. Just note that RegionStore.cs is completely useless because it turns out a Region class already existed. Oh and there's no constructor for it that contains allowed user IDs either, which is also dumb. Lucas Nicodemus 2011-07-13 22:58:59 -06:00
  • eba1714644 This code is like opening up a cereal box and finding more and more useless bits of plastic each time you open the same box. Lucas Nicodemus 2011-07-13 22:42:26 -06:00
  • bddca1bc73 Actually added the file this time. Lucas Nicodemus 2011-07-13 22:38:55 -06:00
  • 1b858be7a9 Added Region class with a few overloads and IsProtectedArea Lucas Nicodemus 2011-07-13 22:38:28 -06:00
  • 18ee7eccab -port works Lucas Nicodemus 2011-07-13 17:25:20 -06:00
  • fa8bf82e35 Changed File.Delete to use Path.Combine Lucas Nicodemus 2011-07-13 12:41:48 -06:00
  • 6468ed7562 This is not C, stop doing return codes especially without doing an enum. Databases can store other things besides strings. If you do not like changes from this commit feel free to revert it. Just giving some last insight on this branch. high 2011-07-13 14:14:39 -04:00
  • 35be16e6a7 Kamilion's patch. Fix UserManager. Add some logging and console messages. Deathmax 2011-07-13 20:54:54 +08:00
  • a691202e03 Attempting to fix adding an IP admin Lucas Nicodemus 2011-07-13 04:25:18 -06:00
  • d021c9077f Sanity checking against IP address based admins. Lucas Nicodemus 2011-07-13 03:52:48 -06:00
  • 2dbed5f9d2 We now add IP addresses to the IP column, not the username column Lucas Nicodemus 2011-07-13 03:38:56 -06:00
  • 373d9118ac Group isn't required for /user del Lucas Nicodemus 2011-07-13 03:21:40 -06:00
  • bab6d6cd2e /auth-verify now removes authcode.txt Some strings have been shortened to comply with Terraria's inability to move text that is too long to the second line. Lucas Nicodemus 2011-07-13 03:03:02 -06:00
  • 77ed57a4bd PRIMARY KEY, thanks SQLite for being a FUCKING DICKBAG Lucas Nicodemus 2011-07-13 02:47:32 -06:00
  • 560a9226b7 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel Lucas Nicodemus 2011-07-13 02:43:09 -06:00
  • 20187bb872 Fixed nasty bug if the save folder didn't exist. Lucas Nicodemus 2011-07-13 02:24:46 -06:00
  • 2608ca0779 We want PRIMARY keys, not UNIQUE keys, because UNIQUE without PRIMARY means absolute BULLSHIT. Lucas Nicodemus 2011-07-13 02:13:53 -06:00
  • aab9770e90 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel Lucas Nicodemus 2011-07-13 02:39:55 -06:00
  • 9a28810ce2 Resetting back to pre fuckup. Lucas Nicodemus 2011-07-13 02:39:32 -06:00
  • 4fe2e5ee34 Fixed nasty bug if the save folder didn't exist. Lucas Nicodemus 2011-07-13 02:24:46 -06:00
  • e81982569c We want PRIMARY keys, not UNIQUE keys, because UNIQUE without PRIMARY means absolute BULLSHIT. Lucas Nicodemus 2011-07-13 02:13:53 -06:00
  • 1d91e6138e Debug notice on DeInit. Lucas Nicodemus 2011-07-13 01:02:24 -06:00
  • ec07c38b86 PID file is now deleted on server shutdown. Console warning if it was shutdown improperly. Lucas Nicodemus 2011-07-13 00:56:00 -06:00
  • b242bfde17 Dear Path.combine: Fuck you Lucas Nicodemus 2011-07-13 00:52:49 -06:00
  • 9ffa0046e8 Server creates Process ID File (./tshock/tshock.pid) for GSPs Lucas Nicodemus 2011-07-13 00:47:52 -06:00
  • cbc6bd2751 Fixed a lot of database stuff. Lucas Nicodemus 2011-07-12 21:30:55 -06:00
  • 9596950a54 We don't want my copy on build code Twitchy 2011-07-12 22:48:21 +12:00
  • eda5cfc10d Fixes SQL not working correctly. and saving Twitchy 2011-07-12 22:47:36 +12:00
  • 6def12b517 Changed the format for logging logins. Deathmax 2011-07-12 18:44:49 +08:00
  • fa18c5ea54 Successful logins are now logged. Deathmax 2011-07-12 18:43:17 +08:00
  • 30d0d48386 Added reader closing (if it will help) and returns default group rather than "null" Twitchy 2011-07-12 21:16:59 +12:00
  • c090d9a9f6 Fix save world issue Twitchy 2011-07-12 20:38:03 +12:00
  • b0a678710c Added some outputs in the event that auth eats your command. Lucas Nicodemus 2011-07-12 01:41:52 -06:00
  • db2ba9b067 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel Lucas Nicodemus 2011-07-12 01:37:46 -06:00
  • 7bc49e29e0 /auth now grants superadmin internally and adds the user to the db Lucas Nicodemus 2011-07-12 01:37:29 -06:00
  • b74455433e Changed Exception catch types. Removed trying to insert to ID field Twitchy 2011-07-12 19:36:17 +12:00
  • 236cf6b42b Added /user del - Which removes a user/ip from the database. (Or, if I did the SQL wrong, will remove every row from the database) Lucas Nicodemus 2011-07-12 00:54:03 -06:00
  • 101aaa4856 Added UserManager.RemoveUser(string inputUser, bool ip) Lucas Nicodemus 2011-07-12 00:44:39 -06:00
  • b629c6e48f Added authcode.txt, which will contain the auth code until the auth system is disabled. GSPs may provide this with the thought that users will be able to become superadmin a lot easier than before. Fixed numerous cases where paths were incorrect, thanks to what ever dev has a Paths.Combine fetish, and doesn't want to use the obsolete function. Lucas Nicodemus 2011-07-12 00:19:40 -06:00
  • 525cc0241d Merge branch 'general-devel' of github.com:TShock/TShock into general-devel Lucas Nicodemus 2011-07-12 00:04:42 -06:00
  • 8f5d33e49b Added /auth-verify to turn off the auth system. Lucas Nicodemus 2011-07-12 00:04:15 -06:00
  • 29aef28c1e manage users is now admin by default Twitchy 2011-07-12 17:37:09 +12:00
  • ac8b293232 Removes Auto increment ID from table Twitchy 2011-07-12 17:26:07 +12:00
  • ae7763676e Moved credits Lucas Nicodemus 2011-07-11 23:22:50 -06:00
  • fa41521986 Added hacky way of dealing with spammed build protection messages. Lucas Nicodemus 2011-07-11 23:19:05 -06:00
  • d57300099e Merge branch 'general-devel' of github.com:TShock/TShock into general-devel Lucas Nicodemus 2011-07-11 23:07:28 -06:00
  • ddf9b686f1 Updating some documentation Lucas Nicodemus 2011-07-11 23:07:07 -06:00
  • bccbf46164 Fix some merge errors Twitchy 2011-07-12 15:54:40 +12:00
  • 9cefc69075 Merge branch 'sql' of github.com:TShock/TShock into general-devel-sql (test) Twitchy 2011-07-12 15:49:24 +12:00
  • 3e17e42a37 Adds MySql Support Twitchy 2011-07-12 13:31:36 +12:00
  • 0997b5bd5d Adds group manager, editable only by DB program. Twitchy 2011-07-11 20:33:03 +12:00
  • b5ca97ae35 Adds a whole bunch of SQL logging Twitchy 2011-07-11 20:31:25 +12:00
  • 0e5e86c7d8 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel Lucas Nicodemus 2011-07-11 02:07:53 -06:00
  • 6c96314c32 /displaylogs functions as intended now. Closes #231 Lucas Nicodemus 2011-07-11 02:07:29 -06:00
  • 469dd6f8ea Catch socketexception if address is already in use for rcon. Deathmax 2011-07-10 11:39:38 +08:00
  • f03a03a79c Remove leading whitespace from rcon commands Deathmax 2011-07-10 11:14:43 +08:00
  • 6d1bea3577 Fixed SQL inserting a new superadmin on each load. Twitchy 2011-07-10 13:35:49 +12:00
  • bbcf84ed4a Adds Itembans into SQL, in game commands not added yet, but can use a DB editor to add bans Twitchy 2011-07-10 13:08:19 +12:00
  • 57fc745c56 Ignore no free slots if item is a coin Deathmax 2011-07-09 23:17:04 +08:00
  • 6f63117435 Do not count coin slots during inventory check Deathmax 2011-07-09 23:14:46 +08:00
  • c3fdff890a fix race condition with socket binding Deathmax 2011-07-09 23:11:07 +08:00
  • 1fca9b6860 now sends heartbeats to a q3 master server Deathmax 2011-07-09 23:09:45 +08:00
  • b382125cc5 Removed mousefontchars, valid chars are 0x20-0xA9(32-169) Added checking to player names too. high 2011-07-09 10:00:00 -04:00
  • 1cd0f4c74b Fix Jexius's font exploit. Deathmax 2011-07-09 21:17:54 +08:00
  • 0b6777ba85 Fixed timeout issue that occurs with HLSW Deathmax 2011-07-09 17:26:28 +08:00
  • 07e335b780 inforesponse and statusresponse now work properly. Deathmax 2011-07-09 17:24:04 +08:00
  • 243b0297b9 Commands /region list and /warp list now work Twitchy 2011-07-09 20:41:31 +12:00
  • 970d7f71c5 Changed how udpclient is used, shouldn't crash anymore. Deathmax 2011-07-09 14:15:47 +08:00
  • d04ef15427 Changed how rcon outputs commands Changed how rcon handle commands Added inforesponse and statusresponse Deathmax 2011-07-09 12:34:58 +08:00
  • cb7033d89c Adds UserManager to sql Twitchy 2011-07-09 16:33:07 +12:00
  • da9aac5d5b Kick/BanOnHardcoreDeath now only acts on hardcore players. Deathmax 2011-07-09 11:10:52 +08:00
  • 935c051163 Notify player that he is being annoyed Deathmax 2011-07-09 10:04:57 +08:00
  • 181013a385 more changes to how rcon commands are handled Deathmax 2011-07-09 10:01:52 +08:00
  • cfd659f90d fix how rcon commands are handled Deathmax 2011-07-09 09:12:31 +08:00
  • 1e17a6edb4 Changed default RconPort to 7777 Changed how rcon commands are handled. Deathmax 2011-07-09 09:11:57 +08:00
  • dc2ebf9087 fix copy paste fails Deathmax 2011-07-09 08:07:28 +08:00
  • fe8223560c canbuild should revert client's view Deathmax 2011-07-09 07:59:38 +08:00
  • 2b382a3cee Changed method names according to GUIDELINE Deathmax 2011-07-08 22:45:32 +08:00
  • a465943eee Added rcon packet handling. Deathmax 2011-07-08 22:44:19 +08:00
  • 811f7ab1dc Adds canbuild permission - requires permission to consider manipulating tiles. Closes #221 Deathmax 2011-07-08 21:43:40 +08:00
  • aa511e003b Updated permissions documentation Deathmax 2011-07-08 21:39:18 +08:00
  • d8d19f88e5 Fixed and enabled /annoy Deathmax 2011-07-08 21:27:44 +08:00
  • cf7fd6da23 Ban/KickOnHardcoreOnlyDeath is now Ban/KickOnHardcoreDeath - Any hardcore deaths can be acted on. Ban/KickOnHardcoreDeath will no longer trigger with a magic mirror. Deathmax 2011-07-08 21:20:07 +08:00
  • 4a25cd612c Merge branch 'sql' of github.com:TShock/TShock into sql Twitchy 2011-07-08 23:40:07 +12:00
  • d79b893356 Removes some old .xml creation that is not needed Twitchy 2011-07-08 23:38:47 +12:00
  • 1d5ac77255 Made console change text color depending on messages Twitchy 2011-07-08 23:38:02 +12:00
  • 16a90f3240 Added SQL Regions and Fixed SQL Warps Twitchy 2011-07-08 23:36:53 +12:00
  • 23e5f96e01 Merge commit '27adb98b6f' into general-devel Deathmax 2011-07-08 19:33:00 +08:00
  • 08843714a3 /annoy (currently disabled) Deathmax 2011-07-08 19:27:18 +08:00
  • 213fe1cb61 User table defined, missing any columns? high 2011-07-08 06:05:25 -04:00
  • 6d531283fc Moved BanManager/WarpsManager Added UserManager (empty) high 2011-07-08 04:00:53 -04:00
  • d3cdb1095a Fixed copy/paste mistakes high 2011-07-08 03:54:08 -04:00
  • 27adb98b6f Removed the onsenddata hook and added a raw send command. Added WorldInfoMsg for constructing the world info packet. high 2011-07-08 03:42:42 -04:00
  • 2a212629dc Added WorldInfoMsg class (empty) high 2011-07-07 22:42:51 -04:00
  • 07a758d0e6 Size changed from just 3 to <6. Chairs/Beds should be working now. high 2011-07-07 22:42:22 -04:00
  • d689fac4ce Accept chair/bed frame changes. Should fix direction issue. high 2011-07-07 22:00:50 -04:00