thomas-crane / nrelay

A console based modular client for Realm of the Mad God built with Node.js and TypeScript.
https://nrelay.net/
MIT License
40 stars 21 forks source link

Wrong Client Version? #41

Closed xElfenlied closed 4 years ago

xElfenlied commented 4 years ago

Version info

Plugins

Steps to reproduce

  1. Start nrelay

Result

The updater updates the client to a wrong version. Editing the the versions.json isn't enoght as expacted, it removes the "Client Token Error" message tho. The update from path command dosn't seem to work either... "nrelay --update-from= /home/pi/Desktop/client.swf" won't update the version. (it seems to do something and no error message from that command) ECONNRESET is a cut off from the server side right? so my guess it that it is a problem with the client version.

pi@raspberrypiDaniel:~/Desktop/nrelay/my-new-project $ nrelay run
[11:05:43 | Runtime]          Checking for updates...
[11:05:43 | Updater]          Checking for new versions...
[11:05:44 | ResourceManager]  Loaded 1620 tiles.
[11:05:47 | ResourceManager]  Loaded 12831 objects.
[11:05:47 | Runtime]          Mapped 99 packet ids.
[11:05:47 | Runtime]          Using build version "X31.4.6"
[11:05:47 | LibraryManager]   Loading plugins...
[11:05:47 | LibraryManager]   Loading HelloPlugin...
[11:05:47 | LibraryManager]   Loaded Hello Plugin by tcrane!
[11:05:47 | Runtime]          Loading Main Client...
[11:05:47 | AccountService]   Loading server list...
[11:05:47 | AccountService]   Cached server list loaded!
[11:05:47 | AccountService]   Loading character info...
[11:05:47 | AccountService]   Cached character info loaded!
[11:05:47 | Runtime]          Loaded Main Client!
[11:05:47 | Main Client]      Starting connection to EUNorth
[11:05:47 | Main Client]      Connected to EUNorth!
[11:05:47 | Main Client]      Received failure 0: "Client Token Error"
[11:05:47 | Main Client]      Received socket error: read ECONNRESET
[11:05:47 | Main Client]      The connection to EUNorth was closed.
[11:05:47 | Main Client]      Connecting in 1.9 seconds.
[11:05:49 | Main Client]      Connected to EUNorth!
[11:05:49 | Main Client]      Received failure 0: "Client Token Error"
[11:05:49 | Main Client]      The connection to EUNorth was closed.
[11:05:49 | Main Client]      Connecting in 1.9 seconds.
^C
pi@raspberrypiDaniel:~/Desktop/nrelay/my-new-project $ nrelay -v
CLI version:    v1.6.0
nrelay version: v8.7.2
pi@raspberrypiDaniel:~/Desktop/nrelay/my-new-project $ 
thomas-crane commented 4 years ago

Closed in 571694bc97f7ea755d0b72091f92c97a6d838d1c