Jump to content

Search the Community

Showing results for tags 'barbarian'.



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 5 results

  1. Good to start off with. I realized I don't haz the inters so I can't make it. (im clueless of adding interfaces to a PI since never done) [CODE]package com.argon.minigame.impl.barbarianassault; import java.util.ArrayList; import java.util.List; import com.Server; import com.argon.minigame.impl.Roles; import com.argon.player.Client; import com.argon.player.Player; import com.argon.player.PlayerUpdate; import com.argon.player.plugin.impl.ColoredMessage.Colours; import com.argon.utility.WorldTile; import java.util.Collection; import java.util.Iterator; /** * * @author FUZENSETH * [MENTION=98951]infor[/MENTION]mation RS2 Barbarian assault minigame. */ public class BarbarianAssault { /** The team, in a list. */ private List<Client> team; /* The maxinum team members. **/ private static final int MAX_TEAM_MEMBERS = 5; private Role role; private static final int INVITING_INTERFACE = 12349; private static WorldTile START_AREA = new WorldTile(3200,3200); public BarbarianAssault(Client player) { this.team = new ArrayList<>(); team.add(player); player.sendMessage("You have created a team."); } /** Basically represents that assault difficulty level*/ private int level; public enum Role { ATTACKER(0), HEALER(1), DEFENDER(2), COLLECTOR(3); private int index; public int getIndex() { return index; } private Role(final int index) { this.index = index; } } /** Adds a new team member.*/ public void add(Client player) { if (team != null) { player.sendMessage("You are already in a team."); return; } if (team.size() > MAX_TEAM_MEMBERS - 1) { player.sendMessage("The team has already "+MAX_TEAM_MEMBERS+"."); return; } team.add(player); if (team.size() > 0) for (Client players : getTeam()) players.sendMessage(""+player.getUsername()+" has joined to the team.", Colours.ORANGE); } public void invite(Client player, Client target) { if (target == null) { player.sendMessage("Target unavailable."); return; } player.sendMessage("Sending request..."); target.getPlayerAssistant().sendInterface(MAX_TEAM_MEMBERS); } /** Removes a team member, if the boolean is true, the whole team will be destroyed. */ public void remove(Client player, boolean destroy) { if (destroy) { getTeam().stream().map((players) -> { players.sendMessage("The team was destroyed."); return players; }).map((_item) -> { team.removeAll((Collection<Client>) getTeam()); return _item; }).forEach((_item) -> { this.team = null; }); team.remove(player); } } /* Starts the minigame, when players goes to the ladder. */ public void start() { if (team.size() < MAX_TEAM_MEMBERS) { team.get(0).sendMessage(team.get(0), MAX_TEAM_MEMBERS+"You need to have all the "+" team members in your team. "); return; } for (Client teamPlayers : getTeam()) { teamPlayers.getPlayerAssistant().movePlayer(START_AREA, team.get(0).playerId * 2); teamPlayers.sendMessage("The fight starts in 15 seconds..."); } } /* Gets a team player by id.*/ public List<Player> getTeamPlayer(int id) { return (List<Player>) team.get(id); } /** returns the whole team, with Client class casted. * [MENTION=184045]return[/MENTION] t*/ public List<Client> getTeam() { return team; } /** Gets a role. */ public Role getRole() { return role; } /** Sets the role. */ public void setRole(Role role) { this.role = role; } } [/CODE]
  2. case 2282: //rope swing if (c.absX == 2551 && c.absY == 3554) { c.obsticle(751, 40, 0, -5, 2500, 2600, "You jumped the pit succesfully."); barbCourse = 1; } break; my obsticle method is public void obsticle(int Emote, int Req, int newX, int newY, final int agilityTimer, int amtEXP, String message) { if (playerLevel[16] >= Req) { agilityEmote = true; walk(newX, newY, Emote); sendMessage(message); getPA().addSkillXP(amtEXP, playerAgility); EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer c) { stopEmote(); c.stop(); } }, agilityTimer); } else { sendMessage("You Need " + Req + " Agility To Do This Obsticle"); } } I know it works because all the other parts of the obsticle work. Can someone help me?
  3. any got Advanced Barbarian Outpost course anims?
  4. any got 100% Advanced Barbarian Outpost course or know a tut
×