Commit Graph

3416 Commits

Author SHA1 Message Date
SkyratBot
9156fe9252 [MIRROR] Admins hiding music title will hide it from the music player too (#6434)
* Admins hiding music title will hide it from the music player too

* Update playsound.dm

Co-authored-by: Jonathan Rubenstein <jrubcop@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-22 00:55:15 +01:00
SkyratBot
e2519525f9 [MIRROR] Refactors dbcore and limits the maximum amount of concurrent async queries to a variable amount (#6436)
* Refactors dbcore and limits the maximum amount of concurrent async queries to a variable amount (#59676)

Refactors dbcore to work off a subsystem if executed async and limits the maximum amount of concurrent async queries to 25.

This has been tested locally on a mysql docker image and there were no crashes (as long as you didn't run it with debug extools) + data was getting recorded fine.
Why It's Good For The Game

May or may not resolve terry crashes, however, each query creates a new thread which takes up 2mb, preventing the game from using that 2mb. This can lead to ooms if they stack up, e.g. due to poor connectivity. This solves that issue.

maintainer note: this did not actually resolve the crashes, but has value anyway. Crashes were sidestepped fixed by finding out Large Address Awareness works

cl
refactor: Refactors dbcore.dm to possibly resolve the crashes that happen on Terry.
/cl

* Refactors dbcore and limits the maximum amount of concurrent async queries to a variable amount

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
2021-06-22 00:49:20 +01:00
SkyratBot
8fc7a3e8d8 [MIRROR] Fixes OOC heart commendations (#6393)
* Fixes OOC heart commendations (#59543)

At some point in the last few weeks, the OOC heart commendations that players were polled for during the shuttle's return trip at the end of the round stopped appearing for people on the live servers, even though admin logs showed it was still calculating how many people were supposed to be asked, and it seemed to be working fine on my local server. My only guess is it might somehow be related to #58419 since that was the last PR to touch hearted.dm, even if it's not clear how it might've broken it.

I also neaten up the code for commendations a bit, making it so the procs are easier to follow and have less unnecessary checks. Also, the proc nominate_heart has been reworked to receive_heart, since it makes more sense for it to run on the person receiving the commendation as opposed to the person sending it. It will also properly cancel polling if the "how many to ask" check returns 0 people, rather than always polling at least one.

Edit: Figured it out, #58419 was indeed the culprit, it blindly replaced src with usr without considering that src and usr aren't necessarily the same thing (as it was here, since query_heart() was called by the ticker SS)

* Fixes OOC heart commendations

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-06-20 02:23:52 +01:00
Gandalf
d0bfc4de04 The Nanotrasen Representative (MY WAY) (#6368)
* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* Ads

* dddd

* a

* a

* a

* Update uniform_digi.dmi

* Update uniform_digi.dmi

* Update uniform_digi.dmi

* Some random new potted plants!

* a

* Update flora.dm

* a

* fixes

* a

* a

* e
2021-06-20 02:23:29 +01:00
SkyratBot
7d1d0e1fad [MIRROR] Refactors most spans into span procs (#6315)
* Refactors most spans into span procs

* AA

* a

* AAAAAAAAAAAAAAAAAAAAAA

* Update species.dm

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-16 00:24:49 +01:00
SkyratBot
6f3b151bb8 [MIRROR] Fixes a bunch of harddels that are sourced from player action (#6252)
* Fixes a bunch of harddels that are sourced from player action

* Mirror!

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-11 03:13:33 +01:00
SkyratBot
99fac070ec [MIRROR] Admins will no longer accidentally undelay round end or reboot the server when multiple admins attempt to delay it at the same time. (#6226)
* Admins will no longer accidentally undelay round end or reboot the server when multiple admins attempt to delay it at the same time.

* Update topic.dm

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-11 00:04:52 +01:00
SkyratBot
cd7e358f52 Deep sendmaps profiling (#6237)
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-11 00:02:39 +01:00
SkyratBot
0fa2b48b59 [MIRROR] 2FA for Admins (#6221)
* 2FA for Admins

* a

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-10 23:59:30 +01:00
SkyratBot
47179b4211 [MIRROR] Detaches Anonymous themes and Triple AI from SSTicker (+ more anonymous themes and content) (#6153)
* Detaches Anonymous themes and Triple AI from SSTicker (+ more anonymous themes and content) (#59373)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Detaches Anonymous themes and Triple AI from SSTicker (+ more anonymous themes and content)

* Mirror!

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-06 11:47:38 +12:00
SkyratBot
e27ce8d4fd [MIRROR] More GAGS debug and color select improvement (#6144)
* Improved GAGS debug (#59392)

* More GAGS debug and color select improvement

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2021-06-05 17:12:11 +12:00
SkyratBot
d7bc663e5d [MIRROR] Make Toggle-CDN use alert() instead of tgui_alert() (#6103)
* Make Toggle-CDN use alert() instead of tgui_alert() (#59478)

Co-authored-by: orbit <orbit@ book>

* Make Toggle-CDN use alert() instead of tgui_alert()

Co-authored-by: Cyprex <35031555+Cyprex@users.noreply.github.com>
Co-authored-by: orbit <orbit@ book>
2021-06-04 09:17:13 +12:00
SkyratBot
d695334b39 [MIRROR] allows editing expired and removed bans (#6090)
* allows editing expired and removed bans (#59431)

This is needed for the rare case that the situation described in the ban turns out to be inaccurate, so future searches for the user in the ban db don't lead admins to the wrong opinion.

Creating a situation where the admin has to remember to edit the ban reason before unbanning them is kinda lame

I'd love to make it so only the reason is editable, but that is far too much work for too little benefit.

fixes #59424

* allows editing expired and removed bans

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2021-06-03 13:55:48 +12:00
SkyratBot
04abb98894 [MIRROR] Remove a bunch of old gamemode code (#6025)
* Remove a bunch of old gamemode code

* Mirror!

* Woopsie, modular game modes!

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-06-01 12:36:59 +12:00
SkyratBot
5cdc6a6bc9 [MIRROR] Moves explorer adventures to the database. (#5923)
* Moves explorer adventures to the database.

* Cleans up Merge Conflict. Increments DB Version (#5979)

* Automatic changelog generation for PR #5979 [ci skip]

* Update tgstation_schema.sql

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: ORCACommander <ORCACommander@users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-05-27 21:59:34 +02:00
SkyratBot
3ba2cd9e73 [MIRROR] Fixes check plumbing admin verb (#5969)
* Fixes check plumbing admin verb (#59263)

* - fixes check plumbing admin verb

* oof

Co-authored-by: norill <4>

* Fixes check plumbing admin verb

Co-authored-by: norill <norill@wp.pl>
2021-05-26 15:50:01 +01:00
SkyratBot
243275c171 [MIRROR] Makes washing machines support GAGS recoloration (#5950)
* Makes washing machines support GAGS recoloration (#59292)

* Makes washing machines support GAGS recoloration

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2021-05-25 21:33:19 +01:00
SkyratBot
1be9683fd8 [MIRROR] Fixes admin mode greyscale debug menu config selection (#5947)
* Fixes admin mode greyscale debug menu config selection (#59281)

* Fixes admin mode greyscale debug menu config selection

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2021-05-25 19:23:18 +01:00
Matthew J
aac40d2ed3 [TM-ONLY][DNM] Attempts to remove all instances where a list is accessed with a '?' (#5932)
* I hate TGUI even if its better than what we had before

* this is why linters exist

* you need to be a Head or the Warden to get items

* does this please you linter?

* foundation

* basic interactions

* yea I can spell okay?

* linters please leave me alone

* begone debug code

* if you are dead, no interacting

* linters leave me alone

* linters are stealing my soul

* forgot to do this

* sound framework, probably wont work though

* max length, and interaction cooldowns

* message can now be a list and minor code improve

* I am a slave and linters are my master

* fix improper static reference

* add json loading/saving functionality

* default for message is now a list

* jsonize def interactions; implement requirements

* bad

* bug fix; CtrlShiftClick to interact

* minor qol fix

* fix CtrlShiftClick and remove debug code

* haha docker has security measures

* this was painful

* why are you in this branch

* begone

* bruh

* begone

Co-authored-by: Matthew <matthew@tfaluc.com>
Co-authored-by: Matthew J <GoldenKeyboard@users.noreply.github.com>
2021-05-25 16:26:39 +01:00
Gandalf
56a7766d1b Revert "Fixes master 514 (#5927)" (#5929)
This reverts commit aab764575a.
2021-05-25 03:24:45 +01:00
Gandalf
aab764575a Fixes master 514 (#5927)
* a

* l

* Update sheet_types.dm
2021-05-25 03:06:58 +01:00
SkyratBot
49299139cf [MIRROR] Re-add the debug controller verb (#5892)
* Re-add the debug controller verb (#59027)

* Re-add the debug controller verb

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2021-05-24 03:25:43 +01:00
Azarak
20db06c6d0 Liquids system (#4584)
* a

* a

* uncommentize

* aa

* Cache stuff

* Attrition

* blcok heights

* Abstractify reagents

* Lots of stuff

* stuff

* stuffs n drains

* Update drains.dm

* pumps and drains

* Update liquids.dm

* Ethanol burns, but only sometimes..

* color debug and big fuel tank boom fix

* watermeta

* Atmos moment

* Update living.dm

* burn

* anti-aliased icons, drain fix, liquids not on space

* Thermal energy + magboots fix

* Update liquids.dm

* Plumbing devices for liquids & engineering plumbing rcd

* From the creators of watermeta: WaterKilo

* Update WaterKiloStation.dmm

* Update WaterKiloStation.dmm

* Update _basemap.dm

* ocean biome generator

* Convert immutables when constructed over

* Forgot water pumps for station

* Update liquids.dm

* Ocean ruins

* cool looking blue ocean

* a

* a

* a

* weh

* a

* aa

* Merge pull request #1 from Azarak/errrrrror

Updates

* finishing touches

* aaa

* aaaa

* aaaa

* patch

* map fixes

* not so high pressurized now

* squeezing into bucket now removes 75% reagents, buckets get 100 volume

* empty ocean maps not used anymore

* reforged

* Update WaterKiloStation.dmm

* Update ocean_listening_outpost.dmm

* Update WaterKiloStation.dmm

* a

* ol

* 0

* Update liquids.dm

* Update _open.dm

* 0

Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-24 02:43:57 +01:00
Matthew J
817c5850fa [SEMI-MODULAR] LOOC mutes now exist. (#5794)
* haha no bypassing your OOC mute bucko

* this should do what I intend it to do

* haha, maybe actually let them use it I think

* Update code/modules/admin/admin.dm

Oops

Co-authored-by: Gandalf <jzo123@hotmail.com>

Co-authored-by: Matthew <matthew@tfaluc.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-23 04:31:09 +01:00
Gandalf
4c2f27033d Update sql_ban_system.dm 2021-05-22 02:42:17 +01:00
Gandalf
fe32f46b73 Ghost role bans (#5856)
* a

* Update venus_human_trap.dm

* a

* a
2021-05-22 03:35:54 +02:00
Matthew J
f3c68d723d [SEMI-MODULAR][READY] Recreates the admin verb 'Create Antagonist(s)' (#5473)
* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Here we go

This, surprisingly, only took like six hours of coding.

* whoops

forgot to comment out the debug code that helped my find out two hours of my life was wasted; also, forgot the trailing newline.

* you're ugly and I hate you

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* code cleanup, three more antag types

* more code cleanup

* don't give antag to people who've had it removed

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Fixes the possibility for some security personnel to roll antag.
Most notably the Blueshield.

* haha, we gucci now

* why are you in here

Co-authored-by: Changelogs <action@github.com>
Co-authored-by: Matthew <matthew@tfaluc.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-21 00:15:44 +01:00
Gandalf
15cbd4c2cf Updates our alerts to TGUI_ALERT (#5832)
* a

* Update observer.dm
2021-05-21 00:15:22 +01:00
SkyratBot
ea9aed5554 [MIRROR] Replace alert usage with tgui_alert (#5815)
* Replace alert usage with tgui_alert

* a

* Update observer.dm

Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-21 00:06:09 +01:00
NotRanged
5563291ed7 [semi-modular] Adds optional bluespace sparks to admin delete (#5791)
* Tested and working

* Admin only

* Adds it to buildmode too

Co-authored-by: Ranged <nickvanderkroon@gmail.com>
2021-05-20 23:36:27 +01:00
SkyratBot
c3a1b78d8f [MIRROR] Adds greyscale color selection to vending machines (#5814)
* Adds greyscale color selection to vending machines

* conflicts?

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
Co-authored-by: KathrinBailey <53862927+KathrinBailey@users.noreply.github.com>
2021-05-20 23:25:31 +01:00
Gandalf
89d747cd4b a 2021-05-19 19:18:47 +01:00
Gandalf
a0dbb90019 Dead chat is now togglable by admins. (#5790)
* a

* Update deadsay.dm

* Update admin.dm

* Update admin.dm

* Update admin_verbs.dm

* offer control

* Update offercontrol.dm

* Update offercontrol.dm
2021-05-19 17:50:55 +02:00
SkyratBot
16ed6bb566 [MIRROR] Fixes Sentience Fun Balloons not being interactive (#5786)
* ignore admin proximity for sentience fun balloons (#59149)

When I changed sentience fun balloons to TGUI I accidentally made it so they can't be edited or popped unless you were next to them or had AI interact turned on. This allows admins to pop them at any range.
Why It's Good For The Game

Fixes #59136
Changelog

cl
fix: sentience fun balloons now work consistently again!
/cl

* Fixes Sentience Fun Balloons not being interactive

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
2021-05-19 14:17:12 +01:00
SkyratBot
88b544e75a [MIRROR] actionninja's code now properly insults admins without any messed up spans (#5715)
* actionninja's code now properly insults admins without any messed up spans  (#59102)

* actionninja's code now properly insults admins without any messed up spans

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-05-15 19:51:44 +01:00
SkyratBot
74eba88158 [MIRROR] Fixes some more holes in the ref tracker (#5701)
* Fixes some more holes in the ref tracker (#58972)

* Fixes some more holes in the ref tracker

The reference tracker was failing to check null keyed assoc list entries, along with being unable to check both
lists in a list(list() = list()) pair
This resolves that, and adds some new logic to the unit test to check for this sort of thing

* Seperates the ref tracking unit test into 6 subtasks as requested

* Fixes some more holes in the ref tracker

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-05-15 02:09:45 +01:00
SkyratBot
18c806dc62 [MIRROR] refactors rpg loot is now a global datum singleton and so is embedopocalypse and stickapocalypse (#5686)
* refactors rpg loot is now a global datum singleton and so is embedopocalypse and stickapocalypse  (#59093)

* ogey

* lint

* refactors rpg loot is now a global datum singleton and so is embedopocalypse and stickapocalypse

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-05-14 22:13:12 +01:00
SkyratBot
9096f96997 [MIRROR] Split malf AI antag datum away from traitor, enable malf AI roundstart ruleset. (#5635)
* Split malf AI antag datum away from traitor, enable malf AI roundstart ruleset.

* AAAAA

* AAAAA

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-13 15:13:09 +01:00
BluBerry016
952210e364 [Semi-Modular] *Inflates your rockplanet making it full of content and fun* (#5587)
* DEFINE NEW RUINS TYPE BABY

* Update Rockplanet.dmm

* Update Rockplanet.dmm

* Example ruin

* Update maps.dm

* Update rockplanet.dm
2021-05-13 14:49:16 +01:00
SkyratBot
c5bf6ff695 [MIRROR] Fixes woke plushie; Adds back in a signal dropped by #45217 (#5637)
* Adds back in a signal dropped by #45217 (#59053)

* Fixes woke plushie; Adds back in a signal dropped by #45217

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2021-05-13 12:49:13 +01:00
SkyratBot
01a2d62e9e [MIRROR] Kills BOTH /poison paths by turning poisonous into an element. (+fantasty prefix, sanity on attackingtarget signal, and more) (#5586)
* Kills BOTH /poison paths by turning poisonous into an element. (+fantasty prefix, sanity on attackingtarget signal, and more) (#58882)

* Kills BOTH /poison paths by turning poisonous into an element. (+fantasty prefix, sanity on attackingtarget signal, and more)

* AAAAAAAA

* Update spellbook.dm

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-10 15:12:34 +01:00
SkyratBot
f88b8e28f2 [MIRROR] Sentience Fun Balloon TGUI (#5545)
* Sentience Fun Balloon TGUI (#58724)

Gives the sentience fun balloon a TGUI interface before popping! Set the group name and balloon range without needing to VV!

* Sentience Fun Balloon TGUI

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
2021-05-08 16:29:41 +01:00
SkyratBot
5880be0168 [MIRROR] (code bounty) refactors all uses of Crossed() and Uncrossed() into signals sent to loc, tracked by connect_loc (#5524)
* (code bounty) refactors all uses of Crossed() and Uncrossed() into signals sent to loc, tracked by connect_loc

* WHEW THAT WAS EASY

* Update ammo.dm

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-07 22:39:27 +01:00
SkyratBot
f8f2c8222f [MIRROR] moves sdql spell to vv dropdown (#5522)
* moves sdql spell to vv dropdown (#58911)

* moves sdql spell to vv dropdown

Co-authored-by: Fikou <piotrbryla@onet.pl>
2021-05-07 07:42:51 +01:00
SkyratBot
c84d208fa6 [MIRROR] Sorts the majority of the rest of the unsorted chat (#5459)
* Sorts the majority of the rest of the unsorted chat

* 0.

* Update database_changelog.txt

Co-authored-by: Seris02 <49109742+Seris02@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-05-06 23:48:08 +01:00
SkyratBot
42bd885efd [MIRROR] Fixes a fuck ton more harddels (#5476)
* Fixes a fuck ton more harddels (#58779)

Redoes how geese handle eating shit, it was fucking stupid and caused harddels, and while this method is technically slower in the best case, it's a fucking goose
Fixes action related harddels, I hate how they work but at least this way they won't hold refs.
Fixes the hierophont causing its beacon to harddel
Removes the M variable from megafauna actions, it was used like a typed owner and caused harddels, so I burned it
Fixes target and targets_from harddels, replaces all setters of target with LoseTarget and GiveTarget, which should help maintain behavior. I'm not sure if this breaks anything, but if it does we should fix the assumptions that code makes instead of reverting this change
Fixes more area_senstive_contents related harddels, we need to allow the mob to move before clearing out its list.
Fixes marked object harddels (I'm coming for you admin team)
Fixes a language based human harddel
Fixes managed overlay related harddels (This was just emissive blockers, but I think this is a good safety net to have. If we clear the overlay list we should clear this one as well)
Fixes bot core harddels, I hate the fact that this exists but it has no reason to know who its owner is
Adds a walk(src, 0) to simple_animal destroy, it's the best bang for the buck in terms of stopping spurious harddels. Walk related harddels aren't that expensive in the first place, since byond does the same thing I'm doing here, but this makes finding mob harddels easier, so let's go with it
I fixed another source of part harddels, I hate fullupgrade so much
Fixes all the sound loop harddels

* Fixes a fuck ton more harddels

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-05-05 17:46:22 +01:00
SkyratBot
b818ea9a32 [MIRROR] Fixes bitwise flag negation errors (#5466)
* Fixes bitwise flag negation errors. (#58870)

These have been in the codebase for many years. Love, ZeWaka

* Fixes bitwise flag negation errors

Co-authored-by: ZeWaka <zewakagamer@gmail.com>
2021-05-05 09:59:02 +01:00
SkyratBot
8670c29480 [MIRROR] Move give SDQL spell to Debug tab (#5436)
* Move give SDQL spell to Debug.Admin (#58825)

Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>

* Move give SDQL spell to Debug tab

Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>
2021-05-03 22:29:29 +01:00
SkyratBot
15779b4df6 [MIRROR] Adds support for dirs and config changing in GAGS debug menu (#5379)
* Adds support for dirs and config changing in GAGS debug menu (#58794)

Previously, the menu wouldn't show you the generation steps for icons other than the south dir icons. You can now specify which you want to see. In addition the config type itself can be changed so as to allow previewing of icons that normally are not displayed directly on the map.

Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>

* Adds support for dirs and config changing in GAGS debug menu

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
2021-05-01 09:56:15 +01:00
SkyratBot
b7cefa3986 [MIRROR] Adds SDQL Spells & a Menu to Give Them to Players - Take 2: Commit Cleanup (#5274)
* SDQL Spells & Menu to Give Them to Players (#58118)

SDQL spells are spells that execute an SDQL query. This requires a config flag to be enabled in game_options.txt. When enabled, admins with debug verbs have the ability to open a menu allowing them to define all the relevant vars for the spell, including icons and spell requirements.

It also fixes a bug with superuser SDQL queries always runtime if they try to call a proc.

Co-authored-by: Emmett Gaines <ninjanomnom@ gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>

* Adds SDQL Spells & a Menu to Give Them to Players - Take 2: Commit Cleanup

Co-authored-by: Y0SH1M4S73R <legoboyo@earthlink.net>
Co-authored-by: Emmett Gaines <ninjanomnom@ gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
2021-04-29 00:30:19 +01:00