MZ Cannot read 'expParams' of null

Cam Control
RPG Maker MZ Plugin
Galv
​

Introduction
Some control over the game's camera.





Features
This plugin adds a sliding motion to the normal camera motion when the player moves and also allows you to change the camera focus to:
– Player
– Event
– X,Y coordinates
Camera will slide to each target it changes to at speed specified in plugin call.

Added: Zoom screen functionality.


How to Use
- Copy the "GALV_CamControlMZ.js" file into your project's /js/plugins/ folder.
- Activate plugin using the 'Plugin Manager'
- Use Plugin commands to move camera targets
- Read the 'HELP' documentation (also found in plugin manager) for more details and try the demo if you don't understand.


Plugin
Get it here


Credit and Thanks
- Galv


Terms
Free to use in any RPG Maker MZ project including commercial. Please credit "Galv".
:)

BAD I use this plugin with DotMoveSystem and PFMZ_ScreenResolution and It's destroy my whole game code file that i can't recover anymore.
I have to create new project ..Bad plugin I ever seen
1714100993748.png

Since this error is nothing to do with Galv's Cam Control, I've split your post into its own thread.

In future, I recommend you at least try searching for the error message before jumping to conclusions:
It's a common error message and the standard solution is well-known:
  1. Check the Actors tab of the Database: all actors should have a valid class;
  2. Test from a New Game, because class ID is stored in save files.
BAD I use this plugin...and It's destroy my whole game code file that i can't recover anymore.
I have to create new project ..Bad plugin I ever seen
That is not a smart or nice thing to say.

If you don't understand what the errors mean (or what the plugin code is doing), you shouldn't make claims in public.

There is no way that a popular plugin from a competent author can "destroy your whole game code file."
Moderator note: Since this error is nothing to do with Galv's Cam Control, I've split your post into its own thread. In future, I recommend you at least try searching for the error message before jumping to conclusions:
It's a common error message and the standard solution is well-known:
  1. Check the Actors tab of the Database: all actors should have a valid class;
  2. Test from a New Game, because class ID is stored in save files.
That is not a smart or nice thing to say.

If you don't understand what the errors mean (or what the plugin code is doing), you shouldn't make claims in public.

There is no way that a popular plugin from a competent author can "destroy your whole game code file."
I get it.. I'm really new to these things. Thanks for the advice. After this, before install any plugins I really need to study how to use it first. 😅

At that time I didn't know anything. When I used this plugin, I tried changing the screen size number (I don't remember) in 2 lines and after that a message came up when entering the game saying Cannot read 'expParams' of null. And I don't know how to solve it..change the numbers to be the same. My game still can't be played. Remove the plug-in and the game still cannot be played.

I'm sorry, there's still a lot to learn.
Alright!! I gave it a try. This time I really studied the code..but there was one problem when I used zoom. The game will zoom to the right. Not in the middle of the screen

What should I do?

Original thread: https://forums.rpgmakerweb.com/threads/cannot-read-expparams-of-null.168086/