[-] Noneo@lemmy.world -1 points 1 year ago

Thank you I looked at that one I guess my brain kept skipping over It cause I dismissed it before I could even get the chance to see what I missed before thanks

[-] Noneo@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Yea sry I should've clarified there are 4 references but

  1. (Int openStars = Dungeon.hero.talentPointsAvailable(tier)) If you search the repo for (openStars) then you'll find this Is basically an If statement checking whether there should be a star/talentpoint texture on the UI or If there shouldn't so It doesnt exactly effect whether I can upgrade any talents at all which changing the returned value from 0 to something else does do

numbers 2. 3. 4. Are all If statements mostly checking whether (Dungeon.hero.talentPointsAvailable(tier) is greater or less than 0.

Maybe < > this means something different then what I thought? Idk

[-] Noneo@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Also any recommended game development or helpful java coding servers/threads more specific to this question would be appreciated

[-] Noneo@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

woke bots lol. I seriously don't doubt, It's a logical step for a business like cloudflare. Won't ever really be proven or disproven though.

13
submitted 1 year ago* (last edited 1 year ago) by Noneo@lemmy.world to c/gamedev@programming.dev

Recently I've been trying to grow my skills by modding an open source game called shattered pixel dungeon and I've run Into a problem I don't quite understand (public int talentPointsAvailable(int tier){ if (lvl < (Talent.tierLevelThresholds[tier] - 1) || (tier == 3 && subClass == HeroSubClass.NONE) || (tier == 4 && armorAbility == null)) { return 0; ) ((https://github.com/00-Evan/shattered-pixel-dungeon/blob/master/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java) (line 372)) This right here, especially (public int talentPointsAvailable(int tier)) I don't quite understand It seems Its getting a returned 0 but If you look through the code this isn't exactly defined anywhere doesn't say where the values going or what It's affecting but seems to mysteriously be effecting the amount of talent points (amount of stars I have In img above) when I change the returned value. initially I just wanted to challenge myself by giving myself as many talent points as I could but now I just want to know what's causing that to change the default amount of talent points I have and how you figured It out?

[-] Noneo@lemmy.world 7 points 1 year ago

Obviously cloudflares ddosing lemmy just to get some extra money

[-] Noneo@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Well I signed today and I got an error saying rate limit earlier for using these types of symbols "î¦âö)ééäë((ºÜݨ¿ã¿ï" I'm assuming It has nothing to do with this but just In case I'm making a comment about it edit:also just realized It may have been from how long the password was (33 characters)

Noneo

joined 1 year ago