Login | Register  
ForumsMinimize
Subject: Bug Found and Fixed
Prev Next
You are not authorized to post a reply.

AuthorMessages
MikeUser is Offline
Peasant
Peasant
Posts:1

Send PM

12/13/2007 11:43 AM  

Hi all,

I recently downloaded WheelMUD and after compiling, running, and connecting to the game noticed that you cannot use an exit without the game crashing. I found the problem, some simple typos in RoomFacade.cs:

Fix 1: Right after Line 40 in RoomFacade.cs you have to clear your string builder object:
sb = new StringBuilder();

Fix 2: When building your query for exit B you need to replace the line:
qexitB.WHERE(Exit.Columns.ExitRoomAID, id);
With:
qexitB.WHERE(Exit.Columns.ExitRoomBID, id);

Fix 3: When executing your data read to read exit b replace the line:
DataSet ds = qexitA.ExecuteDataSet();
With:
ds = qexitB.ExecuteDataSet();

After that you can rebuild and play the game.

FastalanasaUser is Offline
Grumpy Half-Elf

Posts:86

Looking over your shoulder!
http://www.wheelmud.net
Send PM

12/17/2007 12:58 PM  
Mike,

Thanks a bunch!

There's a lot of stuff that is not working at the moment. My biggest problem is finding time for WM. I'll add this fix when I find time to add it.

Again, thanks for your bug fix!
FastalanasaUser is Offline
Grumpy Half-Elf

Posts:86

Looking over your shoulder!
http://www.wheelmud.net
Send PM

12/18/2007 9:57 PM  
Alright, I added the bug fix to the code up in CodePlex.

Thanks!
You are not authorized to post a reply.
Forums > WheelMUD > Bug Reports > Bug Found and Fixed



ActiveForums 3.7
Copyright 2007-2008 by WheelMUD  | Terms Of Use | Privacy Statement