RMMV Update to Mr Trivel's Perk Plugin?

Status
Not open for further replies.

Allusion

♕ The Girl Who Lived (for chocolate) ♛
Veteran
Joined
Aug 21, 2013
Messages
166
Reaction score
163
First Language
English
Primarily Uses
Hello! :)

I'm trying to implement Mr T's perk plugin, but it hasn't been updated since it was posted some years back, (2016? 2017?) and it no longer seems to function. It won't apply states or run common events listed in the rewards notetag.

I've tested this in both my project and a clean project. I wondered if anyone might be able to comb through and get it working again?

I was also wondering if there was a way to add plugin commands (or script calls?) which could reference a perk as well; such as a way for an event to check if 'perk xyz' has been learned?
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,190
First Language
Dutch
Primarily Uses
RMMV
it should work, can you show your notetag/set up how you used it?
screenshots helps, so you probably miss something or a typo.
 

Allusion

♕ The Girl Who Lived (for chocolate) ♛
Veteran
Joined
Aug 21, 2013
Messages
166
Reaction score
163
First Language
English
Primarily Uses
Sure, here you are. I only copy/pasted what Mr. Trivel had as an example so if there's an error I definitely could have missed it. Though all the note tag info appears correctly and the scene launches fine...it's just not activating the rewards like it should. (I've tried it both with 1 reward (a state, then with a common event) and also with multiple rewards and still got nothing.) This is from the blank project.
 

Attachments

  • Note1.png
    Note1.png
    15.9 KB · Views: 3
  • Note2.png
    Note2.png
    20.5 KB · Views: 3

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,190
First Language
Dutch
Primarily Uses
RMMV
if you call it from the main menu and does nothing, I need to check and copy the example.
but what is in the "common event 1" reward?

note tags seems correct though, but for the ones use it on 1.5.1 and above,
this plugin is still working.
 

Allusion

♕ The Girl Who Lived (for chocolate) ♛
Veteran
Joined
Aug 21, 2013
Messages
166
Reaction score
163
First Language
English
Primarily Uses
I do call it from the menu; in my project I use Yanfly's Menu Manager, but in the blank one I don't use anything; either way it fails to produce a result...

For Yanfly, the way it's set up is;

Name: "Perks"
Symbol: perks
Show: true
Enabled: true
Main Bind: this.commandPersonal.bind(this)
Actor Bind: Scene_Menu.prototype.onPersonalOk

Actor bind is supposed to be SceneManager.push(Scene_Perks) but every time I ran it with that code it kept saying Scene_Perks was undefined? (Also happened in the blank project) But I dug through the js and pulled out the above command and it runs properly.

Common event 1 only showed a text pop up originally, which didn't work; then I changed it to add 3000 gold and that didn't work either. I'm glad you can get it running though, there's still hope then! I just don't know why I can't...I'm using MV version 1.6.2.
 

Attachments

  • PerksImg.png
    PerksImg.png
    32.7 KB · Views: 3

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,190
First Language
Dutch
Primarily Uses
RMMV
you can push the scene otherwise, onPersonalOK means more, if you have a party,
you select a party member first, than go to the scene.

if you call it instantly (as single actor), idk if browse works, use the Common Event
setup in list and put ext to the common event ID.

not sure if that will work on browsing the actors with W, E or W, Q else page up and down.
but I can check tomorrow for you why it doesn't work.

but if it works on my end correctly, I put a small demo for you.

else see what another can say about it, but most of his plugins works corectly.
I use version 1.6.1 (basicly the same as 1.6.2)
 

Allusion

♕ The Girl Who Lived (for chocolate) ♛
Veteran
Joined
Aug 21, 2013
Messages
166
Reaction score
163
First Language
English
Primarily Uses
Okay, thank you! I think I'll wait and see if I can run it from your demo first, just to make sure it's not my version of MV...maybe I'll need to downgrade to 1.6.1 for it to work? Not sure but if it fixes the bugs I'll try. (I've noticed other odd things too, like not being able to get to the edge of a parallax map, or the database not reflecting sprite sheet changes unless I re-boot my game file; it may just not be a stable release yet.) Thank you for all your help so far!
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,190
First Language
Dutch
Primarily Uses
RMMV
I turned of my MC plugin because it doesn't work, so I did some tests around:

Name: "Upgrade" (test purpose)
Symbol: perks
Show: true
Enabled: true
Ext:
Main Bind: this.commandPersonal.bind(this)
Actor Bind: Scene_Menu.prototype.onPersonalOk

the above part seems to work perfectly find (if you dont have any other
menu/window command customazing plugins.

the next part:

Name: "Upgrade" (test purpose)
Symbol: perks
Show: true
Enabled: true
Ext:
Main Bind: this.commandPersonal.bind(this)
Actor Bind: SceneManager.push(Scene_Perks)

this runs into an error like you said of "Scene_Perks" of undefined, dont know why,
but it should run it.

Another weird issue it, when I make an event with the scriptcall:
SceneManager.push(Scene_Perks);

and nothing else, it should open the window, but it does plainly NOTHING at all.
while it should open, while it is directly to select an actor first, it wont open.

in order in case you use a single actor, you need to re-direct it, but if you have the part,
the top code should work, when selecting from the menu -> select actor
and it should open the window.

I use the base setup as MrTS Trivel gave (multiple perks and reward)
but each reward state: 7 of the default one.

even the commonEvent does run as well. so can you screenshot your
plugin database?

in case you try a fresh project, it should work with the following:

- YEP_EngineCore
- YEP_MainMenuManager
- MrTs_Perks

it works without main menu manager instantly, else the code you provided
and top on of this message with YEP_MMM.
 

Allusion

♕ The Girl Who Lived (for chocolate) ♛
Veteran
Joined
Aug 21, 2013
Messages
166
Reaction score
163
First Language
English
Primarily Uses
Still nothing on my end :ysad: even on a 2nd blank project. I set everything up as you outlined and it's just not applying the rewards. What's frustrating is that every other part of the plugin works; the note tags, the scene, the skill itself being learned; it's just not applying the rewards and I don't know why.

Ah, I could screencap my plugins list but it's pretty long lol! And since it's not working even without other conflicts, I'm probably just going to skip using it. It's either that or try downgrading to 1.6.1 and see if it runs there, which I'm not keen on doing xD (I'd probably mess something up!)

Thank you for trying so hard, though, I appreciate it! I'll close this thread but if you have any other solutions to try, feel free to PM me!
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,194
Reaction score
1,190
First Language
Dutch
Primarily Uses
RMMV
you need points at least, and than confirm to learn it by spending,
if the plugin iself works, and you activate it as leurned (white text)
else it will be grey, and the reward is the only part that doesnt work,
than I need to dig deeper why it doesn't work.

the rest works normally correct? just the reward doesn't?
if it's just the reward, than I check tomorrow, and see if it works on my end.

1.6.1 is the same as 1.6.2 though, so you dont have to downgrade it, it's just
the number 1 to 2 so it match the japanese version, so don't worry on that part.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,608
Reaction score
14,331
First Language
English
Primarily Uses
RMVXA

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts


When you thought you'd be finished with the grid, and spend ~8-9 hours on an arrow. How is this more difficult to than player movement?

Still some bugs hiding in there, but it's nearly complete.

I'm having it strictly follow the path a user draws, because there will be booby trap and other similar mechanics where you want to avoid specific cells.
I feel like banging my head against a wall every time I want to find that post that shows all the plugin header codes. Then I think "next time I find it, I'm going to bookmark it". Then I think "wait a minute ... maybe I bookmarked it last time because it took me so long to find it". Check bookmarks, and there it is :)
... a few of my main characters standing around doing nothing lol. I mostly wanted to see them together on screen.

Forum statistics

Threads
107,824
Messages
1,032,449
Members
139,975
Latest member
Lucimountfort
Top