Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 10-15-2004, 08:58 PM   #1
Almondine War
Member
 
Join Date: Jan 2003
Location: Louisiana, United States
Posts: 33
Almondine War is on a distinguished road
Send a message via AIM to Almondine War Send a message via Yahoo to Almondine War
Okay, not ENTIRELY MUD-based.

A java class that I have requires that we submit one major project at the end of the semester.

I have been toying with the idea of making a rather (crappily) cool new client for connecting to MUDs.  I have something less than 9 weeks in which to do it, and I was wondering if any of you veterans out there know if such a thing can be done.

I'm not looking for amazing abilities, cool graphics, awesome super-cool features.  Just some crap-thing that will connect to a MUD and let the user use it that would get me a passing grade.


If it is possible, I would appreciate ALL the help I could get in doing this.  What is needed?  Any ideas how to do it?  Any resources?  Any help at all?

If it's successful, I plan on expanding on it, cleaning it up, and hopefully making something that actually has greater capabilities after the semester.

- Almondine War
AIM:  Catwithalaser
EMAIL:
Almondine War is offline   Reply With Quote
Old 10-16-2004, 05:26 AM   #2
Hephos
Senior Member
 
Join Date: Feb 2003
Location: Sweden
Home MUD: www.sharune.com
Posts: 359
Hephos is on a distinguished road
Hello,

With java you can get a pretty standard mud client going in like a week of time, that has all standard things such as telnet parsing, aliases, macros, triggers, logging etc.

Of course it might not be very professional with a week of time and one person working on it, but it should be functional.
Hephos is offline   Reply With Quote
Old 10-16-2004, 09:17 AM   #3
gth
Member
 
Join Date: Nov 2003
Posts: 50
gth is on a distinguished road
Is there a way around the restriction that java clients can only connect back to the host the applet was downloaded from?

Way back when I was toying with java applets, I found this restriction the most annoying.

- gth.

PS: And no, I'd rather not use a redirecting program running on the webserver host; very few web admins allow such a utility.
gth is offline   Reply With Quote
Old 10-16-2004, 11:37 AM   #4
Kylotan
Member
 
Join Date: Jun 2003
Location: Nottingham, UK
Home MUD: Abattoir (Smaug)
Home MUD: ex-Jellybean (Smaug)
Home MUD: ex-Dark Chambers (Merc)
Posts: 174
Kylotan is on a distinguished road
Send a message via ICQ to Kylotan Send a message via AIM to Kylotan Send a message via MSN to Kylotan Send a message via Yahoo to Kylotan
The original poster didn't say they needed to make an applet. Normal Java applications (not browser based) are not restricted in the ways that applets are.
Kylotan is offline   Reply With Quote
Old 10-16-2004, 02:33 PM   #5
Almondine War
Member
 
Join Date: Jan 2003
Location: Louisiana, United States
Posts: 33
Almondine War is on a distinguished road
Send a message via AIM to Almondine War Send a message via Yahoo to Almondine War
I plan on making an application.

For some odd reason, I find them more desirable than applets.

The biggest thing I'm worried about is..well.. how DO you connect to any given MUD? Is there something hidden away in the API that I havn't found quite yet?

My experience so far with Java (or any programming) has been almost entirely writing stand-alone little programs that really have no great use other than to sit there and look pretty or help me solve some stupid math problem I'm too lazy to work out on paper (of course, I'd much rather write a program JUST for that purpose...yup..).

So, I have had NO experience with online stuff, server-client relationships, bla bla bla. Anything any real guru would know about.

This is what I need the most help in (unfortunately, it just happens to be at the core of functionality).
Almondine War is offline   Reply With Quote
Old 10-17-2004, 02:06 PM   #6
Kylotan
Member
 
Join Date: Jun 2003
Location: Nottingham, UK
Home MUD: Abattoir (Smaug)
Home MUD: ex-Jellybean (Smaug)
Home MUD: ex-Dark Chambers (Merc)
Posts: 174
Kylotan is on a distinguished road
Send a message via ICQ to Kylotan Send a message via AIM to Kylotan Send a message via MSN to Kylotan Send a message via Yahoo to Kylotan
You open a TCP connection to the given host and port. Then, you proceed to read data whenever it's available and write it whenever you need to. That much is trivial and there are hundreds of chat client/server pairs implemented in Java out there. When it comes to muds the slightly tricky parts include handling telnet codes and ANSI codes.

Java socket handling will be in any decent Java book, though I expect there are more than enough examples online anyway. Telnet handling is described in the relevant RFCs and ANSI codes are documented across the web too.
Kylotan is offline   Reply With Quote
Old 10-21-2004, 11:17 PM   #7
Almondine War
Member
 
Join Date: Jan 2003
Location: Louisiana, United States
Posts: 33
Almondine War is on a distinguished road
Send a message via AIM to Almondine War Send a message via Yahoo to Almondine War
Earlier today, I withdrew from the school I went to--I no longer have a Java class, so it would be rather pointless to do this as an assignment.

But this also means that I now have almost an infinite amount of time to do this, and would welcome any tips.
Almondine War is offline   Reply With Quote
Reply


Thread Tools


A Java Problem - Similar Threads
Thread Thread Starter Forum Replies Last Post
obj_to_room problem Samson MUD Coding 4 05-10-2004 11:27 PM
Same problem Nostrum Newbie Help 3 09-19-2002 08:52 AM
Problem with sprintf Enziet MUD Coding 1 07-18-2002 07:50 PM
Code Problem Keljorian MUD Coding 1 06-01-2002 11:11 PM
Gotta problem with an ex-coder Keljorian Legal Issues 6 05-03-2002 08:46 AM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 02:24 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022