Jump to content

Search the Community

Showing results for tags 'worldwide'.



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

  1. I will add this to Enso but I decided to contribute the RSPS community as well. This is 100x better than ::Yell message also players would have ability to enable / disable the channel using. Player.java: [CODE] private boolean enabledChannels;[/CODE] [CODE]public boolean isEnabledChannels() { return enabledChannels; } public void setEnabledChannels(boolean enabledChannels) { this.enabledChannels = enabledChannels; } [/CODE] Add new file com.rs.game.content (PublicChannel.java) [CODE]package com.enso.game.player.content; import java.util.ArrayList; import com.enso.Configuration; import com.enso.game.player.Player; /** * * [MENTION=52317]auth[/MENTION]or Fuzen Seth * [MENTION=3199]Sin[/MENTION]ce 5.1.2014 * [MENTION=98951]infor[/MENTION]mation Represents a channel for players to message world-wide. */ public class PublicChannel { /** * Represents a single player. */ private Player player; /** * Represents the id of channel. */ private int channelId; /** * Users in the channel. */ private ArrayList<Player> channelUsers; /** * Constructs the channels. */ public PublicChannel() { } /** * Sends a channel message. */ public void sendMessage(String message) { if (message.startsWith("/")) { message.replaceFirst("/", "["+Configuration.CHANNEL_NAME+"]"); new ChannelMessage(message); } } /** * Selects a channel and adds a player in to it. * [MENTION=98951]infor[/MENTION]mation could be used upon login. */ public void selectChannel() { if (player.getCurrentFriendChat() != null) return; if (!player.isEnabledChannels()) for (int channels = 0; channels < 21; channels ++) { if (channelUsers.size() >= Configuration.MAX_CHANNEL_USERS) { setChannelId(channels++); } } } /** * Adds a player to the channel. */ public void add() { channelUsers.add(player); new ChannelMessage(""+player.getDisplayName()+" has joined to the channel "+getChannelId()+"."); } /** * Removes a player from the channel. */ public void remove() { channelUsers.remove(player); new ChannelMessage(""+player.getDisplayName()+" has left from the channel."); } /** * Gets a channel. * [MENTION=184045]return[/MENTION] */ public int getChannelId() { return channelId; } /** * Sets a channel and adds a player. * [MENTION=75098]Para[/MENTION]m channelId */ public void setChannelId(int channelId) { this.channelId = channelId; add(); } } [/CODE] Add this new file "ChannelMessage" [CODE]package com.enso.game.player.content; import com.enso.Configuration; import com.enso.game.World; import com.enso.game.player.Player; import com.enso.utils.Utils; /** * * [MENTION=52317]auth[/MENTION]or Fuzen Seth * [MENTION=3199]Sin[/MENTION]ce 5.1.2014 * [MENTION=98951]infor[/MENTION]mation Represents a single message world-wide. */ public class ChannelMessage { /** * Represents the single message. */ private String message; /** * The player. */ private Player player; /** * Adds a new channel message. * [MENTION=75098]Para[/MENTION]m message */ public ChannelMessage(String message) { for (Player p : World.getPlayers()) { p.getPackets().sendGameMessage(" " + Utils.formatPlayerNameForDisplay(player .getUsername()) + ": " + message + ".", true); } } } [/CODE] Settings.java [code] /** * Name of the channels. */ public static final String CHANNEL_NAME = "Enso Channel"; /** * Max amount of players in one channel. */ public static final int MAX_CHANNEL_USERS = 20;[/code] [B] Yes this needs more work but it's easy to finish I made the base for you.[/B] I won't give everything hehe :) How to use? Start a message with "/" and type in your message. If you're in a friends chat the game will detect it and won't send the message. You could make a setting for this part though. or simply change the starts with word.
  2. Ownage Worldwide I am in need of a development team for a 317 server *Info: I have ran 5 servers before (w/ no team) I am experienced with (not sooo much) coding and hosting I will try to work 24/7 with others The idea of this server started with Tyler and myself. He has no experience with coding so it was left up to me to fill in what I could. I have been through about 9 sources; I have had troubles with connecting, coding, etc. However, I have ran servers before. It has been a long time since I last ran one, so I need help; a team. I HAVE A NON DELTA SOURCE *Applications: So if you want to help us lift Ownage Worldwide off the ground, Sign up for a position or two Owner(s): srixs and tyler Server Coder(s): Open :confused: Open :confused: Hoster: sunny Client Coder(s): Open :eek: Open :| Website Caretakers: srixs and Tyler Graphics/GFX/Logos: Me | | V Name: Do you use MSN or Skype?: Email: What Your Applying For: Can you devote a good amount of time to this server?: How long have you done what you're applying for?: ++++++++++++++++++++++++++++++++++++++++++++++++ Thank you for reading this! Thank you very much!! I hope I get some replies to this. WE CAN DO THIS!
×