Jump to content

Search the Community

Showing results for tags 'shard'.



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

  1. I recently got my hands on the Near Reality v13.2 source which is a shard and I have no experience with shards. I am having trouble getting my shard online and I was wondering if anyone who is good with shards could help me. When I change IOThread.java in the source folder I suddenly get an error upon execution that says cannon assign requested address bind. I have the port forwarded and am not sure what the issue is. It works with 127.0.0.1 but not with my no-ip address. Since i have no prior experience to shard based rsps's i would love to have someone from rune locus to help me over Skype or team-viewer.
  2. PrimacidyRSPS

    317 Shard

    Need a lot of work done also looking for a perm dev, Will pay message if Interested. It is the near reality source and is a shard.
  3. Had this problem for a few days now, really need it fixed. Done with the BS - If your experienced add my skype - larry125069 Paying $10
  4. pureranga

    Shard

    Can host other servers and connect through my IP, however with this shard base, its being weird..... I know the client is good, because it shows up on the runserver cmd box with a DIFFERENT source. ALSO, I can connect to the source with localhost Only. (I'm port forwarded, i host a different source) only place in the files i could find "127.0.0.1" was in IOTHREAD.JAVA Code: [code]public IOThread() throws IOException { buffer = ByteBuffer.allocate(BUFFER_SIZE); ioClientMap = new HashMap<SocketChannel, IOClient>(); clientMap = new HashMap<SocketChannel, Client>(); revIoClientMap = new HashMap<IOClient, SocketChannel>(); revClientMap = new HashMap<Client, SocketChannel>(); selector = SelectorProvider.provider().openSelector(); serverChannel = ServerSocketChannel.open(); serverChannel.configureBlocking(false); InetSocketAddress iAddress = new InetSocketAddress/* ("wastelandrs.no-ip.org" */( "127.0.0.1", Constants.PORT); serverChannel.socket().bind(iAddress, BACKLOG); serverChannel.register(selector, SelectionKey.OP_ACCEPT); System.out.println("Ready and listening on port " + Constants.PORT + ".");[/code] Where it says wastelandrs.no-ip.org it used to say something like 64.232.232.122 or whatever.
  5. I made the shard auto-cache dler and it works on my computer but not on anybody else's help!
  6. Is there any tutorial for a webclient for SHARD client? If so, can I get a tutorial please? PS: Keep your remarks such as "SHARD sax b0lls. N4b get lifE." for yourself.
  7. [CENTER][B][U]Difficulty[/U][/B]: 0.5 [B][U]Required Knowledge:[/U][/B] Copy/paste + Ability to read file paths [B][U]Time to complete:[/U][/B] With copy/paste under one minute[/CENTER] [B][U]Description: [/U][/B] This Firemaking base uses absolutely no animations or sounds. It really is for noobies to get a "start" on Firemaking (Like me ;)) But anyhow... I was fooling around with Firemaking.. looking up tutorials and such and everyone has "90-95% completed Firemaking!" guides. Problem is they can't get the user to walk backwards and stop at objects not meant to be walked through :P SOOOO I came up with this very... [b]VERY[/b] simple Firemaking base that is nearly like Fletching, or crafting. This is my first tutorial and I don't mind feedback, just don't be a d**k head please as I'm only a beginner at Java. [B][U]Step 1:[/U][/B] Goto "server\src\server\model\items\UseItem.java" [COLOR="#DAA520"]then right click[/COLOR] UseItem.java [COLOR="#DAA520"]and click "edit"[/COLOR]. [B][U]Step 2:[/U][/B] Press the keys "CTRL" (Control key) and "F" key simultaneously to bring up the search mini-window. [B][U]Step 3:[/U][/B] Search for: [code]590[/code] [B][U]Step 4:[/U][/B] You should see something like: [code]case 590:[/code] [COLOR="#DAA520"]If you do not see case 590:[/COLOR] in your search, it's okay, [COLOR="#DAA520"]continue on to step 5.[/COLOR] [B][U]Step 5:[/U][/B] Now,[COLOR="#DAA520"] copy/paste this code[/COLOR] below the case 590: For those who found "case 590:" [spoiler][code] if (itemUsed == 590 && useWith == 1511 || itemUsed == 1511 && useWith == 590) {//regular logs if (c.playerLevel[c.playerFiremaking] >= 1) { c.getItems().deleteItem(1511, c.getItems().getItemSlot(1511), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(40 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 1 to burn this log."); } } if (itemUsed == 590 && useWith == 1521 || itemUsed == 1521 && useWith == 590) {//oak logs if (c.playerLevel[c.playerFiremaking] >= 15) { c.getItems().deleteItem(1521, c.getItems().getItemSlot(1521), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(60 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 15 to burn this log."); } } if (itemUsed == 590 && useWith == 1519 || itemUsed == 1519 && useWith == 590) {//willow logs if (c.playerLevel[c.playerFiremaking] >= 30) { c.getItems().deleteItem(1519, c.getItems().getItemSlot(1519), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(105 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 30 to burn this log."); } } if (itemUsed == 590 && useWith == 1517 || itemUsed == 1517 && useWith == 590) {//maple logs if (c.playerLevel[c.playerFiremaking] >= 45) { c.getItems().deleteItem(1517, c.getItems().getItemSlot(1517), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(135 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 45 to burn this log."); } } if (itemUsed == 590 && useWith == 1515 || itemUsed == 1515 && useWith == 590) {//yew logs if (c.playerLevel[c.playerFiremaking] >= 60) { c.getItems().deleteItem(1515, c.getItems().getItemSlot(1515), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(202 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 60 to burn this log."); } } if (itemUsed == 590 && useWith == 1513 || itemUsed == 1513 && useWith == 590) {//magic logs if (c.playerLevel[c.playerFiremaking] >= 75) { c.getItems().deleteItem(1513, c.getItems().getItemSlot(1513), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(308 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 75 to burn this log."); } } break;[/code][/spoiler] For those who didn't find "case 590:" [spoiler][code] case 590: if (itemUsed == 590 && useWith == 1511 || itemUsed == 1511 && useWith == 590) {//regular logs if (c.playerLevel[c.playerFiremaking] >= 1) { c.getItems().deleteItem(1511, c.getItems().getItemSlot(1511), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(40 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 1 to burn this log."); } } if (itemUsed == 590 && useWith == 1521 || itemUsed == 1521 && useWith == 590) {//oak logs if (c.playerLevel[c.playerFiremaking] >= 15) { c.getItems().deleteItem(1521, c.getItems().getItemSlot(1521), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(60 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 15 to burn this log."); } } if (itemUsed == 590 && useWith == 1519 || itemUsed == 1519 && useWith == 590) {//willow logs if (c.playerLevel[c.playerFiremaking] >= 30) { c.getItems().deleteItem(1519, c.getItems().getItemSlot(1519), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(105 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 30 to burn this log."); } } if (itemUsed == 590 && useWith == 1517 || itemUsed == 1517 && useWith == 590) {//maple logs if (c.playerLevel[c.playerFiremaking] >= 45) { c.getItems().deleteItem(1517, c.getItems().getItemSlot(1517), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(135 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 45 to burn this log."); } } if (itemUsed == 590 && useWith == 1515 || itemUsed == 1515 && useWith == 590) {//yew logs if (c.playerLevel[c.playerFiremaking] >= 60) { c.getItems().deleteItem(1515, c.getItems().getItemSlot(1515), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(202 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 60 to burn this log."); } } if (itemUsed == 590 && useWith == 1513 || itemUsed == 1513 && useWith == 590) {//magic logs if (c.playerLevel[c.playerFiremaking] >= 75) { c.getItems().deleteItem(1513, c.getItems().getItemSlot(1513), 1); c.getItems().addItem(592, 1); c.getPA().addSkillXP(308 * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); c.sendMessage("The logs burn to ashes."); } else { c.sendMessage("You need a firemaking level of 75 to burn this log."); } } break; [/code][/spoiler] [B][U]Step 6: [/U][/B] [COLOR="#DAA520"]Save[/COLOR] the file [COLOR="#DAA520"]and close[/COLOR] out of it. [B][U]Step 7:[/U][/B] [COLOR="#DAA520"]Save/compile your server then run[/COLOR], wala! Your simple Firemaking base is now implemented :) [SIZE=4][B]Credits:[/B][/SIZE] 90% me 10% RL's Starter Pack Developers for having provided the base I've been using for my rsps
  8. This is my first guide... so be kind! :) Added: How to change file extensions. How to save accounts/profiles. Coming [u]very[/u] soon: [list=1] [*]How to add NPCs in Shard Evolutions. [*]How to add item spawns in Shard Revolutions. [*]How to add object spawns in Shard Revolutions. [*]How to change spawn point in Shard Revolutions. [*]How to add shops in Shard Revolutions. [*]How to add dialogue in Shard Revolutions. [*]How to add drops + drop rates in Shard Revolutions. [*]How to add multiple worlds in Shard Revolutions. [*]Possibly more. [/list] Expected Guide finish date: 10-20-12 This guide will most likely be done before expected finish date! [B][SIZE=5][COLOR="#00FF00"]How to change file extensions:[/COLOR][/SIZE][/B] This page shows you how to change a file extension in Windows. For example, you might want to rename a file called MyDocument.rtf to MyDocument.txt. These instructions are for Windows 7 but the same basic process applies to most versions of Windows. NOTE: Changing a file extension should only be done if you are confident it's the right thing to do. Test the file thoroughly after the change. If it doesn't work you can easily change the extension back—just make sure you remember what it was! My Computer The first thing to do is open Windows Explorer (or My Computer) and view the file you wish to change. We'll use the example of [B]MyDocument.rtf[/B]. When we browse to the file it looks like this: [img]http://www.mediacollege.com/microsoft/windows/7/images/file-extension_1.png[/img] You'll notice that the file does not appear to have an extension—it's just called MyDocument. That's because in this example Windows is set to hide extension names. If you can already see file extensions on your computer, skip the next step. If you can't see the file extension, go to [B]organize > Folder and Search Options[/B], then click the [B]View[/B] tab. Uncheck the box titled "Hide extensions for known file types" like so: [img]http://www.mediacollege.com/microsoft/windows/7/images/file-extension_2.png[/img] Click [B]OK[/B]. Now you should be able to see the file extension: [img]http://www.mediacollege.com/microsoft/windows/7/images/file-extension_3.png[/img] Right-click the file name and select [B]Rename[/B] (or left-click and hold down the button for one second). Enter the new extension like so: [img]http://www.mediacollege.com/microsoft/windows/7/images/file-extension_4.png[/img] After entering the new extension, hit the Enter (return) key. Windows will give you a warning that the file may not work properly. This is quite safe—remember that you can restore the original extension if anything goes wrong. It's also possible that you might get another message telling you that the file is "read-only". In this case either say yes to turning off read-only, or right-click the file, select Properties and uncheck the Read-only box. If you do not have permission to change the file extension, you may have to login as Administrator. Another option is to make a copy of the file, rename the copy and then delete the original. Note: Windows treats file extensions as case-insensitive, i.e. .RTF is the same as .rtf. However other operating systems do not, and will treat MyDocument.RTF and MyDocument.rtf as two different files. Therefore it is good practice to always treat your files as case-sensitive for maximum compatibility. This is especially crucial if you are going to use the files on the Internet. We recommend that you get into the habit of using all lower-case letters for all file extensions—then there's no confusion. ------------------------------------------------ ------------------------------------------------ [SIZE=5][COLOR="#00FF00"]How to save profiles/accounts[/COLOR][/SIZE] As you may have noticed, if you use Shard Revolutions from start, you will not have saved user profiles after logout. This is a panic and a headache unless you know what you are doing. Details: Difficulty: Newby Length: 3 minutes or less Effectiveness: 100% Okay first, go to com.rs.worldserver.world.playermanager.java Or just search for the file "playerManager.java" in your computer. Second, after opening up playerManager.java (generally edited in notepad or notepad++), you will press the control key (One that says CTRL) [u][b]and[/b][/u] the "f" key [b][u]at the same time[/u][/b]. A little text box should popup. Type in: [code]savedgames[/code] You should find something like this: [code]String file = "./savedGames/" + tempSave.playerName + ".txt";[/code] Okay this is the moment of truth...[COLOR="#00FF00"] Change the .txt to .dat[/COLOR] It should look like this when you are done: [code]String file = "./savedGames/" + tempSave.playerName + ".dat";[/code] If you would like to take back any account(s) you've played on that have been "Deleted" or "Not saved", then proceed to this final short and easy step to get any accounts with work on them back! Go all the way back to your savedGames folder and use the guide I showed above to changed your current saved game(s) from .txt to .dat and wala! You've got a fully functional saving system on your server! Congrats! :D [b][u]*Note:[/u][/b] Don't forget to compile your server before running it or no changes will go into effect!
  9. I seem to be getting this message each time I try to run it as a Java Application. [ATTACH=CONFIG]6184[/ATTACH] I'm sure it is something small, I'm new.
  10. I am using SHARD and I am trying to make an item when clicked, to do two emotes. How I hoped it would work is, one emote to go off then 3 seconds later for the second emote to start. All it does is the second emote, doesn't do the first emote at all. I tried modifying the timer for flax to work with the item timer and I must have done it wrong, because anything I try doesn't work. How do I add some sort of timer so both emotes work one after another? Item Click Emote [CODE] case 1856://Item ID that's clicked client.getActionAssistant().startAnimation(863);//emotes client.getActionAssistant().startAnimation(864);//emotes break; [/CODE] [B]If this helps, this is how the flax picking timer delay looks.[/B] [CODE] case 2646://obj ID for flax if(client.isBusy()){ return; } final GameObject OBJECT453 = new GameObject(client.objectX, client.objectY, client.getHeightLevel(), GameObject.Face.NORTH, 10, Server.getObjectManager().getDefinition(2646)); final GameObject OBJECT123 = new GameObject(client.objectX, client.objectY, client.getHeightLevel(), GameObject.Face.NORTH, 10, Server.getObjectManager().getDefinition(-1)); client.setBusy(true); final Client clientnew189 = client; clientnew189.getActionAssistant().startAnimation(827); Server.getObjectManager().addObject(OBJECT123); EventManager.getSingleton().addEvent(client, new Event() { public void execute(EventContainer c) { clientnew189.getActionAssistant().addItem(1779,1); c.stop(); } @Override public void stop() { clientnew189.setBusy(false); EventManager.getSingleton().addEvent(null, new Event() { public void execute(EventContainer c) { Server.getObjectManager().replaceTemporaryObject(OBJECT123, OBJECT453); c.stop(); } @Override public void stop() { } }, 10000); } }, 2000); break; [/CODE] -Thanks
  11. [code] private static void connectToDatabase() { try { String driverName = "org.gjt.mm.mysql.Driver"; Class.forName(driverName); // Create a connection to the database String serverName = "dashscape.servehttp.com";//your SQL server String dbase = ""; String url = "jdbc:mysql://" + serverName + "/DynamicDb"; String username = "notgonnasay"; String password = "notgonnasay"; connection = DriverManager.getConnection(url, username, password); misc.println("connected to :" + serverName + "/" + dbase); } catch (ClassNotFoundException e) { misc.println("Class not found error >.<"); shutdown(); } catch (SQLException e) { misc.println("SQL Error AMG"); shutdown(); } } [/code] I am trying to Integrate mysql database with my shard server for testing purposes, ^ ^ ^ ^ that's part of it, and: [code] package com.rs.worldserver; import java.sql.*; import java.io.*; import com.rs.worldserver.util.*; import com.rs.worldserver.model.npc.NPC; import com.rs.worldserver.model.npc.NPC; import com.rs.worldserver.model.npc.NPCAction; import com.rs.worldserver.model.npc.NPCDefinition; import com.rs.worldserver.model.npc.NPCDrop; public class SQL { public Connection connection = Server.connection; public static Connection myConnection = Server.connection; public static int AutoSpawn() { int count = 0; try { Statement stmt = myConnection.createStatement(); ResultSet rs = stmt.executeQuery("SELECT * FROM autospawn"); while (rs.next()) { int id = rs.getInt("NpcID"); int slot = Server.npcManager.freeSlot(); NPCDefinition def = Server.npcManager.npcDefinitions.get(id); if (def == null) continue; count = rs.getRow(); NPC npc = new NPC(id, def, rs.getInt("StartX"), rs.getInt("StartY"), rs.getInt("StartHeight")); //NPC npc = new NPC(slot, def, Integer //.valueOf(valuesArray[1]), Integer //.valueOf(valuesArray[2]), Integer //.valueOf(valuesArray[3])); npc.setX1(rs.getInt("RangeX1")); npc.setY1(rs.getInt("RangeY1")); npc.setX2(rs.getInt("RangeX2")); npc.setY2(rs.getInt("RangeY2")); int walkType = rs.getInt("WalkType"); if (walkType == 1 || walkType == 2) { npc.setWalking(true); } Server.npcManager.npcMap.put(npc.getNpcId(), npc); } stmt.close(); } catch (Exception e){ Misc.println("Error"+e); } return count; } } [/code] and: the original topic from where i am getting this from: [url]http://www.rune-server.org/runescape-development/rs2-server/tutorials/72309-mysql-server-integration.html[/url] plus, my console says this: [code] Class not found error >.< Shard Revolutions Created by Graham, Vastico, Jonas and thiefmn6092 Based on work by Winterlove, Daiki and Blake Loading... Loaded 7365 item definitions. Loaded 6800 stackable data. Loaded 6800 note data. Loaded 6800 sellable data. Loaded 6800 tradeable data. Loaded 6800 twohanded data. Loaded 199 item spawns. Loaded 8521 object definitions. Loaded 3 object spawns. Errorjava.lang.NullPointerException 0 Autospawns loaded Loaded 2715 npc definitions. Loaded 18 npc first click actions. Loaded 11 npc second click actions. Loaded 0 npc third click actions. Loaded 7 npc drop definitions (total 33 items). Loaded 71 dialogues. Loaded 7 shops. Ready and listening on port 43594. Shutting down selector... Shutting down event manager... Selector thread shut down. Shutting down player manager... Player manager shut down. Shutting down periodic update event... Event manager shut down. Press any key to continue . . . [/code] Does anyone know how I can fix? I need this really fucking badly, and asap...
  12. How do I change the teleports in the spellbooks? Not the names, but the coordinates where it teleports you.. Shard/CreativeScape
×