Hi,
Someone can pass me the code of the LandingHallOfFame for Plus EMU please thank them.
Image:
Credits Image:Ivan Melero(Root)
Hi,
Someone can pass me the code of the LandingHallOfFame for Plus EMU please thank them.
Image:
Credits Image:Ivan Melero(Root)
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)
Packet structure:Code:static const int CommunityGoalHallOfFameWidget = 2208;
In your external flash texts you need to make sure you have these: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);
Then you should see this: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
![]()
@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
love
static const int CommunityGoalHallOfFameWidget = 2208;
==
public const int HallOfFameMessageComposer = 2208;
actually![]()
Last edited by Jordyever; 24-04-17 at 03:40 PM.
ok, see go mp
Last edited by Uptimed; 25-04-17 at 12:14 AM.
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);
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?
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.