Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-02-2009, 09:18 PM
steve
Discordant
 
Join Date: Jan 2002
Posts: 305
Default Command prefix

Something that's always bugged me about the emulator is that you need to hit enter before you can type the # sign, then the command. I realize this is needed because you can't alter the /commands the client understands.

However, what about using the left bracket [ key instead? You can use that without having to press enter first... it's actually used for chat server commands on Live and was curious if [ could be used for all of the emulator commands?
Reply With Quote
  #2  
Old 08-03-2009, 10:04 PM
RichardoX
Hill Giant
 
Join Date: Dec 2004
Location: in your closet....
Posts: 169
Default

I can't imagine this would be a hard alteration to the existing code. All you'd need to do is to physically change the prefix(s) for all of the commands in commands.cpp I think. I haven't looked at it in a bit but I'm sure that's all you'd need to do. I don't know about you but a lot of commands for me are hotkeyed so I don't have to type anything. (other than #spawn, etc.)

Go onto the Wiki and look up the tutorial that teaches you to compile with Visual Studio 2010 Express or 2009.. I forget.. It's free by Microsoft and everything you need to get started is in the tutorial. After you get a basic feel-about where everything is; in the explorer, navigate to "Zone" and open up commands.cpp. Everything you want to do should be in there. Simply change it and play around with that. I'm sorry if I've offended you by telling you to learn to compile, I am assuming... I probably know much less. I hope I helped.. in some way..
__________________
a hill giant slashes YOU for 25 points of damage!
You have been slain!
LOADING, PLEASE WAIT...
Reply With Quote
  #3  
Old 08-04-2009, 12:43 AM
RichardoX
Hill Giant
 
Join Date: Dec 2004
Location: in your closet....
Posts: 169
Default

Actually correction, I looked into it and I am unsure. Sorry to have misguided you in any way if I have.
__________________
a hill giant slashes YOU for 25 points of damage!
You have been slain!
LOADING, PLEASE WAIT...
Reply With Quote
  #4  
Old 08-04-2009, 12:51 AM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

Won't work. Client is hardcoded to use [ as a chat channel command. The server never sees it.
__________________
EQEmulator Developer / Administrator
Reply With Quote
  #5  
Old 08-04-2009, 08:05 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

You could look into /cmd. I know Shards of Dalaya has it, I don't know if it is in Titanium, though.

Last edited by Secrets; 08-05-2009 at 04:07 AM..
Reply With Quote
  #6  
Old 08-04-2009, 08:39 PM
steve
Discordant
 
Join Date: Jan 2002
Posts: 305
Default

/cmd doesn't even appear to be in Live... not sure how it could work without intervention by a certain external, illegal program.
Reply With Quote
  #7  
Old 08-04-2009, 08:45 PM
steve
Discordant
 
Join Date: Jan 2002
Posts: 305
Default

Upon further investigation, they use a custom patcher that downloads modified client files. Without a doubt, they hacked in that command into their modified client.

Won't help us :(

I don't see why [ can't be used though. Certainly the client is passing off those commands somewhere. If the emulator had some sort of listener of incoming commands, certainly they could be used by the server to perform the same thing?

It looks like ; and ' work the same way. ; is an alias of [, and ' just makes you say it. Seems like ' could work?
Reply With Quote
  #8  
Old 08-04-2009, 09:51 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Why do you need to enter commands without pressing the enter key?

Any command build into the client most likely won't work, as the client will examine what command was issued and decide what to send the server, if anything at all. It doesn't send it directly to the server like a /say message does.

I am not sure what good /cmd would be to you anyway, as I can only guess you are wanting to not need to hit the enter key to save yourself from having to press 1 more button when entering commands. If that isn't the case and all you care about is not needing the enter key for some random reason (I dunno, maybe your enter key is broken :P), then you can always type press ' for say and then the # command, like '#help. You could also do it the long way by typing "/say #help".

If all you are wanting is to save yourself the 1 extra keystroke, then just either buy a keyboard that can have hotkeys programmed into it and set one to do "/say #", so it works no matter what chat you are in, or you can probably download some free 3rd party hotkey app somewhere to do the same thing with your current keyboard and then just set it to something like \ or something.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 08-05-2009 at 05:55 AM..
Reply With Quote
  #9  
Old 08-04-2009, 11:18 PM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

' is a link to /say

[ and ; are chat channels. The client makes a seperate connection to the chat channel server that is completely seperate from the emulator server. Those commands are never seen by the emulator server
__________________
EQEmulator Developer / Administrator
Reply With Quote
  #10  
Old 08-05-2009, 12:32 PM
steve
Discordant
 
Join Date: Jan 2002
Posts: 305
Default

It's not just one extra keystroke, it's enter, hold shift and then hit #, then the command. I was looking to abbreviate it to 'command. The shift key slows things down and is hard on the hands with my carpal tunnel.

Anyway, I don't see why the 'chat channel server' (do we even have this working?) can't pass commands off to the emulator server to process if it's not recognized. Seems like it would be trivial to have it listen to commands being sent and then pass them off elsewhere. But I guess that's why I'm not a programmer
Reply With Quote
  #11  
Old 08-05-2009, 02:30 PM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

Quote:
Originally Posted by steve View Post
Anyway, I don't see why the 'chat channel server' (do we even have this working?) can't pass commands off to the emulator server to process if it's not recognized.
/facepalm

The Game Server and Chat Channel Server do not communicate with eachother. Clients make seperate connections to each of them, and they run completely seperately
__________________
EQEmulator Developer / Administrator
Reply With Quote
  #12  
Old 08-05-2009, 02:33 PM
steve
Discordant
 
Join Date: Jan 2002
Posts: 305
Default

Thanks, but you can lose the attitude next time.
Reply With Quote
  #13  
Old 08-05-2009, 02:44 PM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

Wow and I was even restraining myself. If you think thats attitude then you must get offended easily.
__________________
EQEmulator Developer / Administrator
Reply With Quote
  #14  
Old 08-05-2009, 03:01 PM
steve
Discordant
 
Join Date: Jan 2002
Posts: 305
Default

Sorry, this is the Feature Request forum after all, so that's why I posted here about it, thinking it could be changed. I just didn't understand why it couldn't be changed to pass commands back and forth.
Reply With Quote
  #15  
Old 08-05-2009, 05:53 PM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default

For whatever it's worth, if you compile your own source, there's a define for COMMAND_CHAR near the top of command.h. You can change it from # to whatever you want, including [. You'd still need to type '[, but it eliminates the need to press enter first or hit the shift key.
Reply With Quote
Reply

Thread Tools
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 -4. The time now is 03:15 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3