3 पॉइंट द्वारा GN⁺ 2025-04-03 | 1 टिप्पणियां | WhatsApp पर शेयर करें
  • Age LAN Server एक web server और launcher है, जो official game servers से internet connection न होने पर भी Age of Empires series games की multiplayer lobby इस्तेमाल करने देता है। इसका उद्देश्य official server maintenance या shutdown की स्थिति में भी lobby functions को बनाए रखना है
  • Supported games हैं Age of Empires: Definitive Edition, Age of Empires II: Definitive Edition, Age of Empires III: Definitive Edition, Age of Empires IV: Anniversary Edition, Age of Mythology: Retold; AoM: RT के लिए फिलहाल केवल Steam version supported है
  • Common features में scenarios, lobby के अंदर map transfer, game restore, data mods, lobby chat, Steam·Xbox crossplay शामिल हैं। Game के हिसाब से spectator mode, lobby invite, link sharing, player search, co-op campaign, rematch, channels, whispers, groups आदि भी जुड़ते हैं
  • Server game की API requests लेकर lobby operation के लिए जरूरी minimum API surface को फिर से implement करता है, और data न तो store होता है न internet पर भेजा जाता है
  • 100% offline play के लिए game द्वारा मांगे जाने वाले internet और Steam या Xbox Live connection restrictions को bypass करने वाला custom launcher चाहिए। Matchmaking, achievements, leaderboards, clans, friends integration आदि implement नहीं हैं या सीमित हैं

Age LAN Server का उद्देश्य और support scope

  • Age LAN Server का पुराना नाम AoE 2 DE LAN Server था। यह एक web server और launcher है, जिससे game servers से internet connection के बिना multiplayer lobby खेली जा सकती है
  • यह सख्ती से सिर्फ LAN तक सीमित नहीं है
  • इसका उद्देश्य यह है कि official servers maintenance में हों या अंततः बंद हो जाएँ, तब भी game multiplayer features इस्तेमाल किए जा सकें
  • पूरी तरह offline play के लिए game द्वारा enforce की गई online-only restrictions को bypass करने वाला custom launcher जरूरी है
    • Platform और version के अनुसार internet और Steam या Xbox Live connection restrictions लागू होती हैं
    • अलग project ageLANServerLauncherCompanion Steam Emulator download और 100% offline play के लिए files और जानकारी देता है

Supported games

  • Supported games ये हैं
    • Age of Empires: Definitive Edition

    • Age of Empires II: Definitive Edition

    • Age of Empires III: Definitive Edition

    • Age of Empires IV: Anniversary Edition

      • Age of Mythology: Retold
      • Age of Mythology: Retold के लिए फिलहाल केवल Steam version supported है

दिए गए features और game-wise अंतर

  • Common features में ये शामिल हैं
    • Scenarios

      • Lobby के अंदर map transfer
      • Game restore
      • Data mods
      • Lobby chat
      • Steam और Xbox crossplay
      • AoE II: DE, AoE III: DE, AoE IV: AE, AoM: RT additional features support करते हैं
      • Spectator feature, AoE II: DE का CapturAge सहित
      • Lobby invite
      • Lobby link sharing
      • Player search
      • AoE II: DE और AoE III: DE co-op campaigns और rematch support करते हैं
      • AoE II: DE channels और whispers support करता है
      • AoE III: DE और AoE IV: AE groups support करते हैं
      • AoM: RT whispers और Arena of the Gods support करता है

सीमाएँ और unimplemented features

  • General limitations ये हैं
    • Link के जरिए game lobby join करने की सुविधा तभी काम करती है जब game पहले से running हो
    • Online mod subscriptions केवल official launcher इस्तेमाल करने पर काम करती हैं
    • Xbox और Steam friends integration नहीं है
  • AoE III: DE और AoE IV: AE में friends list सभी online users को friends की तरह दिखाती है
  • AoM: RT में भी friends list सभी online users को friends की तरह दिखाती है
  • AoM: RT के Arena of Gods में अलग behavior है
    • Rewards हासिल नहीं होते
    • सभी blessings और rarities default रूप से unlocked होते हैं, जिनमें official server पर unavailable items भी शामिल हैं
    • favor stash infinite है
    • Story mode में सभी missions default रूप से unlocked हैं
    • Challenge mode में lives infinite हैं, सभी legends access किए जा सकते हैं, और default level maximum 99 है
  • Unimplemented features ये हैं
    • Matchmaking limited users और temporary server nature की वजह से implement नहीं किया गया है; official servers इस्तेमाल करने की सलाह दी जाती है
    • Achievements केवल official servers द्वारा handle होने चाहिए; match के दौरान achievement conditions पूरी होने पर problems हो सकती हैं
    • Leaderboards खाली दिखते हैं
    • Clans में सभी players को clan के बाहर माना जाता है, clan browsing खाली दिखती है, और creation हमेशा error देता है
    • Lobby में player block करना काम करता हुआ दिखता है, लेकिन असल में काम नहीं करता
    • Player reporting और blocking काम करते हुए दिखते हैं, लेकिन असल में काम नहीं करते
  • ज्यादातर unimplemented items Age of Empires: Definitive Edition पर लागू नहीं होते

काम करने का तरीका

  • Server एक simple web server है जो game की API requests receive करता है
  • Lobby features चलाने के लिए जरूरी minimum API surface ही फिर से implement करता है
  • Data store नहीं होता और internet पर send नहीं किया जाता
  • Launcher lobby play को आसान बनाता है, साथ ही online play के लिए official launcher का इस्तेमाल जारी रखने देता है
  • Launcher features में ये शामिल हैं
    • Server auto start·stop या existing server से connection
    • AoE I को छोड़कर official game के साथ potential issues से बचने के लिए isolated metadata directory selection का इस्तेमाल
    • hosts file modify करके game API requests को LAN server पर redirect करना
    • Official game state detection से बचने के लिए कुछ CDN requests को proxy करना
    • Chat और username display के लिए request proxy
    • Game को LAN server से connect कराने के लिए self-signed certificate install करना
    • AoE I और AoE IV को छोड़कर game store में certificate add करना
    • Settings·recovery के लिए custom commands run करना
    • Windows पर highest-priority network interface के अलावा अन्य interfaces पर battle server rebroadcast करना
    • Game auto-discovery और launch
  • Launcher बाद में changes revert करता है ताकि official launcher official servers से connect कर सके

System requirements और client conditions

  • Server के stable support environments ये हैं
    • Windows 7 या equivalent environment, Windows 10 या ऊपर recommended
    • Linux kernel 3.2
    • macOS Monterey v12
  • Operating system और settings के अनुसार port 443 HTTPS listening के लिए admin rights या firewall permission की जरूरत हो सकती है
  • Server के experimental support environments BSD family, Solaris family, AIX हैं
  • Launcher और Battle Server Manager ये environments support करते हैं
    • Windows S edition/mode नहीं होना चाहिए
    • Windows 7 x86-64, Windows 10 या ऊपर recommended
    • Windows 11 ARM
    • Linux kernel 3.2 के x86-64 और ARM64
  • अगर launcher को hosts file, local certificate, elevated custom game launcher handle करना हो, तो admin elevation जरूरी है
  • Clients हर game का Steam या Xbox version इस्तेमाल करते हैं
    • Xbox version केवल compatible Windows version पर लागू है
    • AoM: RT के लिए Steam version जरूरी है
  • Latest या थोड़ा previous version इस्तेमाल करने की जोरदार सलाह दी जाती है; पुराने versions में known issues हैं

Binaries और verification

  • Server और launcher binaries supported operating systems के कुछ variants के लिए releases page पर उपलब्ध हैं
  • दिए गए archives full, launcher, Battle Server Manager, server forms में divided हैं
  • Windows पर antivirus एक या अधिक executables को virus के रूप में flag कर सकता है, जिसे false positive बताया गया है
  • Verification process यह confirm करने का तरीका है कि downloaded file maintainer द्वारा upload की गई file जैसी ही है
    • Check करें कि release tag committer signing key से verified है या नहीं
    • ..._checksums.txt और ..._checksums.txt.sig download करें
    • release public key को keyring में import करें
    • Signature file से checksum file verify करें
    • Checksum file के अंदर SHA-256 list से downloaded archive verify करें

सबसे आसान usage flow

  • Launcher और server बिना installation के archive download कर unzip करके run करने पर काम करते हैं
  • Basic usage steps ये हैं
    • Latest stable release से सही full archive download करें
    • मनचाही location पर unzip करें
    • Windows में जरूरत हो तो launcher·server binaries को antivirus exception list में add करें
    • Windows में जरूरत हो तो .exe files unblock करें
    • अगर Steam या Xbox launcher नहीं इस्तेमाल कर रहे हैं, तो launcher/resources/config.<game_title>.toml में Client.Executable और Client.Path को game launcher path और game directory में बदलें
    • 100% offline play के लिए custom launcher और अलग companion repo की offerings जरूरी हैं
    • अगर AoE IV या AoM इस्तेमाल कर रहे हैं और AoE II: DE installed नहीं है, तो BattleServer.exe path को battle-server-manager/resources/config.<game>.toml में specify करें
    • launcher/start_<game_title> script run करें, और जरूरी admin elevation व firewall permissions approve करें
    • LAN में साथ खेलने वाले हर PC पर यही process repeat करें; पहला PC server host करेगा और बाकी auto-discovery के बाद connection guide पाएँगे
    • Game के Multiplayer section में नई lobby host करें; public lobby setting recommended है
    • Public lobby browser से direct join किया जा सकता है या name search करके friend invite भेजा जा सकता है
    • अगर game allow करे तो lobby join link share किया जा सकता है, लेकिन auto-join तभी काम करता है जब user पहले से game के अंदर हो

Terms of use और disclaimer

  • Software AGPL के तहत distribute किया जाता है
  • Additional terms केवल इस channel से download package पाने वाले user और provider के बीच contractual relationship पर लागू होते हैं
  • Additional terms AGPL द्वारा guaranteed use, study, modify, redistribute और code access rights को limit नहीं करते
  • Download package terms में ये शामिल हैं
    • संबंधित game और जरूरी DLC के लिए valid और legal license होना
    • Game service terms और applicable conditions का compliance
    • सख्ती से personal use उद्देश्य
    • जब official game servers available और operational हों, तब LAN environment में use
    • Official server maintenance, temporary unavailability, permanent shutdown पर LAN requirement invalid हो जाती है
  • यह software game publisher या developer से affiliated नहीं है और न ही उनके द्वारा endorsed है

1 टिप्पणियां

 
GN⁺ 2025-04-03
Hacker News की राय
  • अगर क्लासिक AoE पसंद करने वाला Hacker News वाला स्वाद है, तो 0 A.D. भी पसंद आ सकता है
    यह मुफ्त और मज़ेदार है, लेकिन अगर आप खुद को strategy का उस्ताद मानते हैं तो यह आपको काफी विनम्र बना देगा
    https://play0ad.com/

    • मुझे 0 A.D. सच में बहुत पसंद है, लेकिन जैसे ही मैप पर units मज़ेदार स्तर तक बढ़ती हैं, performance बुरी तरह गिर जाती है
    • हैरानी है कि यह अब भी development में है। मुझे वह Heavengames forum thread अब भी याद है जहाँ यह project शुरू हुआ था
    • 8-player multiplayer खेलने लायक नहीं है
  • सिर्फ AoE ही नहीं, games का कुल मिलाकर भविष्य में भी चल सकने लायक preserve होना शानदार बात है
    सिर्फ इसलिए features गायब हो जाएँ कि किसी ने server बंद कर दिया, यह दुखद है

    • AOE 2 online multiplayer में बेहिसाब घंटे लगाने वाले के तौर पर, पिछले कुछ सालों में AOE2 DE की growth देखना लगातार अच्छा लगा
      civilizations की संख्या 50 से ऊपर ले जाने वाले updates ही नहीं, visual improvements और कुल gameplay व performance improvements भी काफी आए हैं
      खासकर open-source community में इतने पुराने game पर नया development जारी रहना सचमुच कमाल है
    • Supreme Commander के साथ भी ऐसा हुआ था
      company बंद हो गई और servers बंद कर दिए, लेकिन किस्मत से किसी ने matchmaking server implementation बना दिया
      आज भी community ज़िंदा है और बढ़ रही है, और game development भी जारी है, जिसने game को original से कहीं आगे तक पहुँचा दिया है
      वही project Forged Alliance Forever है
    • मुझे लगता है ऐसी चीज़ें कानूनन अनिवार्य होनी चाहिए
      अगर product के इस्तेमाल के लिए ज़रूरी services दी जाती हैं तो अच्छा है, लेकिन अगर उस service को बंद करके product को unusable या partially usable बना दिया जाए, तो implementation और documentation公開 करना अनिवार्य होना चाहिए
  • AoE2 1997 के game engine पर आधारित होकर 1999 में release हुआ था, और 2025 की वसंत में Definitive Edition के लिए नया बड़ा DLC आने वाला है
    Sandy Petersen को गर्व होता

  • 2000s में बचपन में LAN पर Aoe2 sessions खेलता था, और याद है कि लगभग हर तीन में से एक game में सब लोग 2–3 घंटे खेलने के बाद बस crash हो जाते थे
    एक तरह से यह बेहतर भी था। किसी को हारना नहीं पड़ता था, और हर कोई मानता था कि वही जीत रहा है

    • हर कोई turtling strategy से टिके रहता था, इसलिए वैसे भी game लगभग कभी खत्म नहीं होता था
  • सुविधा की वजह से Steam पसंद है और SteamOS पर किए जा रहे प्रयासों की भी कद्र है, लेकिन lock-in की चिंता होती है
    ऐसे projects मुझे फिर से उस चीज़ पर ज्यादा ownership देते हैं जिसके लिए मैंने पैसे दिए हैं, और luskaner मेरे लिए hero जैसा है

    • यह बात बताना जरूरी है कि Steam games में DRM की मांग नहीं करता
      Steam का अपना DRM भी जरूरी नहीं है, यह पूरी तरह game developers या publishers की choice है
      Steam पर पहले से कई DRM-free games हैं, जिन्हें files backup कर लेने पर Steam के बिना भी चलाया जा सकता है
  • समझ नहीं आता कि AGPL license के साथ terms of use कैसे जोड़े जा सकते हैं
    क्या यह license में बताए गए “additional restrictions” में नहीं आता जिन्हें हटाया जा सकता है?

    • यह takedown रोकने के लिए liability-avoidance mechanism जैसा ज्यादा लगता है
  • शानदार
    इसे बनाने में इस्तेमाल हुए AoE3 API की public documentation है क्या, या सब कुछ नए सिरे से reverse-engineer किया गया है?
    ऐसी documentation ढूँढने वाले लोग तो देखे हैं, लेकिन असली docs कभी नहीं देखे

  • repository में कहीं जवाब होगा, लेकिन यह मेरी समझ से बाहर की चीज़ है, इसलिए पूछ रहा हूँ। क्या aoe2 DE multiplayer ज्यादातर P2P पर निर्भर करता है?
    मेरा अनुमान है कि regional servers सिर्फ matchmaking के लिए इस्तेमाल होते हैं और असली game logic clients पर चलता है
    maphack संभव होना और एक player को lag हो तो सभी का slow हो जाना देखकर ऐसा लगता है, लेकिन AoE forums में जब भी यह topic आता है तो अलग-अलग दावे होते हैं

    • original के network code पर एक अच्छा paper है: https://zoo.cs.yale.edu/classes/cs538/readings/papers/terran...
      नहीं लगता कि Definitive Edition ने design को P2P से हटाने जितना बड़ा बदला होगा, लेकिन actual जानकारी नहीं है
    • मेरी जानकारी में DE P2P नहीं, बल्कि server-based है। हालांकि सभी clients और server world को lockstep में simulate करते हैं और पूरी state की copy रखते हैं
      इसलिए maphack संभव हो जाता है
      इसमें Paxos जैसी चीज़ की जरूरत नहीं। अगर कोई एक machine अलग रास्ते चली जाए तो game desync होकर रुक जाता है, लेकिन आम तौर पर save point से recover किया जा सकता है
    • pro tournaments में दोनों players के बीच स्थित server चुना जाता है
      उदाहरण के लिए Brazil-China match EU server पर हो सकता है
      इससे लगता है कि server clients के बीच central source of truth की तरह इस्तेमाल होता है, और सारा game data server से होकर गुजरता है, हालांकि calculation अभी भी client-side पर होती है
    • वह पुराना version है, DE version में खराब network वाले player को ही lag होता है
      हालांकि अगर किसी player की CPU performance के कारण stutter आए, तो उसका असर सभी पर पड़ता है
  • काश AoE2 chess जितना लंबे समय तक जीवित रहे। यह सच में “perfect” games में से एक है

    • chess को 2 साल न खेलने के बाद लौटें तो इस बीच सारे rules नहीं बदल गए होते
      अभी Age of Empires 2 में ऐसा हो रहा है
    • बिल्कुल सही, और यह लगातार बेहतर हो रहा है
      लगता है Definitive Edition को नए AOE3 और 4 versions के कुछ हिस्सों से भी ज्यादा investment मिल रहा है
    • हाल ही में मेरे मन में भी लगभग यही विचार आया। काश बेहतरीन games को हमेशा चलाया जा सके
      अगर game मज़ेदार है, तो balance issues या bug जैसे दिखने वाले लेकिन feature बन चुके elements भी रहने दिए जा सकते हैं
      हालांकि purely harmful network code bugs जैसी चीज़ें ज्यादा tricky हैं
      Id ने आखिरकार source code release किया, इसके लिए सच में आभारी हूँ। दिल से उम्मीद है कि किसी दिन AoE2 के साथ भी ऐसा होगा
    • निश्चित रूप से शानदार game
      randomness, turn-based न होना, और multiplayer की वजह से chess से तुलना करने पर भी यह interesting है
      लेकिन chess के rules 1000 गुना सरल और स्थिर हैं, और competitive play के लिए high APM भी जरूरी नहीं है
    • AoE2 इस साल PS5 पर आ रहा है
  • इस project में webserver की भूमिका थोड़ी confusing है
    क्या यह AoE multiplayer के matchmaking या game broadcast का component है?

    • मुझे भी curiosity हुई, इसलिए routes file पढ़ी और वह interesting थी: https://github.com/luskaner/ageLANServer/blob/main/server/in...
    • game खुद LAN पर चलता है, लेकिन मेरी समझ में LAN play के लिए भी दो वजहों से internet चाहिए
      1. game को multiplayer service से connect करना होता है
      2. LAN setup के लिए ही coordination server चाहिए
        यह project शायद दूसरे हिस्से को संभालता है। पहला अफसोस कि ज्यादा complex लगता है, और इसमें Steam को यह believe कराने की प्रक्रिया शामिल है कि connection मौजूद है