Plugin listAllPlayers

Other plugins for extending OpenKore's functionality. This forum is only for posting new plugins and commenting on existing plugins. For support, use the Support forum.

Moderator: Moderators

Message
Author
Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Plugin listAllPlayers

#1 Post by Kaspy »

This plugin is totally 4fun.
It is basically a loop using the packet 0368 (see below). This packet is typically used to get the nickname of the creator of a weapon/potion and display the item name, but nothing prevents you from using it to list the nick's all the player's server ^^

Here is the code of the plugin in my Pastebin (version 2)
Here is the code of the plugin in my Pastebin (version 1)
Small sample

Warning: For use on your server, you probably need to change the following line:

Code: Select all

$messageSender->sendRaw("68 03 $idSend");
For some reason, each server uses a different packet to capture the nick on the basis of ID. Those who know are:
  • 0094
  • 0193
  • 0368
  • 0369
You'll have to go testing one by one until the right. For example, if you want to test the 0094, just change this line to

Code: Select all

$messageSender->sendRaw("94 00 $idSend");
Last edited by Kaspy on 08 Jan 2013, 10:59, edited 1 time in total.
Image

Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Re: Plugin listAllPlayers

#2 Post by Kaspy »

I edited the plugin. It still is not perfect, but...
After spending some loop's without receiving a new nick that sent the packet, it logs out and back in 5 minutes.
That made could unlock, but makes much more delay...
Image

Post Reply