Author Topic: Remote Memberlist  (Read 3503 times)

Well, I had this silly, silly idea that I could perhaps access a Blockland forums topic, read the first post, and find a member list of a certain format. Then I could (in theory) read through this list, creating a local copy of it, when the server is opened or a manual refresh is called, creating a remote memberlist that can be used by any clan.

So, I needed a topic to test, and I'd also like feedback on the idea. This is that topic, and if you have any thoughts about this, or ideas, or if you're Badspot and you'd like me not to make this because of some issue you'd have with a script accessing the forums, post away.

Member List
  • S 9144 Spock - Eventer
  • S 10716 Amade - Scripter
  • S 1662 Wizzeh - Builder
  • 5173 Placid - Builder
  • 3683 Lilboarder - Builder
  • 5973 Absolution - Modeller
  • 1726 Psycho - Eventer
  • 8074 Solid - Builder
  • 2041 Fungusamongus - Eventer
  • A 2035 Truce - Scripter
  • 5340 Rocketttdog - Builder
  • 8470 Bob & Rob - Scripter
  • 5673 Angear - Eventer
  • 8797 AGlassOfMilk - Scripter
  • 4519 Anybody - Modeller
  • A 4332 Clockturn - Scripter

This is the list from The Craftsmen's clan topic.[/shamelessplug]


Note: These names are selected at random basically from who was around at the time I thought of this, and S/A status does not have any notable inflection on my opinions of the people in general. For example, I would never trust Monty with admin status as much as I love him.


Upd00t: (6:05am lolnocturnal)
I have it working. As of right now, it will take that list up there, and add everyone on it to a local list (except Mr. I am invalid, because -2 isn't a real BL_ID!)
And right now, it doesn't do anything else! Except this:

Yes, I'm just executing the .cs from my config folder, sue me.
« Last Edit: August 23, 2009, 08:18:54 PM by M »


For Craftsmen?
For any clan that would use it, really. And I have almost already got the hard part done... :3

I have now managed to extract the list from that post, and convert it into a field-separated string. Now the easy stuff begins! Just gotta parse that string into a list, then make a few functions based on it.
« Last Edit: August 23, 2009, 03:15:18 PM by M »

Tom

I would have it fetch the wireless version so there less to download and sort through.

http://forum.blockland.us/index.php?topic=81082.0;wap2



I would have it fetch the wireless version so there less to download and sort through.

http://forum.blockland.us/index.php?topic=81082.0;wap2



Unfortunately, the wireless version doesn't have any separators on the list (take a look; it outputs "S 4332 ClockturnA 159 Monty3098 NickelA 2037 Technoscubed5173 PlacidS 6380 Sandvich" and has nothing between them in source) so I wouldn't be able to split that without adding something to the list itself.

I don't quite get the benefit of a "remote memberlist"?

I'm hoping clan management will be moved over to RTB when we get the Clan Manager going so this might become redundant, but that won't be for a while.

Lol, you went crazy about this idea on Tech's server. Good luck with it.

I don't quite get the benefit of a "remote memberlist"?

I'm hoping clan management will be moved over to RTB when we get the Clan Manager going so this might become redundant, but that won't be for a while.
Well, some clans want to have a certain effect applied to their tags, or I could add other functionality for that.
An example; if the user is on the clan member list, and they have the appropriate tag on, it will set the tag to be green, or if they're not on the list, make it red - or maybe automatically add that user to a blacklist, or even ban them (all only if the list has been constructed).
You could also set a variable ($Server::Clan?) and if that's true, it will use this script's clan list instead of your usual auto admin list.

This is all in theory; to be honest I more did it to see if I could and apparently I can. If it becomes redundant later, I'm in full support of your system, although there is the point that some people don't want to use RTB for whatever reason, so I suppose they could use this.

I don't quite get the benefit of a "remote memberlist"?

I'm hoping clan management will be moved over to RTB when we get the Clan Manager going so this might become redundant, but that won't be for a while.
So in the mean time we have this, plus it said on the RTB topic that it will take months to complete so...

>.>

First post updated  :cookieMonster:
Upd00t: (6:05am lolnocturnal)
I have it working. As of right now, it will take that list up there, and add everyone on it to a local list (except Mr. I am invalid, because -2 isn't a real BL_ID!)
And right now, it doesn't do anything else! Except this:

Yes, I'm just executing the .cs from my config folder, sue me.


I'd like it if you adapted this to work with Amade's craftmods. They are based off of a Memberlist.txt, I suppose you could adapt it?

I'd like it if you adapted this to work with Amade's craftmods. They are based off of a Memberlist.txt, I suppose you could adapt it?
Or you could get off your ass and help amade fix it :D


Well, having discovered an error with getWords() which perplexed me as I accidentally entered -4 instead of -3 somewhere and produced something along the lines of "getWords(%line,2,-1);" - it now works and has a few new things. Of course I can't test them in singleplayer, so time to bug Craftsmen members. Ciao!