OcRam - Local Coop plugin (MZ/MV)

● ARCHIVED · READ-ONLY
Started by OcRam 325 posts Page 2 of 17 View original ↗
  1. Isabella Ava said:
    The bug still hasn't been fixed. I am using Yanfly Battle Engine.
    And too much plugin to turn off one by one :LZSooo:
    Can you add some console log into your plugin to see what happen while it's running?

    Ok I'm assuming Default Turn Battle aka. "DTB" is in use. Please take look at the latest version 1.02 with debug mode set to "true". What does it say?

    Edit: You can also PM me
  2. Hi @OcRam
    Yes i am using DTB battle system.
    This is my console log, the game can't escape victory screen and running extremely slow (like and endless for loop or something..)
    upload_2018-2-11_10-2-13.png
  3. Isabella Ava said:
    Hi @OcRam
    Yes i am using DTB battle system.
    This is my console log, the game can't escape victory screen and running extremely slow (like and endless for loop or something..)
    View attachment 82684

    Ok the log tells me that the possible loop ain't in this Plugin, but ofc it can effect other plugins / other scripts. This plugin overrides big part of RMMV Input class. I tried to take a look at most of your plugins, but didn't see too many plugins that should conflict. For example I use almost all of the Yanfly plugins and some of the Moghunters and Orange (Hudell) myself.

    I have tested with most obvious plugins that may cause this kind of behaviour (like "victory aftermath" and "Battle end events"), but everything worked as it supposed to...

    Can you show common events on "Battle end events" (if there are any)? And what does "MyJS" -plugin do? Still the best way to solve this is to turn off plugin by plugin and see what happens, IMO...
  4. @OcRam i tried to turn off some plugin and found out that SRD_BattleEndEvent was the culprit :|
  5. I update the plugin, and im having troubles TnT... Help pls
    At the start of my project this happend

    TypeError
    Cannot read property 'inBattle' of null

    Developer tools

    PixiJS 4.5.4 - ✰ WebGL ✰ http://www.pixijs.com/ ♥♥♥


    rpg_managers.js:1949 TypeError: Cannot read property 'inBattle' of null
    at Function.Input._updateGamepadState (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:919)
    at Function.Input._pollGamepads (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:750)
    at Function.Input.update (rpg_core.js:3068)
    at Function.Input.update (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:599)
    at Function.SceneManager.updateInputData (rpg_managers.js:1966)
    at Function.SceneManager.updateMain (rpg_managers.js:1981)
    at Function.SceneManager.updateMain (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/SRD_SuperToolsEngine.js:397)
    at Function.SceneManager.update (rpg_managers.js:1907)
  6. SoulOfRock said:
    I update the plugin, and im having troubles TnT... Help pls
    At the start of my project this happend

    TypeError
    Cannot read property 'inBattle' of null

    Developer tools

    PixiJS 4.5.4 - ✰ WebGL ✰ http://www.pixijs.com/ ♥♥♥


    rpg_managers.js:1949 TypeError: Cannot read property 'inBattle' of null
    at Function.Input._updateGamepadState (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:919)
    at Function.Input._pollGamepads (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:750)
    at Function.Input.update (rpg_core.js:3068)
    at Function.Input.update (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:599)
    at Function.SceneManager.updateInputData (rpg_managers.js:1966)
    at Function.SceneManager.updateMain (rpg_managers.js:1981)
    at Function.SceneManager.updateMain (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/SRD_SuperToolsEngine.js:397)
    at Function.SceneManager.update (rpg_managers.js:1907)

    Have you tried putting Local Coop plugin at the bottom of list?
  7. @OcRam , I couldn't move player 2. What should I do exactly? I tried with keyboard and xbox pads. Should I bind keys somehow or something?
  8. fizzly said:
    @OcRam , I couldn't move player 2. What should I do exactly? I tried with keyboard and xbox pads. Should I bind keys somehow or something?

    First of all thank you for trying out this Plugin!

    Ok, I'm assuming you have followed my instructions at the first page (where most important thing is that event and plugin parameter matches "P2 Switch Id" and "P2 Event name"). Also page 1 should be blank in case that P2 is not connected.

    Do you use "P2 Auto assign" or the plugin command to bind device to P2? To which device you have bound P2 -1, 0, 1 or something else?
  9. OcRam said:
    First of all thank you for trying out this Plugin!

    Ok, I'm assuming you have followed my instructions at the first page (where most important thing is that event and plugin parameter matches "P2 Switch Id" and "P2 Event name"). Also page 1 should be blank in case that P2 is not connected.

    Do you use "P2 Auto assign" or the plugin command to bind device to P2? To which device you have bound P2 -1, 0, 1 or something else?
    Also thank you for your plugin and for hard work!
    Yes, I've read manual, but looks like I don't get it... ^^;
    So yes, event has PS2 event name and switch for player 2 is ON. Have that blank page for P2 not active. I have PS2 auto assign as 0, but I don't really get it. Whats is -1, 0, 1, etc.
  10. fizzly said:
    Also thank you for your plugin and for hard work!
    Yes, I've read manual, but looks like I don't get it... ^^;
    So yes, event has PS2 event name and switch for player 2 is ON. Have that blank page for P2 not active. I have PS2 auto assign as 0, but I don't really get it. Whats is -1, 0, 1, etc.

    "P2 Auto Assign": -1 = Not in use, 0-n = Gamepad index in your system (if you have several gamepads/joysticks you just gotta find right one, they should popup in connecting order).

    You can assign keyboard + mouse for P2 manually using "p2_assign -1" Plugin command. NOTE: This will block P1 from using keyboard and mouse and then requires P1 to use gamepad/joystick. ...maybe adding shared keyboard / mouse feature in next update...

    "P1 Auto Assign" defaults to -1 (keyboard + mouse)
    "P2 Auto Assign" defaults also to -1 (not in use) ...I change this to 0 in next update...
  11. @OcRam, thank you for making it clear for me. Now it works! I love it. It has much potential!
    If I can suggest some thing:
    * walking and stopped animation avaible
    * map edge colission (p2 can wander behind scenes)
  12. OcRam said:
    Have you tried putting Local Coop plugin at the bottom of list?

    I have solved, was my stupid joystick config... Sorry TnT!

    now im having other issue, when the player 2 is on map, and i go to another map this happend.

    TypeError: Cannot read property 'pages' of undefined
    at Game_Event.page (rpg_objects.js:8466)
    at Game_Event.list (rpg_objects.js:8470)
    at oc_get_event_comments (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:348)
    at p2_check_touch (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:470)
    at Function.Input._updateGamepadState (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:904)
    at Function.Input._pollGamepads (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:750)
    at Function.Input.update (rpg_core.js:3068)
    at Function.Input.update (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:599)
    at Function.SceneManager.updateInputData (rpg_managers.js:1966)
    at Function.SceneManager.updateMain (rpg_managers.js:1981)
  13. fizzly said:
    @OcRam, thank you for making it clear for me. Now it works! I love it. It has much potential!
    If I can suggest some thing:
    * walking and stopped animation avaible
    * map edge colission (p2 can wander behind scenes)

    Suggestions are always welcome! :wink:

    Walking and stopped (if you ment stepping on/off) animations should be already doable (just use normal eventing for P2 event). And map edge collision is going to be in next version (under development).

    SoulOfRock said:
    I have solved, was my stupid joystick config... Sorry TnT!

    now im having other issue, when the player 2 is on map, and i go to another map this happend.

    TypeError: Cannot read property 'pages' of undefined
    at Game_Event.page (rpg_objects.js:8466)
    at Game_Event.list (rpg_objects.js:8470)
    at oc_get_event_comments (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:348)
    at p2_check_touch (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:470)
    at Function.Input._updateGamepadState (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:904)
    at Function.Input._pollGamepads (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:750)
    at Function.Input.update (rpg_core.js:3068)
    at Function.Input.update (/C:/Users/SiehHasen/Downloads/Devil%C2%B4s%20Heart/js/plugins/OcRam_Local_Coop.js:599)
    at Function.SceneManager.updateInputData (rpg_managers.js:1966)
    at Function.SceneManager.updateMain (rpg_managers.js:1981)

    Thank you for the report. What other plugins do you use and what is plugin order? And which version do you use of this plugin? Edit: Just saw you said you updated this plugin, just make sure it's 1.02 ;)

    Edit2: I'll fix this issue ASAP.
  14. OcRam said:
    Suggestions are always welcome! :wink:

    Walking and stopped (if you ment stepping on/off) animations should be already doable (just use normal eventing for P2 event). And map edge collision is going to be in next version (under development).



    Thank you for the report. What other plugins do you use and what is plugin order? And which version do you use of this plugin? Edit: Just saw you said you updated this plugin, just make sure it's 1.02 ;)

    yup is 1.02 and the order is all Yanfly plugins like the web site order say...

    i put all the plugins off except your plugin and is the same... TnT :D
  15. SoulOfRock said:
    yup is 1.02 and the order is all Yanfly plugins like the web site order say...

    i put all the plugins off except your plugin and is the same... TnT :D

    For me everything worked if I didn't spam player transfer command??

    I have released a hotfix where this issue has been fixed. Thank you for noticing this!
  16. OcRam said:
    For me everything worked if I didn't spam player transfer command??

    I have released a hotfix where this issue has been fixed. Thank you for noticing this!

    Works! Thank you!
  17. Currently in development on a game and this might be exactly what I've been looking for. So excited to have come across your work.
    I have a quick question though, how possible do you think it would be to allow more than just two playable characters and do something more like 3 or 4?
  18. Joshmcd said:
    Currently in development on a game and this might be exactly what I've been looking for. So excited to have come across your work.
    I have a quick question though, how possible do you think it would be to allow more than just two playable characters and do something more like 3 or 4?

    Thank you for your interest towards this plugin. It's quite possible, but it takes time to do it. I have been thinking to do it for 4 players, but when? ...I do not know yet. I will add it to "Under development" part when I start to do it :wink:
  19. OcRam said:
    Thank you for your interest towards this plugin. It's quite possible, but it takes time to do it. I have been thinking to do it for 4 players, but when? ...I do not know yet. I will add it to "Under development" part when I start to do it :wink:


    Quite possible eh? what's I like to hear! I'm excited to test it out within the next few days and see what I can do with it. Thanks for the quick reply and keep up the good work!
  20. Hello fellow RPG Makers!:kaohi:

    Due several requests:
    I'm about to release new version where "P2 Eventing" will be replaced with control over followers (up to 4 players)! I will update "Under development" if I add any new features to this patch (such as "shared keyboard").

    If anyone wants me to keep old version downloadable please contact me (Note: it won't support 4 players). Otherwise I will replace old version with new one.