Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Fri Jun 13, 2008 2:45 am   

[2.27] Command line loses focus
 
It still unfocuses when I copy and paste a large block of text into the box and hit enter. It sends the text and unfocuses from the command box. The specific block I refer to is:

Code:

#wait 400
#say Loading Vallens Alias...
#al vallens {
#switch (%params)
 ("all") {
          get all.vallens vine
          get 'robe Austinian' vine
          get 'Dragon Eye Sea' vine
          get 'gold lion girth' vine
          get 'holy symbol' vine
          get 'golden acorn' vine
          wear 'Fine Leather Tunic Vallens'
          wear 'Fine Leather Headband Vallens'
          wear 'Fine Leather Leggings Vallens'
          wear 'Fine Leather Sleeves Vallens'
          wear 'Fine Leather Boots Vallens'
          wear 'Fine Leather Gloves Vallens'
          wear 'robe Austinian'
          wear 'Dragon Eye Sea'
          wear 'gold lion girth'
          wear 'holy symbol'
          wear 'golden acorn'
          put all.camo vine
          put 'gray robe' vine
          put 'Sceptre Might' vine
          put 'sword sheath' vine
          put 'knight doll' vine
          get 'golden ring' vine
          wear ring golden ring'
          remove 'ring light'       
          get 'golden ring' vine
          remove 'ring light'
          wear 'golden ring'
          put 'ring light' vine
          put 'ring light' vine
          put 'jade dragon' vine
         }
 ("set") {
          get all.vallens vine
          wear 'Fine Leather Tunic Vallens'
          wear 'Fine Leather Headband Vallens'
          wear 'Fine Leather Leggings Vallens'
          wear 'Fine Leather Sleeves Vallens'
          wear 'Fine Leather Boots Vallens'
          wear 'Fine Leather Gloves Vallens'
          put all.camo vine
         }
 ("Tunic") {
           get 'Fine Leather Tunic Vallens' vine
           wear 'Fine Leather Tunic Vallens'
           put 'Well-made Leather Tunic Camo' vine
          }
 ("Head") {
           get 'Fine Leather Headband Vallens' vine
           wear 'Fine Leather Headband Vallens'
           put 'Well-made Leather Headband Camo' vine
          }
 ("Legs") {
           get 'Fine Leather Leggings Vallens' vine
           wear 'Fine Leather Leggings Vallens'
           put 'Well-made Leather Leggings Camo' vine
           }
 ("Sleeves") {
           get 'Fine Leather Sleeves Vallens' vine
           wear 'Fine Leather Sleeves Vallens'
           put 'Well-made Leather Sleeves Camo' vine
           }
 ("Boots") {
           get 'Fine Leather Boots Vallens' vine
           wear 'Fine Leather Boots Vallens'
           put 'Well-made Leather Boots Camo' vine
           }
 ("Gloves") {
           get 'Fine Leather Gloves Vallens' vine
           wear 'Fine Leather Gloves Vallens'
           put 'Well-made Leather Gloves Camo' vine
           }
 ("Held") {
           get 'holy symbol' vine
           wear 'holy symbol'
           put 'knight doll' vine
           }
 ("Light") {
           get 'dragon eye sea' vine
           wear 'dragon eye sea'
           put 'Sceptre Might' vine
           }
 ("Waist") {
           get 'gold lion girth' vine
           wear 'gold lion girth'
           put 'sword sheath' vine
           }
 ("Robe") {
           get 'robe austinian' vine
           wear 'robe austinian'
           put 'gray robe' vine
           }
 ("Rings") {
            get 'golden ring' vine
            wear 'golden ring'
            remove 'ring light'
            get 'golden ring' vine
            wear 'golden ring'
            put 'ring light' vine
            put 'ring light' vine
           }
 ("Float") {
            get 'golden acorn' vine
            wear 'golden acorn'
            put 'jade dragon' vine
           }
 ("mana") {
          get 'robe Austinian' vine
          get 'Dragon Eye Sea' vine
          get 'gold lion girth' vine
          get 'holy symbol' vine
          wear 'robe Austinian'
          wear 'Dragon Eye Sea'
          wear 'gold lion girth'
          wear 'holy symbol'
          put all.camo vine
          put 'gray robe' vine
          put 'Sceptre Might' vine
          put 'sword sheath' vine
          put 'knight doll' vine
          get 'golden ring' vine
          wear ring golden ring'
          remove 'ring light'       
          get 'golden ring' vine
          remove 'ring light'
          wear 'golden ring'
          put 'ring light' vine
          put 'ring light' vine
         }
 ("hit") {
          get 'gray robe' vine
          get 'Sceptre Might' vine
          get 'sword sheath' vine
          get 'knight doll' vine
          wear 'gray robe'
          wear 'Sceptre Might'
          wear 'sword sheath'
          wear 'knight doll'
          put all.vallens vine
          put 'Fine Leather Gloves Vallens' vine
          put 'robe Austinian' vine
          put 'Dragon Eye Sea' vine
          put 'gold lion girth' vine
          get 'ring light' vine
          wear 'ring light'
          remove 'golden ring'
          wear 'ring light'           
          get 'ring light' vine
          remove 'golden ring'
          wear 'ring light'
          put 'golden ring' vine
          put 'golden ring' vine
          get 'jade dragon' vine
          wear 'jade dragon'
          put 'holy symbol' vine
         }
 ("standard") {
               get 'amulet austinian' vine
               get 'amulet austinian' vine
               get 'shield arcanium' vine
               get 'fine bracer' vine
               get 'fine bracer' vine
               get 'runed quiver' vine
               get 'dagger' vine
               wear 'amulet austinian'
               wear 'amulet austinian'
               wear 'shield arcanium'
               wear 'fine bracer'
               wear 'fine bracer'
               wear 'runed quiver'
               sheath 'dagger'
               wear 'dreadwood quarter'
              }
 } {General Aliases}

#al rem_vallens {
#switch (%params)
 ("all") {
          remove 'Fine Leather Tunic Vallens'
          remove 'Fine Leather Headband Vallens'
          remove 'Fine Leather Leggings Vallens'
          remove 'Fine Leather Sleeves Vallens'
          remove 'Fine Leather Boots Vallens'
          remove 'Fine Leather Gloves Vallens'
          remove 'robe Austinian'
          remove 'Dragon Eye Sea'
          remove 'gold lion girth'
          remove 'purple mojo bone'
          put all.vallens vine
          put 'robe Austinian' vine
          put 'Dragon Eye Sea' vine
          put 'gold lion girth' vine
          put 'purple mojo bone' vine
         }
 ("set") {
          remove 'Fine Leather Tunic Vallens'
          remove 'Fine Leather Headband Vallens'
          remove 'Fine Leather Leggings Vallens'
          remove 'Fine Leather Sleeves Vallens'
          remove 'Fine Leather Boots Vallens'
          remove 'Fine Leather Gloves Vallens'
          put all.vallens vine
         }
 ("Tunic") {
           remove 'fine leather Tunic vallens'
           put 'fine leather Tunic vallens' vine
           }
 ("Head") {
           remove 'fine leather Headband vallens'
           put 'fine leather Headband vallens' vine
          }
 ("Legs") {
           remove 'fine leather Leggings vallens'
           put 'fine leather Leggings vallens' vine
           }
 ("Sleeves") {
           put 'fine leather Sleeves vallens' vine
           remove 'fine leather Sleeves vallens'
           }
 ("Boots") {
           put 'fine leather Boots vallens' vine
           remove 'fine leather Boots vallens'
           }
 ("Gloves") {
           remove 'fine leather Gloves vallens'
           put 'fine leather Gloves vallens' vine
           }
 ("Held") {
           remove 'holy symbol'
           put 'holy symbol' vine
           }
 ("Light") {
           remove 'dragon eye sea'
           put 'dragon eye sea' vine
           }
 ("Waist") {
           remove 'gold lion girth'
           put 'gold lion girth' vine
           }
 ("Robe") {
           remove 'robe austinian'
           put 'robe austinian' vine
          }
 ("Float") {
            remove 'golden acorn'
            put 'golden acorn' vine
           }
 ("mana") {
          remove 'robe Austinian'
          remove 'Dragon Eye Sea'
          remove 'gold lion girth'
          remove 'purple mojo bone'
          remove 'golden ring'
          remove 'golden ring'
          remove 'holy symbol'
          put all.vallens vine
          put 'robe Austinian' vine
          put 'Dragon Eye Sea' vine
          put 'gold lion girth' vine
          put 'purple mojo bone' vine
          put 'golden ring' vine
          put 'golden ring' vine
          put 'holy symbol' vine
         }
 ("hit") {
          remove 'gray robe'
          remove 'Sceptre Might'
          remove 'sword sheath'
          remove 'knight doll'
          remove 'jade dragon'
          remove 'ring light'
          remove 'ring light'
          put all.camo vine
          put 'gray robe' vine
          put 'jade dragon' vine
          put 'Sceptre Might' vine
          put 'sword sheath' vine
          put 'knight doll' vine
          put 'ring light' vine
          put 'ring light' vine
         }
 ("standard") {
               remove 'amulet austinian'
               remove 'amulet austinian'
               remove 'shield arcanium'
               remove 'fine bracer'
               remove 'fine bracer'
               remove 'runed quiver'
               remove 'dagger'
               remove 'dreadwood quarter'
               put 'amulet austinian' vine
               put 'amulet austinian' vine
               put 'shield arcanium' vine
               put 'fine bracer' vine
               put 'fine bracer' vine
               put 'dagger' vine
               put 'runed quiver' vine
              }
 } {General Aliases}


No clue why Sad
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Jun 13, 2008 2:54 am   
 
Not sure why, it doesn't do it for me here in a blank session. Run the Script Debugger when you enter this to see if you have some trigger or something that is running and causing it.
Reply with quote
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Fri Jun 13, 2008 3:17 am   
 
On a totally unrelated issue, I just got a Topic Reply Notification, for "v2.27 ETA" which, when clicked, linked me here...

Funnily enoughm I hadn't even viewed this post yet...

Quote:

Hello,

You are receiving this email because you are watching the topic, "v2.27 ETA" at Zugg Software. This topic has received a reply since your last visit. You can use the following link to view the replies made, no more notifications will be sent until you visit the topic.

http://forums.zuggsoft.com/forums/viewtopic.php?p=133139#133139
_________________
The Drake Forestseer
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Jun 13, 2008 3:56 am   
 
Not sure how that could happen (we are using the PHPBB forum software, and are stuck with however it works because I don't have time to debug someone elses PHP software right now), but let's try to keep the topic focused on the original poster's problem.
Reply with quote
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Fri Jun 13, 2008 3:58 am   
 
And that reply sent me to a that post doesn't exist page... It's getting worse!

Code:

Hello,

You are receiving this email because you are watching the topic, "[2.27] Command line loses focus" at Zugg Software. This topic has received a reply since your last visit. You can use the following link to view the replies made, no more notifications will be sent until you visit the topic.

http://forums.zuggsoft.com/forums/viewtopic.php?p=133148#133148


Only for future reference if you ever decide to come back and look ;)
_________________
The Drake Forestseer
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Fri Jun 13, 2008 5:33 am   
 
Hrm. I split chamenas's post off from the ETA topic into its own topic earlier. It shouldn't have caused any problems, it is rather routine fix for improperly posted stuff.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Fri Jun 13, 2008 12:25 pm   
 
Here's the raw and txt in a zip file:
http://www.savefile.com/files/1607306

Here's a video of it. If you watch, I click on the onscreen keyboard (since you can't see my fingers typing on mine) and that doesn't have a problem with focus in and of itself, as I show at the end, so the problem it has is due to this focus issue.

http://www.savefile.com/files/1607310
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Mon Jun 16, 2008 1:52 pm   
 
Anyone able to replicate?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Jun 16, 2008 5:15 pm   
 
I looked at your video and tried to reproduce it here, but I was never able to lose the command line focus, so I'm not sure what is happening unless it's a Vista/XP difference.
Reply with quote
tijer
Novice


Joined: 17 Jun 2006
Posts: 45

PostPosted: Mon Jun 16, 2008 6:11 pm   
 
i had an issue with cmud losing focus to the command line after swtching to other sessions, appears to have sorted its self since i removed cmud and reinstalled....
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Mon Jun 16, 2008 11:52 pm   
 
Actually the command losing focus problem is older than dirt (well, it goes back to 1.34, anyway). It happens to me when I have other windows open (including the Settings Editor). Clicking on the session window does not restore the focus unless the click is on the command line. Running the risk of being flamed for this, I'll say that this problem and the random menu popups are related.
_________________
Sic itur ad astra.
Reply with quote
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Tue Jun 17, 2008 12:20 am   
 
I've noticed this a little recently too, generally when there's lots in my clipboard / after pasting lots to the session
_________________
The Drake Forestseer
Reply with quote
harley
Apprentice


Joined: 05 Apr 2008
Posts: 121

PostPosted: Tue Jun 17, 2008 12:49 am   
 
I've had this problem quite a bit.
I didnt know it was a bug. just an inconvenience.
Next time it happens i'll taken ote of what i'm doing.

consistantly happening atm when i use the built in pather
ie.. CTRL-S
run to area.. and then have to click back on command line.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Tue Jun 17, 2008 12:51 pm   
 
It's done this on other blocks of large text as well. It is in XP though, I'm not running Vista.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Jun 17, 2008 9:23 pm   
 
I have fixed v2.28 so that the focus is restored to the command line when you close the speedwalk window (ctrl-s). I haven't been able to reproduce the other problems with pasting large amounts of text taking focus away from the command line, not even in XP.
Reply with quote
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Wed Jun 18, 2008 12:02 am   
 
Hmm another thing worth mentioning i guess, I have mapper window open. Perhaps it's stealing focus
_________________
The Drake Forestseer
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Wed Jun 18, 2008 5:28 am   
 
I don't have the window open. I may have my tells window open, I haven't tested that. Also... I clearly have video evidence!
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net