LandingHallOfFame - Plus EMU

Results 1 to 14 of 14
  1. #1
    Apprentice Maracusho Natch is offline
    MemberRank
    Jun 2016 Join Date
    5Posts

    happy LandingHallOfFame - Plus EMU

    Hi,

    Someone can pass me the code of the LandingHallOfFame for Plus EMU please thank them.



    Image:

    Credits Image:Ivan Melero(Root)


  2. #2
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,483Posts

    Re: LandingHallOfFame - Plus EMU

    Today is your lucky day! I went through the scripts for the swf file and I managed to reverse engineer the structure for the hall of fame.

    This is for release PRODUCTION-201701242205-837386173

    Basically, the structure goes as follows (this is C++ code but it's easily transferrable to C# and Java)

    Code:
    static const int CommunityGoalHallOfFameWidget = 2208;
    Packet structure:

    Code:
    Response res(Outgoing::CommunityGoalHallOfFameWidget);
    res.writeString("africaDesert"); // external variables: landing.view.competition.hof.
    res.writeInt(hall_of_fame.size());
    
    for (Player *winner : hall_of_fame) {
        res.writeInt(winner->getDetails()->id);
        res.writeString(winner->getDetails()->username);
        res.writeString(winner->getDetails()->figure);
        res.writeInt(winner->getDetails()->rank);
        res.writeInt(9001); // Number of points
    }
    
    player->getNetworkConnection()->send(res);
    In your external flash texts you need to make sure you have these:

    Code:
    landing.view.competition.hof.africaDesert.rankdesc.leader=Ancient Temple room competition winner
    landing.view.competition.hof.africaDesert.rankdesc.other=Ancient Temple room competition runner-up
    Then you should see this:


  3. #3
    Member JustJarno is offline
    MemberRank
    Nov 2013 Join Date
    56Posts

    Re: LandingHallOfFame - Plus EMU

    @Quackster where do i put this and how do i transfer it to c#? XD
    i'm kinda noob in this stuff but i really wanna add this tho

  4. #4
    Apprentice Jordyever is offline
    MemberRank
    Jul 2012 Join Date
    Oostkamp, BelgiLocation
    21Posts

    Re: LandingHallOfFame - Plus EMU

    love

    static const int CommunityGoalHallOfFameWidget = 2208;

    ==

    public const int HallOfFameMessageComposer = 2208;

    actually
    Last edited by Jordyever; 24-04-17 at 03:40 PM.

  5. #5
    Apprentice Uptimed is offline
    MemberRank
    Aug 2016 Join Date
    6Posts

    Re: LandingHallOfFame - Plus EMU

    ok, see go mp
    Last edited by Uptimed; 25-04-17 at 12:14 AM.

  6. #6
    Apprentice Zanoma is offline
    MemberRank
    Oct 2016 Join Date
    13Posts

    Re: LandingHallOfFame - Plus EMU

    Where you add this?
    Code:
    Response res(Outgoing::CommunityGoalHallOfFameWidget);res.writeString("africaDesert"); // external variables: landing.view.competition.hof.
    res.writeInt(hall_of_fame.size());
    
    for (Player *winner : hall_of_fame) {
        res.writeInt(winner->getDetails()->id);
        res.writeString(winner->getDetails()->username);
        res.writeString(winner->getDetails()->figure);
        res.writeInt(winner->getDetails()->rank);
        res.writeInt(9001); // Number of points
    }
    
    player->getNetworkConnection()->send(res);

  7. #7
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: LandingHallOfFame - Plus EMU

    Quote Originally Posted by Zanoma View Post
    Where you add this?
    Code:
    Response res(Outgoing::CommunityGoalHallOfFameWidget);res.writeString("africaDesert"); // external variables: landing.view.competition.hof.
    res.writeInt(hall_of_fame.size());
    
    for (Player *winner : hall_of_fame) {
        res.writeInt(winner->getDetails()->id);
        res.writeString(winner->getDetails()->username);
        res.writeString(winner->getDetails()->figure);
        res.writeInt(winner->getDetails()->rank);
        res.writeInt(9001); // Number of points
    }
    
    player->getNetworkConnection()->send(res);
    Thats C++ code.

  8. #8
    Proficient Member spreedblood is offline
    MemberRank
    May 2014 Join Date
    165Posts

    Re: LandingHallOfFame - Plus EMU

    Quote Originally Posted by The General View Post
    Thats C++ code.
    That doesn't answer his question. You add that to a composer though it's not enough to make hall of fame. Unfortunately you need todo alittle more. The people that has HOF prefer to keep it private cause of uniqueness. Not saying it's a unique feature and hard todo but since 99% of the hotel owners have no programming knowledge then it becomes unique :)

    Skickat från min FRD-L09 via Tapatalk

  9. #9
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: LandingHallOfFame - Plus EMU

    Quote Originally Posted by spreedblood View Post
    That doesn't answer his question. You add that to a composer though it's not enough to make hall of fame. Unfortunately you need todo alittle more. The people that has HOF prefer to keep it private cause of uniqueness. Not saying it's a unique feature and hard todo but since 99% of the hotel owners have no programming knowledge then it becomes unique :)

    Skickat från min FRD-L09 via Tapatalk
    Its like sticking a bike wheel under a car. There is no where he can put that code.

    And what are you trying to say? Hall of fame isnt some secret feature. Its literally one packet. If you really want it you can steal it directly from Arcturus. But then you have to rewrite it for C# and then you will see it isnt some hard to implement feature.

    People are used to copy pasting PHP code and for emulators it does not work that way.

    Maybe instead of blaming me for not telling him, you should tell him?

  10. #10
    Proficient Member spreedblood is offline
    MemberRank
    May 2014 Join Date
    165Posts

    Re: LandingHallOfFame - Plus EMU

    Quote Originally Posted by The General View Post
    Its like sticking a bike wheel under a car. There is no where he can put that code.

    And what are you trying to say? Hall of fame isnt some secret feature. Its literally one packet. If you really want it you can steal it directly from Arcturus. But then you have to rewrite it for C# and then you will see it isnt some hard to implement feature.

    People are used to copy pasting PHP code and for emulators it does not work that way.

    Maybe instead of blaming me for not telling him, you should tell him?
    You basically said what I said. It's 1 composer. And I said it's not some secret feature, I clearly wrote "Not saying it's a unique feature". You honestly have to start reading others posts before commenting...

  11. #11
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: LandingHallOfFame - Plus EMU

    Quote Originally Posted by spreedblood View Post
    You basically said what I said. It's 1 composer. And I said it's not some secret feature, I clearly wrote "Not saying it's a unique feature". You honestly have to start reading others posts before commenting...
    You said the people that have the HOF like to keep it secret as if you were saying I am a dick and not telling anyone about any packet structure that they want to know more about. I am willing to answer anyones questions about anything as long as they ask the proper questions.

    You said that doesnt tell him anythong. Neither did your post.

    So how about you start writing sentences without any implicit insinuations instead?

    And yes. That one composer is all you need to make HOF. You can even fill it with static data if youd like.

  12. #12
    Proficient Member spreedblood is offline
    MemberRank
    May 2014 Join Date
    165Posts

    Re: LandingHallOfFame - Plus EMU

    Quote Originally Posted by The General View Post
    You said the people that have the HOF like to keep it secret as if you were saying I am a dick and not telling anyone about any packet structure that they want to know more about. I am willing to answer anyones questions about anything as long as they ask the proper questions.

    You said that doesnt tell him anythong. Neither did your post.

    So how about you start writing sentences without any implicit insinuations instead?
    What I said is that your sentence was irrelevant and didn't help him. It's the truth and there's nothing to argue about. "it's c++ code".

  13. #13
    Developer Quackster is offline
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,483Posts

    Re: LandingHallOfFame - Plus EMU

    Quote Originally Posted by Zanoma View Post
    Where you add this?
    Code:
    Response res(Outgoing::CommunityGoalHallOfFameWidget);res.writeString("africaDesert"); // external variables: landing.view.competition.hof.
    res.writeInt(hall_of_fame.size());
    
    for (Player *winner : hall_of_fame) {
        res.writeInt(winner->getDetails()->id);
        res.writeString(winner->getDetails()->username);
        res.writeString(winner->getDetails()->figure);
        res.writeInt(winner->getDetails()->rank);
        res.writeInt(9001); // Number of points
    }
    
    player->getNetworkConnection()->send(res);
    I purposefully wrote it in C++ code so you could learn to adapt it to your own server.

  14. #14
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: LandingHallOfFame - Plus EMU

    Quote Originally Posted by Quackster View Post
    I purposefully wrote it in C++ code so you could learn to adapt it to your own server.
    Too bad everyone here expects PHP like copy pasta.



Advertisement