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

Page 103 of 135 FirstFirst ... 35393101102103104105113 ... LastLast
Results 1,021 to 1,030 of 1344
  1. #1021  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Quote Originally Posted by Aekramer View Post
    I used this in the past for voting rewards, but it recently stopped working and shows an https error, did you change anything in the server structure that requires an update of the library?
    DNS has changed as we moved to different hardware. If on Windows can you try doing

    Code:
    ipconfig /flushdns
    In the command line
    Reply With Quote  
     

  2. Thankful user:


  3. #1022  
    Hella Hard Homie


    Join Date
    Jan 2011
    Posts
    600
    Thanks given
    185
    Thanks received
    43
    Rep Power
    111
    Quote Originally Posted by Genesis View Post
    DNS has changed as we moved to different hardware. If on Windows can you try doing

    Code:
    ipconfig /flushdns
    In the command line
    It seems to have gone back online (I did not refresh DNS, just did another test before doing so and it appears to be back)
    Although the connection seems awfully slow (it takes roughly 15 seconds to respond with the reward or message its not available)


    Also, can you please fix this typo? It has been around for a very long time
    Attached image

    Quote Originally Posted by Winston Churchill
    "Success is the ability to go from one failure to another with no loss of enthusiasm"
    Austin still owes me $43
    Reply With Quote  
     

  4. #1023  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Quote Originally Posted by Aekramer View Post
    Also, can you please fix this typo? It has been around for a very long time
    Attached image
    Fixed

    Also you probably want to refresh the DNS in-case you're still connected to the old DNS server.
    Reply With Quote  
     

  5. Thankful user:


  6. #1024  
    Registered Member
    Join Date
    Nov 2016
    Posts
    19
    Thanks given
    0
    Thanks received
    0
    Rep Power
    35
    Works great, ended up adding code to it, to read the game mode of the user and put it on right hiscores game mode. Thanks!
    Reply With Quote  
     

  7. #1025  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Quote Originally Posted by Exilieye View Post
    Works great, ended up adding code to it, to read the game mode of the user and put it on right hiscores game mode. Thanks!
    Anytime
    Reply With Quote  
     

  8. #1026  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Quote Originally Posted by Smidge View Post
    Hello, I have made support threads on the website but no luck for 2 weeks so prob best asking here.
    Is there a way I can change the currency on the actual site as I’ve changed it to GBP in the settings which just changes the PayPal
    Currency but on the store it shows up as dollars. This is misleading to my players any fix?
    At the moment there isn't but will definitely add this
    Reply With Quote  
     

  9. #1027  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Bump!
    Reply With Quote  
     

  10. #1028  
    Registered Member
    Join Date
    Nov 2016
    Posts
    19
    Thanks given
    0
    Thanks received
    0
    Rep Power
    35
    So I have an issue, I copied everything, works flawless, except one thing. When I type ::reward 1 100 it gives me 100 of that reward even if I didn't vote. Also, the same with ::reward 1 it'll just give me 1 of the item. I've tried changing things and analyzing the code but I cannot seem to figure it out nor prevent it from occurring. Genesis, or anyone for that matter, got any ideas? Below is the code I currently have.

    Code:
    if (command[0].startsWith("reward")) {
    			if (command.length == 1) {
    				player.getPacketSender().sendMessage("Please use [::reward id], [::reward id amount], or [::reward id all].");
    				return;
    			}
    			final String playerName = player.getUsername();
    			final String id = command[1];
    			final String amount = command.length == 3 ? command[2] : "1";
    
    			com.everythingrs.vote.Vote.service.execute(new Runnable() {
    				@Override
    				public void run() {
    					try {
    						com.everythingrs.vote.Vote[] reward = com.everythingrs.vote.Vote.reward("MY KEY HERE",
    								playerName, id, amount);
    						if (reward[0].message != null) {
    							player.getPacketSender().sendMessage(reward[0].message);
    							return;
    						}
    						player.getInventory().add(19670, reward[0].give_amount);
    						player.getPacketSender().sendMessage("<img=10><shad=0><col=bb43df>Thank you for voting and supporting (server name here)!");
    						System.out.println(player.getUsername()+" has just voted.");
    						Achievements.doProgress(player, VOTE_100_TIMES, amount);
    						voteCount++;
    					} catch (Exception e) {
    						player.getPacketSender().sendMessage("Api Services are currently offline. Please check back shortly");
    						e.printStackTrace();
    					}
    				}
    
    			});
    	}
    I'm using Necrotic (RUSE) based source. Can someone explain what's wrong with the code? I've even tried doing just what Genesis put on here but it still has that bug. Help appreciated, thanks!
    Reply With Quote  
     

  11. #1029  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    Quote Originally Posted by Exilieye View Post
    So I have an issue, I copied everything, works flawless, except one thing. When I type ::reward 1 100 it gives me 100 of that reward even if I didn't vote. Also, the same with ::reward 1 it'll just give me 1 of the item. I've tried changing things and analyzing the code but I cannot seem to figure it out nor prevent it from occurring. Genesis, or anyone for that matter, got any ideas? Below is the code I currently have.
    Make sure in the panel you do not set points to zero. Otherwise you would essentially be saying "For zero votes/points give the user this item".
    Reply With Quote  
     

  12. #1030  
    Registered Member
    Join Date
    Nov 2016
    Posts
    19
    Thanks given
    0
    Thanks received
    0
    Rep Power
    35
    Quote Originally Posted by Genesis View Post
    Make sure in the panel you do not set points to zero. Otherwise you would essentially be saying "For zero votes/points give the user this item".
    Thank you very much! I guess I didn't really acknowledge how the points system worked. Thank you for that! Well appreciated.
    Reply With Quote  
     

Page 103 of 135 FirstFirst ... 35393101102103104105113 ... 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
  •