Putting the 'role' back in role-playing games since 2002.
Donate to Codex
Good Old Games
  • Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.

Crispy™ Achievement Kool Kredit - Bug / Exploit?

Immortal

Arcane
In My Safe Space
Joined
Sep 13, 2014
Messages
5,062
Location
Safe Space - Don't Bulli
Because you award achievements through what appears to be a hourly cron job that is just checking for the flags of 1000 Brofists and your current Gender. A user can get both the Man Whore and Slut achievement by switching their gender and waiting for the next Cron Job to fire allowing for inflated Kodex Kredits.

This is a very important issue to fix. We don't want inflated Kool Kredits. We are very prestigious Magazine.


(I knew this would be a potential area of concern when I noticed you use cron jobs to apply achievements.. why is this not an event driven system.. is it a plugin for XenForo?)

EDIT:
I assume it's a cron job because of the long delay between meeting the criteria and the actual achievement being given. I guess it could be something else like a SQL trigger or something.. *shrug* loldunno
 

Infinitron

I post news
Staff Member
Joined
Jan 28, 2011
Messages
97,474
Codex Year of the Donut Serpent in the Staglands Dead State Divinity: Original Sin Project: Eternity Torment: Tides of Numenera Wasteland 2 Shadorwun: Hong Kong Divinity: Original Sin 2 A Beautifully Desolate Campaign Pillars of Eternity 2: Deadfire Pathfinder: Kingmaker Pathfinder: Wrath I'm very into cock and ball torture I helped put crap in Monomyth
An achievement for being both genders? On the Codex that's a feature not a bug bro.
 

Don Peste

Arcane
Joined
Sep 15, 2008
Messages
4,283
Location
||☆||
What? So I have less* KKK's because I'm (Raptor)?

*
tumblr_no65puVzaA1qiaxzfo2_250.gif
 

Kane

I have many names
Patron
Vatnik
Joined
Nov 1, 2008
Messages
22,279
Location
Drug addicted, mentally ill gays HQ
PC RPG Website of the Year, 2015
Because you award achievements through what appears to be a hourly cron job that is just checking for the flags of 1000 Brofists and your current Gender. A user can get both the Man Whore and Slut achievement by switching their gender and waiting for the next Cron Job to fire allowing for inflated Kodex Kredits.
A user can even re-earn past achievements. But shhhh. We don't want anyone to notice.
 

Immortal

Arcane
In My Safe Space
Joined
Sep 13, 2014
Messages
5,062
Location
Safe Space - Don't Bulli
Because you award achievements through what appears to be a hourly cron job that is just checking for the flags of 1000 Brofists and your current Gender. A user can get both the Man Whore and Slut achievement by switching their gender and waiting for the next Cron Job to fire allowing for inflated Kodex Kredits.
A user can even re-earn past achievements. But shhhh. We don't want anyone to notice.

What do you mean? I would assume each user has a block of memory allocated in the database for boolean style bit shifts for each achievement. They persist which achievements you have already so not sure how you can re earn the same achievement. Do you have an example?
 

Kane

I have many names
Patron
Vatnik
Joined
Nov 1, 2008
Messages
22,279
Location
Drug addicted, mentally ill gays HQ
PC RPG Website of the Year, 2015
Because you award achievements through what appears to be a hourly cron job that is just checking for the flags of 1000 Brofists and your current Gender. A user can get both the Man Whore and Slut achievement by switching their gender and waiting for the next Cron Job to fire allowing for inflated Kodex Kredits.
A user can even re-earn past achievements. But shhhh. We don't want anyone to notice.

What do you mean? I would assume each user has a block of memory allocated in the database for boolean style bit shifts for each achievement. They persist which achievements you have already so not sure how you can re earn the same achievement. Do you have an example?
Oh, let's handwave a completely implausible event, such as a user losing all his brofists. He would then be able to earn all the brofist achievements again, including the attached KKK. But again, that's just a thought experiment made up from thin air. What are the odds!
 

Immortal

Arcane
In My Safe Space
Joined
Sep 13, 2014
Messages
5,062
Location
Safe Space - Don't Bulli
Because you award achievements through what appears to be a hourly cron job that is just checking for the flags of 1000 Brofists and your current Gender. A user can get both the Man Whore and Slut achievement by switching their gender and waiting for the next Cron Job to fire allowing for inflated Kodex Kredits.
A user can even re-earn past achievements. But shhhh. We don't want anyone to notice.

What do you mean? I would assume each user has a block of memory allocated in the database for boolean style bit shifts for each achievement. They persist which achievements you have already so not sure how you can re earn the same achievement. Do you have an example?
Oh, let's handwave a completely implausible event, such as a user losing all his brofists. He would then be able to earn all the brofist achievements again, including the attached KKK. But again, that's just a thought experiment made up from thin air. What are the odds!

That actually surprises me - I wouldn't expect achievements to be removed when you no longer are eligible for it due to brofist loss, although it's a hard edge case to test through normal use of the site.
I mean it has to be a bug as well - or the KKK's would be removed too..

Next time my account is at a message threshold for an achievement.. I might just want to test this by posting / deleting / posting / deleting.
 

Immortal

Arcane
In My Safe Space
Joined
Sep 13, 2014
Messages
5,062
Location
Safe Space - Don't Bulli
Joined
Oct 5, 2014
Messages
4,748
Location
New Zealand - Pronouns: HE/HIM
there was a big brouhaha within the codex's Automated Digital Division when i past 1000 posts; i got a 250 kkk boost and even got a couple of alerts as well

my god the excitement that day could have been scraped off the walls

you have to ride the wave man, no two days are the same
 

As an Amazon Associate, rpgcodex.net earns from qualifying purchases.
Back
Top Bottom