The MUD Development forum.
Game Development Discussion, Chat, Technical Debate, and people who just love games talking about building worlds.

Home » Hosted Mud Projects » Wheelmud » General » Hello(An intro with questions) - WheelMUD - A C# MUD Server - Forums - General - Lounge
Hello(An intro with questions) - WheelMUD - A C# MUD Server - Forums - General - Lounge [message #469] Sun, 22 March 2015 11:47
Karak is currently offline  Karak
Messages: 489
Registered: March 2015
Location: Seattle, WA
Senior Member
Wheelmud
This thread originates from prior WheelMUD forum software archives. It has been migrated here to preserve the contents.

Post by JumpinBean (17 Oct 2012 12:09 PM):
I am currently working on a c# mud based off tiggermud ( a basic telnet server Wink. I am not asking for help nore intiegration or anything like that. I would like to help out but I know a little c# and I learn better, as well as comprehend by doing. Thus I am making the mud for learning purposes, and Iv'e always wanted to say, yeah that is my code base.
How ever wheelmud has alot of the stuff I want in my code base that will mmore then likely take a long time for me to do. So I am asking if I can help you guys and, still work on my mud. I ask as I might want to use any (if I have any) ideas in my mud too but, I do not want you guys to think I am doing to steal code etc as I am not. I acutally looked at the inner workings of wheel mud and got very lost.
Do you guys have a todo list or anything ? I will contribuite what I can, if anything. I mean eventually I will be able to make good stuff ( Hopefully Wink. But at first it will look like poo, as I am just learning.
Now for another question. Code related on my mud.
I have searched and search and can not find an answer for this that I can make work. I have a piece of code that I set at a NetThread = t NewThread ( some thing like that Wink. I then want it to termiate upon clicking the stop button. It calls code from another file and sends the out put to a text box, as I wanted a gui with mine opposed to a console bassed app. I can not figure out how to stop the thread once I open it unless there is no one connected to my mud. And I am unsure how to close all socket connections to the mud first then use the Abort(Wink command.
I hope you do not mind if I seek some help for my mud here, I will not just mooch knowledege I will give what I can boack too.
~Bean

Post by Fastalanasa (17 Oct 2012 04:54 PM):
Hi Bean! Welcome aboard. Laughing
Quote:
Posted By JumpinBean on 17 Oct 2012 12:09 PM
I am currently working on a c# mud based off tiggermud ( a basic telnet server Wink. I am not asking for help nore intiegration or anything like that. I would like to help out but I know a little c# and I learn better, as well as comprehend by doing. Thus I am making the mud for learning purposes, and Iv'e always wanted to say, yeah that is my code base.

Ah yes, good ol TigerMUD. I was sad to see them go. As for seeing your code in a codebase, this is the place to make that happen. Cool
Quote:
Posted By JumpinBean on 17 Oct 2012 12:09 PM How ever wheelmud has alot of the stuff I want in my code base that will more then likely take a long time for me to do. So I am asking if I can help you guys and, still work on my mud. I ask as I might want to use any (if I have any) ideas in my mud too but, I do not want you guys to think I am doing to steal code etc as I am not. I actually looked at the inner workings of wheel mud and got very lost.

Getting lost is actually quite normal when jumping into large code bases. Happens to me quite frequently. <img src=" wheelmud.net/Providers/HtmlEditorProviders/Fck/fckeditor/edi tor/images/smiley/msn/omg_smile.gif "> Just need patience to wade through the stuff that interests you.
Quote:
Posted By JumpinBean on 17 Oct 2012 12:09 PM Do you guys have a todo list or anything ? I will contribute what I can, if anything. I mean eventually I will be able to make good stuff ( Hopefully Wink. But at first it will look like poo, as I am just learning.

Glad you asked! Look at the top right side of the home page, under "Quick Links." There's all kinds of goodness there. We are using JIRA for our user tracker. It is over at http://jira.wheelmud.net I might need to reboot the server that thing is on though.
Everybody's code looks like poo when we first started writing code. I still cringe when I look at code I wrote years ago.
Quote:
Posted By JumpinBean on 17 Oct 2012 12:09 PM
Now for another question. Code related on my mud.
I have searched and search and can not find an answer for this that I can make work. I have a piece of code that I set at a NetThread = t NewThread ( some thing like that Wink. I then want it to terminate upon clicking the stop button. It calls code from another file and sends the out put to a text box, as I wanted a gui with mine opposed to a console based app. I can not figure out how to stop the thread once I open it unless there is no one connected to my mud. And I am unsure how to close all socket connections to the mud first then use the Abort(Wink command.

I will let Karak or anybody else take that one. LOL
Threads are usually async, IIRC, so the Abort(Wink will not terminate them immediately.
Quote:
Posted By JumpinBean on 17 Oct 2012 12:09 PM
I hope you do not mind if I seek some help for my mud here, I will not just mooch knowledge I will give what I can back too.

Not at all. In fact, most of the advances happen when one of us goes off and start tinkering with our own MUDs. I just created a code branch for my own MUD, using WheelMUD. I'm calling it "Wolfling's Gambit" It's set in David Brin's Uplift Universe.

Post by JumpinBean (17 Oct 2012 07:20 PM):
Thank you for the reply Smile

Post by Fastalanasa (18 Oct 2012 11:06 AM):
One is glad to be of service. Smile

Post by Karak (18 Oct 2012 02:04 PM):
Welcome.

One should be careful with thread aborts. Ideally, one shouldn't use them at all, but this goal is often unreasonable or unpractical.

The first question I have is, is a stop button really needed? If the only reason to stop the server is for shutdown, then I would focus on clean exiting of the server app instead of being able to start/stop subsystems at will. The latter may be needed if the codebase is to support updating of subsystems to new compiled versions without actually restarting the whole server app (as WheelMUD will). Marking certain threads appropriately as background threads may help w/shutdown if starting/stopping on the fly is not needed. Other cleanup strategies would depend on how the sockets are being used - are you talking about threads which are potentially on blocking calls (potentially blocking forever) while waiting to receive the next block of client data? More context is probably needed.

Post by JumpinBean (18 Oct 2012 06:13 PM):
Ahh, thank you. Now that I think about it there truly is no need for the stop button. So I will remove it and put in a copy over command.
Previous Topic: Build Failure - WheelMUD - A C# MUD Server - Forums - WheelMUD - Setup
Next Topic: Startup isse - WheelMUD - A C# MUD Server - Forums - WheelMUD - Setup
Goto Forum:
  


Current Time: Thu Dec 13 10:30:41 PST 2018