[XP] Stormtronics CMS

Started by Blizzard, January 09, 2008, 04:00:35 pm

Previous topic - Next topic

Calintz

I just wanted to say that I do love this menu system :D.

Blizzard

BTW, I forgot to say that I put up v5.37b which has the bug fixed that reaper72004 mentioned. xD
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

reaper72004

Quote from: Blizzard on May 22, 2009, 04:36:48 am
BTW, I forgot to say that I put up v5.37b which has the bug fixed that reaper72004 mentioned. xD


"Shivers" @Blizzard <--- said my name

Landith

Probable Bug Report:

Me and Game_Guy were working on his default menu system thingie when he wanted me to screenshot all the bars and when I tried to change the bars in game with the STCMS Option menu, it wouldn't work. He tried to and failed. So it might be something we messed up or idk...
Just letting you know in case it wasn't our fault messing it up

Calintz

When I create my new custom skin to go with this menu system I will post some screenshots.

Blizzard

Quote from: Landith on May 26, 2009, 09:38:59 pm
Probable Bug Report:

Me and Game_Guy were working on his default menu system thingie when he wanted me to screenshot all the bars and when I tried to change the bars in game with the STCMS Option menu, it wouldn't work. He tried to and failed. So it might be something we messed up or idk...
Just letting you know in case it wasn't our fault messing it up


How did you try to make a screenshot? Printscreen, a separate program or a script ingame? Also, does it happen every time you try that?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Landith

Nevermind xD
I messed up on my part.

Sorry Blizz.

reaper72004

Hey Blizzard.. I'm adding a optimize option in the equip window where all you have to do is press s and the equipment gets optimized. And what I can't figure out how to add this line into the help window on the right side.. 'To optimize: Press S.' .. any input?  :P

Blizzard

@help_window.set_text(@item_window.item)


or

@help_window.set_text(@right_window.item)


Depends on which is currently active.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

reaper72004

May 28, 2009, 03:42:07 am #189 Last Edit: May 28, 2009, 03:44:32 am by reaper72004
Okay.. now how can I move that over and have it not cover up the description of the equips.

Quote from: Blizzard on May 28, 2009, 03:27:33 am


@help_window.set_text(@right_window.item)


Depends on which is currently active.


Would be this one.

Blizzard

class Window_CMSEquipRight < Window_Selectable

  def update_help
    @help_window.set_text(data == nil ? 'Press S to optimize...' : data.description + ' Press S to optimize...')
  end
 
end


Something like this? Or can you actually post a screenshot so I can see what is actually wrong?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

reaper72004

That will do for now I think. :)  Can I send you a pm, for your help with something.

Blizzard

Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

reaper72004

Is that a no or a yes about the pm.. :???:

Blizzard

May 28, 2009, 11:20:00 am #194 Last Edit: May 28, 2009, 11:21:33 am by Blizzard
Ah crap, I misread your post. Yes, of course you can send me a PM, but you might wanna post it after all. Depends on what you need help with.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

reaper72004

May 28, 2009, 10:02:12 pm #195 Last Edit: May 29, 2009, 03:06:12 am by reaper72004
Okie I'll just post it.

When I goto the Equip menu, the weapon armor helm and accessory are all showing the weapons, and I can't select a weapon, armor or exit the equip menu. And to get the optimize to work I have to mash the s key and up arrow. Any idea what I'm doing wrong?  :O.o:

Here's the code, if you want to see what I'm talking about you can put the code in a new script under the menu script.
Spoiler: ShowHide

def update_right_equip
   ###
   if Kboard.keyboard($R_Key_S)
     for i in 0..6
       @actor.equip(i, 0) unless @actor.equip_fix?(i)
       next if @actor.equip_fix?(i)
       case i
       when 0
         weapons = []
         weapon_set = $data_classes[@actor.class_id].weapon_set
         for j in 1...$data_weapons.size
              if $game_party.weapon_number(j) > 0 && weapon_set.include?(j)
                weapons.push($data_weapons[j])
              end
            end
            next if weapons == []
            weapons = weapons.reverse
            strongest_weapon = weapons[0]
            for weapon in weapons
              strongest_weapon = weapon if strongest_weapon.atk < weapon.atk
            end          
            @actor.equip(0, strongest_weapon.id)
          when 1..6  
            armors = []
            armor_set = $data_classes[@actor.class_id].armor_set
            for j in 1...$data_armors.size
              if $game_party.armor_number(j) > 0 && armor_set.include?(j)
                if $data_armors[j].kind == i - 1
                  armors.push($data_armors[j])
                end
              end
            end
            next if armors == []
            armors = armors.reverse
            strongest_armor = armors[0]
            for armor in armors
              strongest_armor = armor if strongest_armor.pdef < armor.pdef
            end
            @actor.equip(i, strongest_armor.id)
          end
        end
     @right_window.refresh
     (@item_windows + @status_windows).each {|win| win.refresh}
   end
 end

Blizzard

There's probably somewhere else something wrong. Make a demo, upload it on sendspace and post a download link. I will look into it.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

reaper72004

May 29, 2009, 06:23:37 am #197 Last Edit: May 29, 2009, 06:44:42 am by reaper72004
okie gimmie a few min and I'll get it uploaded.

okie here: http://www.sendspace.com/file/u2wczj

Blizzard

Solution of your problem: Use Tons of Add-ons and turn on Custom Controls rather than using Cybersam's input module.
Also, you didn't alias the method.

  alias update_right_equip_optimizer_alias update_right_equip
  def update_right_equip
    update_right_equip_optimizer_alias
    ###
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

reaper72004

May 29, 2009, 07:38:11 am #199 Last Edit: May 29, 2009, 11:38:09 am by reaper72004
Thx abunch..  :) ... Well I almost had it. lol  ;)

:O.o: I like your custom controls.. way easier and much better than Cybersam's.

Next on my list is to make a equipment tab in the items window.  :^_^': should be fun.


lol need more help. Ok you know how when u goto the item menu and the window for items and quest items show up when the selector is on them. how can I make the Window_EquipmentItem do the same.. thats all I got left to modify in the items window. So any help would be appreciated  :)