Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2010, 10:00 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default Perl talking to a client

A question for all the perl wizards. I know it's possible for a client machine to trigger a perl script on the server (using, e.g., player.pl), but does the reverse work? Is there a way (preferably through a quest script, but it's not necessary) to get perl to issue a command to a client machine, possibly even triggering another perl script on the client machine?
Reply With Quote
  #2  
Old 01-19-2010, 05:13 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

When you say "client machine", you probably just mean "client". Perl has nothing to do with what is happening on the "client machine", which the same thing as saying the player's home computer. But, it does affect the client/character itself.

Maybe you can explain what it is you are trying to do, and we can help. From the information given, I am not clear on what you are trying to do. If you are wanting one client's actions in game to effect what happens to another client, that can be done, though.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 01-19-2010, 06:41 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

From what I read, he did mean client machine. He wants to execute code on the client machine.
Reply With Quote
  #4  
Old 01-19-2010, 04:34 PM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

Perl has nothing to do with the client, its merely a server side script system.
__________________
EQEmulator Developer / Administrator
Reply With Quote
  #5  
Old 01-20-2010, 12:30 AM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

Ok, I think that answers my question. As joligario rightly guessed, I was hoping to have the ability to execute code on the client machine, or at least issue instructions from the server to the client machine. I take it this is not possible.
Reply With Quote
  #6  
Old 01-20-2010, 02:16 PM
Thovar
Sarnak
 
Join Date: Nov 2009
Posts: 41
Default

Why do you want to do that? and I do not think its possible...

trying to hack someones computer that's been hacking on your server???

that would be the only reason I could think of that would cause someone to want to run scripts o the client instead of just on the server...

sorry, its just an odd question, there shouldn't be a need or any reason to run the scripts on the client, ever... just my opinion
__________________
~Thovar
GM of http://www.beradingoldbeard.info/
Reply With Quote
  #7  
Old 01-20-2010, 07:02 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Probably because he wants them to play a certain MP3 or something like that.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #8  
Old 01-20-2010, 08:17 PM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

Trevius is correct. It goes along with my long-time obsession over coming up with some way to add custom music to zones.

And for the record, I run a private server on a lan; so the "hacking" would be limited to those who consent
Reply With Quote
  #9  
Old 01-21-2010, 06:37 PM
Thovar
Sarnak
 
Join Date: Nov 2009
Posts: 41
Default

AH!!! i see, that makes sense now... I have to agree that would be pretty cool since there are some zones that could use some extra creepy music. That would open up a whole new world of adding custom music to the server.
__________________
~Thovar
GM of http://www.beradingoldbeard.info/
Reply With Quote
  #10  
Old 01-22-2010, 12:07 AM
neiv2
Hill Giant
 
Join Date: Mar 2009
Location: CO
Posts: 183
Default

Well, if you don't mind it being only at the server level, I created this procedure to do just that. If your server is in the same room, and it has a speaker, you can simulate the effect. It will automatically kill the last zone-specific music and begin to play the new when you enter the next zone.
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:03 PM.


 

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