[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Ding, an idea, how do I?
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Ding, an idea, how do I?

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by David Berthiaume   (202 posts)  [Biography] bio
Date Tue 26 Apr 2005 03:13 AM (UTC)
Message
How do I send information between worlds?

I think, that I can pretty much make what I want with output windows combining Phantom, and other world files. using phantom.

All I need to figure out is how to transfer data from my active mud world file, to the phantom world.
[Go to top] top

Posted by Shadowfyr   USA  (1,783 posts)  [Biography] bio
Date Reply #1 on Tue 26 Apr 2005 03:58 AM (UTC)
Message
Well.. Phantom isn't really designed to talk between worlds, just echo what is sent directly back. You could probably use UDP and have one world listen to the port, while the other sends, but its would be just a simple to use UDP to have them talk directly world to world. Frankly.. I can't think of any way Phantom will even do what you want without changes that would make it work as a true proxy, which would mean each world using a different port to send/recieve.
[Go to top] top

Posted by David Berthiaume   (202 posts)  [Biography] bio
Date Reply #2 on Tue 26 Apr 2005 04:03 AM (UTC)
Message
Well, my idea was to use a world connected to Phantom to dump data into, even if it's just as a world.note.


Basically, the idea is to dump chat info into it.
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #3 on Tue 26 Apr 2005 04:35 AM (UTC)
Message
Whats wrong with using the Chat Protocol?
Or UDP packets?

What are you trying to do? Just echo what one person sees onto another screen? And then send stuff back to the original world (to get sent to the server?)

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by David Berthiaume   (202 posts)  [Biography] bio
Date Reply #4 on Tue 26 Apr 2005 04:43 AM (UTC)
Message
My idea was to use a "Phantom world" port as an output window.

Send the chat channels to the world that is connected to Phantom.

Basically, we can't have output windows. The question is can I send information from the world connected to the mud, to a world connected to a phantom port.
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #5 on Tue 26 Apr 2005 04:55 AM (UTC)
Message
Why don't you just use the chat protocol to forward the information?

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by David Berthiaume   (202 posts)  [Biography] bio
Date Reply #6 on Tue 26 Apr 2005 05:23 AM (UTC)
Message
Well, I don't know how to do that. I played with it a bit, but I couldn't figure it out.

Oh well, it was an idea, if I can't do it, then I can't do it. I figured if you could send data from one world to another it would basically do what I wanted it to do.
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #7 on Tue 26 Apr 2005 05:39 AM (UTC)

Amended on Tue 26 Apr 2005 05:42 AM (UTC) by Flannel

Message
Yeah, You can do that with the chat protocol. Or UDP packets, but the chat protocol is a little less raw.

Chat isn't that difficult, once you get a feel for how it works. And actually, if I understand your question correctly (and you just want to route ALL the information to the other world) then you can just use snoop, which is already implemented. Except that you won't get anything except output (no notes), and you can send commands too (which is also pre-implemented).
Sending channel type things to a chat person is exactly like a notepad, except it's a chat command insteadof a "sendtonotepad".

Here's nicks rundown of basically everything you can do with the chat protocol:
http://www.gammon.com.au/mushclient/chat.htm
(it's also at the top of the mushclient forum)

I couldn't find the other data page (I remember one with a table of all the message types, including the ZMud ones).

Of course, there's the helpfile:
http://www.gammon.com.au/scripts/doc.php?general=chat

And then the plugin has some good info too (or at the very least a whole lot of examples).

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #8 on Tue 26 Apr 2005 06:52 AM (UTC)
Message
Quote:

How do I send information between worlds?


The answers sound more complicated than the question. You can get a reference to another world and simply call script functions in the other world. See:

http://www.gammon.com.au/scripts/doc.php?function=GetWorld

Of course, the chat protocol will do that too, in which case the worlds can be on different PCs

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


7,535 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]