Jump to content

Search the Community

Showing results for tags 'event'.



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

  1. P.S For the unprofessional post, GFX not done yet ! And Server is 1 Day Old!!! NAXOS RSPS BRAND NEW CUSTOM RSPS OPENED YESTERDAY!!! NEW UPDATES DAILY + INVITE EVENT + HIRING STAFF! We've got a lot of features such as: •Remodeled Custom Slayers master •Donator Shop items in Slayer Shop! (GRIND TO WIN) •Custom Weapons + Gears •Custom Maps! •Upgradable Items! •Friendly & Growing Community •Increased Drop Rates FOR NOW !!! LINK: CLICK HERE VIDEO BELOW:
  2. I need a background for it, but all the grunge stocks I found/had interest in weren't all that great, so what do you suggest I use as a background? Or would simple be better? [img]http://i.imgur.com/ugYyF2j.png[/img]
  3. Just as the title says, I've been searching everywhere for a solution to this, I've manually looked threw all the files but i haven't found anything. someone suggested swapping the cache with a different one, so i did it and that didn't work obviously, just gave me a huge string of errors. I've decided to come here after several hours of attempting to fix this simple issue. I am using arios 498 full public and the Ide im using is eclipse but i also have netbeans. please help asap any help with be greatly appreciated. Edit: here's the dynamic region where i am getting a simple error on line 264. [url]http://pastebin.com/Qvv99KnV[/url] ---- Here is the christmas event handler you asked for squashy, ty in advance. [url]http://pastebin.com/PkyM7zNS[/url]
  4. Ok, so for this task YOU will need to find the coordinates to one of the following places: - Balthazaar's Top Bonanza (D&D) - Two different Coordinates of Your House and another players House (Must be different Coords and correct!) Thanks, rewards will be received for first winning reply! 1st Prize : $40 2nd Prize : $22 3rd Prize : $10 4th-10th Prize : 10mil RSGP or 4mil RS07 Best of luck ! ~GodSend HQ P.O : 34887 Villas San Francisco, CA. 2014 GodSend® Ltd. All rights reserved.
  5. [CENTER][B]Cart remove the need for a prefix because this can apply to any revision![/B][/CENTER] I posted a similar version of this code on a thread on Rune-Server and wanted to see what you all think of the idea. This is a random event coordinator that fires random events for a random amount of players (between 1 and 10) based on global experience gain rather than bulky timers, etc, etc... the default experience threshold is a random number between 8 million and 20 million but the system supports custom ranges as well. I know that most, if not all bases have custom experience rates but that is fine because all you would have to do is multiply the experience threshold by the experience factor and you would most likely see realistic results. Here is some example code so you can get an idea of how this would be done: [URL="http://pastebin.com/RX5W1YT9"]RandEventCoordinator.java[/URL] I tested a more complete version of this on the Avarrocka server and it worked magnificently so I figured I would post an idea of how I got it done so you can all benefit from it. Sources: [URL="http://runescape.wikia.com/wiki/Random_events"]Random events - The RuneScape Wiki[/URL]
  6. i was hoping to make it to that every 5 mins or so a message would pop up saying type :asdyh87d or any random thing and then the first person to type it would recieve a prize but i cant for the life of me figure it out. any help would be appreciated thank you
  7. Frostmourne

    Plug.dj Event!

    Hey guys! For all gaming dubstep and shit go to my Plug.Dj! Enjoy! [URL="plug.dj/tyrannicalstep"]CLICK HERE[/URL]
  8. [url]http://www.youtube.com/watch?v=OyAlmcfVn8w[/url] watch the video on what the holiday is about and some info link in description if you wanna try it out, and btw post suggestions on what to add
  9. Hash

    Event system

    Well, if you feel yours isn't good enough, you may consider what I'll post. It's a very simple way that will add the events in a list and they'll be processed with iterating on server loading. You'll have to convert since it's not made for any source, so here it is: [code] /** * Represents an event in the server. * [MENTION=52317]auth[/MENTION]or guillaume * */ public abstract class Event { /** * The delay between each process of the event. */ private int delay; /** * When we use super(delay) to initiate the delay. * [MENTION=75098]Para[/MENTION]m delay */ protected Event(int delay) { this.delay = delay; } /** * The empty constructor to initiate the delay with super(delay). */ public Event() { } /** * Returns the delay. * @return delay. */ public int getDelay() { return delay; } /** * The action of the event when it's processed. */ public abstract void processEvent(); } [/code] [code] import java.util.ArrayList; import java.util.List; import java.util.concurrent.TimeUnit; import org.thematics.server.Executing; /** * Handles the events through cycles. * [MENTION=52317]auth[/MENTION]or guillaume * */ public class EventHandler { /** * The events list to be processed. */ private List<Event> events = new ArrayList<Event>(); /** * Adds an event to the list to be processed. * [MENTION=75098]Para[/MENTION]m event */ public void addEvent(Event event) { events.add(event); } /** * Processed an event by assigning it an executor and a fixed delay * between each process determined in event subclasses constructor parameter. */ public void process() { for (final Event event : events) { Executing.smallTasks.scheduleAtFixedRate(new Runnable() { [MENTION=15855]Over[/MENTION]ride public void run() { event.processEvent(); } }, 0, event.getDelay(), TimeUnit.MILLISECONDS); } } } [/code] Then where your server loads or world, you add this: [code] private EventHandler eventHandler; //methodThatLoads() { eventHandler = new EventHandler(); eventHandler.addEvent(new TestEvent()); eventHandler.process(); }[/code] Example of a class to create an event: [code] public class TestEvent extends Event { public TestEvent() { super(2000); // The delay in milliseconds } [MENTION=15855]Over[/MENTION]ride public void processEvent() { // The event that will be processed every x milliseconds. } }[/code]
  10. [url]http://www.youtube.com/watch?v=OyAlmcfVn8w[/url] Link to my server: allunitedrsps.webs.com watch the video on what it is
  11. [CENTER][IMG]http://moscotto.com/MoscottoBanner.png[/IMG] [URL="http://www.moscotto.com/"]Homepage[/URL] | [URL="http://www.moscotto.com/forum/"]Forums[/URL] | [URL="http://www.moscotto.com/webclient/"]Webclient[/URL] [/CENTER] The only server you will ever need. Fully economy, and with a good policies. Ran on a powerful Trenta-Host VPS, with fully stable and working forums, website, scripts, and more! Fully working lobby and more. We are current in need of staff, feel free to apply! :) Updated Daily! Current through April 9, 2013 the beta event will be on where all players get a free Moscotto Beta Cape when signing in! Claim yours today! [center][u][b]Update Log[/b][/u] [b]April 4, 2013[/b][/center] More Xteas Placed Cache now contains fixed item names Donator Shop has been fixed, yet not implemented. Vote Script Begins Implementation Staff Apps being reviewed. Webclient Fixed [center][b]April 3, 2013[/b][/center] Public Launch Re-Writing of Fishing Spots (Including the bugged out spots) Adding Fishing Spots/Home Shops Re-Coding of Squeal of Fortune (Horribly Bugged from Citellum) Fix of QBD Bug (Grotworm Spam) KBD now plays more attacks Corp Beat drop rates improved. Starter is limited by IP, and does not give much (Enforcing the Economy) Staff Applications Opened Donation Script Fixed Vote Script begins coding Rev's now have better rendering and GFX with attacks. Attacks re-engineered as they played the wrong GFX and Animations Summoning Familiar's Fixed from Walking Bug/Picking Up Bug Home NPC's giving themed names from their shop locations. New NPC contents (Ozan, Bandits, Etc) A few teleports re-done as they were putting players in locations that could cause them to die instantly. [CENTER] [img]http://imageshack.us/a/img5/4646/msc1.jpg[/img] [img]http://imageshack.us/a/img208/2250/msc2q.jpg[/img] [img]http://imageshack.us/a/img402/8249/msc3.jpg[/img] [img]http://imageshack.us/a/img850/4005/msc4.jpg[/img] [img]http://imageshack.us/a/img842/645/msc5.jpg[/img] [img]http://imageshack.us/a/img594/1235/msc6.jpg[/img] [img]http://imageshack.us/a/img23/460/msc7b.jpg[/img] [img]http://imageshack.us/a/img854/733/msc8.jpg[/img] [img]http://imageshack.us/a/img703/1002/msc9.jpg[/img] [img]http://imageshack.us/a/img841/4482/msc10.jpg[/img] [img]http://imageshack.us/a/img842/3654/msc11.jpg[/img] [img]http://imageshack.us/a/img805/6047/msc12.jpg[/img] [img]http://imageshack.us/a/img401/8181/msc13.jpg[/img] [img]http://imageshack.us/a/img405/929/msc14.jpg[/img] [img]http://imageshack.us/a/img542/7545/msc15.jpg[/img] [img]http://imageshack.us/a/img542/9581/msc16.jpg[/img] [img]http://imageshack.us/a/img690/1263/msc17.jpg[/img] [U]Features[/U] GodWars Dungeon Remastered 100% New Nex + Minions 100% New Armadyl + Minions 100% New Bandos + Minions 100% New Zamorak + Minions 100% New Saradomin + Minions New King Black Dragon MoneyPouch Squeal of Fortune Starter Kit 100% RuneScape Emotes + Configurations All RuneScape Home Teleports Godsword Creation Spirit Shield Creation Information Book Abyssal Vine Whip Creation Experience Lamps Players Online above Friends List New CombatDefinitions 100% Shops Fixed NPC Nulls Automatic Server Messages Bones on Altar New Player Commands Server Control Panel Grotworms Dungeon (Do Defs) New 736 Item Bonuses New Commands Object Spawning Saradomin Godsword Animation Fix Bugs and Glitches Patched Snow! (Disabled) Summoning Pouch Creation All NPC Drops More Squeal Configurations Some Core Inprovements (Simple Shit) Money Pouch Max Cash bug fixed View Stats Stable XP Rates Ingame Teleport Panel Money Pouch Open/Close Sound Fixed black screening Fixed freezing/DCing issues Added 300+ Real RuneScape NPC's Lobby Pots Fight Kiln Nomad Fight caves Crucible Dominion tower Most of player combat Quick chat Private messages Public chat Player and NPC Update Price check Musics System and handled all musics myslef Skills xp counter and xp droping Trade Prayer including drain rates and effects and quick selecting Equiping and equipments loaded rom ache auras bank degrading cutscenes system and most of cutscenes dialogues system and most of dialogues Friend and ignore list Hint icons system Emotes book All agility courses that are coded Start on construction Start on ddungeonnering Fading screen Fishing spots handling Food Living rock Caverns Magic (all runes check , teleing etc) Runecrafting praticaly(tyler worked on runespan but i remade alot his code) Shops Skill Capes Customizing Skill dialogues Auras Castle wars Fight pits Barrows Corporeal Beast King black dragon Kalphite queen and lair basicaly All the tutorial Island that is done Start tutorial Wilderness Godwars Bonfire Mining Thieving stalls Helped with cook abit Firemaking GemCutting HerbCutting HomeTeleport(remad t completly) Player Follow Rest Helped alot on summon praticaly all famíliar class and multi check etc Woodcutting Interfaces manager(fixed rezizable tc) Tasks system Dynamic regions system (used for instances etc) Controlers system Poison Hits Walk Spawned objects Droped items Projectiles clip IPBanning ItemBonuses ItemExamine DisplayNames Update server Integrated RSA NPCBonuses NPC Combat Definitions Map Areas Falador Giant Mole Player Looks(Haircutter, skin changing,gender, and cloths changing) Figured all the client packets this source uses protocol Made all the network The core structure Encrypted maps ith own xteas Music hints Restarting And much more[/CENTER]
  12. RuneDimension is having a castlewars event at 15 players, will be cool. So join now @ [url]http://runedimension.info[/url] for the advertisement thread: [url]http://www.runelocus.com/forums/showthread.php?87274-RuneDimension-OldSchool-A-Community-Ran-And-Motivated-By-Members[/url]
  13. SpiritScape is Holding a Christmas Event , I hope to see everyone on ASAP giveaway starts in 30min Jar Client : [url]http://www.mediafire.com/?88jza1a528sqd4a[/url] [ATTACH=CONFIG]7055[/ATTACH] [ATTACH=CONFIG]7056[/ATTACH]
  14. It's been long since our last game event (Rune-Server vs. RuneLocus In BF2 Suggested By Dean) and we all remember how fun it was to participate, so maybe we can have this event again? doesn't even have to include Rune-Server, just a game event that we can all come together on the PC and have fun? Preferably an FPS like last time. We had a couple of problems making this event happen due to the fact that we had school at the time but now it's summer and it's a perfect time. Hope you can take this into consideration.
  15. Okay, is the event messengers like when a player reaches 99 combat, are they already coded in the lethium 667 source? Also, is the little shield icon like most 667 servers I play in it as well? I am new to 667, don't hate. Just trying to get used to the new stuff. ^.^
  16. These are the 2012 Easter Event NPC's :) Npcs: Chick - 15265 Chocatrice - 15261 Evil Chicken - 15262 Emotes: Chick walk: 16427 Chick Death: 16423 Object: (Crack) Easter Egg - 70107 Items: Evil Drumstick - 24147 Eggsterminator - 24145 Chocotreat - 24148 Chocolate Egg on face mask - 24150 Egg on face mask - 24149 While Shooting Eggsterminator: Emote - 16438 Standing with Eggsterminator Emote - 12155 (It's like a Handcannon) Walking with Eggsterminator Emote - 12154 Running with Eggsterminator Emote - 12183 I believe that I'm missing like 1 or 2 Npc's but that's just the there Chicks (Chocochick) so there is no point me giving you them. [COLOR="#FF0000"]Please NOTE that this is VERSION 711+ , Thank You :)[/COLOR] [URL="http://pastebin.com/322igTpp"]http://pastebin.com/322igTpp[/URL]
  17. I have some steam coupons which I won't be using, and they're valid till march 1st. If you're planning on buying a game which you could use one of these coupons for, just add me on steam and I'll give it to you. Steam name: legionkiller99 (Current display name: ₯ Pinkie Pie) [img]http://screensnapr.com/e/XRcZYj.png[/img] Edit: Please only request a coupon when you're going to use it, it's only valid for about 2 weeks and will simply disappear after.
  18. dkiller

    Event Timer

    Sometimes when I use event timer for my 508 I get random t2 errors on my client and it disconnect me from the server. This is a few example: [IMG]http://i.imgur.com/xI3bA.png[/IMG] [IMG]http://i.imgur.com/bgfEN.png[/IMG] [IMG]http://i.imgur.com/c9Sms.png[/IMG] The code: EventManager.java: [code] package sythril.util; import java.util.ArrayList; import java.util.List; /** * Manages events which will be run in the future. * Has its own thread since some events may need to be ran faster than the cycle time * in the main thread. * * @author Graham * */ public class EventManager implements Runnable { /** * A reference to the singleton; */ private static EventManager singleton = null; /** * A list of events that are being executed. */ private List<EventContainer> events; /** * Initialise the event manager. */ private EventManager() { events = new ArrayList<EventContainer>(); } /** * The event manager thread. So we can interrupt it and end it nicely on shutdown. */ private Thread thread; /** * Gets the event manager singleton. If there is no singleton, the singleton is created. * @return The event manager singleton. */ public static EventManager getSingleton() { if(singleton == null) { singleton = new EventManager(); singleton.thread = new Thread(singleton); singleton.thread.start(); } return singleton; } /** * Initialises the event manager (if it needs to be). */ public static void initialise() { getSingleton(); } /** * The waitFor variable is multiplied by this before the call to wait() is made. * We do this because other events may be executed after waitFor is set (and take time). * We may need to modify this depending on event count? Some proper tests need to be done. */ private static final double WAIT_FOR_FACTOR = 0.5; @Override /** * Processes events. Works kinda like newer versions of cron. */ public synchronized void run() { long waitFor = -1; List<EventContainer> remove = new ArrayList<EventContainer>(); while(true) { // reset wait time waitFor = -1; // process all events for(EventContainer container : events) { if(container.isRunning()) { if((System.currentTimeMillis() - container.getLastRun()) >= container.getTick()) { container.execute(); } if(container.getTick() < waitFor || waitFor == -1) { waitFor = container.getTick(); } } else { // add to remove list remove.add(container); } } // remove events that have completed for(EventContainer container : remove) { events.remove(container); } remove.clear(); // no events running try { if(waitFor == -1) { wait(); // wait with no timeout } else { // an event is running, wait for that time or until a new event is added int decimalWaitFor = (int)(Math.ceil(waitFor*WAIT_FOR_FACTOR)); wait(decimalWaitFor); } } catch(InterruptedException e) { break; // stop running } } } /** * Adds an event. * @param event The event to add. * @param tick The tick time. */ public synchronized void addEvent(Event event, int tick) { events.add(new EventContainer(event,tick)); notify(); } /** * Shuts the event manager down. */ public void shutdown() { this.thread.interrupt(); } } [/code] EventContainer.java: [code] package sythril.util; /** * Holds extra data for an event (for example the tick time etc). * @author Graham * */ public class EventContainer { /** * The tick time in milliseconds. */ private int tick; /** * The actual event. */ private Event event; /** * A flag which specifies if the event is running; */ private boolean isRunning; /** * When this event was last run. */ private long lastRun; /** * The event container. * @param evt * @param tick */ protected EventContainer(Event evt, int tick) { this.tick = tick; this.event = evt; this.isRunning = true; this.lastRun = System.currentTimeMillis(); // can be changed to 0 if you want events to run straight away } /** * Stops this event. */ public void stop() { this.isRunning = false; } /** * Returns the is running flag. * @return */ public boolean isRunning() { return this.isRunning; } /** * Returns the tick time. * @return */ public int getTick() { return this.tick; } /** * Executes the event! */ public void execute() { this.lastRun = System.currentTimeMillis(); this.event.execute(this); } /** * Gets the last run time. * @return */ public long getLastRun() { return this.lastRun; } } [/code] Event.java: [code] package sythril.util; /** * A simple interface for an event. * @author Graham * */ public interface Event { /** * Called when the event is executed. * @param container The event container, so the event can dynamically change the tick time etc. */ public void execute(EventContainer container); } [/code] This is my crafting methode: [code] public int HideSpeed = -1, amount = 0; public void stop(Player p) { p.Crafting = false; p.requestAnim(-1, 0); HideSpeed = -1; } public void HideCraftTimer(final Player p, final int item, final int xp, final int speed) { HideSpeed = speed; EventManager.getSingleton().addEvent( new Event() { public void execute(EventContainer c) { if(Engine.playerItems.invItemCount(p, 1734) == 0) { p.frames.sendMessage(p, "You're out of thread!"); stop(p); c.stop(); return; } if(Engine.playerItems.invItemCount(p, 1733) == 0) { p.frames.sendMessage(p, "You need a needle to craft this!"); stop(p); c.stop(); return; } if(!p.Crafting) { stop(p); c.stop(); return; } if(amount < 1 || Engine.playerItems.invItemCount(p, 1741) == 0) { stop(p); c.stop(); return; } if(HideSpeed > 0) { HideSpeed--; p.requestAnim(1249, speed); } if(HideSpeed == 0) { HideSpeed = speed; amount--; Engine.playerItems.deleteItem(p,1741,Engine.playerItems.getItemSlot(p, 1741),1); Engine.playerItems.deleteItem(p,1734,Engine.playerItems.getItemSlot(p, 1734),1); Engine.playerItems.addItem(p, item, 1); p.addSkillXP(xp, 12); p.frames.sendMessage(p, "You craft a "+Engine.items.getItemName(item).toLowerCase()+"."); } } }, 600); } public int[][] Leather = {{29,1059,22},{30,1061,35},{34,1167,44},{31,1063,57},{28,1129,71},{32,1095,85},{33,1169,100}}; public void LeatherCraft(Player p, int button, int amount) { this.amount = amount; if(amount > Engine.playerItems.invItemCount(p, 1741)) amount = Engine.playerItems.invItemCount(p, 1741); for(int i = 0; i < Leather.length; i++) { if(Leather[i][0] == button) { p.frames.removeShownInterface(p); HideCraftTimer(p, Leather[i][1], Leather[i][2], 3); p.Crafting = true; } } [/code] Any ideas :O?
  19. Time: Right now. Requirements: None except for a decent stab weapon & a bulls-eye lantern oh & a spade. Friends Chat: "Suk mii kawk" World: 77 Lootshare For those of you who don't know what mole is, it's a level 200+ boss on runescape. It's located in falador (dig in the soil) We will be crashin some noobs, so it'll be fun. ;]
  20. I would like to make a holiday even on a TeamTorva source if anyone is Interested Please Pm me Or add me on Msn looking for it to be a pretty east event. Just about 3 Steps in the whole mini-quest. Msn: [email][email protected][/email] (Please do not add me if you are not interested in helping me) Thanks, GrizzlyGrass
  21. Any suggestions? Keep it Multiplayer FPS like battlefield 2 MUST BE FREE
  22. Well on my server we wanted to try to make our own quest and I figured you guys might want it... You can test it on my server if you want I don't want to add pics. Find my server in the advertisement area... Anyways you can download the files here: * Notes: You need to edit this because it applies to my home and one of my commands which is ::dicing. If you aren't totally java braindead you can figure it out. Credits: Me: 45% (Storyline and some coding) Divine(Not on runelocus): 50% Doing lots of coding Pjobski(Not on runelocus): 5% Helping with dialogue Other notes: Give credit or feel the ddos! Rewards: Full chicken costume & 20m
  23. First Event Manager so please do give constructive criticism. As its far from perfect, you can also run multiple events at the same time. It's a simple and easy event manager to read. Save as TimedEvent.java: [CODE] package server.event; /** * @author Arrowzftw * */ public abstract class TimedEvent { /* * Repeat Event * */ public TimedEvent(int runDelay) { this.repeating = true; this.runDelay = runDelay; defaultDelay = runDelay; } /* * Play Event once if false * */ public TimedEvent(int runDelay, boolean repeating) { this.repeating = repeating; this.runDelay = runDelay; defaultDelay = runDelay; } /* * Certain amount of times repeating * */ public TimedEvent(int runDelay, int runTimes) { this.runDelay = runDelay; this.runTimes = runTimes; defaultDelay = runDelay; } public abstract void execute(); public void stop() { repeating = false; runTimes = 0; } public int runDelay; public int defaultDelay; public int runTimes; public boolean repeating; } [/CODE] Save as TimedEventContainer: [CODE] package server.event; import java.util.Timer; import java.util.TimerTask; /** * @author Arrowzftw * */ public class TimedEventContainer { public void addEvent(TimedEvent e) { doEvent(e); } public void removeEvent(TimedEvent e) { e.stop(); } public void doEvent(final TimedEvent e) { final Timer timer = new Timer(); try { timer.schedule(new TimerTask() { public void run() { e.execute(); if (e.runTimes > 0) { e.runTimes -= 1; } if (e.runTimes > 0 || e.repeating) { timer.cancel(); doEvent(e); } if (e.runTimes == 0 && e.repeating == false) { timer.cancel(); removeEvent(e); } else if (e.repeating == false && e.runTimes <= 0) { timer.cancel(); removeEvent(e); } } }, e.runDelay); } catch (Exception i) { timer.cancel(); if (e != null) { removeEvent(e); } } } } [/CODE] Add this in player.java and server.java: [CODE] public TimedEventContainer timedEventContainer = new TimedEventContainer(); [/CODE] Use respectfully if a global event call from server, if a player event call from player. Remember to add imports: [Code]import server.event.*;[/code] Example: Player Events: Repeating every 1 second [CODE] timedEventContainer.addEvent(new TimedEvent(1000) { public void execute() { sendMessage("Noob"); } }); [/CODE] Sends message noob after 600Ms then stops [CODE] timedEventContainer.addEvent(new TimedEvent(600 , false) { public void execute() { sendMessage("Noob"); } }); [/CODE] Sends message noob after 600Ms and repeats 20 times. [CODE] timedEventContainer.addEvent(new TimedEvent(600 , 20) { public void execute() { sendMessage("Noob"); } }); [/CODE]
×