Author Topic: BLID/Name collection mod  (Read 1742 times)

My request is a mod that collects BL_IDS from each server you join, pairing them with a name or multiple names (if the name has changed since last time). This could be stored in a .txt format, maybe different files for different people. Perhaps a button in the player list that opens up GUI that lets you see their name history.

why do you need this

Okay this could be possible
maybe
40/60 chance that it isn't

40/60 chance that it isn't
Clientsiddedly how do you think you can see someones name and blid?

Just made this. Should work. I wasn't able to test the GameConnection::AutoAdminCheck package, but otherwise it all works. (Server Sidded), Working on a client sided mod
« Last Edit: June 18, 2014, 11:32:49 PM by RarwMuffinz »

I will gladly do this for you! Anyways, what features would you like it to have? I won't be home until tomorrow around noon, but I will have this done :).

Also,
Clientsiddedly how do you think you can see someones name and blid?

There are many ways to do this. Also, why are you creating tons of files in your script that you gave? There are many more efficient ways of doing what he wants than what you're doing.

Client and server sided is so easy to do. Easier than RarwMuffinz' method.

Client and server sided is so easy to do. Easier than RarwMuffinz' method.
You have to agree im becoming less handicapped. Just a wee bit.

Code: [Select]
package clientSideBL_IDCollector
{
function newPlayerListGui::update(%this, %cl, %name, %BL_ID, %trust, %admin, %score)
{
Parent::update(%this, %cl, %name, %BL_ID, %trust, %admin, %score);
exportBLID(%BL_ID, %name, %admin);
}
};
activatePackage(clientSideBL_IDCollector);

function exportBLID(%BL_ID, %name, %admin)
{
if(%BL_ID > 999999 || %BL_ID < 100)
return;

%fileName = "config/BL_IDExporter/data/" @ %BL_ID @ ".txt";
%fileWrite = %admin SPC "|" SPC %name;
%file = new FileObject();
%file.openForRead(%fileName);
%line = %file.readLine();
while(!%file.isEOF()) {
%line = %file.readLine(); }
if(%line !$= %fileWrite)
{
%file.openForAppend(%fileName);
%file.writeLine(%fileWrite);
        }
%file.close();
%file.delete();
}
« Last Edit: June 19, 2014, 03:05:16 AM by Aoki² »

I wouldn't return it if the file still isn't closed and deleted.
I think this is better for that code:
if(%line !$= %fileWrite)
{
   %file.openForAppend(%fileName);
   %file.writeLine(%fileWrite);
}

Alright, I think it's good
« Last Edit: June 19, 2014, 03:05:22 AM by Aoki² »

Using TomTom's online database and his scripts for looking up names/id's I've created this. It's a bit of a wip with a few bugs, but nearly ready for shipping.



Using TomTom's online database and his scripts for looking up names/id's I've created this. It's a bit of a wip with a few bugs, but nearly ready for shipping.



realise pls

Using TomTom's online database and his scripts for looking up names/id's I've created this. It's a bit of a wip with a few bugs, but nearly ready for shipping.

Awesome!
Could you make it so you can also search players by BLID?

Is anyone going to post a link to theirs? I would love it.


Nuclear Bear wants in c:

33750

i made one a while ago but the mod was lost and i cant find the entries anymore, i had atleast 300 ID's and 500 or more unique names.

I have a text file with about 9130 BL IDs and names. But it only stores the person's most recent name and updates it in the text file if you see them with a different name. They're stored in the below format.
Code: [Select]
NAME
ID

NAME
ID

NAME
ID

NAME
ID