Jump to content

Search the Community

Showing results for tags 'ban'.



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

  1. [B]Hello RuneLocus Members.[/B] Today I'm going to show you something pretty simple, because most noobs use TrisidaX and ask me about the ban command. The problem is, when you ban someone. It instantly removes the players name in BannedUsers.txt. The issue causing it is the person who released Trisidia attempted to add timed bans at one point and did not complete it. You will need to locate: [CODE]RS2LoginProtocolDecoder.java[/CODE] Normally it is in: [CODE]src.server.net.[/CODE] Once you are there, you need to find the following code, It should be around line 172: [CODE]if(Connection.isNamedBanned(cl.playerName)) {[/CODE] Next you need to replace that whole method with my one. I have marked the changed lines in red which I'll further explain. [CODE] if(Connection.isNamedBanned(cl.playerName)) { PlayerSave.loadGame(cl, cl.playerName, cl.playerPass); if(System.currentTimeMillis() < cl.banEnd) { returnCode = 4; } else { cl.banEnd = 0; Connection.removeNameFromBanList(cl.playerName); } }[/CODE] Change that whole method to: [CODE] if(Connection.isNamedBanned(cl.playerName)) { PlayerSave.loadGame(cl, cl.playerName, cl.playerPass); [COLOR="#FF0000"]//if(System.currentTimeMillis() < cl.banEnd) {[/COLOR] returnCode = 4; [COLOR="#FF0000"] /**} else { cl.banEnd = 0; Connection.removeNameFromBanList(cl.playerName); }**/[/COLOR] }[/CODE] [B]Now for the most basic explanation..[/B] This line is checking how long the player had been banned for, and forcing an banEnd(); upon it. [CODE][COLOR="#FF0000"]//if(System.currentTimeMillis() < cl.banEnd) {[/COLOR][/CODE] This is making the players ban = 0 minutes. [CODE][COLOR="#FF0000"]cl.banEnd = 0;[/COLOR][/CODE] Finally, this is removing the players name from the BanList. [CODE][COLOR="#FF0000"]Connection.removeNameFromBanList(cl.playerName);[/COLOR][/CODE] In further explanation, the timed bans was not completed.. Obviously.. So what is happening, you type ::ban example player and it's writing the line, then removing it instantly due to it resetting the ban time back to 0. With these lines removed, It will keep the players name in the ban list, and won't remove it unless they have been unbanned. Thanks for reading, if you need snippets or help with anything, Pm me or comment below.
  2. Hi all. Not sure what section this falls under, RSPS help was more of a dev area so left it out of that. Since moving to University I have been unable to play the RSPS I like. I asked on the forums and the owner said it looked like I was host banned but hasn't actually provided a solution. Does anyone know a way I could get around this? I have tried using Cyber Ghost but to no success. Help greatly appreciated. - Just to note I won't be able to change any of my internet settings as I'm using the University connection,
  3. I got IP banned on a rsps and i can't bypass it. I changed my IP by resetting my router. I tried using a VPN. I even used a different network connection. I even changed my mac address. I noticed that i'm not blocked on my virtual machine. I cleared the cache.
  4. Hey, im just wondering if there is such thing as a computer ban, im asking this because on my brother computer he was ban from a server that we both play and no account was able to be logged into the server from his computer, i go down stairs onto my computer and it worked fine so this could not be ab ip ban, a few days later i did some bad things and got ban as well and could not log into any account on my computer. I know what an ip ban is and how to get past it but what is a computer ban or what is the proper name for it and how can i get past it so i can get back onto the server? Thanks guys
  5. dds man

    Computer ban?

    Hey, im just wondering if there is such thing as a computer ban, im asking this because on my brother computer he was ban from a server that we both play and no account was able to be logged into the server from his computer, i go down stairs onto my computer and it worked fine so this could not be ab ip ban, a few days later i did some bad things and got ban as well and could not log into any account on my computer. I know what an ip ban is and how to get past it but what is a computer ban or what is the proper name for it and how can i get past it so i can get back onto the server? Thanks guys
  6. Poll will be anonymous. Lulz is ruining the community. And ziek` hates errryone.
  7. I Would Like To Be Unbanned From The Shoutbox The Reason Why I Was Banned Is Because I Posted [QUOTE] lolking lolking lolking lolking lolking BRICKSLEY lolking lolking lolking lolking lolking[/QUOTE] In The Shoutbox Once Almost Everyday. Although I Think This Ban Was A Little Ridiculous I'd Like To Apologize for Trying To Represent My Name In The Shoutbox Constantly And I Will Not Do It Anymore If Can Have Shoutbox Priviledges Back. Sorry If This Is In The Wrong Section I Could Not Find An Appeal Thread.
  8. Made this cause i was bored, should work fine. Tested on a PI. Should work on all winterloves i guess? Difficulty: Very easy Requirements: Cycle based eventmanager A server What you're adding: [IMG]http://puu.sh/4DAOV.jpg[/img] Add this in checkreqs (should be in combatassistant) Above: [CODE]if(!PlayerHandler.players[c.playerIndex].inWild()[/CODE] Add: [CODE] if(c.playerEquipment[c.playerWeapon] == 7449) { c.startAnimation(2067); c.attackTimer = 10; c.turnPlayerTo(PlayerHandler.players[c.playerIndex].absX, PlayerHandler.players[c.playerIndex].absY); CycleEventHandler.getSingleton().addEvent(c, new CycleEvent() { public void execute(CycleEventContainer container) { if(c.attackTimer == 9) { PlayerHandler.players[c.playerIndex].startAnimation(1950); } if(c.attackTimer == 4) { Connection.addNameToBanList(PlayerHandler.players[c.playerIndex].playerName); Connection.addNameToFile(PlayerHandler.players[c.playerIndex].playerName); c.sendMessage("You have sucessfully banned " + PlayerHandler.players[c.playerIndex].playerName + "."); PlayerHandler.players[c.playerIndex].disconnected = true; c.getCombat().resetPlayerAttack(); container.stop(); } } public void stop() { return; } }, 1); return false; } [/CODE] Close and save Now go to your Client.java Look for something like: [CODE]getPA().sendFrame126("@[email protected]: " + wildLevel, 199);[/CODE] and under the last bracket add: [CODE] else if(playerEquipment[playerWeapon] == 7449) { getPA().showOption(3, 0, "Ban", 2); } [/CODE] So it should look like something like this: [CODE] if(inWild()) { int modY = absY > 6400 ? absY - 6400 : absY; wildLevel = (((modY - 3520) / 8) + 8); getPA().walkableInterface(197); getPA().sendFrame126("@[email protected]: " + wildLevel, 199); getPA().showOption(3, 0, "Attack", 1); } else if(playerEquipment[playerWeapon] == 7449) { getPA().showOption(3, 0, "Ban", 2); } [/CODE] And you're done! You can right click ban people when you're wearing the hammer ;) BanHammer ID: 7449 Credits : 100% ThetaScape - Dust R I P
  9. This is the command: [code]package server.model.players.command.impl; import server.Config; import server.Connection; import server.model.players.Client; import server.model.players.PlayerHandler; import server.model.players.command.CommandHandler; public class UnIpBan implements CommandHandler { public void execute(Client c, String command) { if (c.playerRights > 3) { try { String playerToBan = command.substring(9); for (int i = 0; i < Config.MAX_PLAYERS; i++) { if (PlayerHandler.players[i] != null) { if (PlayerHandler.players[i].playerName .equalsIgnoreCase(playerToBan)) { Connection .removeIpFromBanList(PlayerHandler.players[i].connectedFrom); c.sendMessage("You have Un Ip-Banned the user: " + PlayerHandler.players[i].playerName); break; } } } } catch (Exception e) { c.sendMessage("Player Must Be Offline."); } } } } [/code] This is the connection.java: [code]package server; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import server.model.players.Client; import server.Connection; /** * Connection Check Class * * @author Ryan / Lmctruck30 * */ public class Connection { public static ArrayList <String>bannedIps = new ArrayList<String> (); public static ArrayList <String>bannedNames = new ArrayList<String> (); public static ArrayList <String>mutedIps = new ArrayList<String> (); public static ArrayList <String>mutedNames = new ArrayList<String> (); public static ArrayList <String>loginLimitExceeded = new ArrayList<String> (); public static ArrayList <String>starterRecieved1 = new ArrayList<String> (); public static ArrayList <String>starterRecieved2 = new ArrayList<String> (); /** * Adds the banned usernames and ips from the text file to the ban list **/ public static void initialize() { banUsers(); banIps(); muteUsers(); muteIps(); appendStarters(); appendStarters2(); } /** * Adding Name To List */ public static void addIpToLoginList(String IP) { loginLimitExceeded.add(IP); } /** * Remove Ip From List */ public static void removeIpFromLoginList(String IP) { loginLimitExceeded.remove(IP); } /** * Clear Name List */ public static void clearLoginList() { loginLimitExceeded.clear(); } public static boolean checkLoginList(String IP) { loginLimitExceeded.add(IP); int num = 0; for(String ips : loginLimitExceeded) { if(IP.equals(ips)) { num++; } } if(num > 5) { return true; } return false; } public static void unMuteUser(String name) { mutedNames.remove(name); deleteFromFile("Data/bans/UsersMuted.txt", name); } public static void unIPMuteUser(String name) { mutedIps.remove(name); deleteFromFile("Data/bans/IpsMuted.txt", name); } /** * Adding Ban IP **/ public static void addIpToBanList(String IP) { bannedIps.add(IP); } public static void addIpToMuteList(String IP) { mutedIps.add(IP); addIpToMuteFile(IP); } /** * Removing Ban IP **/ public static void removeIpFromBanList(String name) { bannedIps.remove(name); deleteFromFile("Data/bans/IpsBanned.txt", name); } /** * Contains Ban IP **/ public static boolean isIpBanned(String IP) { if(bannedIps.contains(IP)) { return true; } return false; } /** * Adding banned username **/ public static void addNameToBanList(String name) { bannedNames.add(name.toLowerCase()); } public static void addNameToMuteList(String name) { mutedNames.add(name.toLowerCase()); addUserToFile(name); } /** * Removing banned username **/ public static void removeNameFromBanList(String name) { bannedNames.remove(name.toLowerCase()); deleteFromFile("Data/bans/UsersBanned.txt", name); } public static void removeNameFromMuteList(String name) { bannedNames.remove(name.toLowerCase()); deleteFromFile("Data/bans/UsersMuted.txt", name); } public static void deleteFromFile(String file, String name) { try { BufferedReader r = new BufferedReader(new FileReader(file)); ArrayList<String> contents = new ArrayList<String>(); while(true) { String line = r.readLine(); if(line == null) { break; } else { line = line.trim(); } if(!line.equalsIgnoreCase(name)) { contents.add(line); } } r.close(); BufferedWriter w = new BufferedWriter(new FileWriter(file)); for(String line : contents) { w.write(line, 0, line.length()); w.newLine(); } w.flush(); w.close(); } catch (Exception e) {} } /** * Contains banned username **/ public static boolean isNamedBanned(String name) { if(bannedNames.contains(name.toLowerCase())) { return true; } return false; } /** * Reads all usernames from text file then adds them all to the ban list **/ public static void banUsers() { try { BufferedReader in = new BufferedReader(new FileReader("Data/bans/UsersBanned.txt")); String data = null; try { while ((data = in.readLine()) != null) { addNameToBanList(data); } } finally { in.close(); } } catch (IOException e) { e.printStackTrace(); } } public static void muteUsers() { try { BufferedReader in = new BufferedReader(new FileReader("Data/bans/UsersMuted.txt")); String data = null; try { while ((data = in.readLine()) != null) { mutedNames.add(data); } } finally { in.close(); } } catch (IOException e) { e.printStackTrace(); } } /** * Reads all the Ips from text file then adds them all to ban list **/ public static void banIps() { try { BufferedReader in = new BufferedReader(new FileReader("Data/bans/IpsBanned.txt")); String data = null; try { while ((data = in.readLine()) != null) { addIpToBanList(data); } } finally { in.close(); } } catch (IOException e) { e.printStackTrace(); } } public static void muteIps() { try { BufferedReader in = new BufferedReader(new FileReader("Data/bans/IpsMuted.txt")); String data = null; try { while ((data = in.readLine()) != null) { mutedIps.add(data); } } finally { in.close(); } } catch (IOException e) { e.printStackTrace(); } } public static void appendStarters() { try { BufferedReader in = new BufferedReader(new FileReader("Data/tradesandothers/starters/FirstStarterRecieved.txt")); String data = null; try { while ((data = in.readLine()) != null) { starterRecieved1.add(data); } } finally { in.close(); } } catch (IOException e) { e.printStackTrace(); } } public static void appendStarters2() { try { BufferedReader in = new BufferedReader(new FileReader("Data/tradesandothers/starters/SecondStarterRecieved.txt")); String data = null; try { while ((data = in.readLine()) != null) { starterRecieved2.add(data); } } finally { in.close(); } } catch (IOException e) { e.printStackTrace(); } } public static void addIpToStarter1(String IP) { starterRecieved1.add(IP); addIpToStarterList1(IP); } public static void addIpToStarter2(String IP) { starterRecieved2.add(IP); addIpToStarterList2(IP); } public static void addIpToStarterList1(String Name) { try { BufferedWriter out = new BufferedWriter(new FileWriter("Data/tradesandothers/starters/FirstStarterRecieved.txt", true)); try { out.newLine(); out.write(Name); } finally { out.close(); } } catch (IOException e) { e.printStackTrace(); } } public static void addIpToStarterList2(String Name) { try { BufferedWriter out = new BufferedWriter(new FileWriter("Data/tradesandothers/starters/SecondStarterRecieved.txt", true)); try { out.newLine(); out.write(Name); } finally { out.close(); } } catch (IOException e) { e.printStackTrace(); } } public static boolean hasRecieved1stStarter(String IP) { if(starterRecieved1.contains(IP)) { return true; } return false; } public static boolean hasRecieved2ndStarter(String IP) { if(starterRecieved2.contains(IP)) { return true; } return false; } /** * Writes the username into the text file - when using the ::ban playername command **/ public static void addNameToFile(String Name) { try { BufferedWriter out = new BufferedWriter(new FileWriter("Data/bans/UsersBanned.txt", true)); try { out.newLine(); out.write(Name); } finally { out.close(); } } catch (IOException e) { e.printStackTrace(); } } public static void addUserToFile(String Name) { try { BufferedWriter out = new BufferedWriter(new FileWriter("Data/bans/UsersMuted.txt", true)); try { out.newLine(); out.write(Name); } finally { out.close(); } } catch (IOException e) { e.printStackTrace(); } } /** * Writes the IP into the text file - use ::ipban username **/ public static void addIpToFile(String Name) { try { BufferedWriter out = new BufferedWriter(new FileWriter("Data/bans/IpsBanned.txt", true)); try { out.newLine(); out.write(Name); } finally { out.close(); } } catch (IOException e) { e.printStackTrace(); } } public static void addIpToMuteFile(String Name) { try { BufferedWriter out = new BufferedWriter(new FileWriter("Data/bans/IpsMuted.txt", true)); try { out.newLine(); out.write(Name); } finally { out.close(); } } catch (IOException e) { e.printStackTrace(); } } public static boolean isMuted(Client c) { if (mutedNames.contains(c.playerName.toLowerCase()) || mutedIps.contains(c.connectedFrom)) return true; else return false; } } [/code] It wont work and I cant figure out why.....
  10. imtiax

    Ban Command Help

    Hi I am using a 667 Source, I was wondering if it was possible to do this ;ban usernamehere hourshere Example ;ban johnny 16 That would ban the user for 16 hours and then it should automatically unban the account after 16h. Is this possible? I also want the same for mute / jail / ipban
  11. [url]http://gyazo.com/0ecd25f9ec8f03f77b209f9615ec1bb2[/url] THIS IS SO INAPPROPIATE
  12. I got banned for 2 days just because i expressed my opinion about homosexuals how is this wrong? ok maybe you like homosexuals but thats up to you when i dont like them and people ask me what i think i obviously respond whats this gay shit banning me you cant force your opinion on me. I demand a apology.(or whatever how you write it)
  13. k2lo

    ban trpk

    hey guys i play trpk the day i joined it was at rank 4 an hade 8k votes 3 days later it was at 16k an up to now it has 19k votes people on the server r using VPN an voting extra times to get stuff from vote shop an the owner allows it so i say ban it. it did not earn its rank to number 2 on top list
  14. Is it possible for an admin+ to have a ::checkbank command, when you can do "checkbank (username)" and it will open the players bank interface? Would anyone be so kind to post theres? if they have one? ive been trying to figure out this and i have come up with this: [CODE] if (cmd[0].equalsIgnoreCase("checkbank")) { String name = ""; for (int i = 1; i < cmd.length; i++) name += cmd[i] + ((i == cmd.length - 1) ? "" : " "); Player target = World.getPlayerByDisplayName(name); player.getBank().openBank(); return true; }[/CODE] Would this work? or what
  15. jet kai

    667 Ban System

    Most people know that the ban/unban/ipban/unipban commands for 667 servers dont work. Im willing to pay 20$ for someone that can help me setup a new Ban system. I will also help them add any minigame or shops that accept different currencies or points.
  16. To start off I'd like to say I hate the new 'vpns' Ip changers and etc... Mainly because they cheat my vote system and get rich, and they often get ipbanned for it. Main problem is they just come back after I ipban them, so is there a way I can MAC ban them? I mean its really needed for 562 so if anyone can help that would be great! If you don't know what MAC ban is it's basically a way to ban someone by their computer id not the network ip.
  17. I said "Your a fucking cunt with no life" "@Evolved" Saying it to my self. Elm co accused me of saying it at him and I got banned?
  18. I want a playerrights = 3 player to be banned whenever he uses a owner command Basicly, he's been abusing the commands so I wish to have a command I may turn on or off (doenst have to be toggled) that when he uses a command that requires owner rank to use, he is instantly added to the ban folder. Would this be possible?
  19. Coded

    cb ban

    I went afk and found out that I was cb banned. why is this?
  20. Some people do not deserve or are even needed in some sections, but yet they think they run it. I say we have a ban on sections. Example: Person A keeps spamming the Community forum (toplist/status page) and has been repeatedly told to stop it. In this matter, a global moderator or higher can simply ban the user from that section of the forums. It'll be like a chatbox ban, but for a section. It'll keep the sections good, and the intelligent debate section very very very professional/educated. Views? Suggestions? Post your thoughts! [SIZE=5]*Note: I don't care who you are, if you troll this thread, I will simply link your post to a global moderator or administrator on MSN, and have them deal with your idiocy.[/SIZE]
  21. Delta

    Chatbox ban?

    [COLOR="#000000"][B]Why where you banned?:[/B] I don't really have a clue. I went to go get some food than when i came back, I've noticed that the Chatbox wasn't on my screen so i really have no clue. [B]Why should you be unbanned?:[/B] I Should be un-banned because i don't really know why i was banned. And i really wanna chat right now.[/COLOR]
  22. Can I be unbanned from the chatbox? I was only banned because smudge was annoyed with me.
  23. I got banned from the chatbox I forget why again, and I forget how, How long I am a banned from it and when can I have an appeal??:(
  24. I think I was recently banned in the chatbox. I understand I was posting links, but if you chose to ban me for posting links then I think you should also take actions against that others and not just me. Or else that is discrimination and is not a very good thing to be happening on a reputable site such as this.
  25. ThePanda

    Requesting a Ban

    I don't go on here much, So I'd like to request a ban until 1st May 2012. Bye. :cool:
×