Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMacocian committed Aug 10, 2024
2 parents a71ae0e + 9ab8106 commit d5c3c79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
4 changes: 3 additions & 1 deletion GuildWarsPartySearch.Bot/config.example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ CHARACTER=""
# Map ID to travel to listen for party searches
MAP_ID="148"
# Composite district enum to use (e.g. 1 = AMERICAN) - check source code!
DISTRICT="1"
DISTRICT="1"
# Endpoint to send party searches to
WEBSOCKET_URL="ws://hostname/party-search/update"
2 changes: 1 addition & 1 deletion GuildWarsPartySearch.Bot/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ extern "C" {
#define FAILED_TO_CONNECT 5

struct BotConfiguration {
std::string web_socket_url = "ws://localhost/party-search/update";
std::string web_socket_url = "";
uint32_t map_id = 857; // Embark beach
District district = District::DISTRICT_AMERICAN;
uint32_t district_number = 0;
Expand Down
11 changes: 1 addition & 10 deletions GuildWarsPartySearch.Bot/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,14 @@ if [ ! -f $CLIENT_EXE ]; then
source build.sh
fi

echo $CLIENT_EXE
echo $EMAIL
echo $PASSWORD
echo $CHARACTER
echo $DISTRICT
echo $MAP_ID
echo $LOG_FILE
echo $BUILD_VERSION_FILE
echo $PLUGIN_EXE

RUN_CMD=$(cat <<EOF
"$CLIENT_EXE" \
-email "$EMAIL" \
-character "$CHARACTER" \
-district "$DISTRICT" \
-mapid "$MAP_ID" \
-password "$PASSWORD" \
-websocket-url "$WEBSOCKET_URL" \
-l "$LOG_FILE" \
-file-game-version "$BUILD_VERSION_FILE" \
"$PLUGIN_EXE"
Expand Down

0 comments on commit d5c3c79

Please sign in to comment.