Commit Graph

110 Commits

Author SHA1 Message Date
Jordan Brown
58f78f5a1b Merge pull request #30247 2017-09-01 12:42:57 -04:00
Jordan Brown
288560b215 Removes a redundant check (#30275) 2017-08-31 08:40:04 -05:00
MrStonedOne
ca33ca2e05 Note fading and persistent messages
Player Notes can now fade out over time so admins don't accidentally ban players for 4 year old notes
Deleted messages now remain in the database and are instead just hidden from view.

Two things relating to messages I've been meaning to do for ever.
2017-08-30 22:10:56 -07:00
Jordie0608
b7341a93ae adds more round id tracking 2017-08-25 22:05:32 +10:00
Jordan Brown
2ce6141628 Credits Roll (#30000)
* WIP

* More wip

* Numbers

* More WIP

* Improve

* Add QDEL_IN_CLIENT_TIME

* More WIP

* Getting there

* Absolute communism

* More stuff

* More states

* MrPerson's suggestion

* Makes it work, now we just need the dmi

* No, that's the null icon_state

* More better

* Fix script

* Turns out we don't need an empty dmi to start with

* Upload a much more complete dmi. Now we just need the identicons

* Fix

* Add the credits tool

* THE FULL DMI

* Mistake

* No need to resize the image if it's already 32x32. Also download the right one in the first place.

* It's oranges

* Transparent opacity

* Make per client

* Run at roundend

* Make tgstation-server great again!

* Speed things up some

* Fix up the verb

* Final touches

* Remove the unecessary .sln

* PraiseRatvar -> Frozenguy5

* New age coding

* Bigger gulps
2017-08-25 15:05:31 +12:00
Kyle Spier-Swenson
f2cf4c2f5c [ready]Makes bIcon better (#29690)
Goonchat will use the asset cache, you now have to specify who to send the icons too.

Goonchat will now load icons in the background, displaying them once they load. this prevents the message from being delayed while the icons are sent.

Icons that aren't preloaded using the asset cache system will not render on ie8 clients. This is because of a ie8 bug that prevents changes on runtime created images from rendering.
2017-08-14 10:40:50 +12:00
Leo
2b0e6128b8 Changes the check to prevent any possible href spoofing 2017-08-11 17:31:03 -03:00
Leo
a2826d782b Merge branch 'master' into lzimann-pings 2017-08-09 00:29:49 -03:00
Jordan Brown
d1ae0a0c95 Adds helpers to avoid << use (#29611) 2017-08-09 00:27:54 -03:00
Leo
1336316e3c Removes chat pings from href logs 2017-08-09 00:18:20 -03:00
kevinz000
e568f29bc5 Changes clickcatcher to dynamically scale based on view range (#29370)
Scale()s the icon when range is below 16, if it's above 16, scales the icon to 16 and transforms the rest of the way.

This replaces the other method of creating one click catcher image per tile in the range of the users view, which was pretty memory hungry and inefficient. A single icon operation while the view range changes should still be pretty performant and require less memory bookkeeping.l

This ensures it works when the users view range changes, but does not result in a loss of precision for view ranges up to 16 when moving the mouse (it triggers per pixel which simply get larger when transformed)

fixes #29342
2017-07-24 10:23:37 +12:00
Kyle Spier-Swenson
43e5c06b97 [s]Fixes panic bunker (#29289) 2017-07-17 09:13:13 -03:00
kevinz000
b09e519584 Beam Rifle Zooming Rework + Click catcher memes + bunch of other random stuff that players won't use (#28551)
Click catcher now supports mousemove/mousedrag. Basically, mouse location can now be captured even if the user isn't mousing over a visible location
    Added procs to allow for projectiles to be fired with just an angle for pixel projectiles, instead of requiring a target turf and pixel x/y
    Added procs to get angle of user's mouse from their viewpoint (Time to rework gang machine guns again!)
    Beam rifles now have different zoom modes
    Free directional zooms out and tracks the angle of your mouse from the center of the screen. However, you can't target with very good accuracy on this (Shots can't be properly aimed on non dense objects/lying down mobs.)
    Locked directional zooms like free directional but doesn't automatically turn if your aim changes.
    Center view, just increases your view in all directions (2x weaker)
    No zoom mode, in which you just retain your normal view.
    You can select beam rifle zooming rates to be instant or stepped.
    Stepped zooming rates zoom out 5 tiles per second. This will likely help with people not being able to use it without lagging because their computers aren't as beefy!
    Beam rifles no longer require zoom to be fired
    Beam rifle aiming beams now instantly update instead of on process
    Beam rifle aiming beams are now one object instead of 150. This'll help with the lag caused by it during gameplay that I've observed.
    Angular penalty reduced by 0.1 for a nice even number.
    Instances of client.view = have been replaced with client.change_view() as that'll properly update the click catcher
    Hopefully shooting yourself in the face when you hit a blob tile or whatnot is fixed with the new and improved code..
2017-07-17 12:13:03 +12:00
MrStonedOne
7a13937fc7 Makes oldchat show while goonchat loads, sends preload messages there. 2017-06-21 00:51:28 -07:00
Kyle Spier-Swenson
bef4c2c318 Fix cid reconnect message not showing (#28580) 2017-06-18 23:17:45 -04:00
Jordie0608
0e520e5b4b fixes panic bunker age check 2017-06-13 23:08:27 +10:00
Kyle Spier-Swenson
d269b15795 Workaround for byond bug causing clients to flood the server with repeated asset cache arrival messages (#28356) 2017-06-12 20:24:46 -03:00
Jordan Brown
5bbbd26739 Merge branch 'master' into goonchatv3 2017-06-07 20:06:46 -04:00
Jordie
73882dcc49 Fix to round_id and .getserverlog (#28130) 2017-06-07 09:37:53 -03:00
Jordan Brown
e6bfb7f449 Refactors datum verbs to be general (#28109) 2017-06-06 22:21:26 -03:00
Jordan Brown
ccfaf07a5a Merge branch 'goonchatv3' of https://github.com/Cyberboss/tgstation; branch 'master' of https://github.com/tgstation/tgstation into goonchatv3 2017-06-06 09:18:44 -04:00
Jordie0608
0f914e4233 adds coalesce to world.internet_address 2017-05-28 15:46:35 +10:00
Cyberboss
c3df0d5e21 Merge upstream 2017-05-26 15:32:55 -04:00
Cyberboss
ee404b2170 World.dm Refactor (#27268)
* Cleanup world/New

* Moves some things from OnReboot SS Shutdowns

* Move mode handling procs to ticker

* Moves delayed reboot to ticker
Cleans up round end sound setting
Splits round end animation between SStitle and SSticker

* Moves PR announcement to where it can use the define

* Clean this bit up

* Move out datacore Initialization

* Fix some stuff

* Fix this for

* Different PR

* Gives admins reboot options

* Make it smaller
2017-05-18 21:53:46 +10:00
Cyberboss
f2835095a7 Merge branch 'master' into goonchatv3 2017-05-09 14:25:00 -04:00
Lzimann
f2742f3dec Conflicts plus changes the text to match it being a date instead of age 2017-05-08 19:57:28 -03:00
Cyberboss
ffbdc49188 Merge branch 'master' of https://github.com/tgstation/tgstation into goonchatv3 2017-05-08 09:23:55 -04:00
Jordie
9fff652370 Merge pull request #27006 from lzimann/goddamnaussies
Removes failed to get byond age message
2017-05-08 09:31:33 +10:00
Joan Lung
ca815ef61f Merge pull request #23201 from MrStonedOne/clientimprovements
[READY]DATUM VERBS AND TOP MENUS!
2017-05-07 18:07:35 -04:00
Kyle Spier-Swenson
ea5bc0143e Fixes new players not getting tracked. (#27043) 2017-05-07 23:11:48 +02:00
Kyle Spier-Swenson
7790e690f1 Fix cid randomizer detector. 2017-05-06 17:44:13 -07:00
Lzimann
ecd9121e60 Shows the actual date instead of number of days for byond/player age in player panel 2017-05-06 21:20:36 -03:00
Lzimann
fe417b6ecb Removes failed to get byond age message 2017-05-06 20:36:49 -03:00
Jordie
f4bb10ee19 actually adds query for account join age and age in warning message (#26935) 2017-05-06 11:06:42 +02:00
Cyberboss
bcfeebb060 Merge branch 'master' into goonchatv3 2017-05-05 19:18:25 -04:00
Kyle Spier-Swenson
5fda19cd72 fix client age thingy 2017-05-04 19:01:39 -07:00
Jordie
a823a1b698 Player byond account age stored in db (#26425)
set_client_age_from_db() and sync_client_with_db() have been merged. 
New clients are now added to the user table in a separate query than the one used to update their details upon connection; their player and account age is then calculated with DATEDIFF.
The code and regex used in findJoinDate() was changed a bit.
2017-05-04 20:13:35 -03:00
MrStonedOne
1ff6a090d4 DATUM VERBS AND MENUS! 2017-05-04 01:54:20 -07:00
Lzimann
68771eae4c Merge branch 'master' of https://github.com/tgstation/-tg-station into goonchatv2 2017-05-03 12:28:28 -03:00
Lzimann
53677a7f7f Fixes conflicts 2017-04-28 08:37:13 -03:00
Jordie0608
69a07b5ecf persistent investigate and game logs separated by round ID 2017-04-27 22:10:51 +10:00
Cyberboss
6c6fc719ec Refactors roundstart checks slightly (#26131)
* Refactors roundstart checks slightly

* Fix
2017-04-27 10:05:40 +12:00
Lzimann
79d9178adf Fix conflicts 2017-04-25 10:51:49 -03:00
Kyle Spier-Swenson
885181d64c fixes the server (#26489) 2017-04-23 11:22:05 -04:00
Cyberboss
b9c54f517f Minor refactors (#26305)
obj/on_log changed to atom/on_log. Boolean parameter in
No admin irc message now checked in client/Del instead of mob/Logout
Removed an empty New()
1 -> TRUE
removed a potential crash in mob/Login
2017-04-23 09:52:47 +12:00
oranges
5e8366d8af Merge pull request #26344 from MrStonedOne/patch-349
Fixes double warnings on new players connecting.
2017-04-20 09:46:41 +12:00
Cyberboss
5d61c5b64e AHelp improvements (#26092)
* Ahelp refactor

* Same ticket nagging

* Remie review

* Dead code

* Require tickets for PMs + other fixes

* Remove full monty redundancy

* Stylesheet

* Listings refresh

* Add ban logs to tickets

* Tickets can stay associated after reconnect

* Don't show active disconnected tickets in the main list

* Ticket titles

* More beautiful + fixes

* Needful

* IC issues close the ticket, feedback, and other stuff

* Move shit around

* IC issue -> resolve. Inline with the meaning of resolve. Documentation

* Classic style + fixes

* Width

* Formatting

* Whoops

* Formatting

* That top note

* That cream

* Pure vanilla

* move to status panel

* Fix the listing

* Sleep checks

* Stay frosty

* Allows close/resolve of disconnected players

* Ban logging will work if the player logs out.

* Sorted closed and resolved lists

* Fixes

* IRC commands

* More feedback

* Small fix

* Unfix

* Just witnessed a memetide of tickets

* Make the timer unique for good measure

* Fix

* Make it use QDEL_LIST

* Fix

* colorful

* Fix

* No more name prompt

* Retitling

* Fix

* Fix

* < CANT CODE

* Phrasing

* The better

* Better linking and stuff

* Language

* Bluh

* This may have broke things, let's back up

* Ticket reopening

* Admin panel verb for viewing a ticket list

* Slightly better refreshing

* Improve reject and IC issue wording

* Log client disconnects and reconnects

* Hopefully fixes the same issue issue

* This should be here

* Almost a terrible idea

* More feedback

* Better timing

* Better timing and logging

* Adding notes

* Improves teleport logging

* saddest commit in history

* Fix feedback counters for reopened tickets

* Fixed
2017-04-19 18:54:26 +02:00
Kyle Spier-Swenson
32aa1c8bda Fixes double warnings on new players connecting. 2017-04-17 17:22:11 -07:00
Cyberboss
3c3f7d3b60 Refactors dbcon into a subsystem (#26134)
* Refactors dbcon into a subsystem

* Swear I got that already...
2017-04-17 15:18:17 +10:00
Cyberboss
944fd9463c Afk fixup (#26181)
* Fixes inactivity/afk semantics and config

* Fixes people in the lobby not getting afk kicked

* Bluh

* Fax

* Doy

* Yes
2017-04-15 13:11:03 -06:00