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 » Code » Archived Posts (~2008)
Archived Posts (~2008) [message #4] Sun, 15 March 2015 20:34 Go to next message
Karak is currently offline  Karak
Messages: 489
Registered: March 2015
Location: Seattle, WA
Senior Member
Wheelmud
Archived Conversations: Initial CodePlex Posts

Archival Notes: The idea and name of WheelMUD pre-dates these posts, but these are the oldest archived posts that I have at hand, which refer to the C# reincarnation of WheelMUD. At this time, the project was becoming housed on CodePlex. Over time, the project migrated to stand-alone servers managed by Hector. As of today (March 2015) those servers are being retired, and we are in the process of moving resources to new homes (like Github, and forums Here at muds.gamedev.com).

These threads originate from prior WheelMUD discussions archives. Many of them, where particularly interesting or still relevant, have been migrated here to preserve the contents.


Post by HectorSosaJr (Nov 28, 2007):
Finally got the code uploaded. Sure took a while to do that. Razz
Next step... Visual Studio 2008! Yeah, that's it, that's the ticket.

Post by HectorSosaJr (Nov 28, 2007):
I just checked the code that I just checked in. It compiles!
Let her rip!
Re: Archived Posts (~2008) [message #5 is a reply to message #4] Sun, 15 March 2015 20:35 Go to previous messageGo to next message
Karak is currently offline  Karak
Messages: 489
Registered: March 2015
Location: Seattle, WA
Senior Member
Wheelmud
Conversations: Admin Console

These threads originate from prior WheelMUD discussions archives. Many of them, where particularly interesting or still relevant, have been migrated here to preserve the contents.

Post by HectorSosaJr (Jan 15, 2008):
I've been looking for protocols for the admin server for WheelMUD. Tonight I stumbled on http://jayrock.berlios.de - Jayrock, a JSON and JSON-RPC open source project. JSON is a much simpler data format than XML. This also means that the data going across the wire will be more compact. The thing that sold me, is that Jayrock has built-in serializers/translators to/from objects. This sort of translation takes a huge amount of work. I know, because I implemented the whole XML-RPC stack (including a primitive web server) in VB6.
I wanted to get this part of WheelMUD going early in this implementation, so that we can have a remote admin GUI.

Post by foxedup (Jan 17, 2008):
I don't mind moving away from the standard MS approach at all, but what benefits will using this framework give us over WCF, plain old web services or remoting?

Post by HectorSosaJr (Jan 17, 2008):
The biggest benefit is ease of maintenance. WCF, SOAP (web services), and Remoting have a LOT of moving parts that make them harder to maintain after the initial coding spurt. I'm currently adding new web services to an app at work, and the amount of work for any change is astronomical compared to simpler stuff like XML-RPC or JSON-RPC. JSON is very big in the AJAX/JavaScript sphere, so this is one of those good things to have in your toolbox for marketability.
I'm not opposed to somebody coding additional remote procedural call (RPC) systems into WM. I'm just not going to do it personally at this time. ;)

Post by HectorSosaJr (Jan 24, 2008):
I saw a very simple implementation of JSON-RPC over a telnet socket over here:
http://groups.google.com/group/jayrock/browse_thread/thread/ 05cc541a115faddb/a22359e53471525a#a22359e53471525a
I'm going to see if I can implement this using the IServer interface.

Post by HectorSosaJr (Feb 5, 2008):
Ok, I have a couple questions about the admin console...
1) Do we want to make it part of the current solution, or create a new separate project for it somewhere?
2) What technology do we want to use for it? MMC 3.0 or a custom VS-like app?
I got enough on the server side done, that I can now start creating this admin console for us.

Post by foxedup (Feb 5, 2008):
I would prefer to see a custom winforms app. I dunno what it is, but MMC always leaves me feeling as if it is lacking something.
One question I do have...is the RPC stuff gonna be able to receive the messages that are currently pumped out of the app?

Post by HectorSosaJr (Feb 5, 2008):
Roger on the winform app. I'll try to make it as VS-like as possible. Smile You still didn't answer the question about this being part of the main WM solution or not? Razz
Yup, we can output anything that can be serialized to text. Normally, RPC stuff is stateless, but I'm planning on leaving the connection open until it is closed by a request from the admin console. This will allow us to update the admin console in real-time if we want.

Post by foxedup (Feb 5, 2008):
I think its fine to be part of the main app for now. If the project(s) gets too unwieldly later we can chop them out.

Post by HectorSosaJr (Feb 6, 2008):
Alright, I found an open sourced docking suite here:
http://sourceforge.net/projects/dockpanelsuite/
This should help me to make a Visual Studio like UI.

Post by foxedup (Feb 6, 2008):
This control looks nicer imo
http://www.digitalrune.com/Products/DockingWindows/Overview/ tabid/481/language/en-US/lang/en-US/default.aspx
and it is still free for non commercial use.
They also have what looks like a nice script editor (syntax highlighting etc) which could work a treat for us.
I have also emailed a couple of the bigger component companies asking them whether they would like to provide licenses for an OS project. I'll see what they say Smile

Post by HectorSosaJr (Feb 6, 2008):
Good find! I'm especially happy about the text editor control. I'll take a gander this weekend.
Re: Archived Posts (~2008) [message #6 is a reply to message #5] Sun, 15 March 2015 20:35 Go to previous message
Karak is currently offline  Karak
Messages: 489
Registered: March 2015
Location: Seattle, WA
Senior Member
Wheelmud
Conversations: Code: IoC

These threads originate from prior WheelMUD discussions archives. Many of them, where particularly interesting or still relevant, have been migrated here to preserve the contents.

Post by HectorSosaJr (Feb 20, 2008):
I found this excellent IoC tutorial in a blog post I found in one of those aggregated .NET rss feeds. This is a very simplified example, but it sure helped me understand this concept. It took me 3 times reading it, before I got my "Aha!" moment. Here's the link:
http://weblogs.asp.net/sfeldman/archive/2008/02/14/understan ding-ioc-container.aspx

Post by foxedup (Feb 20, 2008):
Good timing as ms released a ctp of their new IoC framework a few days ago...
http://www.codeplex.com/unity

Post by HectorSosaJr (Feb 20, 2008):
Yeah, I saw that on http://www.dotnetkicks.com yesterday. Larkware News used to give daily .NET news. Unfortunately it closed at the beginning of this year, so now I get my news from DotNetKicks. Lots of interesting links that's for sure.
I read about Unity, but I wasn't able to understand what they were doing, since I didn't understand the concept behind IoC. Now that I do, I'm going to check out the most common containers out there. Smile

Post by foxedup (Feb 21, 2008):
I do actually have a subset of the WM framework implemented using IoC principles and Spring.net as a container if you are interested in it. Its very rough around the edges as it was my "learning tool" for spring.net but you are welcome to the code.

Post by HectorSosaJr (Feb 21, 2008):
I was thinking that IoC would help us immensely. That would sure help cut down on the tight coupling that we have right now between the major systems.
So, why did you choose Spring.NET? And, yes, I would love to see your test code.
From my point of view, let's use the framework that has the least dependencies and is also simple (relatively speaking) to setup and use. I'm aware of the major ones:
* Unity
* Windsor
* Spring.NET
* StructureMap
* ObjectBuilder
* Autofac

Post by foxedup (Feb 21, 2008):
The reason I chose spring was because my place of work at the time had a java team that used spring (one of them was a contributor), so i had access to technical support Smile
I haven't used any of the other frameworks out there so cant really comment on them.

Post by HectorSosaJr (Feb 21, 2008):
Well, now I can see why Spring.NET is so popular. It really has the best documentation of all the frameworks that I have tried. I haven't looked at Unity that close yet, but I'm already quite convinced that Spring is it. I never really like Enterprise Library (EntLib) that much. I worked with it when I was working at Avanade. They added a boatload of stuff to EntLib. Bloatware!
It just occurred to me, that the new CoreManager is acting as a partial IoC/DI container. I didn't realize that our main systems were actually quite decoupled already. That's good news! Smile
We should convert to Spring.NET after we do our first source release.
Goto Forum:
  


Current Time: Mon Oct 16 17:46:42 PDT 2017