Difference between revisions of "Zero-K Infra Guide"
Jump to navigation
Jump to search
Debug data:
HigherFlyer (talk | contribs) |
(Launcher quick-start) |
||
Line 17: | Line 17: | ||
== General overview == | == General overview == | ||
* What's in what folder etc, goes here | * What's in what folder etc, goes here | ||
+ | |||
+ | === Building the Launcher === | ||
+ | Building '''ChobbyLauncher''' requires a few dependencies, '''MonoTorrent''', '''PlasmaDownloader''', and '''PlasmaShared'''. Ctrl-clicking all four folders in Visual Studio's Solution Explorer panel and selecting Build should succeed at producing the launcher executable. | ||
== More in depth look at each folder === | == More in depth look at each folder === |
Revision as of 19:36, 11 October 2021
Zero-K Infrastructure is complicated and understanding it is most of the battle, this is an overview of the structure and contents of ZK Infra.
It's always a good idea to review dev Philosophy.
Contents
ZK's Devving Philosophy (social rules)
- "War is a product of anticommunication"
- Communicate with other devs about your changes/fixes, let them understand the issue. Do not make 'random' changes.
- "Do not create work for other people."
- Have responsibility for your changes/commit. Do not leave bugs that require other people to fix.
- "Readability & performance are equally important."
- Optimize code but not to the point of unreadability. Remember the rules of optimization:
- Don't.
- Don't (yet).
- Profile before doing it.
- Optimize code but not to the point of unreadability. Remember the rules of optimization:
- "If it ain't broke, don't fix it."
- Don't code fixes that nobody wants to problems that don't exist.
General overview
- What's in what folder etc, goes here
Building the Launcher
Building ChobbyLauncher requires a few dependencies, MonoTorrent, PlasmaDownloader, and PlasmaShared. Ctrl-clicking all four folders in Visual Studio's Solution Explorer panel and selecting Build should succeed at producing the launcher executable.
More in depth look at each folder =
What's happening with this page
To be filled in as I go and as I learn, right now I don't know anything for concrete so I'm hesitant to fill anything out here... yet.
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 3.17.185.36
Start request GET /mediawiki/index.php?diff=prev&oldid=7943&title=Zero-K_Infra_Guide
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
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.185.36",
"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 "8pn6632e71fce6vv1q49ta4ttmmbskam" is unsaved, marking dirty in constructor
[session] SessionBackend "8pn6632e71fce6vv1q49ta4ttmmbskam" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] already deleted setcookie: "wikidb229_mw__session", "", "1713803546", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_UserID", "", "1713803546", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_Token", "", "1713803546", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1713803546", "/", "", "", "1"
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[Zero-K Infra Guide]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
Article::view: showing diff page
DifferenceEngine old '7943' new 'prev' rcid ''
[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
DifferenceEngine old '0' new '0' rcid '0'
WikiPage::getParserOutput: using parser cache: no
[caches] parser: 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
Parser cache options found.
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:af9de96ba83aded439ab45cb09a45fc9:0)
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:af9de96ba83aded439ab45cb09a45fc9:0)
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 [[Zero-K Infra Guide]] are {edit,move}