Commit Graph

896 Commits

Author SHA1 Message Date
DamianX
ceae554c06 Fixed DNA UI hair blocks (#27762)
* Fixed {S,G}etUIValueRange

* Removed crime against OOP

* Restrict hair according to species
2020-09-10 14:17:11 -03:00
D3athrow
2d0871dc03 Fix that 0.01% of times vote rigging will crash 2020-09-05 12:54:55 -05:00
D3athrow
6aae6aca47 Make map vote rigging 99% less likely to fuck up the server 2020-08-28 15:39:51 -05:00
Paul Ritter
5ccf7f21fb fixed ray hard-dels (#27645)
* fixed ray hard-dels

* supercall to end

* so yeah i wasn't thinking
2020-08-25 19:07:03 -03:00
adrian
588a28230b Persistent highscores of rich escapes (#27558)
* Ch-ch-ch-ch-changesss

* linter
2020-08-24 08:48:46 -03:00
Paul Ritter
f471180f03 Laser rework and Raycasting stuff (#27406)
* basic rays

* vector3 tostring

* hotfix to exclude origin

* altered test method

* vector3 minus

* actually made raycasthits usable

* using raycasthits

* renamed test procs file

* ups

* moved code

* forgot

* moved vector & procs

* reworked 2d-vectors
reworked rays to work with 2d-vectors
optimized raycast algorithm

* reworked raycasting to be costumizable

* reworked beams to use ray - first experiment

* reworked raycasting to enable control of loop over raycast_hit_check

* readability

* reworked beams to use new rays
TODO:
- beam/rebound
- ray/is_point
- test

* vector to angle

* progress - TODO angle calculations

* progress on rebound

* hi damian

* fix oops

* ray hotfixes
TODO:
- use clickpos as ray target if possible
- move rebound logic to ray_hit_check
- graphics

* hotfix & deletions

* added costum hit_type capability
reworked rebound call logic
TODO:
rebound vector calculation

* rebound fix

* angle & mirror fix

* dumb fuck sadasfhgdasd

* start to remove debugging spam

* reflection now fully implemented

* started work on visualization

* damian wants to see

* almost done ™️

* progress report
- turn wont work, need to write render logic to generate beams

* reeeflections

* added drawing code

* - small tweaks
- removed old code
- finished visualization

* added spawn to let different reflections be drawn independent from each other

* removed hitlers

* oh shit oh fuck

* some small fixes

* yeah ok i goofed travis get over it

* made dependant code work

* dumbfire implemented but not tested cause how

* example

* remove bench stuff oops

* rewrote raycast hit code to allow more possible modifications

* added original check

* original_check hotfixes

* actual hotfix...

* mirror fix

* original_check hotfix

* unit tests

* to_bump hotfix

* to_bump hotfix

* misc fixes

* reworked collision physics

* big nono

* finishing collision physics

* fixes for sonix

* tgstation ™️

* removed old unit-test

* unit test fixes

* damian actually reviewed

Co-authored-by: Damian <damian@autistici.org>
2020-08-23 20:13:42 +02:00
gurfan
511e8a144a Summon Potions (#27524)
* potions here

* triple

* typo

* create global proc, resort things

* warn them if they get a deception potion

* fix

* modify proc, fix things

Co-authored-by: gurfan <mahimahi6272@gmail.com>
2020-08-20 17:08:54 -03:00
Kurfursten
1b00a7a37e Merge pull request #26774 from boy2mantwicethefam/maps
Allows Castlestation to be voted if revolutionaries won
2020-08-12 09:40:18 -05:00
DamianX
9efa3f14f2 Fixed holodeck hard dels (#27415)
* Fixed holodeck hard dels, MURDERED VARIABLE COPYING

* air but differently

* Add return type hint
2020-08-09 15:21:10 +02:00
DamianX
6a7bd39134 Runechat images containing your name will now be highlighted (#27232)
* Runechat images containing your name will now be highlighted

* fix

* Highlights

* Review
2020-07-27 06:51:45 +02:00
DamianX
520f864cc9 Adds the Cyrillic block to the allowed characters in chat (#27266) 2020-07-27 06:43:36 +02:00
Exxion
f2ffb03990 Adds the Cyrillic block to the allowed characters in chat 2020-07-25 21:45:30 -04:00
ShiftyRail
b39b3b64b7 Working version of rust_g (#27173)
* Conflicts

* Fixes the thing

* Update .travis.yml

* removes markers
2020-07-25 08:56:50 +02:00
Shifty/Anthomansland
a2805a2bdc Review 2020-07-24 23:10:39 +02:00
ancientpower
05effc0741 Fixes do_after bars drawing weird on horizontal mobs (#27243)
* kinda fixes do after drawing technically

* actually fixes the bug this time

Co-authored-by: ancientpower <ancientpowerer@gmail.com>
2020-07-24 13:32:22 -03:00
Shifty/Anthomansland
0e0c041b16 fix 2020-07-23 23:52:08 +02:00
Shifty/Anthomansland
bde7b73d50 Runechat images containing your name will now be highlighted 2020-07-23 23:43:47 +02:00
Kurfursten
6bcd4fc98e Merge pull request #27185 from SonixApache/cow_print
Naked by default, re-organizes underwear, adds cow print
2020-07-23 01:17:34 -05:00
Damian
c4d37f476e pAIs can use their GPS again 2020-07-23 05:11:50 +02:00
SonixApache
3ad2d23f94 remove ,
weird how that even compiled
2020-07-22 01:57:51 +02:00
SonixApache
104d5238f6 Re-organizes underwear, adds cow print 2020-07-21 20:27:08 +02:00
Damian
91f21be310 Revert "Merge pull request #27120 from ShiftyRail/rust_g"
This reverts commit da896f13a4, reversing
changes made to 2bc700b001.
2020-07-20 00:07:14 +02:00
DamianX
da896f13a4 Merge pull request #27120 from ShiftyRail/rust_g
Replace BSQL with rust-g, parametrises all queries
2020-07-19 21:10:09 +02:00
Shifty/Anthomansland
3d6ddb2db3 fixes 2020-07-18 13:20:08 +02:00
Shifty/Anthomansland
01c868bdfb Removes BSQL, implements RUST SQL 2020-07-16 20:36:27 +02:00
D3athrow
17fb1078b5 fix .getserverlog not working 2020-07-15 15:25:18 -05:00
DamianX
50a98e9b07 Merge pull request #27089 from Exxion/'
Fixes extra html_encode() in pray and rambler vows
2020-07-13 20:50:39 +02:00
Exxion
a1a1abad15 Fixes extra html_encode() in pray and rambler vows 2020-07-13 08:48:31 -04:00
DamianX
d4d08bfef5 Fixed implementations of Destroy() not calling parent (#27068)
* Fixed implementations of Destroy() not calling parent

* I forgot to commit garbage.dm
2020-07-11 21:27:05 +02:00
DamianX
f5c96279c6 Removed datum pooling (#26992)
* removed pooling

* replace returnToPool with qdel

* did stuff
2020-07-03 19:38:38 -03:00
DamianX
85ff9b697a Fixed a bunch of warnings and errors (#26993)
* renamed implant malfunction defines

* refactored domutation

* possibly fix something about whitelists

* fix admin_memo warning

* fixed wrong attackby parameters in click.dm

* remove superfluous return in BSQL

* maybe fix something in mob/add_language

* maybe fix more language stuff

* Added return-type annotation to job_controller

* removed unreachable code from observer.dm

* possibly fix electrocute_act

* fixed bees wow this code never ran, 100% tested

* fixed parrot life

* fixed wolf attack logs

* fix bear life

* removed unreachable slime/show_inv

* fixed human/electrocute_act

* actually just get rid of this shit

* properly add return types

* removed more returns from BSQL

* added get_organ return type

* fixed infrared holder_movement

* fixed type_instances declaration

* fixed unreacheable overlay/New

* possibly fix release_restraints

* remove hopefully final return from BSQL
2020-07-01 09:46:00 -03:00
DamianX
b5f52ccb4b fixed several linter warnings (#26977) 2020-06-30 16:13:50 -03:00
Exxion
6c2410e4db Fixes RCD crash and character weirdness (#26986) 2020-06-30 15:57:39 +02:00
Exxion
641009059e Removes Unicode stuff (#26670)
* Removes Unicode stuff

* Fixes capitalize() and examine

* Not important but how did this happen

* No more emoji in say or HTML in me

* Clarifies comment

* Better HTML sanitization

* Rebuilds dll

* Fixes some browser windows

* Fixes telecomms scripts (lazily)
This is the easy way out, but could probably be made faster by doing the byte counting ourselves
2020-06-28 14:22:42 +02:00
SonixApache
fcfa02b0d7 announce name changes for silicons + name change confirmation (#26939)
Has as semi-intended side-effect that any other use of the name change screen alarm now gets a notification of what they changed their name to.
2020-06-27 11:30:18 +02:00
ShiftyRail
eeb24fd031 Expunges hasvar() (#26846)
* Expunges hasvar()

* removes whitespace

* remove
2020-06-26 09:55:08 +02:00
Exxion
050a07e785 Excises almost all version checks (#26877) 2020-06-18 08:24:29 -03:00
jknpj
32512547bc Fixes datumpool runtimes (#26854)
* Fixes datumpool runtime

* TWO runtimes

* smarter way
2020-06-16 21:06:50 +02:00
boy2mantwicethefam
d0c19cf8dd Merge remote-tracking branch 'upstream/Bleeding-Edge' into maps 2020-06-13 15:28:54 +03:00
ShiftyRail
1b384f382d Add a few missing SQL sanitisations (#26713) 2020-06-06 10:10:53 +02:00
boy2mantwicethefam
f8ba6e4c3e comments out lamprey 2020-06-02 23:52:01 +03:00
boy2mantwicethefam
6679931387 Maps 2020-05-30 04:14:33 +03:00
Kurfursten
7f7facf677 done 2020-05-27 04:20:11 -05:00
D3athrow
b9a24883bc fix vulnerability with browse_files proc 2020-05-25 12:29:31 -05:00
ShiftyRail
bbd746ae42 Ports TG's BSQL library (#26455)
* Ports TG's BSQL

* write perms

* my mistake

* Missing migrations, fixes mistakes, removes unneeded logs

* Missing migrations, fixes mistakes, removes unneeded logs

* haha

* Final missing migration, actually fix runtime

* Fucked up this doesn't throw a warning

* sql fixes; polls
2020-05-19 13:35:10 -03:00
Kurfursten
4d588773ec Alcatraz Revisited (#26476)
* Alcatraz Revisited

* Damian's Due

* more flex
2020-05-18 23:18:27 +02:00
Kurfursten
28a6e42472 Secret Cache and Cargo Posters (#26397) 2020-05-11 10:16:12 -03:00
DamianX
5399c3b0f3 Fixed a bunch of linter warnings (#26360)
* Fixed a bunch of linter warnings

* Fix everything, maybe break something

* Fixed Time Stop not being cast by Arcane Golems

* Fixed arguments of remove_from_storage

* Fixed gun/afterattack arguments

* Fixed gun/Fire arguments

* Fixed arguments to candle/light and mob/emote

* Fixed arguments to simple_animal/revive, simple_animal/gib, robot/drop_item, mob/flash_eyes
2020-05-03 16:06:40 -03:00
Kurfursten
4c0557b514 Primetime (#26186)
* Primetime

* YOU CAN CLICK IT NOW TOO
2020-04-28 18:29:19 -03:00
ShiftyRail
5e05752808 Makes the plasma cutter generate logs (#26227) 2020-04-19 10:24:21 +02:00