Player Guilds for POL097

Post your Custom Scripts or Packages.
Post Reply
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Player Guilds for POL097

Post by OldnGrey »

Here is my playerguilds package and packethook based on MontuZ distro version. It's in use at the moment on my shard and will require only minor mods to make it work with the distro.

It's here as-is, lifted directly from my shard. MontuZ headers and comments are still mostly intact giving him the credit.

A few notes to make it distro compliant:

* I don't use reports.inc so replace my logging lines with ones from the reports.inc distro utility. Either that or use the logging utility from the 096 distro like I do.
* My shard uses a separate expanded titling system which does the actual setting of title_guild on the player. See the GuildTitle function in this package for some notes on how I call that and the simple mod to let GuildTitle set the title directly.
* I have replaced the word "Enemy" with "Rival", just my choice as I don't have PvP on my shard.
* A lot of the functions have been broken out into an inc file so that I can use them in guildCreate.src where a non guild member can view existing guilds and their charters.
* There is one reference to client.inc, but that's only to set a colour.

I hesitate to publish my code as it is far from polished, but it might be of value to other players and is offered in exchange for all the good scripts I have downloaded over the years.
Attachments
Guilds.zip
Player Guilds for POL097
(27.34 KiB) Downloaded 389 times
User avatar
ncrsn
Grandmaster Poster
Posts: 255
Joined: Fri Feb 10, 2006 12:15 am

Post by ncrsn »

Wow, thanks!

Got it converted (and pruned) to fit our scriptbase and all seems to be fine. I have yet to test out how all this really works, but at least I got it compiled with no real problems! Switching from guildstone-package to this was quite easy, if only would there be no guilds already... looking into that issue now.

Edit: basically all I need to script is one big loop that scans through guilds and guilds' members and renames outdated cprops to modern ones. gm -> Master etc. Fast and fun.
Post Reply