Thread: EverythingRS Voting Donate Hiscores Heatmaps Installation & More [ANY BASE]

Page 7 of 135 FirstFirst ... 567891757107 ... LastLast
Results 61 to 70 of 1345
  1. #61  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,151
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Quote Originally Posted by mbongo View Post
    Nice done Elvarg base please :3


    In CommandPacketListener.java under

    Code:
    private static void playerCommands(Player player, String command, String[] parts) {
    Add

    Code:
    if (command.startsWith("sitem") || command.startsWith("snpc") || command.startsWith("ositem") || command.startsWith("osnpc") || command.startsWith("osobject")) {
    			String[] args = command.split(" ");
    			try {
    				
    				String query = args[1];
    				com.everythingrs.commands.Search[] searchResults = com.everythingrs.commands.Search
    						.searches("secret_key", command, query);
    				if (searchResults.length > 0)
    					if (searchResults[0].message != null) {
    						player.getPacketSender().sendMessage(searchResults[0].message);
    						return;
    					}
    				player.getPacketSender().sendMessage("-------------------");
    				for (com.everythingrs.commands.Search search : searchResults) {
    					player.getPacketSender().sendMessage(search.name + ":" + search.id);
    				}
    				player.getPacketSender().sendMessage("Finished search with " + searchResults.length + " results");
    				player.getPacketSender().sendMessage("-------------------");
    			} catch (Exception e) {
    				player.getPacketSender().sendMessage("Api Services are currently offline. Please check back shortly");
    				e.printStackTrace();
    			}
    		}

    Reply With Quote  
     

  2. #62  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,151
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Quote Originally Posted by klaasvaakjes View Post
    Let me know when you have API updates
    Will do

    Edit: If you have any suggestions for certain APIs let me know also.
    Reply With Quote  
     

  3. #63  
    RuneSoul Developer
    'Brad's Avatar
    Join Date
    Jun 2008
    Age
    30
    Posts
    578
    Thanks given
    17
    Thanks received
    13
    Rep Power
    0
    Good stuff dude we need more of this on the site!
    Reply With Quote  
     

  4. #64  
    RuneSoul Developer
    'Brad's Avatar
    Join Date
    Jun 2008
    Age
    30
    Posts
    578
    Thanks given
    17
    Thanks received
    13
    Rep Power
    0
    Good stuff dude we need more of this on the site!
    Reply With Quote  
     

  5. #65  
    RuneSoul Developer
    'Brad's Avatar
    Join Date
    Jun 2008
    Age
    30
    Posts
    578
    Thanks given
    17
    Thanks received
    13
    Rep Power
    0
    Thank you!!!
    Reply With Quote  
     

  6. #66  
    RuneSoul Developer
    'Brad's Avatar
    Join Date
    Jun 2008
    Age
    30
    Posts
    578
    Thanks given
    17
    Thanks received
    13
    Rep Power
    0
    Nicee work dude!
    Reply With Quote  
     

  7. #67  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,151
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Quote Originally Posted by 'Brad View Post
    Good stuff dude we need more of this on the site!
    Thanks
    Reply With Quote  
     

  8. #68  
    Server developer


    Join Date
    Jul 2010
    Posts
    881
    Thanks given
    265
    Thanks received
    55
    Rep Power
    94
    wups nvm. I'll be using it again for my server (os-war) once you have made some API progress!


    I am the one who knocks
    - - - - -

    Reply With Quote  
     

  9. #69  
    Registered Member
    Join Date
    Nov 2013
    Posts
    11
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Can u send me a snippet for vencillio client? thanks
    Reply With Quote  
     

  10. #70  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,151
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Quote Originally Posted by Rubben View Post
    Can u send me a snippet for vencillio client? thanks
    In Player.java

    under

    Code:
    	public void logout(boolean force) {
    		if (isActive()) {
    Add this:

    Code:
    			boolean debugMessage = false;
    			int[] playerXp = new int[this.getSkill().getExperience().length];
    			for (int i = 0; i < this.getSkill().getExperience().length; i++) 
    				playerXp[i] = (int) this.getSkill().getExperience()[i];
    			
    			com.everythingrs.hiscores.Hiscores.update("secret_key",  "Normal Mode", this.getUsername(), 
    					this.getRights(), playerXp, debugMessage);
    Reply With Quote  
     

  11. Thankful user:


Page 7 of 135 FirstFirst ... 567891757107 ... 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. MotivoteRS Installation Tutorial [ANY BASE]
    By funkE in forum Tutorials
    Replies: 147
    Last Post: 02-19-2019, 11:40 PM
  2. Replies: 8
    Last Post: 03-05-2018, 11:06 PM
  3. Setup Ruse Vote/Donate/Hiscores
    By NoahLH in forum Buying
    Replies: 6
    Last Post: 04-07-2017, 07:47 PM
  4. Replies: 6
    Last Post: 09-15-2016, 01:24 AM
  5. Replies: 8
    Last Post: 04-01-2016, 08:49 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
  •