[RP] Corporation badges in game! [SLEDMORE]

Page 1 of 2 12 LastLast
Results 1 to 25 of 43
  1. #1
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    [RP] Corporation badges in game! [SLEDMORE]

    Hey guys,

    Another release form me, this time its bigger and better!

    Step ONE!
    • Open up virtualRoom.cs..
    • Search for:
    • 'sendData(@"@\" + User.roomUser.detailsString);' (with no quotes)


    Step TWO!
    Find this:
    'groupBadge = dbClient.getString("SELECT badge FROM groups_details WHERE id = '" + User._groupID + "'");' (again no quotes)
    Replace that with:
    groupBadge = dbClient.getString("SELECT badge FROM jobs_corps WHERE id = '" + User._groupID + "'");

    Step THREE!
    • Goto virtualUser.cs...
    • Search for 'case "Cg":' (With no quotes)
    • Replace yours with this:

    PHP Code:
    case "Cg"// Group badges - get details about a group [click badge]
                                
    {
                                    if (
    Room != null && roomUser != null)
                                    {
                                        
    int groupID Encoding.decodeVL64(currentPacket.Substring(2));
                                        
    //Database dbClient = new Database(true, false, 99);
                                        
    DataRow dRow;
                                        
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                                        {
                                            
    dRow dbClient.getRow("SELECT corp_name,description FROM jobs_corps WHERE id = '" groupID "'");
                                        }
                                        if (
    dRow.Table.Rows.Count == 1)
                                        {
                                        }
                                    }
                                    break;
                                } 
    Step FOUR!
    • Search for: 'internal void refreshGroupStatus()' (no quotes)
    • Replace the whole code of that void with this:

    PHP Code:
     internal void refreshGroupStatus()
            {
                
    using (DatabaseClient dbClient Eucalypt.dbManager.GetClient())
                {
                    
    _groupID dbClient.getInt("SELECT corp_id FROM users WHERE id = '" userID "'");
                }
            } 
    Now to debug!!

    Step FIVE! TEXTS!

    Search for: 'group_logo_url_template=http://habbocity.ws/26_6d82813456b38f80ad83a827eef0fde3/images/%imagerdata%.gif
    ' (NO QUOTES!!)
    Next replace with:
    'group_logo_url_template=http://sitelink.com/images/badges/%imagerdata%.gif' (no quotes).

    NOW you need my images, if you have my stockexchange page you wont need them, but here they are!

    Download badges.zip from Sendspace.com - send big files the easy way

    SORRY ABOUT THE MESSY TUTORIAL, BUT YEAH YOU SHOULD UNDERSTAND IT, IF YOU LIKE IT CLICK THE THANKS BUTTON... MORE COMING YOUR WAY ;').
    Last edited by Sledmore; 11-08-10 at 11:53 PM.


  2. #2
    Proficient Member swimoTheBig is offline
    MemberRank
    Aug 2008 Join Date
    Essex, UKLocation
    194Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Nice Craig, well done :)

  3. #3
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Thanks Simon!! :').

  4. #4
    Proficient Member swimoTheBig is offline
    MemberRank
    Aug 2008 Join Date
    Essex, UKLocation
    194Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Quote Originally Posted by Sledmore View Post
    Thanks Simon!! :').
    No Problem :) Can't wait till more of your AWESOME releases ;)

  5. #5
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Quote Originally Posted by swimoTheBig View Post
    No Problem :) Can't wait till more of your AWESOME releases ;)
    Cheers bots coming soon ;') - When i fix em up!

  6. #6
    Member settaz is offline
    MemberRank
    May 2009 Join Date
    54Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Nicely done Craig.

  7. #7
    Proficient Member mango2735 is offline
    MemberRank
    Jun 2010 Join Date
    176Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Nice release craig thou i gt an erro on step four

  8. #8
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Error please?

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

    Re: [RP] Corporation badges in game! [SLEDMORE]

    You damn genius..
    Thanks.

  10. #10
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Aha Thanks :')..

  11. #11
    Account Upgraded | Title Enabled! Xavi. is offline
    MemberRank
    Jul 2010 Join Date
    At Home.phpLocation
    708Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Wow dude, Release After Release After Release, Superb Job!
    Looking Forward To The Next

    Thanked.

    Xavi.

  12. #12
    Proficient Member mango2735 is offline
    MemberRank
    Jun 2010 Join Date
    176Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    lol nice and xavi love ur sig ;)

  13. #13
    Account Upgraded | Title Enabled! Xavi. is offline
    MemberRank
    Jul 2010 Join Date
    At Home.phpLocation
    708Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Lol Luv urs too xD busy trying to find a ccter and fixes for mi gun :L

  14. #14
    Proficient Member mango2735 is offline
    MemberRank
    Jun 2010 Join Date
    176Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    lol wts ur msn maybe i cn help

  15. #15
    Account Upgraded | Title Enabled! Xavi. is offline
    MemberRank
    Jul 2010 Join Date
    At Home.phpLocation
    708Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    jst pmed u it, and view my thread in habbo help, i psted the problem

    http://forum.ragezone.com/f333/messed-ccts-684621/

    (Sorry for off-topicness)
    Last edited by Xavi.; 10-08-10 at 10:29 PM.

  16. #16
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Thanks for the comments! :').

  17. #17
    Don't buff my pylon! Admiral-Speedy is offline
    MemberRank
    Jun 2008 Join Date
    CanadaLocation
    1,292Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    What do you mean by corporation badge?

  18. #18
    Account Upgraded | Title Enabled! Xavi. is offline
    MemberRank
    Jul 2010 Join Date
    At Home.phpLocation
    708Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Like if u work at hosp, u get a hospital badge, so others can know u work there etc.

  19. #19
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    What he said ^^

  20. #20
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Do you have a screen from this?, idk what this is exactly.

  21. #21
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Seen HabboRP.COM? When you have a job and near your badges were the group badge should be? Thats what it is :').

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

    Re: [RP] Corporation badges in game! [SLEDMORE]

    With the group_logo,
    where do we search it AT?

  23. #23
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    VirtulRoom.cs ^^

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

    Re: [RP] Corporation badges in game! [SLEDMORE]

    Search for: 'group_logo_url_template=http://habbocity.ws/26_6d82813456b38f80ad83a827eef0fde3/images/%imagerdata%.gif
    ' (NO QUOTES!!)
    Next replace with:
    'group_logo_url_template=http://sitelink.com/images/badges/%imagerdata%.gif' (no quotes).


    is in VirtualRoom.cs?

    Sure about that

  25. #25
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [RP] Corporation badges in game! [SLEDMORE]

    If ya read it, it says texts i think?? - Also next time be more clear.



Page 1 of 2 12 LastLast

Advertisement