Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Clan Roster

Clan Roster

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


Posted by Nick Cash   USA  (626 posts)  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
Top

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

~Nick Cash
http://www.nick-cash.com
Top

Posted by Meerclar   USA  (733 posts)  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
Top

Posted by Nick Cash   USA  (626 posts)  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
Top

Posted by Greven   Canada  (835 posts)  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
Top

Posted by BassPlayer   (1 post)  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
Top

Posted by Nick Cash   USA  (626 posts)  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
Top

Posted by Samson   USA  (683 posts)  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.
Top

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

~Nick Cash
http://www.nick-cash.com
Top

Posted by Rash   United Kingdom  (56 posts)  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.
Top

Posted by Zhamel   USA  (67 posts)  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
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.


31,772 views.

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

Go to topic:           Search the forum


[Go to top] top

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