Amaranth's Super Simple Mouse System for Ace

Didn't you already report that issue, and didn't I give you a fix?
Hey shaz! I will check a couple of script for know if they are compatible with your mouse system! 

and  I will dress a list of them it is okay?
That's fine. Be aware that I'm in the process of a complete rewrite to this script. You might want to wait until the new version is ready.
ho awesome! sure I will wait until you publish the new version 🙂 !

Also I hope you will be able to add the fix for the scroll button xD! 
Didn't you already report that issue, and didn't I give you a fix?
You gave a fix, but it then caused a further error which I reported in this post http://forums.rpgmakerweb.com/index.php?/topic/17829-amaranths-super-simple-mouse-system-for-ace/?p=211169

In your next post you said to change it back again, and you would look at the problem.  I've been through the posts since then and can't find any further reference to it.
Hi,

and thank you very much for your mouse script.  BD   🤘

I was wondering if you'd had time yet to look at the error ksjp17 reported?  I've now had quite a number of players reporting this problem, so it's possibly a bit more than a specific setup that an "individual player" has on their computer. I know that not a lot of commercial games have used this script yet, but my community with its wide panel of players offers a great opportunity to beta-test it in-depth, hopefully for the greater good in the long run.

As a beta-tester myself, I can say that the difficult bit is that it seems to appear at random. The only thing we have is the error message, a brief:

Script 'Shaz/08 mouse line 279 NoMethodError occured 'tilemap offset' for nil:NilClass

Hopefully you can make sense (magic even lol) out of it.
It would be good to try and make it a bit less random. Is there ANYTHING that seems to be in common about when it happens? JUST as a battle is launched? JUST as the player calls up the menu? Anything?
I'll forward this to the players and see what I get. Thanks for your help! 🙂
A feedback with a suggestion from the player, for your consideration:

when I got the following message...

Script 'Shaz 1.08mouse' line 279. NoMethodError occured. undefined method "tilemap_offset" for nil:NilClass

 

This is the same message I got playing Undefeated and it made playing less than enjoyable since I would lose all my progress. I am playing on a different computer. A desktop with windows 8 and I am playing with my old wired mouse thinking the wireless mouse might be a problem. I played undefeated on a laptop with a wireless mouse. What could be the problem??? I don't understand why I have this problem and why I am seemingly the ONLY person having this problem.

 

A second feedback:

 

i switched from mouse controls to keyboard (FYI this is a function impletement in the game disabling the mouse cursor) and had another crash on map one of Southern Pass. Had just finished battling first enemy and continuing on. the error message was: Script 'Save mouse selection 01' line 50 rgssError occured. disposed sprite

Don't know if any of that makes sense
Two different errors. I don't know what Save mouse selection 01 is - is it a part of my mouse script, or is it an addition/modification?


The hardware being used is not the issue - it doesn't care whether you're using a wireless mouse, wired, or a trackpad.


I am more interested in what's on the screen the moment the error happens (or just before) or what was just about to happen. The error seems to indicate that it's trying to get the screen coordinates when you're not on a map - so you're in the menu or the battle screen.


If you have someone who seems to get this pretty regularly, you could try adding the following line above the one that causes the error, and see if they continue to experience it:

return nil if !SceneManager.scene_is?(Scene_Map)
If it continues to not work, it might be worth putting one of the backtracer scripts in. I use Mithran's Crash Debugger, but I believe Hime has something similar ... that would let us know where the method is being called from, which might give some clues.
I'll try your suggestion, thanks.

Two different errors. I don't know what Save mouse selection 01 is - is it a part of my mouse script, or is it an addition/modification?
No idea, I didn't take care of the scripts in this game.
I was testing the demo of The Tale of a Common Man and just got this crash, so I thought I could give a little feedback about it.

I was using the mouse, clicking on a destination to walk to when I got hooked by a fox (map Springfield Path 4).

As the battle should have started, it crashed.

The error message was exactly the same.

I tried replicating it, but it no longer crashed.
 I don't know what Save mouse selection 01 is - is it a part of my mouse script, or is it an addition/modification
It is the first part of the 2 part fix made by Engr. Adiktuzmiko so that the game could remember enable/disable mouse when the player saves and exits.  It's the one linked in the op.

If it continues to not work, it might be worth putting one of the backtracer scripts in. I use Mithran's Crash Debugger, but I believe Hime has something similar ... that would let us know where the method is being called from, which might give some clues. 
It always works for me, I've never had this problem, so I suppose the only useful place to put it would be on a computer that was giving the problem.  But as they are all players' computers, we can't do that.  Unless I've completely misunderstood what you are suggesting.
I tried replicating it, but it no longer crashed.
Therein lies the BIG problem.  D:<  
I was using the mouse, clicking on a destination to walk to when I got hooked by a fox (map Springfield Path 4).


As the battle should have started, it crashed.


The error message was exactly the same.
 

Therein lies the BIG problem.
On the contrary ... this is the most helpful information I've received so far. Clicked on a destination tile, crashed as battle should have started. This means the problem is likely to be somewhere within the battle transition phase and the scene has changed to the battle scene (so the tilemap offset is no longer linked to the current scene), but there is still some Scene_Map stuff going on. It also gives me a point of reference to try and replicate the issue.


ksjp17, are you able to contact a few people who have had this issue and see if it was under similar circumstances? A battle about to start? Something else about to happen?


cabfe, do you recall if you were moving the mouse at all, and if you moved it over an event just as the transition was starting, or about to start? Had you JUST clicked when you were attacked? Had you started walking at all?


If this is the case, the line I gave above SHOULD fix it.
I didn't expect the bug so I can't say with 100% certainty, but as far as I recall, I was already walking and hoped to avoid the enemy.

I was moving the mouse and I remember clicking (several times), trying to make the pathfinder move me away, but that was too late.

There were no events where I clicked, only normal terrain tiles.

I had the cursor near the bottom-right edge and playing full screen.

Maybe the crash happened because I somehow placed a click in just the timeframe between the scene map and the battle map?

In my attempts to replicate, I clicked several times but it always worked right.

I think the battle transition started (for like 1/4 of a second) before crashing, but maybe it was just my eyes expecting to see it.

I must add that I didn't had a crash before playing for 1 hour straight.
Thank you very much for the detailed feedback, will be useful for sure.

Now gonna try Shaz' edit and see if it helps the playe who has had that glitch several times.
Another thing worth mentioning (from a player):

When ending the game by pressing F12, I get an error message:

av2a03.jpg
Yep. F12 is not a standard way to end or restart the game, and I never intended to support it. I did say a while ago I would take a look at it when I have some time, and IF I can find the cause easily and it's a quick fix, I would do it. There are many issues with F12, with numerous scripts.
Thanks, forwarding the answer to the player.

Since there is nothing worse from a player's perspective than a stupid crash, would turning off F12 altogether be any easy?

Original thread: https://forums.rpgmakerweb.com/threads/amaranths-super-simple-mouse-system-for-ace.17829/