Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-19-2003, 09:09 AM
tlf288 tlf288 is offline
Registered User
tlf288's Avatar
Join Date: Nov 2001
Location: new account: Trevor
Posts: 0
tlf288 is on a distinguished road
Send a message via AIM to tlf288 Send a message via Yahoo to tlf288
Exclamation Very big mouse bug!

If you copy and paste the code below into a Graal level and run the level you will see it tells you if a mouse button is pressed down. Now left click and hold. Move the cursor off-screen and let go. See how it says the mouse button is not down? Now do the same with with right mouse button. When you let go off screen the Graal.exe still thinks the mouse is being pressed. This is a very big bug for anyone who uses the right click for anything in their scripts.

NPC Code:

if(timeout||created){
if(mousebuttons>0){
message Mouse is down!;
}else{message Mouse is not down!;}
timeout=.05;
}

__________________
new account: Trevor
Reply With Quote
  #2  
Old 02-19-2003, 09:26 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
personally I have NEVER used the var mousebuttons so it's not really a problem for me :x
Reply With Quote
  #3  
Old 02-19-2003, 09:31 AM
tlf288 tlf288 is offline
Registered User
tlf288's Avatar
Join Date: Nov 2001
Location: new account: Trevor
Posts: 0
tlf288 is on a distinguished road
Send a message via AIM to tlf288 Send a message via Yahoo to tlf288
It is still a bug that needs to be fixed nonetheless.
__________________
new account: Trevor
Reply With Quote
  #4  
Old 02-19-2003, 11:22 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
mousebuttons > button-specific flags
__________________
Reply With Quote
  #5  
Old 02-19-2003, 03:07 PM
tlf288 tlf288 is offline
Registered User
tlf288's Avatar
Join Date: Nov 2001
Location: new account: Trevor
Posts: 0
tlf288 is on a distinguished road
Send a message via AIM to tlf288 Send a message via Yahoo to tlf288
Quote:
Originally posted by Kaimetsu
mousebuttons > button-specific flags
If you mean that using mousebuttons is better than button-specific flags I agree with you fully. It allows for better detections using intergers and you can set variables to the mousebuttons.
__________________
new account: Trevor
Reply With Quote
  #6  
Old 02-19-2003, 11:55 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by tlf288


If you mean that using mousebuttons is better than button-specific flags I agree with you fully. It allows for better detections using intergers and you can set variables to the mousebuttons.
*shrugs* I haven't made many things using the mouse so I haven't really used it, and you can set variables to specific mouse flags too o.O
this.temp = {leftmousebutton,rightmousebutton};
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.