Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
238 commits
Select commit Hold shift + click to select a range
fb39e7c
refactor: change client manager to generic class
xiaojiuwo1993 Jun 2, 2023
e448b23
refactor(chat): chatcrypt serilizable
xiaojiuwo1993 Jun 3, 2023
ab28988
refactor: added comments
xiaojiuwo1993 Jun 8, 2023
44ca2f2
refactor(sb): converted v1 encryption to c# code
xiaojiuwo1993 Jun 9, 2023
5e7dddf
update(sb): enctype1 c code convert
xiaojiuwo1993 Jun 9, 2023
f21e351
refactor(sb): fix encshare func bugs, create encshare test
xiaojiuwo1993 Jun 12, 2023
1bc399a
update(sb): v1 enctype unittest
xiaojiuwo1993 Jun 14, 2023
bdf08fe
fix(psp): wrong request parse on locstring
xiaojiuwo1993 Jun 16, 2023
5dbd137
refactor(sb): verify enctype1 function
xiaojiuwo1993 Jun 16, 2023
a3c970a
refactor(sb): correct enctype1 code
xiaojiuwo1993 Jun 16, 2023
dc0f531
fix: increase try catch scope
xiaojiuwo1993 Jun 17, 2023
3e919f1
refactor(lib): change async send to sync send to avoid wrong sequence
xiaojiuwo1993 Jun 17, 2023
5efc6c0
fix(chat): nick * request handle logic
xiaojiuwo1993 Jun 18, 2023
6eb7ad1
refactor(lib): server config
xiaojiuwo1993 Jun 18, 2023
6d3e41f
refactor(gtr):change exception type
xiaojiuwo1993 Jun 18, 2023
87d71b2
fix(lib) client manager wrong reference
xiaojiuwo1993 Jun 18, 2023
68d65f5
fix(web): splited http packet
xiaojiuwo1993 Jun 18, 2023
7837cdc
refactor(web): remove const string in buffer cache
xiaojiuwo1993 Jun 18, 2023
eb7e9a1
fix(web): exception message parsing
xiaojiuwo1993 Jun 19, 2023
74075fe
update: redis channel related functions
xiaojiuwo1993 Jun 26, 2023
a6aa5a1
fix(pcm): object can not be jsonified
xiaojiuwo1993 Jun 27, 2023
0bf05e0
fix(pcm): stack overflow when debugging clieninfo
xiaojiuwo1993 Jun 28, 2023
5715cf4
update(nn): natneg version2 protocol
xiaojiuwo1993 Jul 6, 2023
035c97f
refactor(nn): added game test
xiaojiuwo1993 Jul 7, 2023
98bf9bc
refactor(pcm): add unittest
xiaojiuwo1993 Jul 10, 2023
9352b09
refactor: nn and gtr for relay logic
xiaojiuwo1993 Jul 10, 2023
29567d5
fix(gtr): negotiation error
xiaojiuwo1993 Jul 10, 2023
9f21de5
update(gtr): limit relay ips
xiaojiuwo1993 Jul 12, 2023
c136075
Merge branch 'develop' of github.com:GameProgressive/UniSpyServer int…
xiaojiuwo1993 Jul 14, 2023
c765a6f
fix(gtr): reference null error
xiaojiuwo1993 Jul 15, 2023
36a0ae2
refactor: update credits
xiaojiuwo1993 Aug 7, 2023
e55d020
Update README.MD
xiaojiuwo1993 Aug 7, 2023
f8223fc
refactor: update credit
xiaojiuwo1993 Aug 7, 2023
4aad802
Merge branch 'develop' of github.com:GameProgressive/UniSpyServer int…
xiaojiuwo1993 Aug 7, 2023
408b05e
Update README.MD
xiaojiuwo1993 Aug 7, 2023
1d1d768
refactor(web): correction response
xiaojiuwo1993 Aug 10, 2023
5e00d06
refactor: update ef core
xiaojiuwo1993 Aug 16, 2023
2f465bd
refactor(sb): update v1 enc functions
xiaojiuwo1993 Aug 19, 2023
8e5f94d
refactor(sb): update enctype2
xiaojiuwo1993 Aug 21, 2023
762d8ee
refactor(sb): update enctype2 related functions
xiaojiuwo1993 Aug 23, 2023
2a231a1
refactor(sb): Amend enctype1 and enctype2 algorithm correctness
xiaojiuwo1993 Aug 26, 2023
d7a5648
feature(web): update sake logic
xiaojiuwo1993 Aug 27, 2023
d0092c4
refactor(sb): added v1 group and server info build logic
xiaojiuwo1993 Sep 20, 2023
49d66b8
refactor(chat): added crysis2 test
xiaojiuwo1993 Sep 26, 2023
62da685
Merge branch 'develop' of github.com:GameProgressive/UniSpyServer int…
xiaojiuwo1993 Sep 26, 2023
03fb580
refactor: added game test
xiaojiuwo1993 Sep 26, 2023
2b4ff7f
refactor(web): fixed exponent error, added expire time
xiaojiuwo1993 Oct 5, 2023
9f35b07
fix(lib): add redis database missing check
xiaojiuwo1993 Oct 6, 2023
2eb9b0a
refactor(chat): re-design distribution chating logic
xiaojiuwo1993 Oct 10, 2023
24d8c0c
fix(chat): message publish logic
xiaojiuwo1993 Oct 11, 2023
fb18ae7
fix(web): int parse error
xiaojiuwo1993 Oct 18, 2023
e267ef7
fix(pcm): gunbrosand login fail
xiaojiuwo1993 Oct 18, 2023
0b7a17a
refactor(chat): distribution logic
xiaojiuwo1993 Oct 18, 2023
e15c1a3
refactor(lib): update functions
xiaojiuwo1993 Oct 18, 2023
10ba463
refactor(chat): remove duplicated redis operation
xiaojiuwo1993 Oct 19, 2023
60cf7cf
fix(web): pass authtest
xiaojiuwo1993 Oct 20, 2023
b386910
fix(chat): client cache update check
xiaojiuwo1993 Oct 24, 2023
548d947
fix(natneg): server launch crash
xiaojiuwo1993 Oct 24, 2023
36daaaf
fix(lib): redis connection fail with retry
xiaojiuwo1993 Oct 24, 2023
a480ebd
fix(chat): wrong remove client logic
xiaojiuwo1993 Oct 24, 2023
14a926c
refactor(web): add empty value when no sake data found
xiaojiuwo1993 Oct 24, 2023
20fd9bd
refactor: update vscode config
xiaojiuwo1993 Oct 31, 2023
32c5b3f
refactor(lib): change network components
xiaojiuwo1993 Nov 2, 2023
188b7e1
refactor(web): disconnect client by header
xiaojiuwo1993 Nov 2, 2023
b255ac4
refactor(lib): clean network related code
xiaojiuwo1993 Nov 2, 2023
8887cf1
fix(lib): network error
xiaojiuwo1993 Nov 3, 2023
d7eb831
fix(lib): network exception
xiaojiuwo1993 Nov 3, 2023
1c37b78
fix(web): wrong d2g response
xiaojiuwo1993 Nov 24, 2023
f2111d9
(refactor): create python dev version of unispy
xiaojiuwo1993 Jun 14, 2024
9434cbe
fix: added github doc files.
xiaojiuwo1993 Jun 14, 2024
aa0b3fd
Update README.md
xiaojiuwo1993 Jun 14, 2024
80be8bd
refactor: change flask to fastapi
Jun 21, 2024
284592d
update code
xiaojiuwo1993 Jun 26, 2024
4afbc3c
refactor: file arrangement
xiaojiuwo1993 Jun 28, 2024
b45133e
refactor(web): fix parsing issues
xiaojiuwo1993 Jul 2, 2024
71ff91e
WIP unit tests for PCM
Bildcraft1 Jul 14, 2024
3061e50
Use Enum Properties to access value
Bildcraft1 Jul 14, 2024
b50b813
Update contracts
Bildcraft1 Jul 15, 2024
0bdb9f7
Revert "Update contracts"
Bildcraft1 Jul 15, 2024
3d7dfa4
Initial work on Handlers
Bildcraft1 Jul 17, 2024
5f650fc
Revert "Initial work on Handlers"
Bildcraft1 Jul 17, 2024
26c2229
refactor: merge code from Bildcraft1/UniSpyServer
xiaojiuwo1993 Jul 20, 2024
7fc31e1
refactor: split src and tests folder
xiaojiuwo1993 Jul 20, 2024
ba0013c
refactor: added __init__.py
xiaojiuwo1993 Jul 20, 2024
653c63a
refactor: added mock object
xiaojiuwo1993 Jul 24, 2024
59e9cea
refactor: added mock objects and passed init_test
xiaojiuwo1993 Jul 26, 2024
1b5560e
refactor: fixing typing errors
xiaojiuwo1993 Jul 31, 2024
9c932f5
fix(nn): type errors
xiaojiuwo1993 Jul 31, 2024
9014da9
Merge branch 'GameProgressive:python' into python
Bildcraft1 Aug 2, 2024
2eaacf7
Implement Moke Object for PCM Tests
Bildcraft1 Aug 2, 2024
ec8cf12
Merge pull request #47 from Bildcraft1/python
xiaojiuwo1993 Aug 8, 2024
ed4cdd5
fix(test): run time errors
xiaojiuwo1993 Aug 16, 2024
58cdb61
fix(test): bytes convertion error
xiaojiuwo1993 Aug 16, 2024
4995a3b
fix(test): added more tests
xiaojiuwo1993 Aug 16, 2024
0df2b91
fix(web): added tests, fix parsing errors
xiaojiuwo1993 Aug 20, 2024
d527405
refactor(lib): remove abc class for performance
xiaojiuwo1993 Aug 23, 2024
efb93a2
fix(web): d2g request parsing and tests
xiaojiuwo1993 Aug 23, 2024
c6dfbfa
refactor(lib): remove abc lib using for performance
xiaojiuwo1993 Aug 23, 2024
ec8a844
fix: fix unittest discovery for vscode
xiaojiuwo1993 Aug 23, 2024
f3689f6
fix: added new tests and fix testing errors
xiaojiuwo1993 Aug 26, 2024
6b1a358
refactor(gs): update contracts
xiaojiuwo1993 Aug 28, 2024
2bf4e72
refactor(gs): update handlers
xiaojiuwo1993 Aug 28, 2024
a8ad499
refactor: added new tests
xiaojiuwo1993 Sep 2, 2024
3311a31
refactor: orgnized files
xiaojiuwo1993 Sep 3, 2024
a18c473
refactor: added requests for backend
xiaojiuwo1993 Sep 4, 2024
e5cda5e
refactor: added database fetching functions
xiaojiuwo1993 Sep 4, 2024
0fa817a
refactor: fix unittest backendurl construct error
xiaojiuwo1993 Sep 4, 2024
2e718be
refactor: fix import error, created Contribution doc
xiaojiuwo1993 Sep 5, 2024
2d4554e
refactor: added unimplemented routers
xiaojiuwo1993 Sep 5, 2024
881752b
refactor: added server launcher
xiaojiuwo1993 Sep 5, 2024
726bf6b
refactor: added backends home router
xiaojiuwo1993 Sep 5, 2024
d7f28df
refactor: update docker related files
xiaojiuwo1993 Sep 5, 2024
c73220e
refactor: added client pool for global use
xiaojiuwo1993 Sep 6, 2024
d120873
refactor: added global logger
xiaojiuwo1993 Sep 6, 2024
b6b9638
refactor: change raw request encoding
xiaojiuwo1993 Sep 6, 2024
6ce28a2
fix: backend router url
xiaojiuwo1993 Sep 6, 2024
c8b9673
refactor: fixed and tested docker compose file
xiaojiuwo1993 Oct 6, 2024
444f6f2
refactor: removed aux files
xiaojiuwo1993 Oct 6, 2024
bdd1992
refactor(lib): created and tested websocket brocker
xiaojiuwo1993 Oct 16, 2024
91bb6ac
refactor: small code change
xiaojiuwo1993 Oct 16, 2024
9db06ac
fix: brocker error handling
xiaojiuwo1993 Oct 18, 2024
0086268
fix: natify test error
xiaojiuwo1993 Oct 18, 2024
c5aacdf
fix: type hint error
xiaojiuwo1993 Oct 23, 2024
0fd9fc3
fix(web): type hint errors
xiaojiuwo1993 Oct 23, 2024
caaf5db
fix: type hint erros
xiaojiuwo1993 Oct 24, 2024
0d03ffd
fix: type hint errors
xiaojiuwo1993 Oct 24, 2024
4dcd1bb
refactor: docker compose config
xiaojiuwo1993 Oct 24, 2024
99ef502
fix: type hint errors
xiaojiuwo1993 Oct 24, 2024
85b5292
fix: unit-test errors
xiaojiuwo1993 Oct 24, 2024
4d528ca
fix: recursive import
xiaojiuwo1993 Oct 25, 2024
d2e40ce
refactor: simplify files
xiaojiuwo1993 Oct 28, 2024
8d276fb
fix: unit test errors
xiaojiuwo1993 Oct 28, 2024
ba4846d
refactor: change handler feach data logic
xiaojiuwo1993 Oct 29, 2024
920bae6
refactor: added tests for qr and sb
xiaojiuwo1993 Oct 29, 2024
7c130bc
refactor: adding sb tests
xiaojiuwo1993 Oct 29, 2024
ee2ef58
refactor: added sb unit tests
xiaojiuwo1993 Oct 30, 2024
d373c09
refactor: added more tests
xiaojiuwo1993 Oct 30, 2024
15060f9
refactor: request type validation
xiaojiuwo1993 Nov 1, 2024
e443740
fix: router url double slash
xiaojiuwo1993 Nov 1, 2024
b655848
refactor: added more chat tests
xiaojiuwo1993 Nov 1, 2024
b0847e1
refactor: README, added how to run section
xiaojiuwo1993 Nov 3, 2024
e80877c
refactor: init class member with none in __init__
xiaojiuwo1993 Nov 2, 2024
4257ba4
refactor: change chat broadcast logic
xiaojiuwo1993 Nov 4, 2024
ff273b9
refactor: added mock websocket server
xiaojiuwo1993 Nov 4, 2024
9ed1fe1
fix: chat unit-test
xiaojiuwo1993 Nov 5, 2024
75b2f45
Update README.md
xiaojiuwo1993 Nov 10, 2024
7f158bb
refactor: added backends handlers
xiaojiuwo1993 Nov 12, 2024
52951e5
Update README.md
xiaojiuwo1993 Nov 16, 2024
d5c1641
refactor: update data featch functions
xiaojiuwo1993 Nov 26, 2024
ea40299
Merge branch 'python' of github.com:GameProgressive/UniSpyServer into…
xiaojiuwo1993 Nov 26, 2024
bd25e2f
refactor: update backend handlers
xiaojiuwo1993 Dec 10, 2024
c9ddb30
refactor: update backends handlers
xiaojiuwo1993 Dec 18, 2024
4baea2d
update(db): postgresql creation script
xiaojiuwo1993 Jan 3, 2025
eb2be43
refactor: added backends functions
xiaojiuwo1993 Jan 3, 2025
253ad5c
refactor: aux files
xiaojiuwo1993 Jan 3, 2025
1cdc6ab
refactor: added database unittests
xiaojiuwo1993 Jan 4, 2025
5f8251e
fix: database insersion errors
xiaojiuwo1993 Jan 7, 2025
2d39cbd
fix: backend search request parsing error
xiaojiuwo1993 Jan 10, 2025
2c7022b
fix: database creation errors
xiaojiuwo1993 Jan 24, 2025
1c04028
fix instant id type error
xiaojiuwo1993 Jan 24, 2025
894cc98
update sql scripts
xiaojiuwo1993 Jan 24, 2025
479293e
fix sb logic
xiaojiuwo1993 Jan 24, 2025
5cb094c
fix: new user contract params
xiaojiuwo1993 Jan 25, 2025
fb5f0d8
added handlers to routers
xiaojiuwo1993 Jan 26, 2025
158839a
orgnized files
xiaojiuwo1993 Feb 5, 2025
0296e8c
fix: orm classes typehit problem
Mar 5, 2025
0874c8a
refactored database operations
Mar 5, 2025
e5bc1b1
update chat apis
Mar 7, 2025
fa48c0e
refactor(chat): added helper class
Mar 13, 2025
cd1dc9a
refactor: added channel handler functions
Mar 14, 2025
4457e15
Update README.md
xiaojiuwo1993 Mar 14, 2025
5b8ae57
Update README.md
xiaojiuwo1993 Mar 14, 2025
a910403
fix database creation error
Mar 18, 2025
16dca28
update contribute file
Mar 18, 2025
766dc28
fix data fetch tests
Mar 18, 2025
282c330
Fix pip package conflictions
xiaojiuwo1993 Mar 30, 2025
a4fa82b
Update test case
xiaojiuwo1993 Mar 30, 2025
69203ed
Update: add unittest functions.
Apr 18, 2025
0a12d64
Remove unused lib.
xiaojiuwo1993 May 5, 2025
f155e65
Fix merge conflict.
xiaojiuwo1993 May 5, 2025
bf57661
Added file ignore on ruff.
xiaojiuwo1993 May 5, 2025
1156a38
Formated code style.
xiaojiuwo1993 May 5, 2025
9946fed
Create websocket manager.
xiaojiuwo1993 May 5, 2025
6a65bcf
Fix server name.
xiaojiuwo1993 May 5, 2025
b906fba
Update websocket management functions.
May 6, 2025
69fa56b
Added more tests.
May 7, 2025
bfaeb3a
Update channel message broadcast logic.
xiaojiuwo1993 May 7, 2025
9508aca
Update mocked objects.
May 8, 2025
d79d2a0
Convert async to sync for debugging.
May 9, 2025
ff8f800
Fix issues on psp.
May 13, 2025
2afde5e
Add unitest condition.
May 13, 2025
3a691b8
Fix issues with gptest.c
May 13, 2025
d2ae652
Added unittests
May 27, 2025
27d1813
Added NatNeg tests.
May 29, 2025
043ef42
Update[natneg] nat traversal protocols and tests
Jun 9, 2025
79759e9
Update[gtr]: added nat connection logic
Jun 13, 2025
2c4108d
Fix: websocket connect issue
Jun 18, 2025
9f52247
Fix: database query issue
Jun 20, 2025
ca7b810
Simplify network service function call
xiaojiuwo1993 Jun 22, 2025
f512e1a
Fix[gstats]: auth game related functions
Jun 24, 2025
ce610e1
Fix[chat]: server port binded twice
xiaojiuwo1993 Jul 26, 2025
290cc9a
Fix: code style of PEP 604
xiaojiuwo1993 Jul 27, 2025
582e267
feat: fix database session life time
Jul 29, 2025
ccde780
feat: add log color output
Jul 30, 2025
2dde814
fix(chat): join logic
Jul 30, 2025
6983886
fix(chat): mode, privmsg functionalities
Jul 31, 2025
bc815f1
fix(chat): channel join
xiaojiuwo1993 Sep 17, 2025
421c312
Fix:(chat) channel message broadcast issue
Sep 19, 2025
f762a14
Fix: docker related configs
xiaojiuwo1993 Sep 20, 2025
df23272
Update: simplify server creation
xiaojiuwo1993 Sep 21, 2025
fb0547e
Update: natneg and gtr
xiaojiuwo1993 Sep 23, 2025
461d761
Update: simplify object creation
xiaojiuwo1993 Sep 24, 2025
37a617d
Update: add unispy_backends to devcontainer hosts file
xiaojiuwo1993 Sep 24, 2025
c52251e
Fix: enctypeX initialization byte operation issue
xiaojiuwo1993 Sep 25, 2025
529f410
Fix(sb): server main list response bytes build issue
xiaojiuwo1993 Sep 26, 2025
855f107
Fix(sb): wrong string split flag
xiaojiuwo1993 Oct 10, 2025
688d23d
Update(sb): server aux-update functions
xiaojiuwo1993 Oct 13, 2025
1d07a9b
Fix(nn): report cache storage
xiaojiuwo1993 Oct 15, 2025
d5c2004
fix(gtr): negotiating logic
xiaojiuwo1993 Oct 17, 2025
14a0545
Update: optimize websocket process logic
xiaojiuwo1993 Oct 20, 2025
5da3e05
Update(gtr): optimize message handle logic
xiaojiuwo1993 Oct 20, 2025
14732ab
Update: add watchdog to restart server when debugging
xiaojiuwo1993 Oct 20, 2025
ca29530
Fix: log file have unreadable formatter issue
xiaojiuwo1993 Oct 20, 2025
ca62ff7
Refactor: server launcher
xiaojiuwo1993 Oct 21, 2025
40ddb99
Update: add devcontainer host redirection
xiaojiuwo1993 Oct 31, 2025
344ed55
Update: debug helper to auto restart server when code change
xiaojiuwo1993 Oct 31, 2025
f7ea55c
Fix: fastapi swagger docs response schemas
xiaojiuwo1993 Oct 31, 2025
b2f0b49
Fix: wrong devcontainer config post create cmd
xiaojiuwo1993 Oct 31, 2025
ceafdb3
Update: debug helper print error
xiaojiuwo1993 Oct 31, 2025
c5be6fe
Fix(chat): database table missing primary key
xiaojiuwo1993 Oct 31, 2025
6f15675
Fix(gtr): server launch stuck issue
xiaojiuwo1993 Nov 4, 2025
c962a28
Fix(gs): issue with persistance sdk tests
xiaojiuwo1993 Nov 7, 2025
931032f
Update: service launch logic
xiaojiuwo1993 Nov 15, 2025
54124bf
Update(qr): added v1 heartbeat
xiaojiuwo1993 Nov 24, 2025
ff5d836
Fix: unittest errors
xiaojiuwo1993 Nov 25, 2025
b856d81
Update(web): create user account functions
xiaojiuwo1993 Dec 12, 2025
b6c1384
Update(web): remove soap response namespaces
xiaojiuwo1993 Dec 14, 2025
cc8c798
Fix(web): create user account errors
xiaojiuwo1993 Dec 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .devcontainer/Dockerfile

This file was deleted.

27 changes: 0 additions & 27 deletions .devcontainer/devcontainer.json

This file was deleted.

25 changes: 0 additions & 25 deletions .dockerignore

This file was deleted.

1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

46 changes: 0 additions & 46 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/custom.md

This file was deleted.

26 changes: 0 additions & 26 deletions .github/README.MD

This file was deleted.

41 changes: 41 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# UniSpy Server
[![license](https://img.shields.io/github/license/GameProgressive/UniSpyServer.svg)](../LICENSE)
![CIPass](https://github.com/GameProgressive/UniSpyServer/workflows/CI/badge.svg)\
![platforms](https://img.shields.io/badge/platform-win32%20%7C%20win64%20%7C%20linux%20%7C%20osx-brightgreen.svg)\
[![discord-banner](https://discord.com/api/guilds/512314008079171615/widget.png?style=banner2)](https://discord.gg/NpggYaD)

UniSpy is a GameSpy Project that aims to create GameSpy services.

The server is written in C# and is inspired by the old OpenSpy project.

## Information & Documentation
See the [wiki](https://github.com/GameProgressive/UniSpyServer/wiki) for more information about project and the UniSpy Server.
You can also use our Software Development Kit to create games or learn about the [UniSpySDK](https://github.com/GameProgressive/UniSpySDK).

Technical papers and documentation about the GameSpy protocol and the games that use it, [GameSpyDocs](https://github.com/GameProgressive/GameSpyDocs).

## Credits
* The [contributors](https://github.com/GameProgressive/UniSpyServer/graphs/contributors) of the project
* [Luigi Auriemma](https://aluigi.altervista.org/papers.htm#distrust) for his gamespy papers that were used as a reference
* [BattleSpy](https://github.com/BF2Statistics/BattleSpy) for their library, that we used as a base for UniSpy
* [NetCoreServer](https://github.com/chronoxor/NetCoreServer) for their TCP and UDP server


## License
This project is licensed under the [GNU Affero General Public License v3.0](../LICENSE).


## Why rewrite C# to python
* The vscode extensions for C# development is become more and more hard to use, and microsoft abandoned the open-source OmniSharp project and replacing it with it's own closed source language server.
* The c# project seems hard to run by users, it require a lot of deploy knowledge and hard for collaborations, for the future of the gamespy emulator, I choose to rewrite this into a opensource and easy high level language - python.


## How to run
* Run ```docker network create unispy``` to setup a network for unispy
* Run ```docker compose -f docker-compose-unispy-env.yml up -d``` to setup postgresql and redis
* Run ```export UNISPY_CONFIG='<path of config.json>'``` to setup env config file path, remember replace symbol ```<path of config.json>``` with config file path
* Open with vscode:
* Use vscode to open the src folder and reopen in devcontainer (make sure your vscode have devcontainer extension)
* open with github codespace:
* add ```unispy_config = "<path of config.json>"``` after the line of ```unispy_config = os.environ.get("UNISPY_CONFIG")``` in config.py (for unittest working)
* github codespace vscode web can not install devcontainer, the project can not running in docker network ```unispy```. Therefore, replace ```"server": "unispy_postgresql"``` and ```"server": "unispy_redis"``` to ```"server": "localhost"``` in config.json to use localhost postgres and redis in docker (we already setup)
24 changes: 0 additions & 24 deletions .github/labeler.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/cd-cdkey.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/cd-chat.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/cd-gs.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/cd-gtr.yml

This file was deleted.

Loading