E2150 - MooS v2.2: Difference between revisions

m
Syntax highlighting
(Added extra info to base64, updated devel info, included GitHub link)
m (Syntax highlighting)
 
Line 2:
 
To some the name "moos" will probably say something else, for everyone else here a short description: "moos is a small program that makes it possible to chat on EarthNet without starting the game."
 
 
'''moos.ini''' (''Example Config'')
<syntaxhighlight lang="ini">
* languagefile=\moos22-win64\english.ini
languagefile=C:\\Program Files (x86)\\moos21\\english.ini
* autologin=<Base64 username>
* [accounts]
 
* [accounts/<Base64 username>]
* [accounts]
* server=moos.insideearth.info
* password=[accounts/<Base64 encrypted username>]
* server=moos.insideearth.info
* chatcolor=
* [accounts/password=<Base64 encrypted username>]
* [server/moos.insideearth.info]
* chatcolor=
* port=12100
 
* [layout]
* [server/moos.insideearth.info]
* maximized=0
* port=12100
* x=231
 
* y=212
* [layout]
* width=720
* maximized=0
* height=480
* x=231
* y=212
* width=720
* height=480
</syntaxhighlight>
 
See [https://github.com/surrim/moos21/blob/1030d9bb56a5fce7614389ea7bf24d3da0f0e9ce/src/tools.cpp#L93 Base64] and [https://github.com/surrim/moos21/blob/1030d9bb56a5fce7614389ea7bf24d3da0f0e9ce/src/tools.cpp#L95 Base64 encrypted] in the source code, as it is a slightly different Base64 ("/" is "-"), shuffled for encryption.
As long as the user name doesn't contain a "-" you can decode it on Linux:
 
<syntaxhighlight lang="bash">
$ echo "c3VycmltQG1vb3M\=" | base64 -d
 
surrim@moos
</syntaxhighlight>
 
'''Source''':
5

edits