PDA

View Full Version : [EPIC C++] GUILD SYSTEM v.5.0 - LAND OWNERSHIP AND MORE



tekkeryole
31-07-09, 11:50 PM
Guild System V.5.0


-----REPOST FROM AC-WEB-----
I'll keep this as up to date as possible on this forum
MysteriousSoul asked me to post this here, so I hope
The Community Enjoys the Contribution :)

Thank you all for supporting me in the last week while I fine tuned my script. I'm sad to say that this isn't the final release, but happy to say that I am making some real good progress in the Guild Script System itself.

We now have chat commands.

"#help"; // Lists commands
"#zone"; // shows available zone options
"#add"; // shows add commands(will have more in the future besides food)
"#mall"; // Malls for seperate Factions
"#event"; Event system
#event on for GM's
and
#event off for turning off events
#event takes player to event
Will soon have it set so that Guild Masters can set up Guild Events on their own
---------------------------------------
--UNTESTED FUNCTIONS - SHOULD WORK
--ONCE THEY ARE WORKING PROPERLY ILL
--START WORKING ON LAND COSTS / TAXES
"#buyland"; // added new query checks on buyland - if land is flagged forsale you may now purchase that land.
"#set forsale"; // sets land for sale
"#set notforsale"; // sets not for sale
------------------------------------

"#add item"; //not yet implemented! - Will add a Daily Guild Item that will be set through another #command
"#guild shop"; //not yet implemented! - will spawn Jotox's Automated Search Vendor NPC ID - I will not provide his script, I just really love his Vendor Script :)
"#buffme"; // Not Implemented - Gives player buffs - dont have correct functions for adding buffs properly yet


I finally finished laying out some more of the base structure for the script and the sql tables. This compiles for Aspire Hearthstone 3_1_0 branch, but has yet to be tested. I have some things to do tonight, so hopefully I'll get some feedback over night. One thing I would like to mention is that my gold removal function is somehow bugging out, so this issue will be addressed first. either with a fixed function or just removal of an item to be req. for purchasing land.


PASTEBIN - UPDATE - V.5.1 (http://pastebin.com/f72b0e33)



PASTEBIN - UPDATE - V.5.2 (http://pastebin.com/f15a44639)

renamed commands, listed all available options properlike. went over a few of the cmds, tidied up a small bit of code, added #mall, and #event system (will later integrate this into the guild system, for now they work but are simple.


PASTEBIN - UPDATE - V.5.3.1 (http://pastebin.com/f691679e9)

Updates include:
Removed gold costs (lands free for now if forsale or not owned)
Added a ZoneCheck system. Its a bit vague right now but should work enough for testing purposes. If zone is hostile you are flagged FFA if zone is PASSIVE removes FFA
Tidied up a bit more code, removed some functions.


PASTEBIN - UPDATE - V.5.4 (http://pastebin.com/f5471e3bf)

Updates include a fixed FFA Flagging system for on zone checks(still working out kinks)
Re Added the Guild System Announcers for on join Guild and On Guild Creation (minus item additions ofc since we use chat now)

I do plan on having these lands expire. I would ask for help, but I want to see how far I get on my own when it comes to the main plan of this. Guild Houses (as in player spawned houses) will be set up soon. After I get the base structure I'll go into more intracate detail with how each function handles itself. Guild masters of course will have the appropriate commands to completely control their land. This will have a huge effect on guilds and how they will interact. Obviously, as you can see, one guild can pretty much run all across every outdoor map and run a Monopoly on the land. Once all the land is bought in a certain way (remember the last few versions I talked vaguely about areas instead of zones?) Guild masters will then be able to control taxes on loot gained from players, the hostility factor will play a big part of this. Guilds will hopefully have alliances to help eachother until the need arises to Conquer more. I'll keep adding to this as often as I can. Thanks again guys.

##UPDATE##
Warning - large images.

Screenshots for V.5.2 -

http://tekkertronyc.servegame.org/gsys/helpcom.jpg
http://tekkertronyc.servegame.org/gsys/zonecom.jpg
http://tekkertronyc.servegame.org/gsys/zonestuff.jpg

Apple
01-08-09, 12:04 AM
nice work tekkeryole (http://www.mmopro.net/forums/members/tekkeryole.html) :) , +Rep

Onlykl
01-08-09, 04:55 AM
Nice +Rep

Zylo360
18-06-10, 05:04 PM
Damn Man thats some Good Skillz :)
Hay i was wonderin if you could if you could make a anti GM Power well PvP flagged lua/script
iv ben lookin for one ALL week :( could ya help me out? Thanks
again Good job :)