Author Topic: [XP] Wizered67's Ultimate Mouse Menu  (Read 13713 times)

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 511
  • LV: 16
    • View Profile
[XP] Wizered67's Ultimate Mouse Menu
« on: March 27, 2011, 11:00:14 PM »
Wizered67's Ultimate Mouse Menu
Authors: Wizered67
Version: 0.86
Type: Custom Mouse Menu System
Key Term: Custom Menu System

Introduction

When Ryex first released his Mouse Window API, I thought it was a cool script, but I didn't think I would ever use it. However, I soon realized that if I wanted a menu that didn't pause my game, I was going to need to make it myself and Ryex's Mouse Window API seemed like the best option. Finally, I have made enough progress and I feel that it is in a form I can release. This easy to use menu comes with various windows which should be enough for basic games. This script is not perfect and has a few things that need to be added or fixed. If you find an error, you should report it here.

Features

  • An easy to use menu for RMX-OS and Blizz-ABS that doesn't pause the game.
  • Features a main menu, item menu, hotkey menu, equip menu, and stat distribution menu. A quest window is in progress. Also includes a shop window.
  • Comes with right click menus (although they are set to open on left click) that let you find out more about your items.

Screenshots
(click to show/hide)
You can see some more screenshots of this in action in my project thread for Legendary Kingdoms Online. The link is in my signature. Oh yeah, and be sure to support my game while your at it  ;).

Demo
You can download the demo here:
http://www.sendspace.com/file/0cfd5d


Script
See the demo.


Instructions

Configure the script (There's not much) and place all of the menu scripts and Ryex's Mouse Window API in your game. Make sure you add
Code: [Select]
$mouse_window_controller.updateto the update method in Scene_Map.

Compatibility

Requires Ryex's Mouse Window API. For best results, use with RMX-OS, and Blizz-ABS.

Credits and Thanks

  • Wizered67 for making the script
  • Ryex for his Mouse Window API and helping me.

Author's Notes

Enjoy and be sure to credit. Feel free to post if you have problems or need help or have feedback.

« Last Edit: January 22, 2012, 06:08:25 AM by Wizered67 »

Offline Noob

  • Transcended Spirit
  • ***
  • Posts: 139
  • LV: 0
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #1 on: March 29, 2011, 12:16:58 AM »
Excellent script! If I ever find a new site to host my game, I'll be sure to use it! :)

Offline RoseSkye

  • Ban requested
  • Chaos User
  • ******
  • Posts: 1198
  • LV: 58
  • Gender: Male
  • Chaos Project's Black Sheep
    • View Profile
    • Loveless Games
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #2 on: March 30, 2011, 03:50:31 AM »
Tried it and in your project has it erroring out from some nil integer.

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 511
  • LV: 16
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #3 on: March 30, 2011, 03:51:05 AM »
What line is it? There's a chance I did something stupid with the demo.

Offline RoseSkye

  • Ban requested
  • Chaos User
  • ******
  • Posts: 1198
  • LV: 58
  • Gender: Male
  • Chaos Project's Black Sheep
    • View Profile
    • Loveless Games
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #4 on: March 30, 2011, 03:56:01 AM »
76 is one of them but every time I try the demo I find another.
Also you can open many instances of the same menu screen. I instictively hit the esc key when I want to go back and/or close the menu. Doing so forces another menu open and it goes on. Once a menu has been opened even if you close it you can not speak to the shop keep anymore.

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 511
  • LV: 16
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #5 on: March 30, 2011, 03:58:47 AM »
Which script is the error in on line 76? Opening more than 1 menu is a simple fix, but I'm not sure what I messed up with events no longer working. I'll check it out and try to fix it.

edit: I fixed where you could open more than one menu (although I left it that you can open more while you have it on the item window, equip window etc.) and fixed the event problem. I don't know what the error on line 76 is, but you may get a lot of erros just because Blizz-ABS and RMX-OS are not being used. It would be helpful if you could give me some details about the line 76 error so I can fix it and upload a new version.
« Last Edit: March 30, 2011, 04:23:31 AM by Wizered67 »

Offline RoseSkye

  • Ban requested
  • Chaos User
  • ******
  • Posts: 1198
  • LV: 58
  • Gender: Male
  • Chaos Project's Black Sheep
    • View Profile
    • Loveless Games
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #6 on: March 30, 2011, 04:27:18 AM »
Which script is the error in on line 76? Opening more than 1 menu is a simple fix, but I'm not sure what I messed up with events no longer working. I'll check it out and try to fix it.

edit: I fixed where you could open more than one menu (although I left it that you can open more while you have it on the item window, equip window etc.) and fixed the event problem. I don't know what the error on line 76 is, but you may get a lot of erros just because Blizz-ABS and RMX-OS are not being used. It would be helpful if you could give me some details about the line 76 error so I can fix it and upload a new version.
uninitialized constant Weapon equip menu:: RMXOS

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 511
  • LV: 16
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #7 on: March 30, 2011, 04:28:21 AM »
Tht's because RMXOS is not being used in the demo. Basically, the scripts need to be transfered over to a project with it.

Offline RoseSkye

  • Ban requested
  • Chaos User
  • ******
  • Posts: 1198
  • LV: 58
  • Gender: Male
  • Chaos Project's Black Sheep
    • View Profile
    • Loveless Games
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #8 on: March 30, 2011, 04:30:06 AM »
Tht's because RMXOS is not being used in the demo. Basically, the scripts need to be transfered over to a project with it.
Ah, well there is still the multi menu and the npc interaction

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 511
  • LV: 16
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #9 on: March 30, 2011, 04:31:50 AM »
edit: I fixed where you could open more than one menu (although I left it that you can open more while you have it on the item window, equip window etc.) and fixed the event problem. I don't know what the error on line 76 is, but you may get a lot of errors just because Blizz-ABS and RMX-OS are not being used. It would be helpful if you could give me some details about the line 76 error so I can fix it and upload a new version.

edit: I have uploaded the new version with the fixes.
« Last Edit: March 30, 2011, 04:40:36 AM by Wizered67 »

Offline RoseSkye

  • Ban requested
  • Chaos User
  • ******
  • Posts: 1198
  • LV: 58
  • Gender: Male
  • Chaos Project's Black Sheep
    • View Profile
    • Loveless Games
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #10 on: March 30, 2011, 04:40:32 AM »
edit: I fixed where you could open more than one menu (although I left it that you can open more while you have it on the item window, equip window etc.) and fixed the event problem. I don't know what the error on line 76 is, but you may get a lot of errors just because Blizz-ABS and RMX-OS are not being used. It would be helpful if you could give me some details about the line 76 error so I can fix it and upload a new version.

I dont see an edit on the original post so I assumed that you didn't reupload

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #11 on: March 30, 2011, 04:44:03 AM »
there is an edit. also nice work. it seems you've mastered the API. but my windows are still better than yours :P
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 511
  • LV: 16
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #12 on: March 30, 2011, 04:48:26 AM »
Actually, in his defence, RoseSkye posted that before I updated the first post. I just though he was saying I still needed to fix it so I quoted myself saying that I had already fixed it.

And I don't think my windows will ever be as good as yours. You are the creator after all.

Offline RoseSkye

  • Ban requested
  • Chaos User
  • ******
  • Posts: 1198
  • LV: 58
  • Gender: Male
  • Chaos Project's Black Sheep
    • View Profile
    • Loveless Games
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #13 on: March 30, 2011, 05:46:16 AM »
Once you enter another scene (example: Item menu) you can re-call the menu and it repeats. Is there a way to have the cancel button cancel those scenes instead of recall the menu?

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 511
  • LV: 16
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #14 on: March 30, 2011, 04:38:43 PM »
I'll look into it assuming that by "scene" you mean the item window.

Offline RoseSkye

  • Ban requested
  • Chaos User
  • ******
  • Posts: 1198
  • LV: 58
  • Gender: Male
  • Chaos Project's Black Sheep
    • View Profile
    • Loveless Games
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #15 on: March 30, 2011, 06:56:10 PM »
I'll look into it assuming that by "scene" you mean the item window.

I assume that all other sub-scenes of the menu does the same... Item menu is what I tested though

Offline diagostimo

  • Ethereal Devastator
  • ****
  • Posts: 257
  • LV: 20
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #16 on: June 12, 2011, 03:33:55 AM »
hey im trying to get this to work with the os, but im having a problem getting past the log in screen, the mouse works but i cant activate any
menu buttons, i put all the scripts from the demo under abs and os, i replaced the scene_map file with the one from the demo, and ideas?
edit- can click on the server then from there i have to press enter to log in, then when in game right click is not calling the menu escape is, but i can left click to scroll the menu's.
« Last Edit: June 12, 2011, 04:48:11 AM by diagostimo »

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 511
  • LV: 16
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #17 on: June 12, 2011, 04:50:33 AM »
It seems to me (correct me if I'm wrong) that the problem is probably with the Mouse Controller and not this script. By the way, I'm pretty sure I remember there was at least one problem with this script I never fixed, so if you find it, please tell me and I'll try to fix it.

Offline diagostimo

  • Ethereal Devastator
  • ****
  • Posts: 257
  • LV: 20
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #18 on: June 12, 2011, 05:07:00 AM »
what with my control config? i can only see 2 places to config, that been in the abs script and tons of ad-ons
no sweat i got it working now, in the conifig script it says to change the input to escape if using custom controls,i just
had to change this back
edit- would there be anyway to implement this skill shop into the script, as i had it before and it is no longer fully functional with the new menu
http://forum.chaos-project.com/index.php?topic=3727.0

edit2: i cant get this to work properly with the visual equipment plugin, i i set the character to already have the equipment equiped on startup it works fine but if you start with no equipment then try to equip it, it comes up with this error-

script 'equip armour' line 63: type error occurred.

i saw in the screenshot that it looks like your using it to, so maybe you know a fix?
« Last Edit: June 12, 2011, 05:42:42 PM by diagostimo »

Offline Wizered67

  • Astral Trancist
  • *****
  • Posts: 511
  • LV: 16
    • View Profile
Re: [XP] Wizered67's Ultimate Mouse Menu
« Reply #19 on: June 12, 2011, 05:31:00 PM »
What's the error it comes up with?