I think Zeriab wrote a script to make F12 do something else.
Amaranth's Super Simple Mouse System for Ace
RGSS3 Scripts (RMVX Ace)Acezon made this script for Ace http://forums.rpgmakerweb.com/index.php?/topic/8000-f12-reset-fix/
Well if this helps at all. I got this error message while play testing a project with hime's backtracer in it.
Shaz Mouse v1.10:161:in `set_bitmap': undefined method `%' for nil:NilClass, NoMethodError from Shaz Mouse v1.10:196:in `update_event_cursors' from Shaz Mouse v1.10:525:in `update' from Scene_Base:14:in `main' from SceneManager:23:in `run' from Main:13:in `block in <main>'All I did was start the game. Pressed f1 to bring up the ace options settings. I returned to the game without changing anything and pressed f1 again and it gave me that error. I couldn't reproduce it again.
Shaz Mouse v1.10:161:in `set_bitmap': undefined method `%' for nil:NilClass, NoMethodError from Shaz Mouse v1.10:196:in `update_event_cursors' from Shaz Mouse v1.10:525:in `update' from Scene_Base:14:in `main' from SceneManager:23:in `run' from Main:13:in `block in <main>'All I did was start the game. Pressed f1 to bring up the ace options settings. I returned to the game without changing anything and pressed f1 again and it gave me that error. I couldn't reproduce it again.
Hi Shaz. Thought I'd weigh in on the NoMethodErrror that Indie's reporting as it's popped up in my latest game too. It seems to happen in only a specific set of circumstances (much like the other instances, it occurred when the player clicked on a transition tile just before a battle was triggered) and I haven't been able to reproduce it.
Here's the actual player's bug report, if it helps: http://steamcommunity.com/app/325320/discussions/
I should mention that in my game I have modified your script to remove pathfinding (so that the mouse is only used for menu navigation/examining surroundings and not movement) but this shouldn't have triggered the error as it functioned just fine up until now.
Here's the actual player's bug report, if it helps: http://steamcommunity.com/app/325320/discussions/
I should mention that in my game I have modified your script to remove pathfinding (so that the mouse is only used for menu navigation/examining surroundings and not movement) but this shouldn't have triggered the error as it functioned just fine up until now.
@Venka, thanks for the trace. It's not the same issue, but obviously one that will need to be addressed as well.
@Dark Gaia, I appreciate the info. It does indeed seem to be the same error Indy & ksjp17 are reporting. Can I please get you to try the suggestion I gave here?
@Indy/@ksjp17, have you had any feedback after implementing that little change?
@Dark Gaia, I appreciate the info. It does indeed seem to be the same error Indy & ksjp17 are reporting. Can I please get you to try the suggestion I gave here?
@Indy/@ksjp17, have you had any feedback after implementing that little change?
The player said the game has ran smoothly since then. Crossing fingers.
I'll add the line as soon as I can (I need Degica to implement it on Steam, so it won't be done until after the weekend) but we'll see what happens.
Hi @Shaz,
I found another bug:
- Save in slot #1
- Save in slot #2
- Shutdown and restart your game
- Click on Continue Game
The mouse very quickly moves from having slot #2 selected to slot #1 selected. I think this is because the script is incorrectly handling the case when the mouse is out of bounds.
Can you please review, and possibly integrate, my fix? You can see the diff on GitHub (it's literally one line -- scroll to the last file).
I found another bug:
- Save in slot #1
- Save in slot #2
- Shutdown and restart your game
- Click on Continue Game
The mouse very quickly moves from having slot #2 selected to slot #1 selected. I think this is because the script is incorrectly handling the case when the mouse is out of bounds.
Can you please review, and possibly integrate, my fix? You can see the diff on GitHub (it's literally one line -- scroll to the last file).
What exactly is the problem? Where is the mouse at this time? What slot is it over? If the mouse is higher than the list of slots, it will choose the first one. That is not a bug.
@Shaz the mouse is outside of the VX Ace window. VX Ace is smart enough to pick the most recent save as the default when you have multiple. The bug is that the second slot appears selected, and it quickly jumps to the first slot.
I kept accidentally loading the first save instead of the second because of this. The value of new_index is -1, which could mean the mouse is anywhere outside the bounds of VX Ace.
I kept accidentally loading the first save instead of the second because of this. The value of new_index is -1, which could mean the mouse is anywhere outside the bounds of VX Ace.
You don't like my fix? 🙁
I can provide a copy of my in-development game, complete with saves, if you want to see the problem for yourself.
I can provide a copy of my in-development game, complete with saves, if you want to see the problem for yourself.
I just haven't had the time to look at it, and it's not high on my priority list. I also planning to redevelop the mouse system, so am not likely to make too many more mods to this version.
Please consider adding it. It's a pretty serious usability fix. It's not a new feature or anything like that.
I'm here for repot something
Tables Tile is a "Counter" tile
When I clicked 1 tile after tile, the character just go straight, but when i clicked 2 tiles after the table, the character/actor did a pathfinding
Here the .gif
[IMG]http://s7.postimg.org/y3ws0hxix/Mouse_Report.gif[/IMG]
Sorry with my grammar, English isn't my native language
Tables Tile is a "Counter" tile
When I clicked 1 tile after tile, the character just go straight, but when i clicked 2 tiles after the table, the character/actor did a pathfinding
Here the .gif
[IMG]http://s7.postimg.org/y3ws0hxix/Mouse_Report.gif[/IMG]
Sorry with my grammar, English isn't my native language
can't see your gif - can you post it as a jpg instead?
I can see it just fine, if just because I opened it in a new window.
You should be able to see it now in my post, if not for some reason now then >click<
You should be able to see it now in my post, if not for some reason now then >click<
This seems to address the F12 crash script
http://himeworks.com/redirect.php?type=script-patch&name=shaz_mouse_script_fix
EDIT: oh, the post I saw was several pages ago lol
I'm not a fan of F12 either but I think this issue was reasonable enough to be issued on the script end.
The issue I see is that the
$mouse = Sprite_Mouse.new is done on script-load, rather than on game load.F12 does dispose the mouse sprite properly; when the game resets, a new mouse object isn't created.
http://himeworks.com/redirect.php?type=script-patch&name=shaz_mouse_script_fix
EDIT: oh, the post I saw was several pages ago lol
I'm not a fan of F12 either but I think this issue was reasonable enough to be issued on the script end.
The issue I see is that the
$mouse = Sprite_Mouse.new is done on script-load, rather than on game load.F12 does dispose the mouse sprite properly; when the game resets, a new mouse object isn't created.
This is the correct behaviour. The character IS pathfinding, but when a counter is involved, the pathfinding will lead to the closest of the spot you click and the spot on the opposite side of the counter.
Imagine you have a shopkeeper behind the counter and you click on them. You want your character to walk up to the counter, opposite the shopkeeper. You don't want them to walk all the way around behind the counter to stand beside the shopkeeper.
Imagine you have a shopkeeper behind the counter and you click on them. You want your character to walk up to the counter, opposite the shopkeeper. You don't want them to walk all the way around behind the counter to stand beside the shopkeeper.
When I move the mouse very slowly to the very bottom of the map this error appears.
When I change the specific script to this the problem is gone but the changing cursor icons appear to be out of place.
When I change the specific script to this the problem is gone but the changing cursor icons appear to be out of place.
Original thread: https://forums.rpgmakerweb.com/threads/amaranths-super-simple-mouse-system-for-ace.17829/