Exclamation[NRELAY] Realm / player tracker plugin needed?

Posts 17 of 7 · Page 1 of 1
[NRELAY] Realm / player tracker plugin needed?
Hello i have my nrelay configurated but it seems like the player tracker plugin isnt working i need one so i can track where are player X
bazarr what realm server dungeon etc...
a guy from this forum was gonna pass me that plugin but he never said anything again lol
so i need your help guys ty in advance
Quote Originally Posted by ButterSG View Post
Did you follow this guide? https://www.mpgh.net/forum/showthread.php?t=1361972
If you did, please screenshot the problem you are getting.
Hello first of all thanks for trying to help me since no one cares ....

so i did everything exactly in the tutorial and its giving me this error:






No idea why i already tried following the tutorial twice and same error.
Quote Originally Posted by Vesperino View Post
Hello first of all thanks for trying to help me since no one cares ....

so i did everything exactly in the tutorial and its giving me this error:






No idea why i already tried following the tutorial twice and same error.
You are using the dev version of nrelay, which is currently on v7.6.1
The plugin you are using was built for the master version of nrelay, which is currently on v6.20.0

Because there was a major version increment, the plugin is not compatible with v7.x.x

You can either downgrade to v6.20.0, or wait for a new version of the plugin to be released.
Alternatively, if you would like to stay on version 7, and just need a tracker with basic functionality, you can use this extremely concise tracker which is written for v7.
Code:
import { Library, Logger } from './../core';
import { PlayerTracker } from '../stdlib/player-tracker';

const NAMES = [
  'Eendi',
  'Oshyu',
  'Saylt'
];

 @Library({ name: 'Mini Tracker', author: 'Killer Be Killed' })
class MiniTracker {
  constructor(tracker: PlayerTracker) {
    tracker.on('enter', (player) => {
      if (NAMES.indexOf(player.name) !== -1) {
        Logger.log('Mini Tracker', `${player.name} entered ${player.server}`);
      }
    });
  }
}
This tracker will simply print "Eendi entered Australia" when a player in the NAMES array enters the same server as the bot.
Quote Originally Posted by Killer Be Killed View Post
You are using the dev version of nrelay, which is currently on v7.6.1
The plugin you are using was built for the master version of nrelay, which is currently on v6.20.0

Because there was a major version increment, the plugin is not compatible with v7.x.x

You can either downgrade to v6.20.0, or wait for a new version of the plugin to be released.
Alternatively, if you would like to stay on version 7, and just need a tracker with basic functionality, you can use this extremely concise tracker which is written for v7.
Code:
import { Library, Logger } from './../core';
import { PlayerTracker } from '../stdlib/player-tracker';

const NAMES = [
  'Eendi',
  'Oshyu',
  'Saylt'
];

 @Library({ name: 'Mini Tracker', author: 'Killer Be Killed' })
class MiniTracker {
  constructor(tracker: PlayerTracker) {
    tracker.on('enter', (player) => {
      if (NAMES.indexOf(player.name) !== -1) {
        Logger.log('Mini Tracker', `${player.name} entered ${player.server}`);
      }
    });
  }
}
This tracker will simply print "Eendi entered Australia" when a player in the NAMES array enters the same server as the bot.
Well if the previous tracker is better than that one i can downgrade to v6.20.0 how do i do this?
also im having other problem right now lol




https://postimg.cc/image/4ngcjhm5d/


https://s8.postimg.cc/5cz4vump1/Screenshot_4.png









Quote Originally Posted by ButterSG View Post
It shouldn't be saying adding *******@gmail.com etc. It should be saying adding USW, USE, USNW, etc. Are you sure your guid and alias are correct in acc-config.json?
as far as i know it is correct
can you add me on dis cord please ? this is my 4th day trying to get this thing to work
Dwardoon#6291
Posts 17 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?