artoni

Writer, Editor
Veteran
Joined
Jan 18, 2014
Messages
115
Reaction score
163
First Language
English
Primarily Uses
RMMV
Visually this is exactly what I wanted, holey moley. I'll be testing this when I get home!

Hopefully this works with requiring variables to be a certain amount, and/or usages of previous skills :kaoswt2:
 

ThePotatoOfFire

8-bit Obsessed
Veteran
Joined
Jan 15, 2016
Messages
157
Reaction score
59
First Language
English
Primarily Uses
RMMV
I started up the latest version of the demo, and was greeted with this error upon opening the main menu:

upload_2019-1-5_22-42-11.png
 

MyoGaming

Warper
Member
Joined
Mar 14, 2018
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
Tried deploying the default demo and YEP integration on android, came up with this error.
TypeError Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is non-finite.
 

SomeFire

Veteran
Veteran
Joined
May 27, 2016
Messages
120
Reaction score
126
First Language
Russian
Primarily Uses
@ThePotatoOfFire, what is your RPGMV version? It should be 1.6+. Also, Skill Trees plugin should be placed below YEP plugins in plugin manager.

@MyoGaming, can you get the stacktrace?
 

MyoGaming

Warper
Member
Joined
Mar 14, 2018
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
@ThePotatoOfFire, what is your RPGMV version? It should be 1.6+. Also, Skill Trees plugin should be placed below YEP plugins in plugin manager.

@MyoGaming, can you get the stacktrace?

Hopefully this is what you're looking for.
By the way I'm loving the plugin, it works great on PC! :D

2019-02-13 23:21:44.727 3875-3875/? I/chromium: [INFO:CONSOLE(1949)] "TypeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is non-finite.
at TypeError (native)
at Bitmap.getPixel (file:///android_asset/www/js/rpg_core.js:1197:30)
at Description_Window.Window_Base.textColor (file:///android_asset/www/js/rpg_windows.js:176:28)
at Description_Window.drawRequirements (file:///android_asset/www/js/plugins/SkillTreesSystem.js:834:22)
at Description_Window.refresh (file:///android_asset/www/js/plugins/SkillTreesSystem.js:784:22)
at Description_Window.showDescripion (file:///android_asset/www/js/plugins/SkillTreesSystem.js:740:10)
at Skills_Window.select (file:///android_asset/www/js/plugins/SkillTreesSystem.js:543:33)
at Skills_Window.selectLast (file:///android_asset/www/js/plugins/SkillTreesSystem.js:565:10)
at Scene_Menu.Scene_SkillTrees.onTreeOk (file:///android_asset/www/js/plugins/SkillTreesSystem.js:258:24)
at Trees_Window.Window_Selectable.callHandler (file:///android_asset/www/js/rpg_windows.js:902:31)", source: file:///android_asset/www/js/rpg_managers.js (1949)
 

SomeFire

Veteran
Veteran
Joined
May 27, 2016
Messages
120
Reaction score
126
First Language
Russian
Primarily Uses
@MyoGaming, sorry, it tooks too long for me to handle with android, but I succesfully launched the demo. I used AltimitSystems mv-android-client, demo didn't started on emulator (just hangs with gray screen), but works normally on my phone in USB-debug mode. I got no errors on my phone.

I suppose, it is android project or emulator/phone issue. Did you tried different android devices?

Also, try latest demo (I see difference in the stacktrace and the code). If it doesn't help - try to change code in SkillTreesSystem.js
Code:
Description_Window.prototype.drawRequirements = function(reqs, y) {
    var color = this.textColor();
to
Code:
Description_Window.prototype.drawRequirements = function(reqs, y) {
    var color = this.textColor(0);
 

MyoGaming

Warper
Member
Joined
Mar 14, 2018
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
@MyoGaming, sorry, it tooks too long for me to handle with android, but I succesfully launched the demo. I used AltimitSystems mv-android-client, demo didn't started on emulator (just hangs with gray screen), but works normally on my phone in USB-debug mode. I got no errors on my phone.

I suppose, it is android project or emulator/phone issue. Did you tried different android devices?

Also, try latest demo (I see difference in the stacktrace and the code). If it doesn't help - try to change code in SkillTreesSystem.js
Code:
Description_Window.prototype.drawRequirements = function(reqs, y) {
    var color = this.textColor();
to
Code:
Description_Window.prototype.drawRequirements = function(reqs, y) {
    var color = this.textColor(0);

Sorry for late response, but changing the code worked thank you very much!
 

mazzy-elf

Artist
Veteran
Joined
Jul 18, 2018
Messages
75
Reaction score
118
First Language
English
Primarily Uses
RMMV
This is exactly what I'm looking for unfortunately as soon as I switch it to Yanfly's JP mode nothing loads at all, I tried downloading your demo to see if I was doing something wrong, but the same thing happens, it works fine with SP but if its JP its just a Black screen that never loads up the game.
 

Kraden96

Friendly Fox
Veteran
Joined
Feb 5, 2016
Messages
42
Reaction score
11
First Language
English
Primarily Uses
RMMV
Would it be possible to make a skill tree disconnected from an actor? I want to have a Party Skill Tree that effects the whole party instead of just one actor! :)
 

falken14

Veteran
Veteran
Joined
Dec 6, 2016
Messages
68
Reaction score
42
First Language
English
Primarily Uses
This is exactly what I'm looking for unfortunately as soon as I switch it to Yanfly's JP mode nothing loads at all, I tried downloading your demo to see if I was doing something wrong, but the same thing happens, it works fine with SP but if its JP its just a Black screen that never loads up the game.

I'm not sure if you solved your problem, but if not: you can't have the plugin parameters 'Single Points Pool' and 'Use Job Points' both set as true. Only one can be true (because of how Job Points work, with separate job points for each class).

(@SomeFire, this might need to be mentioned in the plugin help file or on the first post - I got tripped up here as well).
 

steexyz

Warper
Member
Joined
May 2, 2019
Messages
3
Reaction score
1
First Language
French
Primarily Uses
RMMV
Hi there,

I think I've done all the setup requiered like the demo of 1.4 but it seems I'm always getting ReferenceError SkillsTreesSystem is not defined when I'm in my personnal project.

I'm using example skill tree already in the config plugin.

I swear I think I did the same config as the demo that is working but it seems something is still of, any idea?

I've bind the menu too which give me the error above now.

PS: I use 1.6.2
EDIT:

Stack :

ReferenceError: SkillsTreesSystem is not defined
at eval (eval at Window_MenuCommand.createCommand (YEP_MainMenuManager.js:4641), <anonymous>:1:1)
at Window_MenuCommand.createCommand (YEP_MainMenuManager.js:4641)
at Window_MenuCommand.makeCommandList (YEP_MainMenuManager.js:4610)
at Window_MenuCommand.Window_Command.initialize (rpg_windows.js:1301)
at Window_MenuCommand.initialize (rpg_windows.js:1568)
at new Window_MenuCommand (rpg_windows.js:1561)
at Scene_Menu.createCommandWindow (YEP_MainMenuManager.js:4699)
at Scene_Menu.create (rpg_scenes.js:972)
at Scene_Menu.create (YEP_MainMenuManager.js:4694)
at Function.SceneManager.changeScene (rpg_managers.js:2005)
SceneManager.catchException @ rpg_managers.js:1949

Thank you

FIXED - Defined SkillsTreesSystem instead of SkillTreesSystem

EDIT: I added class2trees to my actor, it's fine I see my Warrior tree but there is an undefined tree left in the windows I can select but once I double clicked it, it freeze. How can I remove the undefined tree that persist? I tried commenting every other possible tree but I feel the issue is in the rendering.

So I just want to display a single tree.

@SomeFire

FIXED - Was adding a class2trees to my actor. It is not required.
 
Last edited:

SomeFire

Veteran
Veteran
Joined
May 27, 2016
Messages
120
Reaction score
126
First Language
Russian
Primarily Uses
@steexyz, I can't reproduce it. I left only one tree in `class2trees`, and I see only this tree in the game. Can you share project with this bug?

@Kraden96, it is possible, but I will not do it, because I want plugin to be actor oriented. I will not support both ways, because it is too difficult.

You can edit plugin for your needs. Looks like you need only 2 changes: skip actor select window and apply skills for whole party instead of single actor.

@falken14, I'll mention it in the next update.
 
Last edited by a moderator:

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,947
Reaction score
5,856
First Language
Dutch
Primarily Uses
RMXP

steexyz, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


SomeFire, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


I merged your posts together this time.
 

steexyz

Warper
Member
Joined
May 2, 2019
Messages
3
Reaction score
1
First Language
French
Primarily Uses
RMMV
@SomeFire, I found the issue. I was adding the class2trees to my actor but it seems the plugin do it and I don't need to specify it.
@slimmmeiske2 Sorry about that!
 

jbtwist

Veteran
Veteran
Joined
Jun 4, 2017
Messages
49
Reaction score
6
First Language
Spanish
Primarily Uses
RMMV
I would like to call a common event when learning a skill with this plugin, is that possible?
 

SomeFire

Veteran
Veteran
Joined
May 27, 2016
Messages
120
Reaction score
126
First Language
Russian
Primarily Uses
@jbtwist, yes, you can create `OnLearnAction` class, which will call a common event, and add it to appropriate skills. Or you can edit plugin and a call in `Skill#learn(actor, tree)` method, so, common event will be called for every learned skill.
 

jbtwist

Veteran
Veteran
Joined
Jun 4, 2017
Messages
49
Reaction score
6
First Language
Spanish
Primarily Uses
RMMV
@SomeFire can you write me an example of that? I just want to call one or another common event depending of the skill learned
 

SomeFire

Veteran
Veteran
Joined
May 27, 2016
Messages
120
Reaction score
126
First Language
Russian
Primarily Uses
See common event call at this list.

Version 1.5:
- Items with ability to reset skill trees during the game.
- Working message box commands for skill descriptions.
- Draw skill cost (MP and TP).
- bugfixes.
 
Last edited:

jbtwist

Veteran
Veteran
Joined
Jun 4, 2017
Messages
49
Reaction score
6
First Language
Spanish
Primarily Uses
RMMV
Hi, ive tried to call a common event, but i cant. I tried copying the way you change the game variables, but i also noticed that gamevariables are not changing in my project. It may be because some plugin?


This is my code:

Code:
class OnLearnCommonEvent extends OnLearnAction {
    /**
     */
    constructor(value) {    
        super("game_temp");  
        this.val = value;  
    }

    action() {
        $gameTemp.reserveCommonEvent(this.val)
    }
}

function common_Event(value) {  
    /**
    var a = new OnLearnCommonEvent(value);
    a.action();
    return a;  
     */
   return new OnLearnCommonEvent(value);
}

What is happening is that $gameTemp or $gameVariables are not defined (equal null) on that context. I've been trying, but havent found a way to fix that.
The comented section was a way to try to force the summoning of action, because it were not happening in my game naturally.
 

SomeFire

Veteran
Veteran
Joined
May 27, 2016
Messages
120
Reaction score
126
First Language
Russian
Primarily Uses
Version 1.6:
- Ensure cursor visibility for long trees.
- Fixed bug with on learn actions.

i also noticed that gamevariables are not changing
Thx for finding this bug, it was appeared long time ago...

Given code works for me, but I see a big problem - event is happened only after I return to game (close menu). Also, not all events, but only last "learned".
 

Latest Profile Posts

..of the major old school series that began in the 80s- early 90s, I still haven't beaten 'a' Zelda game. Mario 64 was the first Mario I've beaten. I don't know if I should give that honor to Link to the Past or A Link Between Worlds(I currently own both). Well technically I've haven't beaten a Sonic either (Game Genie doesn't count =P).
headshot_headinfo.jpg
Time to add the "headshot" concept into the game so that people may actually aim at the heads when shooting zombies and get massive damage and armor-pen bonus as rewards. :kaojoy:
(The red area is just for visually debug purposes right now. But, it's possible that I will add something that displays the weak spots of enemies in the future.)
Worked on a cutscene skip domino effect using Maker Systems' script as the basis. Basically if I have a batch of cutscenes in a row on different maps, now when you skip one cutscene it will skip the entire set. No more spamming X to skip a scene every new map.

Oh and it will work regardless of where you do it from in the set. Convenient!
seems absolutely WILD to me now all the hundreds of hours of work I used to do in 2k(3) over a decade ago with a resolution of 320x240. that seems so insanely TINY now, seemed so normal at the time!
Playing Aroma Indosiar theme song.
Aroma is an Indonesian TV show about cooking. :)

Forum statistics

Threads
115,380
Messages
1,089,402
Members
150,088
Latest member
lollwi
Top