Skip to content

Commit

Permalink
Update 'Try it out' section.
Browse files Browse the repository at this point in the history
  • Loading branch information
Flone-dnb committed May 26, 2023
1 parent 76509a5 commit f397201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ The usual workflow goes like this:

- Start the `server_monitor.exe`, it will start the `server.exe` and will restart it if it crashed (thus we should start `server_monitor.exe` instead of explicitly starting the `server.exe`).
- After `server_monitor.exe` was started, run `database_manager.exe` and type command `add-user *your name*` to add a new user (for example: `add-user john`), you will receive new user's password, copy it somewhere.
- Run `client.exe` (`server_monitor.exe` needs to be running), in order to login you need to enter server's IP and port. For local usage put `localhost` as IP. For port look for `server_config.ini` (that will be generated once the `server_monitor.exe` is started) (it's located in `%APPDATA%\FBugReporter\` on Windows and in `$XDG_CONFIG_HOME/FBugReporter/` on Linux/BSD/MacOS), look at `port_for_clients` line that will contain the port you need to use. Now login using the specified earlier name and the password you received, after this you will change the password and setup OTP. After everything is done you will see received reports.
- To generate new reports, open Godot project with FBugReporter integrated (build version from `releases` already has a project with FBugReporter integrated) and send a report (while `server_monitor.exe` is running). You can then see new reports in `client.exe` (if you don't see new reports, use `Refresh Report List` button).
- Run `client.exe` (`server_monitor.exe` needs to be running), in order to login you need to enter server's IP and port. For local usage put `localhost` as IP. For port look for `server_config.ini` (that will be generated once the `server_monitor.exe` is started) (it's located in `%APPDATA%\FBugReporter\`), look at `port_for_clients` line that will contain the port you need to use. Now login using the specified earlier name and the password you received, after this you will change the password and setup OTP. After everything is done you will see received reports.
- To generate new reports, open Godot project with FBugReporter integrated (build version from `releases` already has a project with FBugReporter integrated), open the file `godot_project/scenes/reporter.gd` and inside of the function `func _ready()` find a line `reporter.setup_report_receiver("Server", "127.0.0.1:50123", "")`. You now need to replace `50123` with the port for reporters (see `server_config.ini` again). Now start the game (scene `reporter.tscn`), fill the report information and send the report (while `server_monitor.exe` is running). You can then see new reports in `client.exe` (if you don't see new reports, use `Refresh Report List` button) while `server_monitor.exe` is running.

# Attachments

Expand Down

0 comments on commit f397201

Please sign in to comment.