This will be a guide on how to setup the project.
Not all fortnite versions are currently supported.
-
- Download and install the latest version of the .NET 7.0 SDK.
- Verify the installation:
dotnet --version
-
- Install the following packages:
.NET desktop development
ASP.NET and web development
- Install the following packages:
-
- Download and install the latest version of PostgreSQL.
- During the installation, remember your username and password for the database.
-
Git:
- Download and install Git.
- Verify the installation:
git --version
- Open a terminal or command prompt.
- Navigate to the directory where you want to clone the repository.
- Clone the repository using the following command:
git clone --recursive https://github.com/chloefrfr/Larry.git
- Navigate to the
Larry
folder and create a new file calledConfig.json
.
- Must be in the same directory as the
Larry.csproj
file.
- Open the
Config.json
file in a ide or text editor. - Add the following data:
{
"ConnectionUrl": "Host=localhost;Port=5432;Database=dbtest;Username=postgres;Password=password;Pooling=true;MinPoolSize=1;MaxPoolSize=20;Timeout=600;",
"Token": "<Your_Discord_Bot_Token>",
"GuildId": "<Your_Discord_Server_ID>",
"ClientId": "<Your_Secure_Client_ID>",
"ClientSecret": "<Your_Secure_Client_Secret>",
"GameDirectory": "<Path_To_FortniteGame_Directory>",
"CurrentVersion": "<Fortnite_Build_Version>"
}
- Replace the values with your own.
- Token: Your Discord bot token.
- GuildId: Your Discord server ID.
- ClientId: Can be anything, but it must be unique and secure.
- ClientSecret:Can be anything, but it must be unique and secure.
- GameDirectory: Path to the Fortnite game directory (eg..
D:\\FortniteBuilds\\Fortnite 12.41\\FortniteGame\\Content\\Paks
). - CurrentVersion: The Fortnite build version (e.g.,
11.31
).
- Search
psql
in the start menu. - Login to your PostgreSQL server.
- Create a new database using the following command:
CREATE DATABASE dbtest;
- Exit
\q
- Open the project in Visual Studio 2022.
- Press
F5
to run the project.
If you have any issues or questions, just create a new issue here.