Advanced

Re: GetBadgeGenDataV4() changed?

GetBadgeGenDataV4() changed?
April 29, 2026 10:01PM
Has there been a change to GetBadgeGenDataV4?
Another user contacted me, and said this script of mine no longer functions. I haven't changed in it a long time. It looks like the function is now returning a number instead of an array.

https://project-gc.com/Challenges/87689
[string ""]:1396: attempt to index local 'badgegenV4' (a number value)
Re: GetBadgeGenDataV4() changed?
May 12, 2026 01:18AM
Apparently.......... I need to pass in a second parameter, otherwise I get this unhelpful error. Unfortunately, now I get:

Error 2, LuaSandbox.php:188  LuaSandboxFunction::call(): Unable to convert object of type Pgc\Domain\ProfileStats\Subdomain\BadgeGen\V4\AchievementBadgeResult

... which happens after the script executes (eg. after the return). If only I knew what was at LuaSandbox.php:188.
Re: GetBadgeGenDataV4() changed?
May 21, 2026 02:36PM
Just responding to say, I filed a support ticket, it was addressed on the backend, and everything's good now. Thanks!
Sorry, you do not have permission to post/reply in this forum.