Create your AI Cum Slut -70% for Mother's Day
x

Cheat Mod Ren'Py Pokemon Academy Life Forever Cheat Injector [v1.45] [Sleepingkirby]

sleepingkirby

Well-Known Member
Aug 8, 2017
1,072
1,665
here you go man sleepingkirby


The save file for before the contest is at page 30, 5th slot.

Thank you.
I got the file. Thank you. This might take me a little bit. The GUI's not exactly forthcoming on what is going on in the code/algorithm. But the good news is, there's a pretty good GUI area to add a button. The contest help menu. I might just plop a button at the bottom of the help that says like "+50 points" or something.
 
  • Heart
Reactions: emmanul

sleepingkirby

Well-Known Member
Aug 8, 2017
1,072
1,665
here you go man sleepingkirby


The save file for before the contest is at page 30, 5th slot.

Thank you.
Okay. So I've got a handle as to what's going on. This is...not going to be easy.

So here's what's going on. There's an array (a list) of "coordinator" object. You (Red) are one of them. The order in the list is the order that each coordinators perform. Inside each coordinator object, it keeps track of things like current points, energy and a list of actions you've taken on each round. Now, you'd think the current points tells how many points you currently have. Nope. That's just a variable to hold what points is being displayed and/or totaled at the moment. With each round current point gets reset to 0.
"So what determines the final points?" I hear you asking. Action record (list of actions) does. Right after the "Popular opinion isn't everything..." line, it tallies up all the action record numbers and puts it into current points. ONLY AFTER that, does it check who has the highest points and determine a winner.
There are other things that goes into the calculation as well, but this is the most important part.

"What does all this have to do with the cheat?" I hear you ask.

There's no 1 variable or number I can change to make you win.

Each round,the order of the list of coordinators gets shuffled. So I can't just go "modify the first coordinator's points to be 9000" because that might be your competitor. On top of that, the variable I want to modify may not exist yet. If I modify round 3's points to be 9000, but you're on round 2, that number is going to get overwritten.

But let's say I find a way modify the points. Even if I do that, I'll still need to write a custom function to search through all the coordinators to find your character to modify those points.

I'd like to reiterate. I'm not saying this is impossible. I'm saying this is not easy. I'd have to inject a custom function in addition to a custom button, which can only be used after, at least, the first round. I've done this before, it's just not an easy thing.

Also, another way to help (not guarantee) you win, is a button to refill your energy. But you'd have to click that on every round to refill it.

So, those are my ideas for how to make this work.
  1. A button to make all the points in the previous rounds some large number
  2. A (separate) button to refill your energy for that round.
If that sounds good. Tell me so and I'll get started. If not, throw me some ideas and we'll discuss further.

Lastly, someone remind me, in this game, are you able to rename the main character (Red)? Because, if so, that custom function I mentioned will need to find your character by your name and not by the hard coded value "Red".


Never mind. There's a "IsProtagonist" flag on coordinators that I can check for. So at least that part will be easier.
 
Last edited:

sleepingkirby

Well-Known Member
Aug 8, 2017
1,072
1,665
There may be a differrent way, this is how the stat screen looks like at week 9
You don't have permission to view the spoiler content. Log in or register now.
If you can make it so we can increase Coordinating Knowledge, that should help as that gives passive points during performances, and if you can also make it to increase Trait points as well that would be great.

PS: the screenshot's not mine it's from the discord I'm still in week 7
Hey, so I'm just doing some clean up now that F95 will finally show me images. I'm looking through the code for "coordingatingknowledge". I found that it's eventually assigned to a coordinator's condition. Coordinator's condition is as follows in code:
./coordinator.rpy:5: self.ActionRecord = {}#has a series of entries, where the 'turns' are recorded. Each key is an int with the turn number, and the value is an int of how many points they won at end of turn. Turn zero is the initial condition factor
So you'd think that'd help out. But the current points is tallied as follows:
Code:
python:
    for i in range(1, 11):
        Turn = i
        for coord in Coordinators:
            coord.CurrentPoints += coord.GetPointsOnTurn(i)
        renpy.pause(1)
So, according to this (since lists/arrays start at 0, not 1),it actually skips the initial condition factor when calculating the points. I don't mind turning that into a button but, I'm not sure if it really helps with the contest at this point. If I'm wrong, please correct me.