Fix badges in R63

Results 1 to 24 of 24
  1. #1
    this is title Shredinator is offline
    MemberRank
    May 2011 Join Date
    399Posts

    Fix badges in R63

    In BadgeComponent.cs, search for
    PHP Code:
    ServerMessage Message = new ServerMessage(229); 
    Replace it with
    PHP Code:
                ServerMessage Message = new ServerMessage(229);
                
    Message.AppendInt32(Count);

                foreach (
    Badge Badge in Badges)
                {
                    if (
    Badge.Slot != 0)
                    {
                        
    Message.AppendInt32(1);
                        
    EquippedBadges.Add(Badge);
                    }
                    else
                    {
                        
    Message.AppendInt32(0);
                    }

                    
    Message.AppendStringWithBreak(Badge.Code);
                }

                
    Message.AppendInt32(EquippedBadges.Count);

                foreach (
    Badge Badge in EquippedBadges)
                {
                    
    Message.AppendInt32(Badge.Slot);
                    
    Message.AppendStringWithBreak(Badge.Code);
                } 
    Still learning, so if I did something wrong, just say it instead of flaming. Kthx

    Last edited by Shredinator; 09-07-11 at 04:16 PM.


  2. #2
    HTML,CSS and a bit C# Richardjuhh is offline
    MemberRank
    Dec 2010 Join Date
    NetherlandsLocation
    351Posts

    Re: Fix badges in R63

    nice, i'll try it out!

    ---------- Post added at 02:09 PM ---------- Previous post was at 02:05 PM ----------

    for me dont work

  3. #3
    this is title Shredinator is offline
    MemberRank
    May 2011 Join Date
    399Posts

    Re: Fix badges in R63

    Did you delete this?

    return Message;

  4. #4
    HTML,CSS and a bit C# Richardjuhh is offline
    MemberRank
    Dec 2010 Join Date
    NetherlandsLocation
    351Posts

    Re: Fix badges in R63

    foreach (Badge Badge in Badges)
    {
    Message.AppendInt32(Badge.Slot);
    Message.AppendStringWithBreak(Badge.Code);


    if (Badge.Slot > 0)
    {
    Message.AppendInt32(1);
    EquippedBadges.Add(Badge);
    }
    Message.AppendStringWithBreak(Badge.Code);
    }

    if i did this i see some badges :D

    ---------- Post added at 02:17 PM ---------- Previous post was at 02:15 PM ----------

    Quote Originally Posted by Shredinator View Post
    Did you delete this?

    return Message;
    no, im noob but not so big :D

    ---------- Post added at 02:18 PM ---------- Previous post was at 02:17 PM ----------

    but i have a bit older swf's than you,, i think

  5. #5
    this is title Shredinator is offline
    MemberRank
    May 2011 Join Date
    399Posts

    Re: Fix badges in R63

    Im using RELEASE63-34737, but as long as it works for you :p

  6. #6
    HTML,CSS and a bit C# Richardjuhh is offline
    MemberRank
    Dec 2010 Join Date
    NetherlandsLocation
    351Posts

    Re: Fix badges in R63

    hmm, i have fixed it..

    thanks for those codes but i had older swf's breakz0ne has coded a bit newer swf but i use older,,

    ---------- Post added at 02:26 PM ---------- Previous post was at 02:25 PM ----------

    Quote Originally Posted by Shredinator View Post
    Im using RELEASE63-34737, but as long as it works for you :p
    if i use that release i cant enter rooms from the navigator

  7. #7
    Alpha Member zMagenta is offline
    MemberRank
    Jun 2011 Join Date
    1,860Posts

    Re: Fix badges in R63

    Works for me. Thanks.

  8. #8
    Banned StampIt is offline
    BannedRank
    May 2011 Join Date
    AustraliaLocation
    88Posts

    Re: Fix badges in R63

    Thank you soo much for this before 20% of my badges were not working now 100% are working thanks so much..

  9. #9
    Account Upgraded | Title Enabled! jamieturner is offline
    MemberRank
    Oct 2010 Join Date
    United KingdomLocation
    359Posts

    Re: Fix badges in R63

    Good release mate.

  10. #10
    Banned c0mma is offline
    BannedRank
    Jan 2011 Join Date
    ^RaGEZONE^Location
    696Posts

    Re: Fix badges in R63

    Quote Originally Posted by StampIt View Post
    Thank you soo much for this before 20% of my badges were not working now 100% are working thanks so much..
    That makes no sense when all the badges would not be working because of this update. So there you go, a user lying to get more posts.

  11. #11
    Member sulanum is offline
    MemberRank
    Aug 2010 Join Date
    NetherlandLocation
    71Posts

    Re: Fix badges in R63

    my badges aren't work, but i cant see the " BadgeComponent.cs" :(

  12. #12
    Member Multi is offline
    MemberRank
    Jul 2011 Join Date
    85Posts

    Re: Fix badges in R63

    thanks for this, helps a lot of users!

  13. #13
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: Fix badges in R63

    How were they broken? mine work just fine..?

  14. #14
    this is title Shredinator is offline
    MemberRank
    May 2011 Join Date
    399Posts

    Re: Fix badges in R63

    Quote Originally Posted by Tr0ll.™ View Post
    How were they broken? mine work just fine..?
    In the newest SWFs they would just look like they were loading.

  15. #15
    Account Upgraded | Title Enabled! ghostrevan is offline
    MemberRank
    Jul 2007 Join Date
    257Posts

    Re: Fix badges in R63

    cant find the BadgeComponent.cs im using pphoenix

  16. #16
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: Fix badges in R63

    Quote Originally Posted by ghostrevan View Post
    cant find the BadgeComponent.cs im using pphoenix
    Give up, Brohan

  17. #17
    Account Upgraded | Title Enabled! ghostrevan is offline
    MemberRank
    Jul 2007 Join Date
    257Posts

    Re: Fix badges in R63

    Give up, Brohan???
    why is that?

    can someone help me plz
    where do i find badgecomponent

  18. #18
    this is title Shredinator is offline
    MemberRank
    May 2011 Join Date
    399Posts

    Re: Fix badges in R63

    Seriously, give up.

  19. #19
    Account Upgraded | Title Enabled! ghostrevan is offline
    MemberRank
    Jul 2007 Join Date
    257Posts

    Re: Fix badges in R63

    dude im just asking for help and your saying seriously, give up uuhm? what help is that.... just give me an answer to my question please?
    is it only for uber or can i use it for phoenix too?
    and where do i find the file.

  20. #20
    What about no. Davidaap is offline
    MemberRank
    Nov 2009 Join Date
    773Posts

    Re: Fix badges in R63

    Phoenix = closed scource = not editable so fuck off

  21. #21
    Account Upgraded | Title Enabled! ghostrevan is offline
    MemberRank
    Jul 2007 Join Date
    257Posts

    Re: Fix badges in R63

    okej srry :/

  22. #22
    Enthusiast Haninha is offline
    MemberRank
    Jul 2011 Join Date
    25Posts

    Re: Fix badges in R63

    thanks for this, helps a lot of users!

  23. #23
    Account Upgraded | Title Enabled! wichard is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    649Posts

    Re: Fix badges in R63

    Better to use this:

    Code:
            internal ServerMessage Serialize()
            {
                var EquippedBadges = new List<Badge>();
    
                ServerMessage Message = new ServerMessage(229);
                Message.AppendInt32(Count);
    
                foreach (Badge Badge in Badges)
                {
                    Message.AppendInt32(-1);
                    Message.AppendStringWithBreak(Badge.Code);
    
                    if (Badge.Slot > 0)
                    {
                        EquippedBadges.Add(Badge);
                    }
                }
    
                Message.AppendInt32(EquippedBadges.Count);
    
                foreach (Badge Badge in EquippedBadges)
                {
                    Message.AppendInt32(Badge.Slot);
                    Message.AppendStringWithBreak(Badge.Code);
                }
    
                return Message;
            }

  24. #24
    Apprentice ali2o is offline
    MemberRank
    Nov 2008 Join Date
    6Posts

    Re: Fix badges in R63

    doesnt work man



Advertisement