Jump to content

Search the Community

Showing results for tags 'configuration'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



Found 7 results

  1. Does anyone know where to find the file that configures the maxhit bonus for arrows? I can't find it in my source. I'm using PI
  2. [I]This code was written for my rsps project so I thought it would be appropriate to post it here.[/I] I wrote this code earlier today to prevent the need to restart the server application every time I need to apply a file modification. The reason this could be useful for you is because you wont have to worry about character file rollbacks, etc... for something as stupid as adding an npc spawn to a configuration file. Please keep in mind that this is not a copy and paste tutorial it is a code snippet that (with modification) can be ported into your own applications. Requirements: Java 1.7 (not backwards compatible with other development kids) [I]Note: This code has been modified from its original version to be a standalone application by removing certain application specific pieces of code. The original code will be available through pm for those who are interested in the entire system.[/I] [CODE]/* * Copyright (c) 2014 -- Scott K. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ package org.iyaoyas.io.file; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardWatchEventKinds; import java.nio.file.WatchEvent; import java.nio.file.WatchKey; import java.nio.file.WatchService; import java.util.Iterator; import java.util.List; /** * A {@link Service} responsible for listening for file modifications in the designated directories. * * [MENTION=52317]auth[/MENTION]or Scott K. */ public class FileWatcherService { /** * The entry point for the application. * * [MENTION=75098]Para[/MENTION]m args the command line arguments */ public static void main(String[] args) { FileWatcherService fws = new FileWatcherService("./data/"); fws.start(); } /** * The directory to watch for file modification. */ private final Path directory; /** * Whether or not the file watcher service is running. */ private boolean running = false; /** * Creates a new <code>FileWatcherService</code>. * [MENTION=75098]Para[/MENTION]m directory the directory */ public FileWatcherService(String directory) { this.directory = Paths.get(directory); } /** * Creates a new <code>FileWatcherService</code>. * [MENTION=75098]Para[/MENTION]m directory the directory * [MENTION=75098]Para[/MENTION]m subs the sub directories */ public FileWatcherService(String directory, String... subs) { this.directory = Paths.get(directory, subs); } public void start() { //create watch service try (WatchService watcher = directory.getFileSystem().newWatchService()) { directory.register(watcher, StandardWatchEventKinds.ENTRY_MODIFY); //listen for file modifications in the specified directories... System.out.println("File watcher service initialized..."); for (running = true; running;) { //block until a file modification has been made WatchKey key = watcher.take(); List<WatchEvent<?>> events = key.pollEvents(); for (Iterator<WatchEvent<?>> itr = events.iterator(); itr.hasNext();) { WatchEvent<?> event = itr.next(); String name = event.context().toString(); System.out.printf("%s:%s%n", name, event.kind().name()); //if the file in question has been loaded into memory we would //take the necessary steps to apply the update here //TODO ... } key.reset(); } System.err.println("Shutting down file watcher service..."); //TODO ... } catch (IOException | InterruptedException ex) { ex.printStackTrace(System.err); } } public void stop() { //TODO ... } /** * Returns the <code>running</code> flag. * [MENTION=75098]Para[/MENTION]m <tt>true</tt> file watcher service is running */ public boolean isRunning() { return running; } /** * Initializes the <code>FileServer</code> shutdown sequence. */ public void shutdown() { this.running = false; } }[/CODE] You can compile and run this code to test it out if you want. If you are confused about how to apply this to your own designs please pm me and I will elaborate further on this codes intended use and more specifics on how you can apply this to a server of your choice (PI, DeltaScape, Winterlove based servers, Shard Revolutions, Hyperion, Apollo, etc...). Thanks for reading and best of luck in your development! - IYAOYAS EDIT: Once again Cart RL's fucking mentioning system fucks my javadoc... EDIT2: Cart the name of the thread doesn't reflect the content at all!! wtf....
  3. [SIZE=3]So for some reason, I can't get this interface to display the item I want made. I've tried sending BConfig 755, itemId but it still won't work. Revision is 562 loading 668 by the way.[/SIZE] [IMG]http://img20.imageshack.us/img20/7189/qc6i.png[/IMG] Any help is greatly appreciated! Will Rep++ if someone helps!
  4. I am basically looking for someone to do any configurations that need to be done on my project which can be found here: [url=http://www.runelocus.com/forums/showthread.php?91621-Notorious]Project Thread[/url]. They will be doing such tasks as adding NPC spawns, shops and other tasks. The reward will be a rank on the server when it is hosted which will be very soon plus some items. If you are interested then please leave a comment below and add me on Skype. [B]Skype Name:[/B] tomb1443 [CENTER] [URL=http://www.notorious317.com][IMG]http://i776.photobucket.com/albums/yy41/tom14431996/Banner_zps37e28984.png[/IMG][/URL][/CENTER]
  5. Well the title says it all, I need the configuration for the Port 43594 in order to launch my RSPS publicly, can anyone provide me with this info? I need to configure my linksys router to do so. Thanks, --Nick
  6. Logging in after 24 hours (when you get your spins back) [QUOTE]player.out("You have received your daily spins for the Squeal of Fortune");[/QUOTE] When you claim a prize that happens to be money [QUOTE]player.out("Your reward has been added to your money pouch.");[/QUOTE] When you claim a prize that is a lamp [QUOTE]player.out("Your prize has been placed in your inventory.");[/QUOTE] When you claim any other prize [QUOTE]player.out("Your prize has been placed in your bank.");[/QUOTE] When you close the "Yelps!" interface [QUOTE]player.out("You can access the Squeal of Fortune from the side pannel, and you can show the"); player.out("button again by logging out and back in.");[/QUOTE] Have fun :)
  7. [code] public enum Dice { DIE_6_SIDES(2072, 1, 6, "a six-sided"), DICE_2_6_SIDES(2074, 1, 12, "two six-sided"), DIE_8_SIDES(2071, 1, 8, "an eight-sided"), DIE_10_SIDES(2070, 1, 10, "a ten-sided"), DIE_12_SIDES(2073, 1, 12, "a twelve-sided"), DIE_20_SIDES(2068, 1, 20, "a twenty-sided"), DICE_UPTO_100(2075, 1, 100, "the percentile"), DIE_4_SIDES(2069, 1, 4, "a four-sided"); /** * The gfx id */ private int gfxId; /** * The lowest possible roll on dice */ private int lowestRoll; /** * Th highest possible roll on dice */ private int highestRoll; /** * The message */ private String message; /** * Constructs a new {@code Dice} * @param gfxId The gfx id * @param lowestRoll The lowest possible roll on dice. * @param highestRoll The highest possible roll on dice. * @param message The message */ Dice(int gfxId, int lowestRoll, int highestRoll, String message) { this.gfxId = gfxId; this.lowestRoll = lowestRoll; this.highestRoll = highestRoll; this.message = message; } /** * Gets the gfx id * @return gfxId */ public int getGfxId() { return this.gfxId; } /** * Gets the lowest roll on dice * @return lowestRoll */ public int getLowestRoll() { return this.lowestRoll; } /** * Gets the highest roll on dice * @return highestRoll */ public int getHighestRoll() { return this.highestRoll; } /** * Gets the message * @return message */ public String getMessage() { return this.message; } }[/code]