[XP] Mouse Controller Enhancement Script

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

Previous topic - Next topic

nathmatt

July 14, 2011, 05:49:26 pm #140 Last Edit: July 22, 2011, 05:33:23 pm by nathmatt
maybe its a compatibility issue with another script are you using

edit try it now i just made an edit that should fix the error you were getting

edit fixed bug where events wouldn't activate
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


LiTTleDRAgo

could you make this compatible with pixel movement?
so, when using keyboard arrow the pixel movement still active

nathmatt

let winko finish the update with the new pixel movement and i will look onto it
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


Futendra

First of all Sorry for necro-post...

I have some trouble with this script...

1) When I move without the mouse, I use pixel movement and when I use mouse it doesn't?
2) The player seems to ignore Player-touch activated events since I use the script?

Are there fixes for those? Anyways, great script!

nathmatt

Quote from: Futendra on December 26, 2011, 11:03:22 am
1) When I move without the mouse, I use pixel movement and when I use mouse it doesn't?


I am still waiting for winko's update before i fix this

Quote from: Futendra on December 26, 2011, 11:03:22 am
2) The player seems to ignore Player-touch activated events since I use the script?


by ignore do you mean you can't go up to them and press the (C) button ?

That is because the mouse click is considered the (C) button and if you were to click to move beside an event it would have activated.
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


Futendra

Quote from: nathmatt on December 26, 2011, 03:01:44 pm
Quote from: Futendra on December 26, 2011, 11:03:22 am
1) When I move without the mouse, I use pixel movement and when I use mouse it doesn't?


I am still waiting for winko's update before i fix this

Quote from: Futendra on December 26, 2011, 11:03:22 am
2) The player seems to ignore Player-touch activated events since I use the script?


by ignore do you mean you can't go up to them and press the (C) button ?

That is because the mouse click is considered the (C) button and if you were to click to move beside an event it would have activated.


It doesn't activate the event, I use player touch events to teleport and to use as doors and it doesn't work with this script

nathmatt

check it now i think i might have fixed it it's been a while since i messed with RGSS
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


Futendra

Nope, only made more bugs... I cant use it really, guess I'll just stick to no mouse ;)

Starrodkirby86

Quote from: Futendra on December 26, 2011, 07:31:21 pm
Nope, only made more bugs... I cant use it really, guess I'll just stick to no mouse ;)


May help to specify what bugs pop up, so we don't have some supposedly even buggier version released or something...

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).




nathmatt

i fixed the the event thing the trigger was 0 not 1 like i thought
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


Futendra

Quote from: Starrodkirby86 on December 26, 2011, 10:11:18 pm
Quote from: Futendra on December 26, 2011, 07:31:21 pm
Nope, only made more bugs... I cant use it really, guess I'll just stick to no mouse ;)


May help to specify what bugs pop up, so we don't have some supposedly even buggier version released or something...


It's probably a compatibility error...

mroedesigns

Does this have any known issues with the custom windows? Ive been using that alright, but I add this and click anything on the map and I get a NoMethod error on line 619

    $network.send_player_data if $network != nil

nathmatt

that is a RMXOS fix are you using RMXOS if so that method may have been renamed on me if not do a global search using (ctrl shift F) and search for $network to see if something else if using that variable
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


mroedesigns

Nope, $network is still being used. Here it is in line 42 of RMX-OS Main, for instance.

  # activate the network
  $network = RMXOS::Network.new


nathmatt

January 18, 2012, 09:01:06 am #154 Last Edit: January 18, 2012, 09:16:26 am by nathmatt
i was asking if RMX-OS was being used give me a few mins to download the newest version and see what the method was renamed to

edit: try it now looks like Blizzard removed the need for that method
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


mroedesigns

So just take out that line? Or is it more than a one line fix?

nathmatt

yea as far as i can tell that should be it just remove that line
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



athreus

Sorry for necropost, but I have an Error. I'm using only this script with the necessary Mouse Controller by Blizzard...

Line 446:NoMethodError occured
Undefined method 'inner_bitmap' for nil:NilClass

This problem come out when i try to put Msg[] command in the event name.
I hope you can understand my bad english (I am Italian XD). Again sorry for necroposting.

Thanks very much for the help!!!