OutdatedRealmTrack

Posts 121135 of 157 · Page 9 of 11
Quote Originally Posted by thekryptos View Post
Some socks proxies have authentication, I'm guessing nrelay's dev didn't add support for a username and password. They're also still SOCKS5 proxies.
Yes you're right. Some proxies do have a User/Pass authentication and KBK didn't add in a feature that supports this.

Quote Originally Posted by thekryptos View Post
This is why you shouldn't talk condescendingly on other people, you're the one that didn't know that SOCKS proxies did have the option for authentication and ultimately looked like a fool.
Correct again I guess. I didn't know that SOCKS proxies had a username/password authentication system, hence my confusion.
Quote Originally Posted by kiwi5 View Post
What do you mean a username and a password?
I don't really try to talk condescendingly on other people; I might sound a little harsh sometimes though. The only time I'd purposely do that would be to criticize the people who don't take their time to even attempt to solve their own problems. I'll keep an eye out for future posts.
Quote Originally Posted by patrikosa View Post
Hi, i have a proxy that i got from buying a VPN, its a SOCKS5 proxy but the thing is i have an username and password for the proxy so is there a way to import the authentication method into this script? Thanks for answering
You can try this, Make sure you install the agentkeepalive package:
Code:
npm install --save-dev agentkeepalive
proxy.config.js
Code:
var Agent = require("agentkeepalive");

var keepaliveAgent = new Agent({
    maxSockets: 100,
    keepA l i v e: true, //delete blank spaces
    maxFreeSockets: 10,
    keepAliveMsecs: 1000,
    timeout: 60000,
    keepAliveTimeout: 30000 // free socket keepalive for 30 seconds
});

var onProxyRes = function (proxyRes, req, res) {
    var key = 'www-authenticate';
    proxyRes.headers[key] = proxyRes.headers[key] && proxyRes.headers[key].split(',');
};

const PROXY_CONFIG = [
    {
        target: "https://localhost:12345",
        context: "/api",
        secure: false,
        changeOrigin: true,
        auth: "LOGIN:PASS", //Obviously you know what to do here
        loglevel: "debug",
        onProxyRes: onProxyRes,
        agent: keepaliveAgent
    }
];
module.exports = PROXY_CONFIG;
proxy.config.js file that can be passed to the cli, It is not the specific answer you are looking for but if you do a little research you can make it work, luck.
Damn, this looks way to sick and complicated hehehe....
Is there a way to stop it from tracking players above 10k fame? Or change the fame requirement to be tracked?



Not sure if anyone still needs but if you have SOCKS 5 proxies that have usernames and passwords just use this template in your acc-config.json.
Full credits go to 001. from page 2 of this very thread (I'm just a leech).

Code:
{
    "buildVersion": "X27.0.2",
	"localServer": {
        "enabled": false
    },
    "accounts": [
		{
            "alias": "#1",
            "guid": "rotmgemail@example.com",
            "password": "rotmgpassword",
            "serverPref": "USEast",
            "proxy": {
                "host": "12.34.56.78",
                "port": 10077,
                "type": 5,
                "userId": "proxyusername",
                "password": "proxypassword"
					 }
        },{
            "alias": "#2",
            "guid": "rotmgemail2@example.com",
            "password": "rotmgpassword2",
EDIT: I can confirm it works because I'm using it right now with no issues.
Quote Originally Posted by mmcph36 View Post
Is there a way to stop it from tracking players above 10k fame? Or change the fame requirement to be tracked?



Not sure if anyone still needs but if you have SOCKS 5 proxies that have usernames and passwords just use this template in your acc-config.json.
Full credits go to 001. from page 2 of this very thread (I'm just a leech).

Code:
{
    "buildVersion": "X27.0.2",
	"localServer": {
        "enabled": false
    },
    "accounts": [
		{
            "alias": "#1",
            "guid": "rotmgemail@example.com",
            "password": "rotmgpassword",
            "serverPref": "USEast",
            "proxy": {
                "host": "12.34.56.78",
                "port": 10077,
                "type": 5,
                "userId": "proxyusername",
                "password": "proxypassword"
					 }
        },{
            "alias": "#2",
            "guid": "rotmgemail2@example.com",
            "password": "rotmgpassword2",
EDIT: I can confirm it works because I'm using it right now with no issues.
To change the value from 10,000, edit realmtrack.ts at line 164

Code:
} else if (player.currentFame >= 10000) {
To stop it, set the value to precisely 8008135
I get this error message
[00:42:36 | Main Client] Connected to EUWest!
[00:42:36 | Main Client] Received failure 0: "server.update_client"
[00:42:36 | Main Client] Received failure 4: "X27.0.2"
[00:42:36 | Main Client] The connection to EUWest was closed.
[00:42:36 | TypeError] Cannot read property 'destroy' of undefined



Could anybody help me with this problem, i tried different accounts and reinstalled java, node js and gitbash.
Not sure what else to do.

Problem solved!
I should've looked a little bit more before creating this post, sorry.
I had to change my build in acc-config.json file.
I've made the d!scord bot and hostin it on H E R O K U but every time there is client update and i update the acc-config to the build it gives java problem, any help?
I tried to do everything according to the steps, but I keep getting errors after running "gulp" for the second time. Here's the log:
$ gulp
[17:53:59] Using gulpfile ~\Desktop\nrelay\gulpfile.js
[17:53:59] Starting 'default'...
[17:53:59] Starting 'clean'...
[17:53:59] Finished 'clean' after 52 ms
[17:53:59] Starting 'ts'...
src\core\client.ts(2,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay/ src/services/logger"' has no exported member 'Log'.
src\core\client.ts(3,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay/ src/networking/packet"' has no exported member 'Packet'.
src\core\client.ts(3,18): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay/ src/networking/packet"' has no exported member 'PacketType'.
src\core\client.ts(4,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay/ src/models/accinfo"' has no exported member 'IAccountInfo'.
src\core\client.ts(4,24): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay/ src/models/accinfo"' has no exported member 'IAccount'.
src\core\client.ts(4,34): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay/ src/models/accinfo"' has no exported member 'ICharacterInfo'.
src\core\client.ts(5,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay/ src/models/proxy"' has no exported member 'IProxy'.
src\core\client.ts(6,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay/ src/models/server"' has no exported member 'IServer'.
src\core\client.ts(22,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay /src/models/playerdata"' has no exported member 'IPlayerData'.
src\core\client.ts(25,31): error TS2307: Cannot find module './../core/plugin-ma nager'.
src\core\client.ts(27,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay /src/decorators/hook-packet"' has no exported member 'HookPacket'.
src\core\client.ts(41,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay /src/models/mapinfo"' has no exported member 'IMapInfo'.
src\core\client.ts(45,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay /src/services/pathfinding/node-update"' has no exported member 'INodeUpdate'.
src\core\client.ts(46,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay /src/services/pathfinding/point"' has no exported member 'IPoint'.
src\core\client.ts(49,10): error TS2305: Module '"C:/Users/Fabian/Desktop/nrelay /src/models/object"' has no exported member 'IObject'.
src\core\client.ts(634,9): error TS2322: Type 'number[]' is not assignable to ty pe 'Int8Array'.
Property 'BYTES_PER_ELEMENT' is missing in type 'number[]'.
src\core\client.ts(835,12): error TS2339: Property 'random1' does not exist on t ype 'HelloPacket'.
src\core\client.ts(836,12): error TS2339: Property 'random2' does not exist on t ype 'HelloPacket'.
src\core\client.ts(839,9): error TS2322: Type 'Int8Array' is not assignable to t ype 'number[]'.
Property 'push' is missing in type 'Int8Array'.
src\core\client.ts(957,27): error TS2339: Property 'reset' does not exist on typ e 'PacketIO'.
src\plugins\player-tracker.ts(1,73): error TS2307: Cannot find module './../core /plugin-module'.
src\plugins\player-tracker.ts(2,10): error TS2305: Module '"C:/Users/Fabian/Desk top/nrelay/src/models/playerdata"' has no exported member 'IPlayerData'.
src\plugins\player-tracker.ts(28,34): error TS7006: Parameter 'pd' implicitly ha s an 'any' type.
src\plugins\realmtrack.ts(1,88): error TS2307: Cannot find module './../core/plu gin-module'.
src\plugins\realmtrack.ts(5,10): error TS2305: Module '"C:/Users/Fabian/Desktop/ nrelay/src/models/playerdata"' has no exported member 'IPlayerData'.
src\plugins\realmtrack.ts(9,10): error TS2305: Module '"C:/Users/Fabian/Desktop/ nrelay/src/services/pathfinding/point"' has no exported member 'IPoint'.
src\plugins\realmtrack.ts(10,10): error TS2305: Module '"C:/Users/Fabian/Desktop /nrelay/src/services/pathfinding/heap-item"' has no exported member 'IHeapItem'.
src\plugins\realmtrack.ts(37,31): error TS7006: Parameter 'pd' implicitly has an 'any' type.
[17:54:03] TypeScript: 28 semantic errors
[17:54:03] TypeScript: emit succeeded (with errors)
[17:54:03] Finished 'ts' after 4.15 s
[17:54:03] Starting 'copy-files'...
[17:54:03] Finished 'copy-files' after 15 ms

Any help is much appreciated!
what do i do ended up with this

$ gulp
[19:50:21] Using gulpfile ~\Desktop\anyfolder\nrelay\gulpfile.js
[19:50:21] Starting 'default'...
[19:50:21] Starting 'clean'...
[19:50:21] Finished 'clean' after 39 ms
[19:50:21] Starting 'ts'...
src\core\client.ts(2,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/services/logger"' has no exported member 'Log'.
src\core\client.ts(3,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/networking/packet"' has no exported member 'Packet'.
src\core\client.ts(3,18): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/networking/packet"' has no exported member 'PacketType'.
src\core\client.ts(4,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/models/accinfo"' has no exported member 'IAccountInfo'.
src\core\client.ts(4,24): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/models/accinfo"' has no exported member 'IAccount'.
src\core\client.ts(4,34): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/models/accinfo"' has no exported member 'ICharacterInfo'.
src\core\client.ts(5,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/models/proxy"' has no exported member 'IProxy'.
src\core\client.ts(6,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/models/server"' has no exported member 'IServer'.
src\core\client.ts(22,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/models/playerdata"' has no exported member 'IPlayerData'.
src\core\client.ts(25,31): error TS2307: Cannot find module './../core/plugin-manager'.
src\core\client.ts(27,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/decorators/hook-packet"' has no exported member 'HookPacket'.
src\core\client.ts(41,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/models/mapinfo"' has no exported member 'IMapInfo'.
src\core\client.ts(45,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/services/pathfinding/node-update"' has no exported member 'INodeUpdate'.
src\core\client.ts(46,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/services/pathfinding/point"' has no exported member 'IPoint'.
src\core\client.ts(49,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/models/object"' has no exported member 'IObject'.
src\core\client.ts(634,9): error TS2322: Type 'number[]' is not assignable to type 'Int8Array'.
Property 'BYTES_PER_ELEMENT' is missing in type 'number[]'.
src\core\client.ts(835,12): error TS2339: Property 'random1' does not exist on type 'HelloPacket'.
src\core\client.ts(836,12): error TS2339: Property 'random2' does not exist on type 'HelloPacket'.
src\core\client.ts(839,9): error TS2322: Type 'Int8Array' is not assignable to type 'number[]'.
Property 'push' is missing in type 'Int8Array'.
src\core\client.ts(957,27): error TS2339: Property 'reset' does not exist on type 'PacketIO'.
src\plugins\player-tracker.ts(1,73): error TS2307: Cannot find module './../core/plugin-module'.
src\plugins\player-tracker.ts(2,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/models/playerdata"' has no exported member 'IPlayerData'.
src\plugins\player-tracker.ts(28,34): error TS7006: Parameter 'pd' implicitly has an 'any' type.
src\plugins\realmtrack.ts(1,88): error TS2307: Cannot find module './../core/plugin-module'.
src\plugins\realmtrack.ts(5,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/models/playerdata"' has no exported member 'IPlayerData'.
src\plugins\realmtrack.ts(9,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/services/pathfinding/point"' has no exported member 'IPoint'.
src\plugins\realmtrack.ts(10,10): error TS2305: Module '"C:/Users/guyo0/Desktop/anyfolder/nrelay/src/services/pathfinding/heap-item"' has no exported member 'IHeapItem'.
src\plugins\realmtrack.ts(37,31): error TS7006: Parameter 'pd' implicitly has an 'any' type.
[19:50:25] TypeScript: 28 semantic errors
[19:50:25] TypeScript: emit succeeded (with errors)
[19:50:25] Finished 'ts' after 3.74 s
[19:50:25] Starting 'copy-files'...
[19:50:25] Finished 'copy-files' after 22 ms
[19:50:25] Finished 'default' after 3.81 s

please help
Quote Originally Posted by guy13456 View Post
what do i do ended up with this
...
please help
Quote Originally Posted by Fabi9602 View Post
I tried to do everything according to the steps, but I keep getting errors after running "gulp" for the second time. Here's the log:
...
Any help is much appreciated!
from the looks of it it looks like a nrelay update conflicting with the provided client.ts, try not using the provided client.ts and enabling pathfinding on each accounts in acc-config.json. that might not guarantee a working plugin though should there be an update, in which case you have to update the source yourself, haven't really touched anything prod-related in a while and don't plan on doing so
Would it also be possible to somehow download an older version of nrelay?
Quote Originally Posted by Fabi9602 View Post
Would it also be possible to somehow download an older version of nrelay?
you can always fetch older commits (granted nrelay didn't get a new repo)
myPlayerTrackerInstance.trackAll();
Anyone know how to add realm tracking into the tracker, i need this for conductors/Realm slayers
Posts 121135 of 157 · Page 9 of 11
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?