[XP] Ryex's Collapsing CMS (V2.50 is out!)

Started by Ryex, December 23, 2008, 12:35:44 am

Previous topic - Next topic

Djeff


Ryex

you'll have to wait young grasshopper, for this bird must cache up with his studies before he can find the time to script, or help with it.
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.<br /><br />DropBox, the best free file syncing service there is.<br />

Djeff

ok ill wait  :^_^':

good luck with your studies  :)

mysticesper

So I'm trying to insert an additional option into the Options menu, but it isn't working and I really am not sure why.  I simply deleted the begin and end comment lines and replaced the placeholder text with the text i need, and this error comes up:

----
Script 'Ryex's Collapsing CMS' NameError occurred.
uninitialized constant RyexCFG::RyexCMS
----


  PLUGINS = []
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Do you have a scene or menu that you want to link to the option menu?
# A plug-in perhaps? To add an option on the option menu that
# will call your scene simply use this format.

#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
if $RyexCOLCMS
  desc = 'Beastiary'
  RyexCFG::PLUGINS.push(RyexCMS::Plugin.new('Beastiary', desc) do
    $scene = scene_beastairy.new
  end
  )  #don't forget this line
end
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

# its that simple
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


I've tried screwing around with it, putting it after the cms script in the script editor as its own thing, and still no luck.  It doesn't help that I really don't know the scripting language either.  I can piece stuff together, but yeah, I can't figure this one out.

(sorry if this post is out of date / necroposting, but i couldn't find a recent one)

mysticesper

Well, i figured out how to add options to the main menu, so i got my beastiary thing to work.  I'm still confused as to why the options menu addons don't work though.

cyclope

This looks great but i have a suggestion:

If you see the position of the 99(In the yellow bar), it is not at the end of the bar like the SP and SP and I think it would look beter if it did
Things I Hate

1. People who point at their wrist asking for the time... I know where my watch is pal, where the hell is yours? Do I point at my crotch when I ask where the toilet is?

2. People who are willing to get off their a** to search the entire room for the TV remote because they refuse to walk to the TV and change the channel manually.

3. When people say "Oh you just want to have your cake and eat it too". Damn Right! What good is cake if you can't eat it?

4. When people say "it's always the last place you look". Of course it is. Why the hell would you keep looking after you've found it? Do people do this? Who and where are they?

5. When people say while watching a film, "did ya see that?" No Loser, I paid $12 to come to the cinema and stare at the damn floor!

6. People who ask "Can I ask you a question?"... Didn't give me a choice there, did ya sunshine?

Infinity8

Hi there, I have a quick question that I cant seem to figure out.

I am trying to replace the Option Screen with a Quest Log screen. I have activated the 'Custom Option Screen' Option and when I click on option the quest menu pops up. The problem is that the other menus do not disappear, and stay for about 2 seconds after I have closed the quest Menu. What would I have to add/change to get rid of the Main menus?

ForeverZer0

@mysticesper
Not sure if this a THE problem, but I do see a problem with the code in your post. You need to have the class name written properly as a constant. i.e. Capitalized and written exactly as the class name.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Ryex

version 2.51 is out. this should fix any errors people have with windows not disposing when another scene is called
@Infinity8 try the new script version. if you still have problems post here
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.<br /><br />DropBox, the best free file syncing service there is.<br />

Infinity8

August 28, 2010, 04:23:26 am #89 Last Edit: August 28, 2010, 04:50:24 am by Infinity8
Awesomeness, it works perfectly now, sort of.

At first it kept giving me errors, but after I edited out the following lines:



It worked fine. Not sure what the issue was there. (btw im using game guy's quest log instead of the options screen)

And I should have said this earlier but I absolutely love this CMS. Amazingly good work :D

Ryex

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.<br /><br />DropBox, the best free file syncing service there is.<br />

36inc

Ok So heres my problem.

this portion doesnt seem to be working right.

  # Dispose of windows
    @command_window.dispose if @command_window != nil && !@command_window.disposed?
    @status_window.dispose if @status_window != nil && !@status_window.disposed?
    @gold_window.dispose if @gold_window != nil && !@gold_window.disposed?
    @actor_window.dispose if @actor_window != nil && !actor_window.disposed?
    @help_window.dispose if @help_window != nil && !@help_window.disposed?
@help_window_item.dispose if @help_window_item != nil && !@help_window_item.disposed?
    @item_window_item.dispose if @item_window_item != nil && !@item_window_item.disposed?
    @target_window_item.dispose if @target_window_item != nil && !@target_window_item.disposed?
@help_window_skill.dispose if @help_window_skill != nil && !@help_window_skill.disposed?
    @status_window_skill.dispose if @status_window_skill != nil && !@status_window_skill.disposed?
    @skill_window_skill.dispose if  @skill_window_skill != nil && !@skill_window_skill.disposed?
    @target_window_skill.dispose if @target_window_skill != nil && !@target_window_skill.disposed?
@help_window_equip.dispose if @help_window_equip != nil && !@help_window_equip.disposed?
    @left_window_equip.dispose if  @left_window_equip != nil && !@left_window_equip.disposed?
    @right_window_equip.dispose if @right_window_equip != nil && !@right_window_equip.disposed?
    @item_info_equip.dispose if @item_info_equip != nil && !@item_info_equip.disposed?
    @item_windows_equip.each_index {|i|
      @item_windows_equip[i].dispose if  @item_windows_equip[i] != nil && !@item_windows_equip[i].disposed?
    }
@status_window_status.dispose if @status_window_status != nil && !@status_window_status.disposed?
@map.dispose
  end


See when I exit or try to use either the option or save It says error and refers this line of code
I am Rose Erin.

Ryex

September 17, 2010, 09:22:35 pm #92 Last Edit: September 17, 2010, 09:24:19 pm by Ryexander
ah darn, one sec and i'll fix it.
EDIT: Fixed
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.<br /><br />DropBox, the best free file syncing service there is.<br />

36inc

Quote from: Ryexander on September 17, 2010, 09:22:35 pm
ah darn, one sec and i'll fix it.
EDIT: Fixed


this line is still messing up

@item_windows_equip.each_index {|i|


What do i need to Delete to get rid of the options and save features.I dont need them.
I am Rose Erin.

Ryex

what is the error? i can't help if you don't post the exact error, and no don't even try to delete them. you'll just screw it up.
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.<br /><br />DropBox, the best free file syncing service there is.<br />

36inc

Quote from: Ryexander on September 17, 2010, 09:58:06 pm
what is the error? i can't help if you don't post the exact error, and no don't even try to delete them. you'll just screw it up.


Ok I wont delete them.

Um its a no method error.
Its says undefined method for "Each_Index" for nil:Nill class


I am Rose Erin.

Ryex

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.<br /><br />DropBox, the best free file syncing service there is.<br />

Calintz

Good job on this Ryexander.
I have seen this one around the site before.

Happy to see it's had some updates and it still under full support.

36inc

Quote from: Ryexander on September 17, 2010, 10:24:01 pm
Fixed


Oh thank you everythings good now.
sorry for not being clear im an artist so the coding part is a real pain for me.
Thank you Ill make sure to make your Name in the Credits huge!!
I am Rose Erin.

Holyrapid

Hey, i'd like to remove the save menu from the main menu, as i'm going to use save points instead. So, which parts do i need to delete and/or edit?
Thanks in advance for your help.