Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
2fc6778
Server-AC - Fix for false positives
DownWithTheFallen Jul 6, 2025
dff71bb
Update intro.md
DownWithTheFallen Jul 6, 2025
67a83a3
Create tool_for_setup.md
DownWithTheFallen Jul 6, 2025
bb4a635
Update setting_up.md
DownWithTheFallen Jul 6, 2025
02d67ef
Update setting_up.md
DownWithTheFallen Jul 6, 2025
5d0e62f
Update setting_up.md
DownWithTheFallen Jul 6, 2025
b684b9a
Update requirements_installation.md
DownWithTheFallen Jul 6, 2025
951cd52
Update tool_for_setup.md
DownWithTheFallen Jul 6, 2025
dcdbe1d
Update microvolts-db.sql
Mikael Jul 6, 2025
5e9cb0c
Merge pull request #30 from Mikael/patch-8
DownWithTheFallen Jul 6, 2025
5cd244e
Update tool_for_setup.md
DownWithTheFallen Jul 7, 2025
f4fb7fb
Added console message referencing this github repository
P13141 Jul 7, 2025
1c9543a
Update tool_for_setup.md
DownWithTheFallen Jul 7, 2025
3dcef75
Update requirements_installation.md
DownWithTheFallen Jul 7, 2025
cb7fc91
Update requirements_installation.md
DownWithTheFallen Jul 7, 2025
88d012e
Update requirements_installation.md
DownWithTheFallen Jul 7, 2025
864c79c
Update requirements_installation.md
DownWithTheFallen Jul 7, 2025
b85ee9d
?
Mikael Jul 16, 2025
7cc18ea
Merge pull request #31 from Mikael/patch-9
DownWithTheFallen Jul 17, 2025
37e8507
Update README.md
DownWithTheFallen Jul 19, 2025
d7d7a0e
2fa fix
Mikael Jul 23, 2025
9ae496d
Update README.md
DownWithTheFallen Jul 26, 2025
d4b1464
Merge pull request #35 from Mikael/patch-11
DownWithTheFallen Jul 28, 2025
e8a3b37
Update thanks.md
DownWithTheFallen Jul 28, 2025
fd3a0f0
Added observer mode exploit checks
P13141 Aug 8, 2025
fb1539a
Observer mode exploit checks
P13141 Aug 8, 2025
e2779da
Observer mode exploit check fix
P13141 Aug 8, 2025
58b5d0e
added various exploit fixes
P13141 Aug 11, 2025
87fb766
various exploit fixes
DownWithTheFallen Aug 11, 2025
9f782fa
various exploit fixes - fixed small parsing bug
P13141 Aug 11, 2025
57168dc
Merge pull request #42 from SoWeBegin/mv11_dev
DownWithTheFallen Aug 11, 2025
515065c
revert list handler, removed useless size checks
P13141 Aug 11, 2025
f6af8d1
Merge pull request #43 from SoWeBegin/mv11_dev
DownWithTheFallen Aug 11, 2025
c902c8e
added rt gains after each match
P13141 Aug 11, 2025
3702469
Merge pull request #44 from SoWeBegin/mv1.1_2.0
DownWithTheFallen Aug 11, 2025
99aaa99
Merge pull request #45 from SoWeBegin/mv11_dev
DownWithTheFallen Aug 11, 2025
dbe6d15
added coupon rewards and new event missions
P13141 Aug 11, 2025
cf99455
added new event missions, now multiple ones can be obtained in the sa…
P13141 Aug 11, 2025
fe61fa2
Changed grade for setcurrency command
P13141 Aug 11, 2025
9627144
fixed capsule lucky spin
P13141 Aug 13, 2025
de675fc
Added item-repair & damage system
P13141 Aug 13, 2025
bf386a1
completed weapon durability damage & repair system
P13141 Aug 13, 2025
4aa0a7b
Re-introducing the gambling system
P13141 Aug 13, 2025
e72ab9e
added gamble system, weapon repair system, rt to coupon converter, an…
P13141 Aug 14, 2025
80d5b10
Added AI battle mode
P13141 Aug 14, 2025
7c0681a
Added AI Battle mode
P13141 Aug 14, 2025
2de3cca
Added AI Battle mode
P13141 Aug 14, 2025
8e19111
added boss battle, new chat commands
P13141 Aug 25, 2025
a0b1090
removed unnecessary branches
P13141 Aug 25, 2025
74a23df
removed unnecessary files
DownWithTheFallen Aug 25, 2025
e33fd7d
Fixed Boss Battle mode
P13141 Sep 2, 2025
63b0bfe
Stop tracking Common.lib (keep local only)
P13141 Sep 2, 2025
04cc411
Ignore Common.lib locally
P13141 Sep 2, 2025
2850870
Restore Parser.cpp
P13141 Sep 2, 2025
85cfbb0
Ignore Common.lib
P13141 Sep 2, 2025
4cf3011
removed wrong assignment when joining a room
P13141 Sep 2, 2025
b863107
Removed MP penalty while leaving from OBS mode
P13141 Sep 2, 2025
0f34f72
Made sealing error message clearer
P13141 Sep 2, 2025
8c8a854
Fixed a super subtle database related bug
P13141 Sep 2, 2025
ed16a90
fixed match time issue
P13141 Sep 2, 2025
c66e1f1
Added more checks for inventory consistency after trade
P13141 Sep 3, 2025
534ccea
General fixes
P13141 Sep 6, 2025
a191ec6
Update client_setup.md
DownWithTheFallen Sep 9, 2025
95fb9a5
Update client_setup.md
DownWithTheFallen Sep 9, 2025
fd5deb4
Update client_setup.md
DownWithTheFallen Sep 9, 2025
48fe6ec
Update client_setup.md
DownWithTheFallen Sep 9, 2025
d1bef3a
dev
P13141 Sep 9, 2025
41fa60a
GCC support, to be tested
P13141 Sep 10, 2025
0b86078
Delete Microvolts-Emulator-V2.sln
DownWithTheFallen Sep 10, 2025
5ce61b0
Delete AuthServer/AuthServer.vcxproj
DownWithTheFallen Sep 10, 2025
d0a15ee
Delete AuthServer/AuthServer.vcxproj.filters
DownWithTheFallen Sep 10, 2025
eb30674
Delete CastServer/CastServer.vcxproj
DownWithTheFallen Sep 10, 2025
7daed62
Delete CastServer/CastServer.vcxproj.filters
DownWithTheFallen Sep 10, 2025
102d47d
Delete Common/Common.vcxproj
DownWithTheFallen Sep 10, 2025
38df46e
Delete Common/Common.vcxproj.filters
DownWithTheFallen Sep 10, 2025
8536f7a
Delete Common/Common.cpp
DownWithTheFallen Sep 10, 2025
54105a5
Delete MainServer/MainServer.vcxproj
DownWithTheFallen Sep 10, 2025
cfd83e6
Delete MainServer/MainServer.vcxproj.filters
DownWithTheFallen Sep 10, 2025
014753c
Delete Microvolts-Emulator-V2/Microvolts-Emulator-V2.vcxproj
DownWithTheFallen Sep 10, 2025
7222f83
Cross platform support dev
P13141 Sep 10, 2025
96633f9
revert vcpkg.json
P13141 Sep 10, 2025
742b890
Update requirements_installation.md
DownWithTheFallen Sep 11, 2025
e394a50
Update vcpkg.json
DownWithTheFallen Sep 11, 2025
250dd73
CmakeLists.txt
P13141 Sep 14, 2025
656d681
Fixed room creation issue (IPC)
P13141 Sep 14, 2025
294bc3b
Update vcpkg.json
DownWithTheFallen Sep 14, 2025
1917ffd
/? now displays available commands along with /commands
P13141 Sep 14, 2025
4b705ab
update
P13141 Sep 14, 2025
107d478
CMake support fixes
P13141 Sep 14, 2025
c4dd10a
Update vcpkg.json
DownWithTheFallen Sep 14, 2025
e8f1931
Update requirements_installation.md
DownWithTheFallen Sep 14, 2025
4fca6ea
Update requirements_installation.md
DownWithTheFallen Sep 14, 2025
eb20560
Update CMakeLists.txt
DownWithTheFallen Sep 14, 2025
7944c3e
Added cross platform support (Windows, Ubuntu)
DownWithTheFallen Sep 14, 2025
c9562d0
Update database_setup.md
DownWithTheFallen Sep 14, 2025
17fecd7
Update database_setup.md
DownWithTheFallen Sep 14, 2025
cdd5f8a
Update database_setup.md
DownWithTheFallen Sep 14, 2025
05b672a
Update changelog1.md
DownWithTheFallen Sep 14, 2025
3da6d90
Update requirements_installation.md
DownWithTheFallen Sep 14, 2025
46d0549
Update requirements_installation.md
DownWithTheFallen Sep 14, 2025
5fe6a71
Update requirements_installation.md
DownWithTheFallen Sep 14, 2025
737bb56
Update config.ini
DownWithTheFallen Sep 14, 2025
03d62be
Update config.ini
DownWithTheFallen Sep 14, 2025
db6e770
fixed linux issue with wrong type size for ExpirationTime
DownWithTheFallen Sep 14, 2025
6df3e6e
Update MainEquippedItem.h
DownWithTheFallen Sep 14, 2025
499c865
Update MainItem.h
DownWithTheFallen Sep 14, 2025
a99d4df
Update MainItem.h
DownWithTheFallen Sep 14, 2025
57ad1e2
Update MainEquippedItem.cpp
DownWithTheFallen Sep 14, 2025
3e8dfb3
Update intro.md
DownWithTheFallen Sep 14, 2025
fb5da70
Update CMakeLists.txt
DownWithTheFallen Sep 14, 2025
e371e01
ipc issue fix
DownWithTheFallen Sep 15, 2025
f9cc65a
Update RoomCreationHandler.h
DownWithTheFallen Sep 15, 2025
106f60e
Update ClanRoomCreation.h
DownWithTheFallen Sep 15, 2025
93ed2c9
Update IpcMainHandlers.h
DownWithTheFallen Sep 15, 2025
f2647da
Update RoomInviteJoin.h
DownWithTheFallen Sep 15, 2025
28bbde2
reverted handler 280 implementation after tests
DownWithTheFallen Sep 15, 2025
18da986
Made EXP and MP gains use playtime and reduced FFA gains
DownWithTheFallen Sep 15, 2025
8d7073b
Update client_setup.md
DownWithTheFallen Sep 15, 2025
317a4bc
Added arrays bound checks
DownWithTheFallen Sep 16, 2025
b13583e
Only broadcast AI packets if AI mode selected
DownWithTheFallen Sep 16, 2025
41c9552
Broadcast boss battle packets to the whole match only in boss battle …
DownWithTheFallen Sep 16, 2025
b379a85
added more array bound checks
DownWithTheFallen Sep 16, 2025
647a156
more array bound checking
DownWithTheFallen Sep 16, 2025
a3fb0d9
lowered FFA exp and MP gains
DownWithTheFallen Sep 16, 2025
266325a
merge
DownWithTheFallen Sep 16, 2025
0965e4a
Limit boss battle to max 4 players
DownWithTheFallen Sep 16, 2025
5df40e8
Improved weapon damage system: now only damage specific used weapon i…
DownWithTheFallen Sep 16, 2025
5336712
Update database_setup.md
DownWithTheFallen Sep 16, 2025
6bc61d1
Update database_setup.md
DownWithTheFallen Sep 16, 2025
60e9629
Update database_setup.md
DownWithTheFallen Sep 16, 2025
f788f79
Update database_setup.md
DownWithTheFallen Sep 16, 2025
2bda567
Update database_setup.md
DownWithTheFallen Sep 16, 2025
0f91933
More IPC support in room start handler
DownWithTheFallen Sep 20, 2025
347e690
Batch multiple player positions in a single packet
DownWithTheFallen Sep 20, 2025
443b9c4
Merge branch 'mv1.1_2.0' of https://github.com/SoWeBegin/MicrovoltsEm…
DownWithTheFallen Sep 20, 2025
8bcc3e9
Batch multiple positions in a single packet
DownWithTheFallen Sep 20, 2025
59bc071
Update requirements_installation.md
DownWithTheFallen Sep 20, 2025
a8303a2
Update vcpkg.json
DownWithTheFallen Sep 20, 2025
dfbe3b5
Update CMakeLists.txt
DownWithTheFallen Sep 20, 2025
cd38edd
revert vcpkg.json
DownWithTheFallen Sep 23, 2025
5809a61
Update CMakeLists.txt
DownWithTheFallen Sep 23, 2025
15583d4
Update vcpkg.json
DownWithTheFallen Sep 24, 2025
283d21a
Update CMakeLists.txt
DownWithTheFallen Sep 24, 2025
49ec61c
aaaaaa
Mikael Oct 4, 2025
8a214ab
Update MainServer.h
Mikael Oct 5, 2025
54b3ad7
Update ConvertRtToCoupons.h
Mikael Oct 7, 2025
7546b2a
Add a check to verify if the sender is muted before processing mailbo…
Mikael Oct 7, 2025
2828092
Solved issue with storing offline mailboxes
DownWithTheFallen Oct 12, 2025
969a90a
aaaaa
Mikael Oct 13, 2025
c3a66eb
Using nickname packet
Mikael Oct 13, 2025
8e29843
Update SetNickname.h
Mikael Oct 13, 2025
e342f7b
Fixed issue where battery increased randomly
DownWithTheFallen Oct 19, 2025
e168b79
Added report system
DownWithTheFallen Oct 24, 2025
8dee4e8
Rt2coupon message correction
DownWithTheFallen Oct 24, 2025
fffa81c
Prevent muted players from sending emails
DownWithTheFallen Oct 24, 2025
dd721fa
Merge branch 'mv1.1_2.0' into Staff-toggle
DownWithTheFallen Oct 24, 2025
fb1c069
Added staff nickname toggle command
DownWithTheFallen Oct 24, 2025
db4a4c0
SetNickname now uses ingame packets for instant changes
DownWithTheFallen Oct 24, 2025
5b642f9
Update MainSession.cpp
DownWithTheFallen Oct 24, 2025
957e4d4
Update MainSession.h
DownWithTheFallen Oct 24, 2025
7081acf
Update SetNickname.h
DownWithTheFallen Oct 24, 2025
8d3bbc4
Update MainSession.cpp
DownWithTheFallen Oct 24, 2025
53de257
kkkkk
Mikael Oct 30, 2025
f579250
Merge branch 'Staff-toggle' of https://github.com/Mikael/MicrovoltsEm…
Mikael Oct 30, 2025
dd7e5c7
Update README.md
DownWithTheFallen Oct 30, 2025
c309c2d
Update intro.md
DownWithTheFallen Oct 30, 2025
c098951
Update README.md
DownWithTheFallen Oct 30, 2025
a809380
Update intro2.md
DownWithTheFallen Oct 30, 2025
8ae2cc5
Update changelog1.md
DownWithTheFallen Oct 30, 2025
3bfeb95
Update requirements_installation.md
DownWithTheFallen Oct 30, 2025
9d0a88d
Update README.md
DownWithTheFallen Oct 30, 2025
bd2cb0a
Update setting_up.md
DownWithTheFallen Oct 30, 2025
52a8de1
Update README.md
DownWithTheFallen Oct 30, 2025
c1eda79
Update database_setup.md
DownWithTheFallen Oct 30, 2025
a034c06
Update README.md
DownWithTheFallen Oct 30, 2025
be6c0cd
Update README.md
DownWithTheFallen Oct 30, 2025
392b754
Update client_setup.md
DownWithTheFallen Oct 30, 2025
39b1edd
Update client_setup.md
DownWithTheFallen Oct 30, 2025
02d12ff
Update client_setup.md
DownWithTheFallen Oct 30, 2025
eb6edbc
Update database_tour.md
DownWithTheFallen Oct 30, 2025
985542d
Update updater_overview.md
DownWithTheFallen Oct 30, 2025
aa14cc3
Update README.md
DownWithTheFallen Oct 30, 2025
76264f8
Update updater_overview.md
DownWithTheFallen Oct 30, 2025
6db7d58
Update reporting_issues.md
DownWithTheFallen Oct 30, 2025
3e544ac
Update whats_next.md
DownWithTheFallen Oct 30, 2025
c60efe6
Update README.md
DownWithTheFallen Oct 30, 2025
774068d
Update intro.md
DownWithTheFallen Oct 30, 2025
33ff0d9
Update README.md
DownWithTheFallen Oct 30, 2025
286bc77
Update intro.md
DownWithTheFallen Oct 30, 2025
b2c097f
Update README.md
DownWithTheFallen Oct 30, 2025
e9c08b5
Update README.md
DownWithTheFallen Oct 30, 2025
3207fde
Update README.md
DownWithTheFallen Oct 30, 2025
c86b929
Update README.md
DownWithTheFallen Oct 30, 2025
d0ffa01
Update README.md
DownWithTheFallen Oct 30, 2025
cdaa14b
Update README.md
DownWithTheFallen Oct 30, 2025
e085494
Update README.md
DownWithTheFallen Oct 30, 2025
64c4df9
Boss battle - added endMatch call
DownWithTheFallen Oct 30, 2025
e4424bb
Update InitialPlayerInfoHandlers.h
DownWithTheFallen Oct 31, 2025
2f909c8
Fixed random MP issue
DownWithTheFallen Oct 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -415,4 +415,11 @@ Common/x64/
ExternalLibraries/vcpkg/
MainServer/x64/
MainServer/Release/
Microvolts-Emulator-V2/
Microvolts-Emulator-V2/

ExternalLibraries/CommonLib/Common.lib
E x t e r n a l L i b r a r i e s / C o m m o n . l i b

E x t e r n a l L i b r a r i e s / C o m m o n . l i b


181 changes: 0 additions & 181 deletions AuthServer/AuthServer.vcxproj

This file was deleted.

63 changes: 0 additions & 63 deletions AuthServer/AuthServer.vcxproj.filters

This file was deleted.

48 changes: 34 additions & 14 deletions AuthServer/AuthServerMain.cpp
Original file line number Diff line number Diff line change
@@ -1,26 +1,46 @@
#include <iostream>
#include "Utils/Logger.h"
#include <chrono>
#include <format>
#include <asio/execution_context.hpp>
#include "include/AuthServer.h"
#include "../include/AuthServer.h"

#include <iostream>
#include <Utils/SetupParser.h>
#include "Utils/Utils.h"

void printInitialInformation()
int main()
{
Common::Utils::setConsoleTitle(L"Microvolts Auth Server");

auto const time = std::chrono::current_zone()->to_local(std::chrono::system_clock::now());
auto const time_s = std::format("{:%Y-%m-%d %X}", time);
std::cout << "Auth server initialized on " << time_s << "\n\n";
}
Utils::Logger::log("Auth server initialized on " + time_s, Utils::LogType::Info, "AuthServer");
auto parsedServerInfo = Common::Utils::SetupParser::getInstance().getAuthSetup();

int main()
{
#ifdef WIN32
SetConsoleTitleW(L"Microvolts Auth Server");
#endif
asio::io_context io_context;
Auth::AuthServer srv(io_context, 13001);
Utils::Logger::log(std::format("Server Information: IP: {}, Port: {}",
parsedServerInfo.ip, parsedServerInfo.port), Utils::LogType::Normal);

printInitialInformation();
const std::string banner = R"(

_____ __ __ ____ _ ______ _ _
/ ____| \ \ / / | _ \ (_) | ____| | | | |
| (___ __\ \ /\ / /__| |_) | ___ __ _ _ _ __ | |__ _ __ ___ _ _| | __ _| |_ ___ _ __
\___ \ / _ \ \/ \/ / _ \ _ < / _ \/ _` | | '_ \ | __| | '_ ` _ \| | | | |/ _` | __/ _ \| '__|
____) | (_) \ /\ / __/ |_) | __/ (_| | | | | | | |____| | | | | | |_| | | (_| | || (_) | |
|_____/ \___/ \/ \/ \___|____/ \___|\__, |_|_| |_| |______|_| |_| |_|\__,_|_|\__,_|\__\___/|_|
__/ |
|___/

GitHub: https://github.com/SoWeBegin/MicrovoltsEmulator

)";

Utils::Logger::log(banner, Utils::LogType::Info);



asio::io_context io_context;
Auth::AuthServer srv(io_context, parsedServerInfo.ip, parsedServerInfo.port);
srv.asyncAccept();
io_context.run();
}
}
27 changes: 27 additions & 0 deletions AuthServer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
project(AuthServer LANGUAGES CXX)


file(GLOB_RECURSE AUTH_SOURCES CONFIGURE_DEPENDS
${CMAKE_CURRENT_LIST_DIR}/*.cpp
)

add_executable(AuthServer
${AUTH_SOURCES}
)

target_include_directories(AuthServer PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)

target_link_libraries(AuthServer PUBLIC
Common
unofficial::mariadb-connector-cpp::mariadbcpp
)

if (WIN32)
target_link_libraries(AuthServer PUBLIC wsock32 ws2_32)
endif()


set_target_properties(AuthServer PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}
)

5 changes: 3 additions & 2 deletions AuthServer/include/Structures/AuthAccountInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
#define AUTH_ACCOUNTINFO_H

#include <cstdint>
#include "Macros.h"

namespace Auth
{
namespace Structures
{
#pragma pack(push, 1)
PACK_PUSH(1)
struct BasicAccountInfo
{
std::uint32_t accountId{};
Expand All @@ -29,7 +30,7 @@ namespace Auth
// commandHeader.option = player grade
// commandHeader.extra = login type
};
#pragma pack(pop)
PACK_POP()
}
}

Expand Down
6 changes: 3 additions & 3 deletions AuthServer/include/Structures/AuthChannels.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ namespace Auth
{
namespace Structures
{
#pragma pack(push, 1)
struct ChannelsInfo
PACK_PUSH(1)
struct ChannelsInfo
{
std::vector<std::uint32_t> channels{};

Expand All @@ -22,7 +22,7 @@ namespace Auth
}
}
};
#pragma pack(pop)
PACK_POP()
}
}

Expand Down
Loading