Jump to content

Techy

Advanced Members
  • Posts

    250
  • Joined

  • Last visited

  • Days Won

    11

Bug Comments posted by Techy

  1. This will fix two problems (not being able to do (RANDOM) and the problem listed above)

    Fix: @Admin

    File: xAvatar.as

    Function: xAvatar(constructor)

    Replace

    XSoTYfWRQrqVkBhbMinfvw.png
    with

                if ((((((_arg_2.charAt(0) === "(")) && ((_arg_2.toLowerCase().indexOf("random") >= 0)))) && (todo.HasPower(_arg_5, 272)))){
    				var randavy = _arg_2.split("#");
    				for (var i:Number = 0; i < randavy.length; i++) {
    					randavy[i] = xmessage.DoRandom(randavy[i], _arg_5);
    				}
    				_arg_2 = randavy.join("#");
                };


    File: xmessage.as

    Function: DoRandom

    Replace
    WPGFWWBUTOWdqHq6VflTYQ.png

    with

    var _local_3:* = _arg_1.split(/random/gi);

     

    • Award 1
  2. Fix:

    File: xkiss.as

    Function: WhoIs

    replace it with this

    private static function WhoIs(_arg_1:*=0){
    	if (todo.w_userno != todo.uKiss) {
    		main.openDialog(2, todo.uKiss);
    	}
    }

     

    • Award 1
  3. Fix:

    File: xmessage.as

    Function: Smilie

    Replace:

    -YF5qOfsQxmw9nFQcHSSGg.png

    with

    								if (Code.match(/#wc/g).length > 0 && !todo.HasPowerA(todo.Users[uid].Powers, 410)) {
    									Code = Code.replace(/#wc/g, "#WC");
    									smc.u = ("C" + xatlib.xInt(smc.u));
    								}

     

    • Award 2
  4. Issue is caused by NaughtyStep & Dunce being treated as both a kick and ban function which they are not
    Fix:

    File: DialogActions.as

    Function: Constructor (aka DialogActions)

    Replace:
    CrLwhFONSJWkt3x7U0vBNg.png

    with

                if (bKick != undefined || this.bDunce != undefined || this.bNaughty != undefined){
                    s = xconst.ST(79);
                    Dia.kick = new xBut(Dia, (xx + 10), yy, 150, xatlib.NY(30), s, this.ViewprofileonKick, ((bKick || this.bDunce || this.bNaughty) ? 0 : (xBut.b_Grayed + xBut.b_NoPress)));
                    Dia.kick.SetRoll(xconst.ST(80));
                    Dia.kick.But.UserNo = UserNo;
                };
                if (this.bBan != undefined){
                    s = xconst.ST(81);
                    if ((((uid > -1)) && (todo.Users[uid].banned))){
                        s = xconst.ST(82);
                    };
                    Dia.ban = new xBut(Dia, (xx + 170), yy, 150, xatlib.NY(30), s, this.ViewprofileonGag, ((this.bBan) ? 0 : (xBut.b_Grayed + xBut.b_NoPress)));
                    Dia.ban.SetRoll(xconst.ST(83));
                    Dia.ban.But.UserNo = UserNo;
                };

     

    • Award 1
  5. On 8/13/2017 at 7:54 PM, Arthur said:

    This is related to the Dunce power.

     

    Dunce allows a moderator to dunce another moderator, hence the "Kick" menu is available. Regarding the "Ban" menu, Dunce was originally placed on that menu and it seems like the administrators have forgotten to make this option unavailable when they moved it onto "Kick".

     

    Dunce power enabled

     

    9OKj3xT.png

     

    Dunce power disabled

     

    lpI6asN.png

     

     

    Not only dunce, naughtystep causes this too

  6. Issue is caused because after going away or invis you dont get sent the scroller message again so on <i it resets scroller to empty or Live Mode stuff
    Fix:

    File: network.as

    Function: myOnXML (towards the end of the if statement "if (e.nodeName == "i")"

    vAVOlRV.gif

     

    • Award 3
  7. Issue is caused by pools not being reset with <w packet (it doesnt get sent with chats that dont have pools)
    Before fix:SASoEsF.gifAfter fix:PfZhDdU.gif


    Fix:  (found problem with old fix added new one which is 100% now)
    File: network.as
    Function: myOnXML 

    this goes at the end of the if statement "if (e.nodeName == "gp"")"

    0NjWHjDqRgOAg-FduKMVGA.png

     

    • Award 2
  8. 7 hours ago, SlOom said:

    @Techy Simple question : Isn't this part supposed to delete the status when banned ? Because I suppose if we remove this part, it will show the user's status while banned no?

    so in the function it removes the status so it wont display BUT down the line theres a if statement that checks if your banned and doesnt display it anyway

    IxwoG9QWQ-_NV-9cJHExVw.png

    NnBuNfSuTuKqTS1yNC0yyQ.png

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.