Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- XXXXXXXXXXXX( Grumbo'z Guild Warz System™ )XXXXXXXXXXXXX
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- XXXX/ THIS IS A .LUA FILE NOT A C++ FILE. \XXXX
- XXXX| THIS IS FOR TRINITY/ELUNA ONLY |XXXX
- XXXX| install in your lua script folder |XXXX
- XXXX\ DO NOT ATTEMPT TO COMPILE /XXXX
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- XXXXXXXXXXXXXXXX( Eluna Driven System )XXXXXXXXXXXXXXXXX
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- ALL commands for Eluna version are only accessible in guild chat now.
- just type /g commands for a list of commands. make sure youre in guild chat and just type
- your command.
- this system will allow guildmasters to buy a map/area
- when map/area is purchased a flag ally/horde will spawn
- at the purchase xyz. the guild master can also sell map/area
- when in map/area.
- the guildmaster purchase up to 10 pigs per map/area.
- each pig will pay guildmembers 10g when they are online
- per half hour. each pig is worth 1 custom item.
- pigs will increase the value of sell price of map/area.
- the guildmembers can teleport to each location that is owned
- by there guild by typing .gtele ##.(## = location entry id of sql zone table)
- xxxxxxxxxxxxxxxxxxx
- xxxxxxxxxxxxxxxxxxx
- you must bu in a guild and in guild chat channel
- guild member commands -- default system commands --
- commands list commands for Guild Warz System
- info will list information about the area you are in.
- list will list all locations owned buy your guild.
- the location id number is the number you use for .gtele
- tele #### teleports you to an area owned by your guild.
- you cannot use .gtele to teleport to enemy team guilds areas.
- use the locations id for ####.
- xxxxxxxxxxxxxxxxxxxx
- Guild Masters commands
- buy area used to purchase area for your guild if area is
- for sale. the basic area is worth 10 guild coins
- purchased at the custom starter gear vendor.
- sell area used to sell a guild area for price of land(10),
- price of building(5) and cost of pigs(1) per.
- buy house used to purchase 1 guild house per location.
- at your gps
- sell house used to sell guild house at a location.
- you must be next to the guild house for this
- to work.
- buy pig used to add a pig to a guild location for 1 guild
- coin per pig. you may have up to 10 pigs per area.
- sell pig added 11-25-2013 used to sell off 1 pig for coins.
- select/target 1 pig and use command.
- buy guard used to purchase up to 10 guards for a location.
- fire guard added 11-25-2013 used to remove a selected guard.
- select/target a guard and use command.
- guards are expendable and give 0 cash back.
- XXXXXXXXXXXXXXXXXXXXXX
- Guild Flag system
- -you must be in a guild to participate in this system.
- this system allows guilds from apposing team can invade another
- guilds area.
- -a guildmember or group of guildmembers can search a guilds area
- for there flag. click there flag to take there land--(currently it is
- an istant transfer) the owning guild members will recieve an announcement
- about the invasion.--(hopefuly i can add a timer so they have a chance to
- teleport to that flag and defend it). if you succeed in the invasion
- then that area will transfer ownership to the invading guild along with
- all pigs and building if any.
- -you must activate the pig pay system to benifit from the pig payz system.
- if you dont . you will still own those pigs but wont get the
- gold per half hour pay.
- you may notice some "double tapping" of flag despawn. this is due to
- issues with despawn method. i added checks for the flags. altho they get removed
- from go spawn table they stay in higher memory . so if the map instance goes idle
- or respawn timer expires then they will respawn. but if a server restart happens
- then they are removed from higher memory . now when a flag is spawned the :GetSpawnId
- is stored in the sql . flag transfer script will only work now if the flag you
- click has a spawnid == the spawnid in sql table.if you click a ghost flag then the
- :GetSpawnId() wont match the sql flag_id and get despawned.
- XXXXXXXXXXXXXXXXXXXXXXX
- Pig Payz system
- -this system allows guildmembers to earn 10gold per pig owned by
- there guild.
- -The guild Master must purchase guild pigs to benefit frompig payz.
- -for every pig in every area owned by your guild you will earn gold.
- if you own land with pigs but have not activated the pig system till
- later then you must sell the area then buy it back (no loss no gain)
- for the pigs to start paying out too. if your guild does not have
- any pigs then it will just tell you.
- by
- Grumbo/BlackWolf aka slp13at420 of ac-web
- guild_warz.commands table info
- COMMAND NAME =|:|= description
- guild = >> DO NOT CHANGE<< guild name default = SERVER
- commands = lists accessible commands default commands
- info_loc = player list location info default info
- list_loc = player list all locations info default list
- buy_loc = guildmaster buy a location default buy area
- buy_house = guildmaster buy a house default buy house
- buy_pig = guildmaster buy a pig default buy pig
- buy_guard = guildmaster buy a guard default buy guard
- sell_loc = guildmaster sell a location default sell area
- sell_house = guildmaster sell house must stand next to house for command to work default sell house
- sell_pig = guildmaster sell pig. must select/target a pig default sell pig
- sell_guard = guildmaster remove a guard. must select/target a guard. default fire guard
- version = shows guild warz system version default ver
- reset_loc = gamemaster reset location to default SERVER
- reset_house = gamemaster set location house count to 0
- reset_pig = gamemaster reset location pig count to 0
- reset_guard = gamemaster reset location guard count to 0
- respawn_flag = gamemaster spawn and bind a flag to a guild owned location. if owned by SERVER then it will return an error.
- details_loc = gamemaster list detailed location info
- load_table = gamemaster reload the guild warz table
- GM_admin = system value gammaster admin rank default = 5 admin
- GM_minimum = system value minimum required gammaster level needed to access the gamemaster commands default = 3
- GLD_lvl = system value minimum required guild level to access guildmaster commands default = 0 guildmaster
- currency system value item id of item used for guild warz currency default = 62006 guild coin
- loc_cost = system value price of a location default = 10
- house_cost = system value cost of a guild house default = 5
- pig_cost = system value cost of a guild pig default = 1
- guard_cost = system value cost of a guild guard default = 1
- pig_payz = systeem value amount in copper, members earn per half hour . default 100000
- Server = >>DO NOT CHANGE<< system value default = SYSTEM
- tele = player tele command default gtele
- flag_id = >>DO NOT CHANGE<< gamobject id of ally flag default = 187432
- house_id = >>DO NOT CHANGE<< system value gameobject id for guild house. default 191172
- pig_id = >>DO NOT CHANGE<< system value creature id of guild pig default 49000
- guard_id = >>DO NOT CHANGE<< system value creature id of ally guild guard default 49001
- gift_count = system value how many of the currency to give to guildmaster when they create a guild default 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement