OcRam - Local Coop plugin (for MV)

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
I'm not able to get the other players to drop out no matter what button I press on my gamepad.
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
I'm not able to get the other players to drop out no matter what button I press on my gamepad.
Thank you for the message,

If you are using default plugin parameters (start=9 and select=8) then: keep select pressed while pressing start.
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
Thank you for the message,

If you are using default plugin parameters (start=9 and select=8) then: keep select pressed while pressing start.
Would it be possible to just make dropout one button? That sounds really hard, like simply pressing select to drop out would make more sense, me thinks.
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Would it be possible to just make dropout one button? That sounds really hard, like simply pressing select to drop out would make more sense, me thinks.
Yes it is possible. I will add this feature to next version.
 

thecatinpurple

Villager
Member
Joined
Jul 12, 2015
Messages
5
Reaction score
0
First Language
PT/BR
Primarily Uses
Is this plugin compatible with ABS like QuasiABS or MOGHunter's?
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Is this plugin compatible with ABS like QuasiABS or MOGHunter's?
This plugin is designed for turn based battle systems. So Active (or Action) Battle Systems are not supported.
 

BagasW

Warper
Member
Joined
Nov 17, 2018
Messages
1
Reaction score
0
First Language
Indonesia
Primarily Uses
RMMV
When I use yanfly region restriction plugin for whatever reason player 2-4 can't move around region restricted area for event. Is there workaround for this problem?
 
Last edited:

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
When I use yanfly region restriction plugin for whatever reason player 2-4 can't move around region restricted area for event. Is there workaround for this problem?
I can confirm this I will fix this ASAP (including few other fixes and 1 new feature).
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
I have now released OcRam_Local_Coop v2.06 with following changes:

New plugin parameters:
  • All parameters are now typed and at least "Block player join switch ids" and "Player drop confirm button (gamepad)" should be re-defined
  • New parameter "Player drop confirm button (gamepad)" set this to 0 if you want that pressing [select] alone will drop player. Set this param to 9 if you want it to work like before (requires [select]+[start])
Other changes:
  • Compatible now with Yanfly Region Restrictions (P2-4 won't be blocked by event restricted regions)
  • Compatible with Olivia Victory Sequence UI (no more double rewards)

Happy RPG Making!
 

MegamanOmega

Villager
Member
Joined
Oct 1, 2017
Messages
10
Reaction score
0
First Language
English
Primarily Uses
RMMV
Is it possible to disable the shared keyboard?
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Is it possible to disable the shared keyboard?
Thank you for message,

It should be possible by entering dash character (-) to "Keyboard2" plugin parameter.
 

MegamanOmega

Villager
Member
Joined
Oct 1, 2017
Messages
10
Reaction score
0
First Language
English
Primarily Uses
RMMV
Thanks for the info. ...Um, you wouldn't happen to know what this error is about would you?

TypeError: Cannot read property 'pressed' of undefined YEP_CoreEngine.js:1094
at Function.Input._updateGamepadState (OcRam_Local_Coop.js:1567)
at Function.Input._pollGamepads (rpg_core.js:3308)
at Function.Input.update (rpg_core.js:3074)
at Function.SceneManager.updateInputData (rpg_managers.js:1966)
at Function.SceneManager.updateInputData (YEP_CoreEngine.js:1352)
at Function.SceneManager.updateMain (YEP_X_CoreUpdatesOpt.js:7879)
at Function.SceneManager.update (YEP_X_CoreUpdatesOpt.js:7860)

I get it, whenever I press a button on the controller I'm using to test.
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Thanks for the info. ...Um, you wouldn't happen to know what this error is about would you?

TypeError: Cannot read property 'pressed' of undefined YEP_CoreEngine.js:1094
at Function.Input._updateGamepadState (OcRam_Local_Coop.js:1567)
at Function.Input._pollGamepads (rpg_core.js:3308)
at Function.Input.update (rpg_core.js:3074)
at Function.SceneManager.updateInputData (rpg_managers.js:1966)
at Function.SceneManager.updateInputData (YEP_CoreEngine.js:1352)
at Function.SceneManager.updateMain (YEP_X_CoreUpdatesOpt.js:7879)
at Function.SceneManager.update (YEP_X_CoreUpdatesOpt.js:7860)

I get it, whenever I press a button on the controller I'm using to test.
Thank you for the message,
1. Make sure that you are using latest version RMMV and plugins.
2. Plugin order matters a lot (local_coop should be after supported plugins)
3. If these won't help try to replicate problem in new project
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Thank you for the message,

In this case ??? = What is Your project RMMV version? What plugins are in use (and versions)? What is OcRam_Local_Coop version? :wink:
 

MegamanOmega

Villager
Member
Joined
Oct 1, 2017
Messages
10
Reaction score
0
First Language
English
Primarily Uses
RMMV
Thank you for the message,
1. Make sure that you are using latest version RMMV and plugins.
2. Plugin order matters a lot (local_coop should be after supported plugins)
3. If these won't help try to replicate problem in new project
Did all those steps, my MV and plugins are up to date. I put local_coop at the end of my plugin order, and I created a new project to see if it would work that way. I just used the plugins that it mentioned in the error yep core and yep core updates opt. and still get the error. In fact I also tried with just coop turned on by itself and it still gave me the same type of error.

TypeError: Cannot read property 'pressed' of undefined rpg_managers.js:1949
at Function.Input._updateGamepadState (OcRam_Local_Coop.js:1567)
at Function.Input._pollGamepads (rpg_core.js:3308)
at Function.Input.update (rpg_core.js:3074)
at Function.SceneManager.updateInputData (rpg_managers.js:1966)
at Function.SceneManager.updateMain (rpg_managers.js:1981)
at Function.SceneManager.update (rpg_managers.js:1907)
SceneManager.catchException @ rpg_managers.js:1949

Should I give you a copy of the test project?
 

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
Did all those steps, my MV and plugins are up to date. I put local_coop at the end of my plugin order, and I created a new project to see if it would work that way. I just used the plugins that it mentioned in the error yep core and yep core updates opt. and still get the error. In fact I also tried with just coop turned on by itself and it still gave me the same type of error.

TypeError: Cannot read property 'pressed' of undefined rpg_managers.js:1949
at Function.Input._updateGamepadState (OcRam_Local_Coop.js:1567)
at Function.Input._pollGamepads (rpg_core.js:3308)
at Function.Input.update (rpg_core.js:3074)
at Function.SceneManager.updateInputData (rpg_managers.js:1966)
at Function.SceneManager.updateMain (rpg_managers.js:1981)
at Function.SceneManager.update (rpg_managers.js:1907)
SceneManager.catchException @ rpg_managers.js:1949

Should I give you a copy of the test project?
I tried to replicate described issue, but everythig just worked....

So... yes please send me the copy of your test project.
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
I have now released OcRam_Local_Coop v2.06 with following changes:

New plugin parameters:
  • All parameters are now typed and at least "Block player join switch ids" and "Player drop confirm button (gamepad)" should be re-defined
  • New parameter "Player drop confirm button (gamepad)" set this to 0 if you want that pressing [select] alone will drop player. Set this param to 9 if you want it to work like before (requires [select]+[start])
Other changes:
  • Compatible now with Yanfly Region Restrictions (P2-4 won't be blocked by event restricted regions)
  • Compatible with Olivia Victory Sequence UI (no more double rewards)

Happy RPG Making!
If I have Blocker player turn on, I get constanyt "player 2 has left!" message.

Also getting the same update_gamepad state problem too during battles
 
Last edited:

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
If I have Blocker player turn on, I get constanyt "player 2 has left!" message.

Also getting the same update_gamepad state problem too during battles
I'll try to check this out ASAP
 
Last edited:

OcRam

Servant of the Universe
Veteran
Joined
Aug 2, 2016
Messages
615
Reaction score
743
First Language
Finnish
Primarily Uses
RMMZ
@MegamanOmega and @Tuomo L

I can't replicate this error "TypeError: Cannot read property 'pressed' of undefined rpg_managers.js:1949
at Function.Input._updateGamepadState (OcRam_Local_Coop.js:1567)"

I would bet on plugin order… Can I have demo project or something?

Also released update where constantly shown player left / joined is now fixed.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,995
Messages
1,018,208
Members
137,775
Latest member
yj8570
Top