Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ General
➜ Ding, an idea, how do I?
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| David Berthiaume
(202 posts) 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. | Top |
|
Posted by
| Shadowfyr
USA (1,788 posts) 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. | Top |
|
Posted by
| David Berthiaume
(202 posts) 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.
| Top |
|
Posted by
| Flannel
USA (1,230 posts) 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. | Top |
|
Posted by
| David Berthiaume
(202 posts) 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. | Top |
|
Posted by
| Flannel
USA (1,230 posts) 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. | Top |
|
Posted by
| David Berthiaume
(202 posts) 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. | Top |
|
Posted by
| Flannel
USA (1,230 posts) 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. | Top |
|
Posted by
| Nick Gammon
Australia (23,121 posts) 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 | 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.
30,799 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top