Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
I have run into this strange bug where that if I encounter an enemy troop with multiple enemies my job points reset at the end on each actor instead of accumulating. Everything works normally if I encounter enemy troops with only one enemy the job points keep accumulating after each battle.



I have all the normal way of accumulating job points turned off in my game how I wanted it to work is each enemy gives a set amount of job points. I repeatedly looked over my plug-in list to make sure I have them in the correct order I don't know what could be wrong here unless the plug-in is not intended to work the way I want it to. I hope I just overlooked something if not this would put a wrench in my whole process and screw up my whole concept for my game.

jobpointshelp.png

jobpointshelp2.png

jobpointshelp3.png

jobpointshelp4.png
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,932
Reaction score
11,876
First Language
German
Primarily Uses
RMMV
1) are you talking about random battles, evented battles or both?
2) what points do you get from the battles? zero, points for one enemy, points for two enemies, do the actors lose points compared to before the battle or what?
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
1. random battles
2. Per the examples in the picture I get Five Points each for each Albatross I kill so if I kill three I get 15 at the end of battle then each actor's total resets to 15. Instead of accumulating and adding to 15 on top of the existing job points.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,932
Reaction score
11,876
First Language
German
Primarily Uses
RMMV
using correct programming language, that is not resetting but setting the job points to 15.
Resetting them would be setting them to zero, that's why I asked for clarification.

can you test if the same happens with a series of evented battles?
At the moment I can think of only two possibilities that might cause this behaviour:
1) plugin is configured wrong for the behavior you want
2) a different plugin or event is manipulating the same data

If this happens with a single event where you use show text to show the job points between two evented battles (basically show job points, battle processing 1, show job points, battle processing 2, show job points all in a single action trigger event), then this will identify when exactly the bug happens.
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
Here are some pictures demonstrating what's happening

jobpointshelp5.png

jobpointshelp6.png

jobpointshelp7.png

jobpointshelp8.png

Everything working as intended

Now here's where it messes up and gets the bug

jobpointshelp9.png

jobpointshelp10.png

jobpointshelp11.png

Instead of accumulating it's at my job points to 10
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
using correct programming language, that is not resetting but setting the job points to 15.
Resetting them would be setting them to zero, that's why I asked for clarification.

can you test if the same happens with a series of evented battles?
At the moment I can think of only two possibilities that might cause this behaviour:
1) plugin is configured wrong for the behavior you want
2) a different plugin or event is manipulating the same data

If this happens with a single event where you use show text to show the job points between two evented battles (basically show job points, battle processing 1, show job points, battle processing 2, show job points all in a single action trigger event), then this will identify when exactly the bug happens.
Okay I would set up an event battle and be back with my results
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
I am still working on it I realized I do not know how to show job points in a textbox I'm trying to search Google for answers
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
Well I tried the event battle process and it still happens but I cannot figure out a way to show job points before each battle I don't know of any text commands to put in the message box that shows job points and I search Google for quite a while and could not find any concrete information.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,932
Reaction score
11,876
First Language
German
Primarily Uses
RMMV
I do not know how to show job points in a textbox I'm trying to search Google for answers
the answer would not be in google, it would be in the help section of the plugin. Yanfly writes complete help sections, so that means there should be a script command to get the job points listed in there, you use that wirh a control variable and then use \v on that variable with show text.

But if that is too complex for you, simply use the event command to open the menu on the event three times, the event should continue from where you opened that menu by event command each time.
And then simply note the results on paper, we don't need screenshots just the numbers resulting.
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
the answer would not be in google, it would be in the help section of the plugin. Yanfly writes complete help sections, so that means there should be a script command to get the job points listed in there, you use that wirh a control variable and then use \v on that variable with show text.

But if that is too complex for you, simply use the event command to open the menu on the event three times, the event should continue from where you opened that menu by event command each time.
And then simply note the results on paper, we don't need screenshots just the numbers resulting.
Okay just to clarify you want to know my job point total after each battle
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
jobpointshelp13.png
Using this event before battle one I have 70 job points after battle one I have 75 job points after battle two I have 85 job points after battle three I have 15 job points each albatross gives me five points
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,932
Reaction score
11,876
First Language
German
Primarily Uses
RMMV
ah - but that is different from what you originally had.
The two albatrosses correctly add +10 where they did not before, only after the last battle the job points go to 15.

Could you do one more test? simply add a show text xyz after the last open menu, to force the engine to wait in the event before continuing.
If that results in job points 100 and then after closing the event to 15, then we know it is something from outside interfering.
if that still results in 70/75/85/15, then it is something in the troop/battle itself that causes this.

One other question: can you test this with a new game? I'm assuming that you load an old savefile because a new game should start with 0 job points, and sometimes old saves become incompatible by adding plugins or reordering them. Just to make sure the error is not something in your savefile...
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
Okay using this event with the old save file I got the results
jobpointshelp15.png
70/75/85/15
Running the same event a second time gave me different results which is strange it's not constant
70/75/10/15
Running the event a third time gave me these results 70/75/10/15

Starting a new game and using this event "I added the leveling up part so I can do the battle quicker" gave me these results

jobpointshelp16.png
0/5/10/15
a 2ed time 0/5/10/15 and a 3rd 0/5/10/15
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,932
Reaction score
11,876
First Language
German
Primarily Uses
RMMV
have you been able to replicate the 85 a second time or was that from the first time ever?
I'm asking because then it might have been a user error with you seeing wrong the first time.

There are no random effects in any computer, and if it might have been a reading mistake from screen then it would point to a different cause as if there really was a seemingly random change.

anyway, this points to very likely be a plugin incompatibility, so can you please give us screenshots of your entire plugin manager? The screenshot in your first post is only part of it.

And please, use Alt-Prtscrn instead of only Prtscrn to make your screenshots.That will limit them to the active window and make them much better readable.
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
Here is my plugins list I will try to replicate that error from before.

plugin.png

plugin1.png

plugin2.png
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,932
Reaction score
11,876
First Language
German
Primarily Uses
RMMV
OK, I'm out of ideas.
The only thing I can suggest is to re-read the instructions for the job plugin because as of know I give the highest chance for a cause to a misconfiguration of that plugin.
But I don't know it enough to judge that.
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
Well thank you so much at least for trying I'm stumped to on this one I don't know what could be going on and I was able to replicate that 10 again most of the time it's an 85 but sometimes it's a 10
 

Sword_of_Dusk

Ace Attorney
Regular
Joined
Sep 13, 2015
Messages
1,773
Reaction score
1,982
First Language
English
Primarily Uses
RMMV
Taking a look at your plugin list, you have the Skill Learn System above Job Points. It's recommended to have Skill Learn under Job Points. Try doing that and performing your tests again. It may not solve the problem, but it's a place to start.
 

Mr_Mime_1983

Regular
Regular
Joined
Aug 22, 2021
Messages
41
Reaction score
7
First Language
en
Primarily Uses
RMMV
Taking a look at your plugin list, you have the Skill Learn System above Job Points. It's recommended to have Skill Learn under Job Points. Try doing that and performing your tests again. It may not solve the problem, but it's a place to start.
Thank you this solution seems to have fix it I need to do more extensive testing but it seems to be working as I intended now
 

Sword_of_Dusk

Ace Attorney
Regular
Joined
Sep 13, 2015
Messages
1,773
Reaction score
1,982
First Language
English
Primarily Uses
RMMV
Thank you this solution seems to have fix it I need to do more extensive testing but it seems to be working as I intended now
That's good to hear. Yanfly plugins can act funny if they aren't ordered correctly.
 

Latest Threads

Latest Profile Posts

A sad day for me. A monitor that served me loyally for more than 5 years is getting replaced. It's begun to throw very large sparks.
skill.gif
experimenting with outlines in GIMP. found out it's EXTREMELY easy to do actually.
I have locked myself away into my Reaper dungeon. I assume this is all you'll need until I get back.

1701973777966.jpeg1701973812025.jpeg

Forum statistics

Threads
136,814
Messages
1,270,345
Members
180,575
Latest member
SredniVashtar
Top