Jump to content

Search the Community

Showing results for tags 'guilds'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 4 results

  1. [CENTER] [IMG]http://puu.sh/5TXGE/43e6d3cfff.png[/IMG] [URL=http://www.guildsofveldahar.com/cachelibrary/Client.jar][IMG]http://puu.sh/5TXtd/030ba065e3.png[/IMG][/URL][URL=http://guildsofveldahar.com/loader/Guilds of Veldahar.jar][IMG]http://puu.sh/5TW5B/c1e52ca77f.png[/IMG][/URL][URL=http://www.guildsofveldahar.com/landing/webclient.php][IMG]http://puu.sh/5TWKy/f085f3863d.png[/IMG][/URL][URL=http://guildsofveldahar.com/highscores/index.php][IMG]http://puu.sh/5TW5G/9a6b63c464.png[/IMG][/URL][URL=http://guildsofveldahar.com/landing/][IMG]http://puu.sh/5TWKw/5714cfd11a.png[/IMG][/URL][URL=http://www.guildsofveldahar.com/community/forum.php?tabid=11][IMG]http://puu.sh/5TXt9/469bcd6159.png[/IMG][/URL] [IMG]http://puu.sh/5U1pu/a0d0c50020.png[/IMG] [IMG]http://puu.sh/5UatL/aae93c67a3.gif[/IMG] [IMG]http://puu.sh/5U2B5/8528f5bbe0.png[/IMG] [IMG]http://puu.sh/5U6IN/88c908172a.gif[/IMG] [IMG]http://puu.sh/5U4nb/c61889c37d.png[/IMG] [IMG]http://puu.sh/5UbNm/d3a369b7e5.gif[/IMG] [img]http://puu.sh/5U2B5/8528f5bbe0.png[/img] [img]http://puu.sh/5U6IN/88c908172a.gif[/img] [img]http://puu.sh/5U4nb/c61889c37d.png[/img] [img]http://puu.sh/5UbNm/d3a369b7e5.gif[/img] [img]http://puu.sh/4QFwh/f87a1fc67f.png[/img] [img]http://puu.sh/4QFwU/94552a9f57.png[/img] [img]http://puu.sh/7LQBj/331dd828ea.png[/img] [img]http://puu.sh/7PioV/e2619f7956.png[/img] [img]http://puu.sh/7Pits/4af31f8b70.png[/img] [img]http://puu.sh/7LQFm/0f4c9f7f59.png[/img] [img]http://puu.sh/7HTbl/ffe62d3a2f.png[/img] [img]http://puu.sh/7DZLq/162567e132.png[/img] [img]http://puu.sh/7oWdT/16c85e6f23.png[/img] [img]http://puu.sh/7zboK/4efbe01188.png[/img] [img]http://puu.sh/7nqKl/ed89a6a801.png[/img] [img]http://puu.sh/7nqMn/afbbb596d7.png[/img] [img]http://puu.sh/7nqLE/fe02a09920.png[/img] [img]http://puu.sh/7nqKR/c297095f09.png[/img] [img]http://puu.sh/7lF6N/c59db28196.png[/img] [img]http://puu.sh/6YG5p/1b36178cee.png[/img] [img]http://puu.sh/7056z/26570cf067.png[/img] [img]http://puu.sh/6J0eT/013a6439ee.png[/img] [img]http://puu.sh/69v3a/df87354cd5.png[/img] [img]http://puu.sh/5r3rj/7c7eba0429.png[/img] [img]http://puu.sh/5h9bZ/ee8ecc1799.png[/img] [img]http://puu.sh/4W15z/cf46fb1b8b.png[/img] [img]http://puu.sh/4T3SI/a8cd0e7077.png[/img] [img]http://puu.sh/4AIQJ/38adad2e97.png[/img] [img]http://puu.sh/4LH6Y/5fbdf3e744.png[/img] [img]http://puu.sh/4AIVo/08e87ad755.png[/img] [img]http://puu.sh/4QcKr/a401206d61.png[/img] [/center]
  2. Dave

    Guilds

    [CODE]package server.content.guilds; import server.content.guilds.requirements.*; import server.model.players.Client; /** * Ranging Guild Class * @author Melody * */ public class RangingGuild { public static final String GUILD_NAME = "Ranging Guild"; public static final String GUILD_STAT = "Range"; public static void checkRequirements(Client c) { if (c.playerLevel[4] >= Levels.RANGING_REQUIREMENT) { c.sendMessage(""+GUILD_STAT+" 0o0o0o0o0o0o00o0o0o0o0o."); } else { if (c.playerLevel[4] < Levels.RANGING_REQUIREMENT) { c.sendMessage("You need atleast "+Levels.RANGING_REQUIREMENT+" "+GUILD_STAT+" to enter the "+GUILD_NAME+"."); return; } } } } [/CODE] [CODE]package server.content.guilds; import server.content.guilds.requirements.*; import server.model.players.Client; /** * Warriors Guild Class * @Author Melody */ public class WarriorsGuild { public static final String GUILD_NAME = "Warriors Guild"; public static final String GUILD_STAT1 = "Attack"; public static final String GUILD_STAT2 = "Strength"; public static void checkRequirements(Client c) { if (c.playerLevel[0] + c.playerLevel[2] >= Levels.WARRIOR_REQUIREMENT1 || c.playerLevel[0] >= Levels.WARRIOR_REQUIREMENT2 || c.playerLevel[2] >= Levels.WARRIOR_REQUIREMENT2) { c.sendMessage(""+GUILD_STAT1+" & "+GUILD_STAT2+" = "+Levels.WARRIOR_REQUIREMENT1+" or more, or you have a 99 in "+GUILD_STAT1+" or "+GUILD_STAT2+"."); } else { if (c.playerLevel[0] + c.playerLevel[2] < Levels.WARRIOR_REQUIREMENT1 || c.playerLevel[0] < Levels.WARRIOR_REQUIREMENT2 || c.playerLevel[2] < Levels.WARRIOR_REQUIREMENT2) { c.sendMessage("Your Attack & Strength must add up to "+Levels.WARRIOR_REQUIREMENT1+" or alternatively you must have "); c.sendMessage(""+Levels.WARRIOR_REQUIREMENT2+" in either "+GUILD_STAT1+" or "+GUILD_STAT2+" to enter the "+GUILD_NAME+"."); return; } } } }[/CODE] [CODE]package server.content.guilds.requirements; public class Equipment { /** * Handles all equipment for guilds * @author Melody * */ public static final int COOKING_GUILD_EQUIPMENT1 = 1949; public static final int COOKING_GUILD_EQUIPMENT2 = 9801; public static final int COOKING_GUILD_EQUIPMENT3 = 9802; } [/CODE] [CODE]package server.content.guilds.requirements; /** * all levels for guilds in here * @author Melody * */ public class Levels { public static int COOKING_REQUIREMENT = 32; public static int MAGIC_REQUIREMENT = 66; public static int FISHING_REQUIREMENT = 68; public static int CRAFTING_REQUIREMENT = 40; public static int MONASTERY_REQUIREMENT = 31; public static int MINING_REQUIREMENT = 60; public static int RANGING_REQUIREMENT = 40; /** * Warriors Guild */ public static int WARRIOR_REQUIREMENT1 = 130; public static int WARRIOR_REQUIREMENT2 = 99; } [/CODE] [CODE]package server.content.guilds.requirements; public class QuestRequirements { public static int CHAMPION_REQUIREMENT = 33; } [/CODE] Action Handler: [CODE] case 2712: CookingGuild.checkRequirements(c); break; case 1600: case 1601: MagicGuild.checkRequirements(c); break; case 2514: RangingGuild.checkRequirements(c); break; case 2025: FishingGuild.checkRequirements(c); break; case 2647: CraftingGuild.checkRequirements(c); break; case 2641: Monastery.checkRequirements(c); break; case 15653: WarriorsGuild.checkRequirements(c); break; case 1805: ChampionsGuild.checkRequirements(c); break;[/CODE] imports: [CODE]import server.content.guilds.* [/CODE] [CODE]package server.content.guilds; import server.content.magic.teleports.Teleporting; import server.model.players.Client; import server.util.Misc; import server.content.guilds.requirements.*; public class CookingGuild { public static final String GUILD_NAME = "Cooking Guild"; public static void checkRequirements(Client c) { if (c.playerLevel[7] > Levels.COOKING_REQUIREMENT) { c.sendMessage("It works Dave."); } else if (c.playerLevel[7] < Levels.COOKING_REQUIREMENT) { c.sendMessage("You need a cooking level of "+Levels.COOKING_REQUIREMENT+" & must be wearing a chef's hat"); c.sendMessage("to enter the "+GUILD_NAME+"."); } else { if (c.playerLevel[7] < Levels.COOKING_REQUIREMENT && c.playerEquipment[c.playerHat] == Equipment.COOKING_GUILD_EQUIPMENT1 || c.playerEquipment[c.playerHat] == Equipment.COOKING_GUILD_EQUIPMENT2 || c.playerEquipment[c.playerHat] == Equipment.COOKING_GUILD_EQUIPMENT3) { c.sendMessage("You need atleast "+Levels.COOKING_REQUIREMENT+" Cooking to enter the "+GUILD_NAME+"."); return; } } } } [/CODE] [CODE]package server.content.guilds; import server.content.guilds.requirements.*; import server.model.players.Client; /** * Champions Guild * @author Melody * */ public class ChampionsGuild { public static final String GUILD_NAME = "Champions Guild"; public static final String GUILD_STAT = "Quest Points"; public static int x = QuestRequirements.CHAMPION_REQUIREMENT; public static int y = Client.questPoints; public static int z = y - x; public static void checkRequirements(Client c) { if (c.questPoints >= QuestRequirements.CHAMPION_REQUIREMENT) { c.sendMessage(""+GUILD_STAT+"."); } else { if (c.questPoints < QuestRequirements.CHAMPION_REQUIREMENT) { c.sendMessage("You need "+QuestRequirements.CHAMPION_REQUIREMENT+" "+GUILD_STAT+", to enter the "+GUILD_NAME+","); c.sendMessage("You have "+c.questPoints+"/"+QuestRequirements.CHAMPION_REQUIREMENT+", you are "+z+" "+GUILD_STAT+" away from entering the guild. "); return; } } } }[/CODE] [CODE]package server.content.guilds; import server.content.guilds.requirements.*; import server.model.players.Client; /** * Crafting Guild Class * @author Melody * */ public class CraftingGuild { public static final String GUILD_NAME = "Crafting Guild"; public static final String GUILD_STAT = "Crafting"; public static void checkRequirements(Client c) { if (c.playerLevel[12] >= Levels.CRAFTING_REQUIREMENT) { c.sendMessage(""+GUILD_STAT+" 0o0o0o0o0o0o00o0o0o0o0o."); } else { if (c.playerLevel[12] < Levels.CRAFTING_REQUIREMENT) { c.sendMessage("You need atleast "+Levels.CRAFTING_REQUIREMENT+" "+GUILD_STAT+" to enter the "+GUILD_NAME+"."); return; } } } } [/CODE] [CODE]package server.content.guilds; import server.content.guilds.requirements.*; import server.model.players.Client; /** * Fishing Guild Class * @author Melody * */ public class FishingGuild { public static final String GUILD_NAME = "Fishing Guild"; public static final String GUILD_STAT = "Fishing"; public static void checkRequirements(Client c) { if (c.playerLevel[10] >= Levels.FISHING_REQUIREMENT) { c.sendMessage(""+GUILD_STAT+" 0o0o0o0o0o0o00o0o0o0o0o."); } else { if (c.playerLevel[10] < Levels.FISHING_REQUIREMENT) { c.sendMessage("You need atleast "+Levels.FISHING_REQUIREMENT+" "+GUILD_STAT+" to enter the "+GUILD_NAME+"."); return; } } } } [/CODE] [CODE]package server.content.guilds; import server.content.guilds.requirements.*; import server.model.players.Client; /** * Magic Guild Class * @Author Melody */ public class MagicGuild { public static final String GUILD_NAME = "Magic guild"; public static final String GUILD_STAT = "Magic"; public static void checkRequirements(Client c) { if (c.playerLevel[6] >= Levels.MAGIC_REQUIREMENT) { c.sendMessage(""+GUILD_STAT+" - It works Dave."); } else { if (c.playerLevel[6] < Levels.MAGIC_REQUIREMENT) { c.sendMessage("You need atleast "+Levels.MAGIC_REQUIREMENT+" "+GUILD_STAT+" to enter the "+GUILD_NAME+"."); return; } } } } [/CODE] [CODE]package server.content.guilds; import server.content.guilds.requirements.*; import server.model.players.Client; /** * Monastery Class * @Author Melody */ public class Monastery { public static final String GUILD_NAME = "Monastery"; public static final String GUILD_STAT = "Prayer"; public static void checkRequirements(Client c) { if (c.playerLevel[5] >= Levels.MONASTERY_REQUIREMENT) { c.sendMessage(""+GUILD_STAT+"."); } else { if (c.playerLevel[5] < Levels.MONASTERY_REQUIREMENT) { c.sendMessage("You need atleast "+Levels.MONASTERY_REQUIREMENT+" "+GUILD_STAT+" to enter the "+GUILD_NAME+"."); return; } } } }[/CODE] could be done much better (actually this is really bad in my honest opinion, but you know, correct me tell me it's a shitty way of doing it, say what you want, rushed them the day before I went into hospital (12 months ago), I've only just found them, not really checked them over.
  3. [CENTER][IMG]http://puu.sh/6ncvW/425e44de47.png[/IMG] My hopes with this project is that by the end I have a brand new overall theme which is apparent on the loading screen, login screen and in game. The entire old gameframe is going and will be taken place by the theme mentioned. The fixed layout of the client will stay the same for all of those who are familiar and only interested in fix screen. However, the resizable and fullscreen gameframe will be entirely custom designed. [IMG]http://puu.sh/6ncct/854e4003ba.png[/IMG][CENTER] [SPOILER=click to view] [IMG]http://puu.sh/6p9ZN/82e8744a81.png[/IMG] [IMG]http://puu.sh/6Z3Eg/22b2ee4ddd.png[/IMG] [IMG]http://puu.sh/6WcCj/4b7f06772e.png[/IMG] [IMG]http://puu.sh/6YEoE/87e09c5a7b.png[/IMG] [IMG]http://puu.sh/6YDAy/2a2faeea2c.png[/IMG] [IMG]http://puu.sh/6YDzL/7274ae3967.png[/IMG] [IMG]http://puu.sh/6YDBF/e47dc603ea.png[/IMG] [/SPOILER] [FONT=Verdana] [/FONT][/CENTER] [/CENTER]
  4. [I]Created for Matrix, which means this works on 667 & 718.[/I] [B]1. [/B]Create a new package to com.rs.game.content.guilds also don't forget to change imports to yours. [B]2. [/B]Now add to guilds folder the GuildsHandler which processes all action inside guild. [CODE]package com.mentios.game.player.content.cities.content.guilds; import com.mentios.game.WorldObject; import com.mentios.game.npc.NPC; import com.mentios.game.player.Player; /** * * [MENTION=52317]auth[/MENTION]or JazzyYaYaYa | Nexon | Fuzen Seth * */ public abstract class GuildsHandler { public GuildsHandler() { } /** * Current guild's name. */ private String currentGuild; /** * Handles objects inside the guild. * [MENTION=75098]Para[/MENTION]m player * [MENTION=75098]Para[/MENTION]m object * [MENTION=184045]return[/MENTION] */ public abstract boolean handleObject(Player player, WorldObject object); /** * Handles NPC action. * [MENTION=75098]Para[/MENTION]m player * [MENTION=75098]Para[/MENTION]m NPC * [MENTION=184045]return[/MENTION] */ public abstract boolean handleNPCAction(Player player, NPC npc); /** * Enters to the guild, including requirements check. * [MENTION=75098]Para[/MENTION]m player */ public abstract void enterGuild(Player player); /** * Leaves a guild. * [MENTION=75098]Para[/MENTION]m player * [MENTION=184045]return[/MENTION] */ public abstract boolean leaveGuild(Player player); /** * Get's the currentGuild name. * [MENTION=184045]return[/MENTION] */ public String getCurrentGuild() { return currentGuild; } /** * Sets the current guild name. * [MENTION=75098]Para[/MENTION]m currentGuild */ public void setCurrentGuild(String currentGuild) { this.currentGuild = currentGuild; } } [/CODE] [B]3. [/B]Add folder called "impl" inside the guilds folder. [B]4.[/B] You can easily create your own guild, here's my Mining Guild example. [CODE]package com.mentios.game.player.content.cities.content.guilds.impl; import com.mentios.game.WorldObject; import com.mentios.game.WorldTile; import com.mentios.game.npc.NPC; import com.mentios.game.player.Player; import com.mentios.game.player.Skills; import com.mentios.game.player.content.cities.content.guilds.GuildsHandler; /** * [MENTION=52317]auth[/MENTION]or JazzyYaYaYa | Nexon | Fuzen Seth */ public class MiningGuild extends GuildsHandler { public MiningGuild() { super(); setCurrentGuild("Mining guild"); } WorldTile inGuild = new WorldTile(1,1,1); WorldTile outsideGuild = new WorldTile(3021,3339,0); [MENTION=15855]Over[/MENTION]ride public boolean handleObject(Player player, WorldObject object) { switch (object.getId()) { case 2113: //Mining guild's ladders where you enter to the actual guild. if (player.getLocation() == new WorldTile(3021,3339,0) || player.getLocation() == new WorldTile (3019,3341,0) || player.getLocation() == new WorldTile(3017,3339,0) || player.getLocation() == new WorldTile(3019,3337,0)) enterGuild(player); return true; } return false; } [MENTION=15855]Over[/MENTION]ride public boolean handleNPCAction(Player player, NPC npc) { switch (npc.getId()) { case 3294: case 3295: player.getDialogueManager().startDialogue("SimpleMessage", "The dwarf is currently too busy to talk with you."); return true; } return false; } [MENTION=15855]Over[/MENTION]ride public void enterGuild(Player player) { player.getSkills(); if (player.getSkills().getLevel(Skills.MINING) <= 60) { player.setNextWorldTile(inGuild); } else { player.getDialogueManager().startDialogue("SimpleMessage", "You need a Mining level of 61 to enter "+getCurrentGuild()+"."); } } [MENTION=15855]Over[/MENTION]ride public boolean leaveGuild(Player player) { player.addStopDelay(3); player.sendMessage("You succesfully climb up the ladder and leave the "+getCurrentGuild()+"."); player.setNextWorldTile(outsideGuild); return false; } } [/CODE] [B] [B] Now you probably want to start creating your own guild, from scrath! Heres an example or new guild:[/B] [code]package com.mentios.game.player.content.cities.content.guilds.impl; import com.mentios.game.WorldObject; import com.mentios.game.npc.NPC; import com.mentios.game.player.Player; import com.mentios.game.player.content.cities.content.guilds.GuildsHandler; public class MyNewGuild extends GuildsHandler { public MyNewGuild() { super(); setCurrentGuild("MyNewGuild"); } [MENTION=15855]Over[/MENTION]ride public boolean handleObject(Player player, WorldObject object) { // TODO Auto-generated method stub return false; } [MENTION=15855]Over[/MENTION]ride public boolean handleNPCAction(Player player, NPC NPC) { // TODO Auto-generated method stub return false; } [MENTION=15855]Over[/MENTION]ride public void enterGuild(Player player) { // TODO Auto-generated method stub } [MENTION=15855]Over[/MENTION]ride public boolean leaveGuild(Player player) { // TODO Auto-generated method stub return false; } } [/code] Credits to Fuzen Seth.[/B] Feel free to improve, took me 10 minutes lol.
×