Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • Travas: ur mom
      July 21, 2018, 06:04:50 PM
    • YNRDAB: Watcha big ballers up too?
      July 20, 2018, 11:01:06 AM
    • dark250: i need help for coding client
      July 19, 2018, 08:27:37 AM
    • Travas: yes
      July 14, 2018, 02:19:44 PM
    • drubrkletern: lmao racist and sexist much?
      July 14, 2018, 01:11:52 PM
    • Cole1497: yeah i got you lil boat give me a second
      July 13, 2018, 03:19:35 AM
    • B0ATY.: yo can anyone unban my ip, i got banned for saying i hope someone gets aids :p
      July 12, 2018, 09:16:00 PM
    • jme: ziplock this domain belongs to the kremlin now
      July 12, 2018, 06:54:31 PM
    • Pure_: lol
      July 12, 2018, 01:37:47 PM
    • ziplock: wtf is this forum? Haven't checked in in 4 years lmao
      July 11, 2018, 10:26:03 AM
    • ziplock: Idk
      July 11, 2018, 10:25:41 AM
    • _^_: guys is anyone still even here
      July 11, 2018, 01:54:43 AM
    • Travas: gay
      July 08, 2018, 02:00:14 PM
    • CheapOnlineHost: Hosting starting at $0.75 hostcheap.io
      July 08, 2018, 09:35:20 AM
    • q1w1e1r1t1y: is the server actually updating or is it down?? trying to log on for the first time in a few months and it says "server updating try again in 1 minute" for the last 10 minutes now
      July 07, 2018, 11:11:51 PM
    • Cole1497: gamers unite
      July 07, 2018, 04:26:07 PM
    • IamLation: LMFAO @cole
      July 06, 2018, 10:36:52 AM
    • drubrkletern: olfihsouhdiu
      July 04, 2018, 04:25:32 PM
    • Cole1497: im looking for an expensive an unreliable host sorry mr guy
      July 02, 2018, 08:06:58 PM
    • CheapOnlineHost: Looking for a cheap and reliable host? [link]
      July 01, 2018, 07:18:16 PM

    Author Topic: Report Abuse Button [PI]  (Read 624 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinebeale

    • Member
    • ***
    • Posts: 187
    • Thanks: +0/-0
      • View Profile
    Report Abuse Button [PI]
    « on: June 17, 2015, 11:24:12 PM »
    Wasn't sure if this was client sided or Server sided, so I will just leave it here in Server help section. I need to know how/where the report abuse interface is opened. I wish to change the button's purpose, and I want it to launch a new interface rather than the report abuse interface. I have already changed the text on the button, which was easy to find, but I cannot find where the interface for the report abuse (5875) is launched. Any help finding the proper class to look in, or just simply how to change it?
    Runescape Gambling

    Offlinesk8rdude461

    • MOPARSCAPE WAS HACKED
    • Member
    • ****
    • *
    • Posts: 12,471
    • Thanks: +0/-0
      • View Profile
    Re: Report Abuse Button [PI]
    « Reply #1 on: June 18, 2015, 12:11:05 PM »
    It's actually in the client.
    I honestly do not know why they would make a feature such as this client sided, because then it can be manipulated. (You can change it so you're "mod" and then it gives you the power to mute)
    But server sided checks would also prevent that :)

    The easiest way to find where the interface is opened, would be to search for this string:
    Code: [Select]
    "Please close the interface you have open before using 'report abuse'"You should get something like this:
    Code: Java
    1.                         if(j2 !=-1)
    2.                                 if(openInterfaceID ==-1){
    3.                                         clearTopInterfaces();
    4.                                         reportAbuseInput = s2.substring(j2 +5).trim();
    5.                                         canMute =false;
    6.                                         for(int i3 =0; i3 < RSInterface.interfaceCache.length; i3++){
    7.                                                 if(RSInterface.interfaceCache[i3]==null
    8.                                                                 || RSInterface.interfaceCache[i3].contentType!=600)
    9.                                                         continue;
    10.                                                 reportAbuseInterfaceID = openInterfaceID = RSInterface.interfaceCache[i3].parentID;
    11.                                                 break;
    12.                                         }
    13.  
    14.                                 }else{
    15.                                         pushMessage("Please close the interface you have open before using 'report abuse'", 0, "");
    16.                                 }
    Runescape Gambling

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal