Thread: Economy version of Elvarg framework with some skills and improved core.

Page 16 of 18 FirstFirst ... 61415161718 LastLast
Results 151 to 160 of 174
  1. #151  
    Registered Member
    Join Date
    Jan 2019
    Posts
    5
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    oh lol meant 165 data mb!!! well i didnt say im god of java ! but like i see its just adding the npcs and make the objects work #and btw knowledge dont come by sitting and looking at other people work so i belive that if try doing it better than just sitting watching how people making awsome updates atleast im trying and please runer-server stop that rude comments !!
    Reply With Quote  
     

  2. #152  
    Extreme Donator


    Join Date
    Oct 2010
    Posts
    2,853
    Thanks given
    1,213
    Thanks received
    1,622
    Rep Power
    5000
    Quote Originally Posted by GOLAM View Post
    btw any1 can send me openbank code ?
    player.getBank(tabId).open();

    use player.getCurrentBankTab() as tabId if you dont want to open a specific tab
    [Today 01:29 AM] RSTrials: Nice 0.97 Win/Loss Ratio luke. That's pretty bad.
    [Today 01:30 AM] Luke132: Ok u fucking moron i forgot i could influence misc.random
    Reply With Quote  
     

  3. #153  
    Registered Member
    Join Date
    Jan 2019
    Posts
    5
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    Quote Originally Posted by Professor Oak View Post
    player.getBank(tabId).open();

    use player.getCurrentBankTab() as tabId if you dont want to open a specific tab
    thanks
    Reply With Quote  
     

  4. #154  
    Extreme Donator

    Join Date
    Jul 2016
    Posts
    67
    Thanks given
    172
    Thanks received
    18
    Rep Power
    67
    Quote Originally Posted by GOLAM View Post
    oh lol meant 165 data mb!!! well i didnt say im god of java ! but like i see its just adding the npcs and make the objects work #and btw knowledge dont come by sitting and looking at other people work so i belive that if try doing it better than just sitting watching how people making awsome updates atleast im trying and please runer-server stop that rude comments !!
    Not trying to be rude, I'm just surprised that you couldn't figure out fixing banks but you are supposedly capable of coding something complex like raids 1 which would honestly be a good amount of work.

    To fix banks on this, you find the ID of the object (I believe this type of bank specifically is second click) and add that object ID to the existing block for second click object banking.
    Reply With Quote  
     

  5. #155  
    RuneFatality

    Join Date
    May 2009
    Age
    27
    Posts
    2,350
    Thanks given
    1,099
    Thanks received
    388
    Rep Power
    531
    Sorry for a bit of a gravedig, but are there any known issues with this? Been away from RSPS for god knows how many years and looking for a decent base to build on for educational purposes.
    Reply With Quote  
     

  6. #156  
    🎶 As you're falling down 🎶


    uint32_t's Avatar
    Join Date
    Feb 2015
    Posts
    1,396
    Thanks given
    6,177
    Thanks received
    776
    Rep Power
    5000
    Quote Originally Posted by Flux View Post
    Sorry for a bit of a gravedig, but are there any known issues with this? Been away from RSPS for god knows how many years and looking for a decent base to build on for educational purposes.
    I mean there's a good amount of work this needs like pathfinding needs a lot of work but it's still a good base.
    Quote Originally Posted by Idiot Bird View Post
    Quote Originally Posted by Velocity View Post
    lol np mate looks like the community brought ur rep down to ur IQ
    Not too sure about that, it's at 0 . It would have to go minus to even be remotely close to his IQ.
    Reply With Quote  
     

  7. #157  
    Registered Member
    Join Date
    Aug 2018
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Decided to organize the opcodes on the client side for convenience. Also added gaps for unused opcodes to make it easier to add your own.

    Someone might find it useful.

    Code:
    package com.runescape.util;
    /**
     * The class that contains packet-related constants.
     * 
     * @author Seven
     * @author TheChosenOne
     * Organized by Alta
     */
    
    public final class PacketConstants {
    	
    	public static final int IDLE = 0;
    	public static final int STOP_ALL_ANIMATIONS = 1;
    	
    	public static final int FOCUS_CHANGE = 3;
    	public static final int SEND_GFX = 4;
    	
    	public static final int SEND_MODEL_TO_INTERFACE = 8;
    	public static final int INTERFACE_SCROLL_RESET = 9;
    	public static final int SET_SCROLLBAR_HEIGHT = 10;
    	
    	public static final int SEND_ENTER_AMOUNT = 27;
    	
    	public static final int UPDATE_SPECIFIC_ITEM = 34;
    	public static final int SEND_EARTHQUAKE = 35;
    	public static final int SEND_CONFIG_BYTE = 36;
    	
    	public static final int SET_AUTOCAST_ID = 38;
    	
    	public static final int SEND_GROUND_ITEM = 44;
    	public static final int FLAG_ACCOUNT = 45;
    
    	public static final int ADD_FRIEND = 50;
    	public static final int REMOVE_FRIEND = 51;
    	
    	public static final int SEND_UPDATE_ITEMS = 53;
    	public static final int SEND_EFFECT_TIMER = 54;
    	public static final int SEND_CURRENT_BANK_TAB = 55;
    
    	public static final int ITEM_ON_NPC = 57;
    	
    	public static final int SEND_MULTIPLE_MAP_PACKETS = 60;
    	public static final int SEND_MULTICOMBAT_ICON = 61;
    	public static final int SEND_EXIT = 62;
    	
       	public static final int DELETE_GROUND_ITEM = 64;
    	public static final int NPC_UPDATING = 65;
    
    	public static final int MOVE_COMPONENT = 70;
    	public static final int SEND_SIDE_TAB = 71;
    	public static final int CLEAN_ITEMS_OF_INTERFACE = 72;
    	public static final int SEND_MAP_REGION = 73;
    	public static final int PLAY_SONG = 74;
    	public static final int SHOW_NPC_HEAD_ON_INTERFACE = 75;
    	
    	public static final int CLEAR_MINIMAP_FLAG = 78;
    	
    	public static final int PLAYER_UPDATING = 81;
    	
    	public static final int SEND_ALTER_GROUND_ITEM_COUNT = 84;
    	public static final int SEND_REGION = 85;
    	public static final int CAMERA_MOVEMENT = 86;
    	public static final int SEND_CONFIG_INT = 87;
    	
    	public static final int SEND_NON_WALKABLE_INTERFACE = 97;
    	
    	public static final int SEND_MINIMAP_STATE = 99;
    	
    	public static final int SEND_REMOVE_OBJECT = 101;
    	public static final int DESIGN_SCREEN = 101;
    	
    	public static final int SEND_PLAYER_OPTION = 104;
    	
    	public static final int SWITCH_TAB = 106;
    	public static final int RESET_CAMERA = 107;
    	public static final int SET_TOTAL_EXP = 108;	
    	public static final int LOGOUT = 109;
    	public static final int SEND_RUN_ENERGY = 110;
    	public static final int SEND_TOGGLE_QUICK_PRAYERS = 111;
    
    	public static final int SEND_TOGGLE_RUN = 113;
    	public static final int SYSTEM_UPDATE = 114;
    	public static final int SHOW_CLANCHAT_OPTIONS = 115;
    	
    	public static final int SEND_PROJECTILE = 117;
    	   
    	public static final int NEXT_OR_PREVIOUS_SONG = 121;
    	public static final int LOADED_REGION = 121;
    	public static final int SEND_CHANGE_INTERFACE_COLOUR = 122;
    	public static final int SEND_CONSOLE_COMMAND = 123;
    	
    	public static final int SET_INTERFACE_TEXT = 126;
    	public static final int UPDATE_PLAYER_RIGHTS = 127;
    	
    	public static final int SEND_SKILL = 134;
    	
    	public static final int SEND_SOLO_NON_WALKABLE_SIDEBAR_INTERFACE = 142;
    	
    	public static final int TRANSFORM_PLAYER_TO_OBJECT = 147;
    	
    	public static final int SEND_OBJECT = 151;
    	
    	public static final int SEND_REMOVE_GROUND_ITEM = 156;
    	
    	public static final int ANIMATE_OBJECT = 160;
    
    	public static final int SEND_NONWALKABLE_CHATBOX_INTERFACE = 164;
    
    	public static final int SPIN_CAMERA = 166;
    
    	public static final int SHOW_HIDE_INTERFACE_CONTAINER = 171;
    	
    	public static final int PLAY_SOUND_EFFECT = 174;
    	
    	public static final int MOVE_CAMERA = 177;
    
    	public static final int OPEN_WELCOME_SCREEN = 176;
    	
    	public static final int SHOW_PLAYER_HEAD_ON_INTERFACE = 185;
    	public static final int BUTTON_CLICK = 185;
    	
    	public static final int SEND_ENTER_NAME = 187;
    
    	public static final int SEND_RECEIVED_PRIVATE_MESSAGE = 196;
    	
    	public static final int SEND_ANIMATE_INTERFACE = 200;
    	
    	public static final int IDLE_LOGOUT = 202;
    	
    	public static final int UPDATE_CHAT_MODES = 206;
    	
    	public static final int SEND_WALKABLE_INTERFACE = 208;
    	
    	public static final int ENTER_REGION = 210;
    	
    	public static final int MOVE_ITEM = 214;
    	public static final int ADD_IGNORE = 214;
    	public static final int REMOVE_IGNORE = 215;
    	
    	public static final int CLAN_CHAT = 217; // 317 did not have this
    	public static final int REPORT_PLAYER = 218;
    	public static final int SEND_WALKABLE_CHATBOX_INTERFACE = 218;
    	public static final int CLOSE_INTERFACE = 219;
    	
    	public static final int SET_FRIENDSERVER_STATUS = 221;
    	
    	public static final int SET_MODEL_INTERFACE_ZOOM = 230;
    	
    	public static final int SEND_PLAYER_WEIGHT = 240;
    	public static final int SEND_REGION_MAP_REGION = 241;
    	public static final int MOUSE_CLICK = 241;
    
    	public static final int SEND_ITEM_TO_INTERFACE = 246;
    	
    	public static final int SEND_DUO_INTERFACE = 248;
    	public static final int SEND_INITIALIZE_PACKET = 249;
    	public static final int ENABLE_NOCLIP = 250;	
    	public static final int SEND_URL = 251;
    	public static final int SEND_CLAN_CHAT_MESSAGE = 252;
    	public static final int SEND_MESSAGE = 253;
    	public static final int SEND_HINT_ICON = 254;
    }
    Reply With Quote  
     

  8. #158  
    OWNER @ BOFA (Now Hiring)
    Mr Bill's Avatar
    Join Date
    May 2010
    Posts
    517
    Thanks given
    15
    Thanks received
    35
    Rep Power
    62
    Anyone know why I get this while starting the server in eclipse?

    Jul 27, 2019 8:15:14 PM com.elvarg.Server main
    INFO: Initializing the Bootstrap...
    java.io.FileNotFoundException: .\data\clipping\loc.dat (The system cannot find the path specified)
    at java.io.RandomAccessFile.open0(Native Method)
    at java.io.RandomAccessFile.open(Unknown Source)
    at java.io.RandomAccessFile.<init>(Unknown Source)
    at java.io.RandomAccessFile.<init>(Unknown Source)
    at com.elvarg.util.FileUtil.readFile(FileUtil.java:16 )
    at com.elvarg.game.definition.ObjectDefinition.init(O bjectDefinition.java:269)
    at com.elvarg.game.collision.RegionManager.init(Regio nManager.java:56)
    at com.elvarg.game.GameBuilder.initialize(GameBuilder .java:45)
    at com.elvarg.Bootstrap.bind(Bootstrap.java:47)
    at com.elvarg.Server.main(Server.java:53)
    java.io.FileNotFoundException: .\data\clipping\loc.idx (The system cannot find the path specified)
    at java.io.RandomAccessFile.open0(Native Method)
    at java.io.RandomAccessFile.open(Unknown Source)
    at java.io.RandomAccessFile.<init>(Unknown Source)
    at java.io.RandomAccessFile.<init>(Unknown Source)
    at com.elvarg.util.FileUtil.readFile(FileUtil.java:16 )
    at com.elvarg.game.definition.ObjectDefinition.init(O bjectDefinition.java:270)
    at com.elvarg.game.collision.RegionManager.init(Regio nManager.java:56)
    at com.elvarg.game.GameBuilder.initialize(GameBuilder .java:45)
    at com.elvarg.Bootstrap.bind(Bootstrap.java:47)
    at com.elvarg.Server.main(Server.java:53)
    java.lang.NullPointerException
    at com.elvarg.game.collision.Buffer.readUnsignedWord( Buffer.java:66)
    at com.elvarg.game.definition.ObjectDefinition.init(O bjectDefinition.java:275)
    at com.elvarg.game.collision.RegionManager.init(Regio nManager.java:56)
    at com.elvarg.game.GameBuilder.initialize(GameBuilder .java:45)
    at com.elvarg.Bootstrap.bind(Bootstrap.java:47)
    at com.elvarg.Server.main(Server.java:53)
    Jul 27, 2019 8:15:15 PM com.elvarg.Server main
    SEVERE: An error occurred while binding the Bootstrap!
    javax.naming.OperationNotSupportedException: map_index was not found!
    at com.elvarg.game.collision.RegionManager.init(Regio nManager.java:61)
    at com.elvarg.game.GameBuilder.initialize(GameBuilder .java:45)
    at com.elvarg.Bootstrap.bind(Bootstrap.java:47)
    at com.elvarg.Server.main(Server.java:53)
    The path does exist and the files are in there that were included. I've done minor debugging but can't figure out why. Tried hardcoding the path that calls it also.
    Attached image
    Reply With Quote  
     

  9. #159  
    Extreme Donator


    Join Date
    Oct 2010
    Posts
    2,853
    Thanks given
    1,213
    Thanks received
    1,622
    Rep Power
    5000
    Quote Originally Posted by Alta View Post
    Decided to organize the opcodes on the client side for convenience. Also added gaps for unused opcodes to make it easier to add your own.

    Someone might find it useful.

    Code:
    package com.runescape.util;
    /**
     * The class that contains packet-related constants.
     * 
     * @author Seven
     * @author TheChosenOne
     * Organized by Alta
     */
    
    public final class PacketConstants {
    	
    	public static final int IDLE = 0;
    	public static final int STOP_ALL_ANIMATIONS = 1;
    	
    	public static final int FOCUS_CHANGE = 3;
    	public static final int SEND_GFX = 4;
    	
    	public static final int SEND_MODEL_TO_INTERFACE = 8;
    	public static final int INTERFACE_SCROLL_RESET = 9;
    	public static final int SET_SCROLLBAR_HEIGHT = 10;
    	
    	public static final int SEND_ENTER_AMOUNT = 27;
    	
    	public static final int UPDATE_SPECIFIC_ITEM = 34;
    	public static final int SEND_EARTHQUAKE = 35;
    	public static final int SEND_CONFIG_BYTE = 36;
    	
    	public static final int SET_AUTOCAST_ID = 38;
    	
    	public static final int SEND_GROUND_ITEM = 44;
    	public static final int FLAG_ACCOUNT = 45;
    
    	public static final int ADD_FRIEND = 50;
    	public static final int REMOVE_FRIEND = 51;
    	
    	public static final int SEND_UPDATE_ITEMS = 53;
    	public static final int SEND_EFFECT_TIMER = 54;
    	public static final int SEND_CURRENT_BANK_TAB = 55;
    
    	public static final int ITEM_ON_NPC = 57;
    	
    	public static final int SEND_MULTIPLE_MAP_PACKETS = 60;
    	public static final int SEND_MULTICOMBAT_ICON = 61;
    	public static final int SEND_EXIT = 62;
    	
       	public static final int DELETE_GROUND_ITEM = 64;
    	public static final int NPC_UPDATING = 65;
    
    	public static final int MOVE_COMPONENT = 70;
    	public static final int SEND_SIDE_TAB = 71;
    	public static final int CLEAN_ITEMS_OF_INTERFACE = 72;
    	public static final int SEND_MAP_REGION = 73;
    	public static final int PLAY_SONG = 74;
    	public static final int SHOW_NPC_HEAD_ON_INTERFACE = 75;
    	
    	public static final int CLEAR_MINIMAP_FLAG = 78;
    	
    	public static final int PLAYER_UPDATING = 81;
    	
    	public static final int SEND_ALTER_GROUND_ITEM_COUNT = 84;
    	public static final int SEND_REGION = 85;
    	public static final int CAMERA_MOVEMENT = 86;
    	public static final int SEND_CONFIG_INT = 87;
    	
    	public static final int SEND_NON_WALKABLE_INTERFACE = 97;
    	
    	public static final int SEND_MINIMAP_STATE = 99;
    	
    	public static final int SEND_REMOVE_OBJECT = 101;
    	public static final int DESIGN_SCREEN = 101;
    	
    	public static final int SEND_PLAYER_OPTION = 104;
    	
    	public static final int SWITCH_TAB = 106;
    	public static final int RESET_CAMERA = 107;
    	public static final int SET_TOTAL_EXP = 108;	
    	public static final int LOGOUT = 109;
    	public static final int SEND_RUN_ENERGY = 110;
    	public static final int SEND_TOGGLE_QUICK_PRAYERS = 111;
    
    	public static final int SEND_TOGGLE_RUN = 113;
    	public static final int SYSTEM_UPDATE = 114;
    	public static final int SHOW_CLANCHAT_OPTIONS = 115;
    	
    	public static final int SEND_PROJECTILE = 117;
    	   
    	public static final int NEXT_OR_PREVIOUS_SONG = 121;
    	public static final int LOADED_REGION = 121;
    	public static final int SEND_CHANGE_INTERFACE_COLOUR = 122;
    	public static final int SEND_CONSOLE_COMMAND = 123;
    	
    	public static final int SET_INTERFACE_TEXT = 126;
    	public static final int UPDATE_PLAYER_RIGHTS = 127;
    	
    	public static final int SEND_SKILL = 134;
    	
    	public static final int SEND_SOLO_NON_WALKABLE_SIDEBAR_INTERFACE = 142;
    	
    	public static final int TRANSFORM_PLAYER_TO_OBJECT = 147;
    	
    	public static final int SEND_OBJECT = 151;
    	
    	public static final int SEND_REMOVE_GROUND_ITEM = 156;
    	
    	public static final int ANIMATE_OBJECT = 160;
    
    	public static final int SEND_NONWALKABLE_CHATBOX_INTERFACE = 164;
    
    	public static final int SPIN_CAMERA = 166;
    
    	public static final int SHOW_HIDE_INTERFACE_CONTAINER = 171;
    	
    	public static final int PLAY_SOUND_EFFECT = 174;
    	
    	public static final int MOVE_CAMERA = 177;
    
    	public static final int OPEN_WELCOME_SCREEN = 176;
    	
    	public static final int SHOW_PLAYER_HEAD_ON_INTERFACE = 185;
    	public static final int BUTTON_CLICK = 185;
    	
    	public static final int SEND_ENTER_NAME = 187;
    
    	public static final int SEND_RECEIVED_PRIVATE_MESSAGE = 196;
    	
    	public static final int SEND_ANIMATE_INTERFACE = 200;
    	
    	public static final int IDLE_LOGOUT = 202;
    	
    	public static final int UPDATE_CHAT_MODES = 206;
    	
    	public static final int SEND_WALKABLE_INTERFACE = 208;
    	
    	public static final int ENTER_REGION = 210;
    	
    	public static final int MOVE_ITEM = 214;
    	public static final int ADD_IGNORE = 214;
    	public static final int REMOVE_IGNORE = 215;
    	
    	public static final int CLAN_CHAT = 217; // 317 did not have this
    	public static final int REPORT_PLAYER = 218;
    	public static final int SEND_WALKABLE_CHATBOX_INTERFACE = 218;
    	public static final int CLOSE_INTERFACE = 219;
    	
    	public static final int SET_FRIENDSERVER_STATUS = 221;
    	
    	public static final int SET_MODEL_INTERFACE_ZOOM = 230;
    	
    	public static final int SEND_PLAYER_WEIGHT = 240;
    	public static final int SEND_REGION_MAP_REGION = 241;
    	public static final int MOUSE_CLICK = 241;
    
    	public static final int SEND_ITEM_TO_INTERFACE = 246;
    	
    	public static final int SEND_DUO_INTERFACE = 248;
    	public static final int SEND_INITIALIZE_PACKET = 249;
    	public static final int ENABLE_NOCLIP = 250;	
    	public static final int SEND_URL = 251;
    	public static final int SEND_CLAN_CHAT_MESSAGE = 252;
    	public static final int SEND_MESSAGE = 253;
    	public static final int SEND_HINT_ICON = 254;
    }
    To add on this, if anyone wants the version of this without all the custom networking code (and disconnection problems), here's a link: https://www.mediafire.com/file/d4syj...17_io.zip/file
    Read more here: https://www.rune-server.ee/runescape...ml#post5638129

    Quote Originally Posted by Mr Bill View Post
    Anyone know why I get this while starting the server in eclipse?



    The path does exist and the files are in there that were included.
    Looks like the /data/ folder cannot be found (that contains all the clip data etc), make sure it's added in the project's root directory.
    [Today 01:29 AM] RSTrials: Nice 0.97 Win/Loss Ratio luke. That's pretty bad.
    [Today 01:30 AM] Luke132: Ok u fucking moron i forgot i could influence misc.random
    Reply With Quote  
     

  10. Thankful user:


  11. #160  
    Super Donator
    Groovy Baby's Avatar
    Join Date
    Dec 2012
    Posts
    167
    Thanks given
    9
    Thanks received
    22
    Rep Power
    0
    Quote Originally Posted by Professor Oak View Post
    To add on this, if anyone wants the version of this without all the custom networking code (and disconnection problems), here's a link: https://www.mediafire.com/file/d4syj...17_io.zip/file
    Read more here: https://www.rune-server.ee/runescape...ml#post5638129


    Looks like the /data/ folder cannot be found (that contains all the clip data etc), make sure it's added in the project's root directory.
    mage is messed up on that io release you linked when i try cast a spell or use throwing knifes i go invis xD
    Reply With Quote  
     

Page 16 of 18 FirstFirst ... 61415161718 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 70
    Last Post: 05-08-2017, 07:29 PM
  2. Replies: 10
    Last Post: 11-15-2013, 08:53 PM
  3. 508+ server with SOME skilling?
    By JacksonPM23 in forum Requests
    Replies: 0
    Last Post: 01-12-2012, 04:58 AM
  4. Replies: 6
    Last Post: 06-03-2010, 03:21 PM
  5. Replies: 4
    Last Post: 08-04-2009, 05:03 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •