[XP] Mouse Controller Enhancement Script

Started by nathmatt, March 24, 2010, 08:31:41 pm

Previous topic - Next topic

cyclope

I get an error in line 695, I just have Blizz ABS, Mouse controller, and this script.

Its this:

    @inner_bitmap = Bitmap.new(@cw,@ch) if @inner_bitmap == nil
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?

nathmatt

June 04, 2011, 07:59:55 pm #121 Last Edit: June 11, 2011, 09:44:48 pm by nathmatt
update fixed above error

update fixed a few bugs

fixed set sprite
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


cyclope

I am having a bug with this lines(418-436). I am using Blizz-ABS and the Mouse Controller. This happens after I click any where.

Spoiler: ShowHide
    def modify(result)
      @x_off.times {result.unshift(TDirs[4])}
      @y_off.times {result.unshift(TDirs[8])}
      return if !$game_system._8_way
      result.each_index {|i|
      if result[i] != nil && result[i + 1] != nil
        case [result[i][0], result[i + 1][0]]
        when DirDownLeft, DirLeftDown
          result[i], result[i + 1] = TDirs[1], nil
        when DirDownRight, DirRightDown
          result[i], result[i + 1] = TDirs[3], nil
        when DirLeftUp, DirUpLeft
          result[i], result[i + 1] = TDirs[7], nil
        when DirRightUp, DirUpRight
          result[i], result[i + 1] = TDirs[9], nil
        end
      end}
      result.compact!
    end
   
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?

nathmatt

Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


cyclope

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?

nathmatt

Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


cyclope

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?

nathmatt

June 30, 2011, 01:13:52 pm #127 Last Edit: July 01, 2011, 07:58:45 pm by nathmatt
update 1.50 fixed the bug but pixel movement is automatically turned off and you can now choose a click a new location while moving

update 1.51 fixed a few bugs
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


RPGManiac3030

July 07, 2011, 02:30:59 am #128 Last Edit: July 07, 2011, 03:01:04 am by RPGManiac3030
I'm getting a no method error when I start a new game on this line...

xs = get_sprite.x-(get_sprite.cw/2)


EDIT: I'm now getting this error...I have no idea why it's different

It says no implicit conversion from nil to integer...line 715

Quote@inner_bitmap = Bitmap.new(@cw,@ch) if @inner_bitmap == nil


Official Gio website:
gioadventures.freehostingcloud.com (under construction)

LiTTleDRAgo

I get an error



This appears after I clicked New Game in an empty project

nathmatt

Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


RPGManiac3030



Official Gio website:
gioadventures.freehostingcloud.com (under construction)

nathmatt

July 07, 2011, 05:33:32 pm #132 Last Edit: July 07, 2011, 05:46:17 pm by nathmatt
@RPGManiac3030 sorry i missed your post i was seeing if i fixed LiTTleDRAgo's error i will look into ur's

edit try it now
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


RPGManiac3030

Now I'm getting an undefined method ch on this line, line 726:

return if (@sprite && @sprite.cw || @sprite.ch) == nil


Sorry if I sound like a jerk  :^_^':


Official Gio website:
gioadventures.freehostingcloud.com (under construction)

nathmatt

July 07, 2011, 06:07:32 pm #134 Last Edit: July 07, 2011, 06:10:25 pm by nathmatt
why would you ur just telling me about you error try changing that line to this and tell me if it fixes it

return if  @sprite == nil && (@sprite.cw == nil || @sprite.ch == nil)


edit if that dosen't work or you get another error send me a demo so i can look into it better
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


RPGManiac3030

Ok, I'm getting the same error...here's a demo

http://dl.dropbox.com/u/15385392/JK%20Productions/Test.zip

It's not my actual game, but I started a new game to see if the error still happened and it did.


Official Gio website:
gioadventures.freehostingcloud.com (under construction)

nathmatt

updated fixed you error let me know if you find any more
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


RPGManiac3030

Worked perfectly on a map without events, but when I went to a map with events, this happened:



I don't know if it's something on my map or a script clash that's causing all of these problems...


Official Gio website:
gioadventures.freehostingcloud.com (under construction)

nathmatt

ok should be fixed now and you getting error's because im fixing it while im using BlizzABS to prevent compatibility issues with it and your getting the errors that you get without BlizzABS which need to be fixed anyway
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


RPGManiac3030



Official Gio website:
gioadventures.freehostingcloud.com (under construction)