namespace GBAtemp\ListUsers\BBCode;
class Custom
{
public static function renderListUsers(
array $tagChildren,
$tagOption,
$tagName,
array $options,
\XF\BbCode\Renderer\AbstractRenderer $renderer
) {
// Parse group IDs from the BBCode parameters
$groupIDs = explode(",", $tagOption);
// Initialize the Finder for XF:User entity
$finder = \XF::finder('XF:User');
// Construct the condition to find users with the specified group IDs
$inSet = $finder->expression("FIND_IN_SET(?, secondary_group_ids)", $groupIDs);
// Set the condition for the finder to retrieve users with the specified group IDs
$finder->where($inSet);
// Fetch users matching the condition
$users = $finder->fetch();
// Initialize an array to store user details
$userDetails = [];
// Loop through each user
foreach ($users as $user) {
// Start building user details
$userDetail = '
'; // Open a div for user details
// Get the avatar and username link
$avatarAndUsername = self::getUserAvatarAndUsername($user);
// Append the avatar and username link to the user details
$userDetail .= $avatarAndUsername;
$userDetail .= '
'; // Close the div for user details
// Add user details to the array
$userDetails[] = $userDetail;
}
// Concatenate user details with commas
$userListHTML = '
' . implode('', $userDetails) . '
';
// Return the HTML
return $userListHTML;
}
protected static function getUserAvatarAndUsername($user)
{
$templater = \XF::app()->templater();
// Render the avatar and username link using XenForo's templating system
$avatarAndUsernameHtml = $templater->fn('avatar', ['user' => $user, 'size' => 's']);
$avatarAndUsernameHtml .= '' . htmlspecialchars($user->username) . '';
// Return the HTML for the avatar and username link
return $avatarAndUsernameHtml;
}
}
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
ayy Falo since your adept at editing,would it possible as someone who isn't too good at editing hex to maybe make a video or something showing how to edit each stat for a character or two,I'd love to learn how to.
Ohh okay thanks, just trying to figure out what you were talking about since I'm new to going more in depth than using the sx os cheat searcher. Thanks again!
ayy Falo since your adept at editing,would it possible as someone who isn't too good at editing hex to maybe make a video or something showing how to edit each stat for a character or two,I'd love to learn how to.
So in Fire emblem 3H i have a C rank in Swords, need 80 points to get to C+. I search 80 hexadecimal, then battle and need 77 points, search 77 but no results. Tried this with 8, 16 and 32 bits unsigned.
I also tried with total points, for example E to E+ is 40 and E+ to D is 60, so the total should be 100. Searched that and no results. Any help?
I created test max hp codes for the rest of the characters but I don't know they're exact CharacterId so I basically just guessed. I went on the FE:TH wiki and counted the playable characters and went off that number for Falos' formula. Let me know if these worked, they worked for me. If you find out which character goes where let me know so I can add them to my list
[Test2 Health 199]
580F0000 019CF6E0
780F0000 00000AF0
610F0000 00000000 000000FF
[Test3 Health 199]
580F0000 019CF6E0
780F0000 00000D20
610F0000 00000000 000000FF
[Test10 Health 199]
580F0000 019CF6E0
780F0000 00002990
610F0000 00000000 000000FF
[Test11 Health 199]
580F0000 019CF6E0
780F0000 00002BC0
610F0000 00000000 000000FF
[Test12 Health 199]
580F0000 019CF6E0
780F0000 00002df0
610F0000 00000000 000000FF
[Test13 Health 199]
580F0000 019CF6E0
780F0000 00003020
610F0000 00000000 000000FF
[Test14 Health 199]
580F0000 019CF6E0
780F0000 00003250
610F0000 00000000 000000FF
[Test15 Health 199]
580F0000 019CF6E0
780F0000 00003480
610F0000 00000000 000000FF
[Test16 Health 199]
580F0000 019CF6E0
780F0000 000036B0
610F0000 00000000 000000FF
[Test17 Health 199]
580F0000 019CF6E0
780F0000 000038E0
610F0000 00000000 000000FF
[Test18 Health 199]
580F0000 019CF6E0
780F0000 00003B10
610F0000 00000000 000000FF
[Test19 Health 199]
580F0000 019CF6E0
780F0000 00003D40
610F0000 00000000 000000FF
[Test20 Health 199]
580F0000 019CF6E0
780F0000 00004C90
610F0000 00000000 000000FF
[Test21 Health 199]
580F0000 019CF6E0
780F0000 00004EC0
610F0000 00000000 000000FF
[Test22 Health 199]
580F0000 019CF6E0
780F0000 000050F0
610F0000 00000000 000000FF
[Test23 Health 199]
580F0000 019CF6E0
780F0000 00005320
610F0000 00000000 000000FF
[Test24 Health 199]
580F0000 019CF6E0
780F0000 00005550
610F0000 00000000 000000FF
[Test25 Health 199]
580F0000 019CF6E0
780F0000 00005780
610F0000 00000000 000000FF
[Test26 Health 199]
580F0000 019CF6E0
780F0000 000059B0
610F0000 00000000 000000FF
[Test27 Health 199]
580F0000 019CF6E0
780F0000 00005BE0
610F0000 00000000 000000FF
[Test28 Health 199]
580F0000 019CF6E0
780F0000 00005E10
610F0000 00000000 000000FF
[Test29 Health 199]
580F0000 019CF6E0
780F0000 00006040
610F0000 00000000 000000FF
[Test30 Health 199]
580F0000 019CF6E0
780F0000 00006F90
610F0000 00000000 000000FF
[Test31 Health 199]
580F0000 019CF6E0
780F0000 000071C0
610F0000 00000000 000000FF
[Test32 Health 199]
580F0000 019CF6E0
780F0000 000073F0
610F0000 00000000 000000FF
[Test33 Health 199]
580F0000 019CF6E0
780F0000 00007620
610F0000 00000000 000000FF
[Test34 Health 199]
580F0000 019CF6E0
780F0000 00007850
610F0000 00000000 000000FF
So in Fire emblem 3H i have a C rank in Swords, need 80 points to get to C+. I search 80 hexadecimal, then battle and need 77 points, search 77 but no results. Tried this with 8, 16 and 32 bits unsigned.
I also tried with total points, for example E to E+ is 40 and E+ to D is 60, so the total should be 100. Searched that and no results. Any help?
Skill Level and Exp is stored separately. For the Exp, search the other way around, exp is 2 byte, level is 1 byte
80 left = 0 Exp
77 left = 3 Exp
or just use my pointer...
Update 1, BuildId: 47CA26D2AA77D0BA
New main pointer is: main+0x19D76F0
structures are the same, since it's identical to the savegame.
Skill Level and Exp is stored separately. For the Exp, search the other way around, exp is 2 byte, level is 1 byte
80 left = 0 Exp
77 left = 3 Exp
or just use my pointer...
Update 1, BuildId: 47CA26D2AA77D0BA
New main pointer is: main+0x19D76F0
structures are the same, since it's identical to the savegame.
Thanks a lot, you are doing a great work, really appreciate that. If you need anything i can help with, even a like a dummy tester or whatever let me know.
Skill Level and Exp is stored separately. For the Exp, search the other way around, exp is 2 byte, level is 1 byte
80 left = 0 Exp
77 left = 3 Exp
or just use my pointer...
Update 1, BuildId: 47CA26D2AA77D0BA
New main pointer is: main+0x19D76F0
structures are the same, since it's identical to the savegame.
A selfish request, but would you be willing to share the wip of the editor. Personally only wanna edit gold and very basic stuff. If not I'll keep waiting, but never hurts to ask at least right?
Using what Falo said I came up with these. They're max stats for the following characters
I created test max hp codes for the rest of the characters but I don't know they're exact CharacterId so I basically just guessed. I went on the FE:TH wiki and counted the playable characters and went off that number for Falos' formula. Let me know if these worked, they worked for me. If you find out which character goes where let me know so I can add them to my list
Also, I haven't tested the moving the characters yet, I have been focused on them getting their stats maxed
Using what Falo said I came up with these. They're max stats for the following characters
I created test max hp codes for the rest of the characters but I don't know they're exact CharacterId so I basically just guessed. I went on the FE:TH wiki and counted the playable characters and went off that number for Falos' formula. Let me know if these worked, they worked for me. If you find out which character goes where let me know so I can add them to my list
Also, I haven't tested the moving the characters yet, I have been focused on them getting their stats maxed
The stats don't stay permanent once you start to level up; unless you leave the cheats always active.
any chance for health & stat cheats for the Golden Deer students?
Edit: Tho at this point, if max exp during battle is possible, then its an even better alternative.
Skill Level and Exp is stored separately. For the Exp, search the other way around, exp is 2 byte, level is 1 byte
80 left = 0 Exp
77 left = 3 Exp
or just use my pointer...
Update 1, BuildId: 47CA26D2AA77D0BA
New main pointer is: main+0x19D76F0
structures are the same, since it's identical to the savegame.
Using what Falo said I came up with these. They're max stats for the following characters
I created test max hp codes for the rest of the characters but I don't know they're exact CharacterId so I basically just guessed. I went on the FE:TH wiki and counted the playable characters and went off that number for Falos' formula. Let me know if these worked, they worked for me. If you find out which character goes where let me know so I can add them to my list
Also, I haven't tested the moving the characters yet, I have been focused on them getting their stats maxed
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
With the vast success of Super Mario Maker and its Switch sequel Super Mario Maker 2, Nintendo fans have long been calling for "Maker" titles for other iconic genres...
Retro handheld manufacturer Anbernic has revealed its first clamshell device: the Anbernic RG35XXSP. As the suffix indicates, this handheld's design is inspired by...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
After a little more than three years of exclusivity with the Epic Games Store, Square Enix has decided to bring their beloved Kingdom Hearts franchise to Steam. The...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
Sony is once more attempting to reintroduce players to their older library of games by re-releasing classic PlayStation 2 titles onto the PlayStation Store. During...
Caller -"Everytime I start a Pc game on my S24, playing on a external monitor, someone calls or texts me, n it kicks me out of the game." Customer Support - Click (hangs up)
I found it funny cause many many years ago, had a roommate in college that did this same dumbass branding of the school logo, but it didn't look anything like it after it healed. Just looked like a birthmark.