Multiplayer (Controlling multiple session)

Leshrack
Posts: 3
Joined: Wed Jan 06, 2010 2:07 am

Multiplayer (Controlling multiple session)

Post by Leshrack »

Hello,

I play a multiplayer mud and would like to know whats the command or commands to be able to send orders to all windows (players) without having to lose focus of main one.

I play on Mac OSX 10.5.8

Sorry if this has been asked before but couldnt find any multiplayer question on forums.

Thanks in advance.

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Multiplayer (Controlling multiple session)

Post by Vadi »

Not yet - in fact you're the first person to raise this.

Can you tell us your use case and what functionality do you exactly need?

Leshrack
Posts: 3
Joined: Wed Jan 06, 2010 2:07 am

Re: Multiplayer (Controlling multiple session)

Post by Leshrack »

I need an special character of my choice that can be typed on the console and be captured by the client in an understanding that anything followed by that character will be executed into all active windows.
For instance i have my 3 sessions opened and i want all my chars to drink water i would type something like:
:drink water
And another character to target an specific window
;(name of window) (action to be executed only to that window)

Thats how i was able to manipulate chars on another program without having to fully configure a bot for the other remaining chars. I dont know if it can be done or else im open for suggestions.

Thanks

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Multiplayer (Controlling multiple session)

Post by Vadi »

So all your scripts and aliases etc function on all 3 open profiles?

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Multiplayer (Controlling multiple session)

Post by Heiko »

I'll add 2 functions:
sendSession( regular send args ..., profileName )
echoSession( regular echo args ..., profileName )

Leshrack
Posts: 3
Joined: Wed Jan 06, 2010 2:07 am

Re: Multiplayer (Controlling multiple session)

Post by Leshrack »

Vadi wrote:So all your scripts and aliases etc function on all 3 open profiles?
It could be easier if we were able to open more session on the same profile and just organizing triggers, alias and such by player name. But i think i read on manual that is not possible so an special character to control other profiles session would be easier to do.

Also on mac version I cant open at same time more than 1 settings window, it would help me to copy and paste triggers , etc. I have been exporting and importing triggers in the meantime.

User avatar
Alexander Divine
Posts: 65
Joined: Mon Dec 21, 2009 7:01 pm

Re: Multiplayer (Controlling multiple session)

Post by Alexander Divine »

Once they implement sendSession() that'd be all there is to it. For a special character, just use an alias. Say you wanted to make it so anything with a slash sends commands to your other characters. Just do an alias with the matching pattern: ^\/(\s)(.*)$ And have it do sendSession(matches[2]).

hellotojoe
Posts: 4
Joined: Mon May 28, 2012 5:15 am
Location: GA, USA

Re: Multiplayer (Controlling multiple session)

Post by hellotojoe »

Did sendSession() get implemented? It would come in handy.

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Multiplayer (Controlling multiple session)

Post by Vadi »

Not at the moment.

User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Re: Multiplayer (Controlling multiple session)

Post by chris »

I'll put a note on my repo to put this in so it's at least on one development branch. I'll throw getSessions so players can loop through them as well for an echo/send all.

Post Reply