Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
fix compile errors
Browse files Browse the repository at this point in the history
and unused lib
  • Loading branch information
Roblox-Thot committed Jun 27, 2023
1 parent 52afc70 commit e1316c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion MicrosoftRBX-FPS/MicrosoftRBX-FPS/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <vector>
#include <fstream>
#include <thread>
#include <conio.h>
#include "Lib/SimpleIni.h"
#include "config.h"

Expand Down
11 changes: 6 additions & 5 deletions MicrosoftRBX-FPS/MicrosoftRBX-FPS/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <thread>
#include "Lib/SimpleIni.h"
#include "config.h"
#include "websocket.h"
//#include "websocket.h"

#define RST "\x1B[0m"
#define KRED "\x1B[31m"
Expand All @@ -27,8 +27,8 @@
#define BOLD(x) "\x1B[1m" x RST
#define UNDL(x) "\x1B[4m" x RST

//Remvove this comment to add the "option 4" websocket\\
#define websocket
//Remvove this comment to add the "option 4" websocket
//#define websocket

HWND robloxHWND;
bool isEnabled = false;
Expand Down Expand Up @@ -75,8 +75,9 @@ std::string GetKeyText(UCHAR virtualKey)
result = GetKeyNameTextA(scanCode << 16, szName, 128);
}
if (result == 0)
throw std::system_error(std::error_code(GetLastError(), std::system_category()),
"WinAPI Error occured.");
/*throw std::system_error(std::error_code(GetLastError(), std::system_category()),
"WinAPI Error occured.");*/
return GetKeyText(VK_END);
return szName;
}

Expand Down

0 comments on commit e1316c5

Please sign in to comment.