[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Clan Roster
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Clan Roster

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Sun 28 Mar 2004 07:16 AM (UTC)
Message
I've heard a lot about clan rosters, but I've never seen a snippet for one. Can someone please either guide me to a snippet, or tell the best and most efficient way to keep a clan roster. (meaning that should you keep the names in a clan.roster file or something like that)

Thanks a bunch.

~Nick Cash
http://www.nick-cash.com
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Reply #1 on Wed 31 Mar 2004 12:04 AM (UTC)
Message
No tips?

~Nick Cash
http://www.nick-cash.com
[Go to top] top

Posted by Meerclar   USA  (733 posts)  [Biography] bio
Date Reply #2 on Wed 31 Mar 2004 01:25 AM (UTC)
Message
Easiest way is probly to write a function using grep to cycle thru the pfiles and look for the desired clan.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Reply #3 on Wed 31 Mar 2004 01:45 AM (UTC)
Message
Got an example of that?

~Nick Cash
http://www.nick-cash.com
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Reply #4 on Wed 31 Mar 2004 02:59 AM (UTC)
Message
A really easy, though not very effeicent way would be to just have a clan field called roster or something, and add/remove people accordingly. A fair amount of places to edit, but that would do it.

Another way is using samson's pfiles code, you could modify it fairly easily to read in clan only to generate the files, but it has some lasg associated with reading alot of files.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
[Go to top] top

Posted by BassPlayer   (1 post)  [Biography] bio
Date Reply #5 on Sat 24 Apr 2004 06:05 AM (UTC)
Message
Ask and ye shall receive.

About:
Roster is a PHP/mySQL application that manages a team's roster, chain of command and battles. It manages awards, ranks, units, bio infomation, statistics, and much more for each member of your team. It has a protected administrative interface with an extensible permission system for delegation of tasks, and also supports the management and scheduling of battles and multi-battles via the Battle Center. Roster fully supports the tracking NetBattleTech league battles and can be configured to support a subset of battle properties for other leagues or just ad-hoc matches. Its Battle Center will also track tactical and statistical data for your opponents and maps. The look and feel of almost all aspects can be changed via a CSS file and Smarty templates.


http://www.angmar.com
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Reply #6 on Sat 24 Apr 2004 06:27 AM (UTC)
Message
Looks nifty. I'll see if I can adapt it to me needs. I was actually lookin for a mud side way to do it, but we'll see what happens.

~Nick Cash
http://www.nick-cash.com
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Reply #7 on Sat 24 Apr 2004 04:45 PM (UTC)
Message
There is a mud side solution. Sadiq once had a roster snippet on his pages. It would appear though that my archive of his stuff does not contain that by itself, but we used it in AFKMud so you could snag it from clans.c there if you want.

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Reply #8 on Sat 24 Apr 2004 07:49 PM (UTC)
Message
Thanks Samson.

~Nick Cash
http://www.nick-cash.com
[Go to top] top

Posted by Rash   United Kingdom  (56 posts)  [Biography] bio
Date Reply #9 on Tue 04 May 2004 05:30 PM (UTC)
Message
I have a Clan Roster I found floating around on the net, I would post it here but I'm not sure of the author's rule's.

I'v posted the header only here but I'v setup a tempoary link to it if your intrested at http://lros.co.uk/croster.txt

/* RELIGION / CLAN ROSTER FUNCTION

By Nebseni of Clandestine MUD (clandestine.mudnet.net:9476)

If you use this function please credit me appropriately.
(comment in your 'help roster' preferred.) It would be nice
if you emailed me (aqua@compuserve.com) to let me know you're using it.
We coders need our egos inflated frequently.

To view the 'roster' function in action, visit
clandestine.mudnet.net:9476 or
rud.mudnet.net:1701

Anyway I'v not acutally looked at it in depth it might be useful to you.
[Go to top] top

Posted by Zhamel   USA  (67 posts)  [Biography] bio
Date Reply #10 on Tue 04 May 2004 10:50 PM (UTC)
Message
I have a roster snippet I found somewhere long ago...

If you want you can use it, I have it stored at www.minenotyours.com/members2.txt
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,044 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]