Thread: Friends List

Results 1 to 8 of 8
  1. #1 Friends List 
    Registered Member Queer's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    781
    Thanks given
    210
    Thanks received
    33
    Rep Power
    33
    I think the friends list on my delta base server is glitched it keeps saying 'Offline' Even If The Player Is Online... I don't understand it.. Could someone tell me how to fix?


    I'm willing to REP+ anyone who helps!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Xynth's Avatar
    Join Date
    May 2009
    Posts
    2,222
    Thanks given
    226
    Thanks received
    259
    Rep Power
    1155
    This is your Client. But I'll just be nice and give you what method75 should be.

    Code:
        public final void method75(int i, Class9 class9)
    	{
            int j = class9.anInt214;
            if(i <= 0)
                aClass30_Sub2_Sub2_1192.method398(49);
            if(j >= 1 && j <= 100 || j >= 701 && j <= 800)
            {
                if(j == 1 && anInt900 == 0)
                {
                    class9.aString248 = "Loading friend list";
                    class9.anInt217 = 0;
                    return;
                }
                if(j == 1 && anInt900 == 1)
                {
                    class9.aString248 = "Connecting to friendserver";
                    class9.anInt217 = 0;
                    return;
                }
                if(j == 2 && anInt900 != 2)
                {
                    class9.aString248 = "Please wait...";
                    class9.anInt217 = 0;
                    return;
                }
                int k = anInt899;
                if(anInt900 != 2)
                    k = 0;
                if(j > 700)
                    j -= 601;
                else
                    j--;
                if(j >= k)
                {
                    class9.aString248 = "";
                    class9.anInt217 = 0;
                    return;
                } else
                {
                    class9.aString248 = aStringArray1082[j];
                    class9.anInt217 = 1;
                    return;
                }
            }
            if(j >= 101 && j <= 200 || j >= 801 && j <= 900)
            {
                int l = anInt899;
                if(anInt900 != 2)
                    l = 0;
                if(j > 800)
                    j -= 701;
                else
                    j -= 101;
                if(j >= l)
                {
                    class9.aString248 = "";
                    class9.anInt217 = 0;
                    return;
                }
                if(anIntArray826[j] == 10)
                    class9.aString248 = "@gre@Online";
                else
                if(/*anIntArray826[j] == anInt957*/anIntArray826[j] == 1)
                    class9.aString248 = /*"@gre@World-" + (anIntArray826[j] - 9)*/"@red@Offline";
                else
                    class9.aString248 = /*"@gre@World-" + (anIntArray826[j] - 9)*/"@red@Offline";
                class9.anInt217 = 1;
                return;
            }
            if(j == 203)
            {
                int i1 = anInt899;
                if(anInt900 != 2)
                    i1 = 0;
                class9.anInt261 = i1 * 15 + 20;
                if(class9.anInt261 <= class9.anInt267)
                    class9.anInt261 = class9.anInt267 + 1;
                return;
            }
            if(j >= 401 && j <= 500)
            {
                if((j -= 401) == 0 && anInt900 == 0)
                {
                    class9.aString248 = "Loading ignore list";
                    class9.anInt217 = 0;
                    return;
                }
                if(j == 1 && anInt900 == 0)
                {
                    class9.aString248 = "Please wait...";
                    class9.anInt217 = 0;
                    return;
                }
                int j1 = anInt822;
                if(anInt900 == 0)
                    j1 = 0;
                if(j >= j1)
                {
                    class9.aString248 = "";
                    class9.anInt217 = 0;
                    return;
                } else
                {
                    class9.aString248 = Class50.method587(-45804, Class50.method584(aLongArray925[j], (byte)-99));
                    class9.anInt217 = 1;
                    return;
                }
            }
            if(j == 503)
            {
                class9.anInt261 = anInt822 * 15 + 20;
                if(class9.anInt261 <= class9.anInt267)
                    class9.anInt261 = class9.anInt267 + 1;
                return;
            }
            if(j == 327)
            {
                class9.anInt270 = 150;
                class9.anInt271 = (int)(Math.sin((double)anInt1161 / 40D) * 256D) & 0x7ff;
                if(aBoolean1031)
                {
                    for(int k1 = 0; k1 < 7; k1++)
                    {
                        int l1 = anIntArray1065[k1];
                        if(l1 >= 0 && !Class38.aClass38Array656[l1].method537((byte)2))
                            return;
                    }
    
                    aBoolean1031 = false;
                    Class30_Sub2_Sub4_Sub6 aclass30_sub2_sub4_sub6[] = new Class30_Sub2_Sub4_Sub6[7];
                    int i2 = 0;
                    for(int j2 = 0; j2 < 7; j2++)
                    {
                        int k2 = anIntArray1065[j2];
                        if(k2 >= 0)
                            aclass30_sub2_sub4_sub6[i2++] = Class38.aClass38Array656[k2].method538(false);
                    }
    
                    Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(i2, aclass30_sub2_sub4_sub6, -38);
                    for(int l2 = 0; l2 < 5; l2++)
                        if(anIntArray990[l2] != 0)
                        {
                            class30_sub2_sub4_sub6.method476(anIntArrayArray1003[l2][0], anIntArrayArray1003[l2][anIntArray990[l2]]);
                            if(l2 == 1)
                                class30_sub2_sub4_sub6.method476(anIntArray1204[0], anIntArray1204[anIntArray990[l2]]);
                        }
    
                    class30_sub2_sub4_sub6.method469((byte)-71);
                    class30_sub2_sub4_sub6.method470(Class20.aClass20Array351[((Class30_Sub2_Sub4_Sub1) (aClass30_Sub2_Sub4_Sub1_Sub2_1126)).anInt1511].anIntArray353[0], 40542);
                    class30_sub2_sub4_sub6.method479(64, 850, -30, -50, -30, true);
                    class9.anInt233 = 5;
                    class9.anInt234 = 0;
                    Class9.method208(0, aBoolean994, 5, class30_sub2_sub4_sub6);
                }
                return;
            }
            if(j == 324)
            {
                if(aClass30_Sub2_Sub1_Sub1_931 == null)
                {
                    aClass30_Sub2_Sub1_Sub1_931 = class9.aClass30_Sub2_Sub1_Sub1_207;
                    aClass30_Sub2_Sub1_Sub1_932 = class9.aClass30_Sub2_Sub1_Sub1_260;
                }
                if(aBoolean1047)
                {
                    class9.aClass30_Sub2_Sub1_Sub1_207 = aClass30_Sub2_Sub1_Sub1_932;
                    return;
                } else
                {
                    class9.aClass30_Sub2_Sub1_Sub1_207 = aClass30_Sub2_Sub1_Sub1_931;
                    return;
                }
            }
            if(j == 325)
            {
                if(aClass30_Sub2_Sub1_Sub1_931 == null)
                {
                    aClass30_Sub2_Sub1_Sub1_931 = class9.aClass30_Sub2_Sub1_Sub1_207;
                    aClass30_Sub2_Sub1_Sub1_932 = class9.aClass30_Sub2_Sub1_Sub1_260;
                }
                if(aBoolean1047)
                {
                    class9.aClass30_Sub2_Sub1_Sub1_207 = aClass30_Sub2_Sub1_Sub1_931;
                    return;
                } else
                {
                    class9.aClass30_Sub2_Sub1_Sub1_207 = aClass30_Sub2_Sub1_Sub1_932;
                    return;
                }
            }
            if(j == 600)
            {
                class9.aString248 = aString881;
                if(anInt1161 % 20 < 10)
                {
                    class9.aString248 += "|";
                    return;
                } else
                {
                    class9.aString248 += " ";
                    return;
                }
            }
            if(j == 613)
                if(anInt863 >= 1)
                {
                    if(aBoolean1158)
                    {
                        class9.anInt232 = 0xff0000;
                        class9.aString248 = "Moderator option: Mute player for 48 hours: <ON>";
                    } else
                    {
                        class9.anInt232 = 0xffffff;
                        class9.aString248 = "Moderator option: Mute player for 48 hours: <OFF>";
                    }
                } else
                {
                    class9.aString248 = "";
                }
            if(j == 650 || j == 655)
                if(anInt1193 != 0)
                {
                    String s;
                    if(anInt1006 == 0)
                        s = "earlier today";
                    else
                    if(anInt1006 == 1)
                        s = "yesterday";
                    else
                        s = anInt1006 + " days ago";
                    class9.aString248 = "You last logged in " + s + " from: " + signlink.dns;
                } else
                {
                    class9.aString248 = "";
                }
            if(j == 651)
            {
                if(anInt1154 == 0)
                {
                    class9.aString248 = "0 unread messages";
                    class9.anInt232 = 0xffff00;
                }
                if(anInt1154 == 1)
                {
                    class9.aString248 = "1 unread message";
                    class9.anInt232 = 65280;
                }
                if(anInt1154 > 1)
                {
                    class9.aString248 = anInt1154 + " unread messages";
                    class9.anInt232 = 65280;
                }
            }
            if(j == 652)
                if(anInt1167 == 201)
                {
                    if(anInt1120 == 1)
                        class9.aString248 = "@yel@This is a non-members world: @whi@Since you are a member we";
                    else
                        class9.aString248 = "";
                } else
                if(anInt1167 == 200)
                {
                    class9.aString248 = "You have not yet set any password recovery questions.";
                } else
                {
                    String s1;
                    if(anInt1167 == 0)
                        s1 = "Earlier today";
                    else
                    if(anInt1167 == 1)
                        s1 = "Yesterday";
                    else
                        s1 = anInt1167 + " days ago";
                    class9.aString248 = s1 + " you changed your recovery questions";
                }
            if(j == 653)
                if(anInt1167 == 201)
                {
                    if(anInt1120 == 1)
                        class9.aString248 = "@whi@recommend you use a members world instead. You may use";
                    else
                        class9.aString248 = "";
                } else
                if(anInt1167 == 200)
                    class9.aString248 = "We strongly recommend you do so now to secure your account.";
                else
                    class9.aString248 = "If you do not remember making this change then cancel it immediately";
            if(j == 654)
            {
                if(anInt1167 == 201)
                    if(anInt1120 == 1)
                    {
                        class9.aString248 = "@whi@this world but member benefits are unavailable whilst here.";
                        return;
                    } else
                    {
                        class9.aString248 = "";
                        return;
                    }
                if(anInt1167 == 200)
                {
                    class9.aString248 = "Do this from the 'account management' area on our front webpage";
                    return;
                }
                class9.aString248 = "Do this from the 'account management' area on our front webpage";
            }
        }
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member Queer's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    781
    Thanks given
    210
    Thanks received
    33
    Rep Power
    33
    Quote Originally Posted by Go Daddy View Post
    This is your Client. But I'll just be nice and give you what method75 should be.

    Code:
        public final void method75(int i, Class9 class9)
    	{
            int j = class9.anInt214;
            if(i <= 0)
                aClass30_Sub2_Sub2_1192.method398(49);
            if(j >= 1 && j <= 100 || j >= 701 && j <= 800)
            {
                if(j == 1 && anInt900 == 0)
                {
                    class9.aString248 = "Loading friend list";
                    class9.anInt217 = 0;
                    return;
                }
                if(j == 1 && anInt900 == 1)
                {
                    class9.aString248 = "Connecting to friendserver";
                    class9.anInt217 = 0;
                    return;
                }
                if(j == 2 && anInt900 != 2)
                {
                    class9.aString248 = "Please wait...";
                    class9.anInt217 = 0;
                    return;
                }
                int k = anInt899;
                if(anInt900 != 2)
                    k = 0;
                if(j > 700)
                    j -= 601;
                else
                    j--;
                if(j >= k)
                {
                    class9.aString248 = "";
                    class9.anInt217 = 0;
                    return;
                } else
                {
                    class9.aString248 = aStringArray1082[j];
                    class9.anInt217 = 1;
                    return;
                }
            }
            if(j >= 101 && j <= 200 || j >= 801 && j <= 900)
            {
                int l = anInt899;
                if(anInt900 != 2)
                    l = 0;
                if(j > 800)
                    j -= 701;
                else
                    j -= 101;
                if(j >= l)
                {
                    class9.aString248 = "";
                    class9.anInt217 = 0;
                    return;
                }
                if(anIntArray826[j] == 10)
                    class9.aString248 = "@gre@Online";
                else
                if(/*anIntArray826[j] == anInt957*/anIntArray826[j] == 1)
                    class9.aString248 = /*"@gre@World-" + (anIntArray826[j] - 9)*/"@red@Offline";
                else
                    class9.aString248 = /*"@gre@World-" + (anIntArray826[j] - 9)*/"@red@Offline";
                class9.anInt217 = 1;
                return;
            }
            if(j == 203)
            {
                int i1 = anInt899;
                if(anInt900 != 2)
                    i1 = 0;
                class9.anInt261 = i1 * 15 + 20;
                if(class9.anInt261 <= class9.anInt267)
                    class9.anInt261 = class9.anInt267 + 1;
                return;
            }
            if(j >= 401 && j <= 500)
            {
                if((j -= 401) == 0 && anInt900 == 0)
                {
                    class9.aString248 = "Loading ignore list";
                    class9.anInt217 = 0;
                    return;
                }
                if(j == 1 && anInt900 == 0)
                {
                    class9.aString248 = "Please wait...";
                    class9.anInt217 = 0;
                    return;
                }
                int j1 = anInt822;
                if(anInt900 == 0)
                    j1 = 0;
                if(j >= j1)
                {
                    class9.aString248 = "";
                    class9.anInt217 = 0;
                    return;
                } else
                {
                    class9.aString248 = Class50.method587(-45804, Class50.method584(aLongArray925[j], (byte)-99));
                    class9.anInt217 = 1;
                    return;
                }
            }
            if(j == 503)
            {
                class9.anInt261 = anInt822 * 15 + 20;
                if(class9.anInt261 <= class9.anInt267)
                    class9.anInt261 = class9.anInt267 + 1;
                return;
            }
            if(j == 327)
            {
                class9.anInt270 = 150;
                class9.anInt271 = (int)(Math.sin((double)anInt1161 / 40D) * 256D) & 0x7ff;
                if(aBoolean1031)
                {
                    for(int k1 = 0; k1 < 7; k1++)
                    {
                        int l1 = anIntArray1065[k1];
                        if(l1 >= 0 && !Class38.aClass38Array656[l1].method537((byte)2))
                            return;
                    }
    
                    aBoolean1031 = false;
                    Class30_Sub2_Sub4_Sub6 aclass30_sub2_sub4_sub6[] = new Class30_Sub2_Sub4_Sub6[7];
                    int i2 = 0;
                    for(int j2 = 0; j2 < 7; j2++)
                    {
                        int k2 = anIntArray1065[j2];
                        if(k2 >= 0)
                            aclass30_sub2_sub4_sub6[i2++] = Class38.aClass38Array656[k2].method538(false);
                    }
    
                    Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(i2, aclass30_sub2_sub4_sub6, -38);
                    for(int l2 = 0; l2 < 5; l2++)
                        if(anIntArray990[l2] != 0)
                        {
                            class30_sub2_sub4_sub6.method476(anIntArrayArray1003[l2][0], anIntArrayArray1003[l2][anIntArray990[l2]]);
                            if(l2 == 1)
                                class30_sub2_sub4_sub6.method476(anIntArray1204[0], anIntArray1204[anIntArray990[l2]]);
                        }
    
                    class30_sub2_sub4_sub6.method469((byte)-71);
                    class30_sub2_sub4_sub6.method470(Class20.aClass20Array351[((Class30_Sub2_Sub4_Sub1) (aClass30_Sub2_Sub4_Sub1_Sub2_1126)).anInt1511].anIntArray353[0], 40542);
                    class30_sub2_sub4_sub6.method479(64, 850, -30, -50, -30, true);
                    class9.anInt233 = 5;
                    class9.anInt234 = 0;
                    Class9.method208(0, aBoolean994, 5, class30_sub2_sub4_sub6);
                }
                return;
            }
            if(j == 324)
            {
                if(aClass30_Sub2_Sub1_Sub1_931 == null)
                {
                    aClass30_Sub2_Sub1_Sub1_931 = class9.aClass30_Sub2_Sub1_Sub1_207;
                    aClass30_Sub2_Sub1_Sub1_932 = class9.aClass30_Sub2_Sub1_Sub1_260;
                }
                if(aBoolean1047)
                {
                    class9.aClass30_Sub2_Sub1_Sub1_207 = aClass30_Sub2_Sub1_Sub1_932;
                    return;
                } else
                {
                    class9.aClass30_Sub2_Sub1_Sub1_207 = aClass30_Sub2_Sub1_Sub1_931;
                    return;
                }
            }
            if(j == 325)
            {
                if(aClass30_Sub2_Sub1_Sub1_931 == null)
                {
                    aClass30_Sub2_Sub1_Sub1_931 = class9.aClass30_Sub2_Sub1_Sub1_207;
                    aClass30_Sub2_Sub1_Sub1_932 = class9.aClass30_Sub2_Sub1_Sub1_260;
                }
                if(aBoolean1047)
                {
                    class9.aClass30_Sub2_Sub1_Sub1_207 = aClass30_Sub2_Sub1_Sub1_931;
                    return;
                } else
                {
                    class9.aClass30_Sub2_Sub1_Sub1_207 = aClass30_Sub2_Sub1_Sub1_932;
                    return;
                }
            }
            if(j == 600)
            {
                class9.aString248 = aString881;
                if(anInt1161 % 20 < 10)
                {
                    class9.aString248 += "|";
                    return;
                } else
                {
                    class9.aString248 += " ";
                    return;
                }
            }
            if(j == 613)
                if(anInt863 >= 1)
                {
                    if(aBoolean1158)
                    {
                        class9.anInt232 = 0xff0000;
                        class9.aString248 = "Moderator option: Mute player for 48 hours: <ON>";
                    } else
                    {
                        class9.anInt232 = 0xffffff;
                        class9.aString248 = "Moderator option: Mute player for 48 hours: <OFF>";
                    }
                } else
                {
                    class9.aString248 = "";
                }
            if(j == 650 || j == 655)
                if(anInt1193 != 0)
                {
                    String s;
                    if(anInt1006 == 0)
                        s = "earlier today";
                    else
                    if(anInt1006 == 1)
                        s = "yesterday";
                    else
                        s = anInt1006 + " days ago";
                    class9.aString248 = "You last logged in " + s + " from: " + signlink.dns;
                } else
                {
                    class9.aString248 = "";
                }
            if(j == 651)
            {
                if(anInt1154 == 0)
                {
                    class9.aString248 = "0 unread messages";
                    class9.anInt232 = 0xffff00;
                }
                if(anInt1154 == 1)
                {
                    class9.aString248 = "1 unread message";
                    class9.anInt232 = 65280;
                }
                if(anInt1154 > 1)
                {
                    class9.aString248 = anInt1154 + " unread messages";
                    class9.anInt232 = 65280;
                }
            }
            if(j == 652)
                if(anInt1167 == 201)
                {
                    if(anInt1120 == 1)
                        class9.aString248 = "@yel@This is a non-members world: @whi@Since you are a member we";
                    else
                        class9.aString248 = "";
                } else
                if(anInt1167 == 200)
                {
                    class9.aString248 = "You have not yet set any password recovery questions.";
                } else
                {
                    String s1;
                    if(anInt1167 == 0)
                        s1 = "Earlier today";
                    else
                    if(anInt1167 == 1)
                        s1 = "Yesterday";
                    else
                        s1 = anInt1167 + " days ago";
                    class9.aString248 = s1 + " you changed your recovery questions";
                }
            if(j == 653)
                if(anInt1167 == 201)
                {
                    if(anInt1120 == 1)
                        class9.aString248 = "@whi@recommend you use a members world instead. You may use";
                    else
                        class9.aString248 = "";
                } else
                if(anInt1167 == 200)
                    class9.aString248 = "We strongly recommend you do so now to secure your account.";
                else
                    class9.aString248 = "If you do not remember making this change then cancel it immediately";
            if(j == 654)
            {
                if(anInt1167 == 201)
                    if(anInt1120 == 1)
                    {
                        class9.aString248 = "@whi@this world but member benefits are unavailable whilst here.";
                        return;
                    } else
                    {
                        class9.aString248 = "";
                        return;
                    }
                if(anInt1167 == 200)
                {
                    class9.aString248 = "Do this from the 'account management' area on our front webpage";
                    return;
                }
                class9.aString248 = "Do this from the 'account management' area on our front webpage";
            }
        }
    testing now
    Reply With Quote  
     

  4. #4  
    Registered Member Queer's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    781
    Thanks given
    210
    Thanks received
    33
    Rep Power
    33
    ahh it still says offline
    Reply With Quote  
     

  5. #5  
    Registered Member Queer's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    781
    Thanks given
    210
    Thanks received
    33
    Rep Power
    33
    I think there's something to do with server because my old client that worked isn't working either..
    Reply With Quote  
     

  6. #6  
    Donator

    Join Date
    Jul 2009
    Posts
    1,452
    Thanks given
    27
    Thanks received
    13
    Rep Power
    69
    @GoDaddy

    Would't it be smarter to make this serverside?
    Reply With Quote  
     

  7. #7  
    Registered Member Queer's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    781
    Thanks given
    210
    Thanks received
    33
    Rep Power
    33
    Please someone help...
    Reply With Quote  
     

  8. #8  
    Registered Member
    Xynth's Avatar
    Join Date
    May 2009
    Posts
    2,222
    Thanks given
    226
    Thanks received
    259
    Rep Power
    1155
    @Masochist
    I'm pretty sure it's client sided.

    But faithful, make sure your players are updating properly.
    Attached image
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •