User:Shaman/Coding Observations
Jump to navigation
Jump to search
Debug data:
This is a page detailing my observations while creating lua gadgets and widgets. The information provided in here may or may not be out of date. Just don't go around breaking stuff without a purpose.
Cool stuff you can do with callins
- CommandNotify can be used to change commands up before they are sent. I wonder if this can be applied to other things?
Stuff that breaks the game
- Having a LOS that's very big can cause the game to crash if the team is selected via an observer. It can also cause the game to crash on load up. Dunno if they fixed that.
- It seems perfect cloak is bugged or something. Never could get it to work.
- Sending rawmove command without three params can spew lua errors and cause units to bug out in a hilarious fashion. [Under investigation by zkdev. Sadly. Haven't weaponized this.]
- Spewing garbage characters via widget might have some FUN effects. I was testing feeding springiee some garbage from a factorio save game. It caused some lag once I made a title of significant enough length. You can find garbage here: https://pastebin.com/F64f7vSv Question is, will the game break from weaponized garbage spewing from a widget?
Buggy shit that you should exploit
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 3.17.156.147
Start request GET /mediawiki/User:Shaman/Coding_Observations
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
X-ORIGINAL-URL: /mediawiki/User:Shaman/Coding_Observations
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "3.17.156.147",
"UserAgent": "Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0,
"ChronologyClientId": false
}[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[session] SessionBackend "7hs63cekkvtlst5v83femap5c5hmmbgu" is unsaved, marking dirty in constructor
[session] SessionBackend "7hs63cekkvtlst5v83femap5c5hmmbgu" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] already deleted setcookie: "wikidb229_mw__session", "", "1713639423", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_UserID", "", "1713639423", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_Token", "", "1713639423", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1713639423", "/", "", "", "1"
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[User:Shaman/Coding Observations]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
ParserFactory: using preprocessor: Preprocessor_Hash
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
[caches] parser: SqlBagOStuff
Article::view using parser cache: yes
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
Article::view: doing uncached parse
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:71e7763ad43efdd3f53a8b1c918c8a1d:0)
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:71e7763ad43efdd3f53a8b1c918c8a1d:0)
Saved in parser cache with key wikidb229-mw_:pcache:idhash:1016-0!canonical and timestamp 20250420185703 and revision id 4323
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Title::getRestrictionTypes: applicable restrictions to [[User:Shaman/Coding Observations]] are {edit,move}