Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - cecilkilmer

Pages: [1] 2
General / Re: effective hit rate
« on: September 20, 2007, 09:33:43 pm »
I'd say you could probably start out with a base hit rate of 50% (with 0 skills, but fighting someone the same as you), but obviously damage would be lower.  Then allow up to a maximum of 90% hit rate, with maximum skills against a weaker opponent (you can have the scale where 90% maxes out at someone 3/4's your level, but lower than that still has a 90% hit rate, so people still can miss :)), and a minimum hit rate of 10% (for people with 0 skill fighting someone much bigger, etc).

Then, you could make the hit % scale based on all the factors at whatever rate you wanted, but people would still feel good about hitting decently.  You could also use the weapon skill as a factor in damage (IE: how likely you are to do full damage with the weapon).

Drivers / Re: Compiling MudOS on gentoo?
« on: July 30, 2007, 07:33:44 pm »
Actually, even with the DS version, I get that error when compiling the DS version of MudOS (on both Ubuntu and Gentoo), but I just tell it to make again and it continues on just fine.  I wouldn't worry too much about it.



Reading specs from /root/bin/../lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

I find this quite strange that it's not using the native version of gcc but a version which has been installed to the /root directory.  Something tells me your driver is not getting compiled right.  I also notice that you're compiling it for a 64 bit processor, which is another variable that many of us may not be dealing with.

If you are an administrator on the server you may want to see about installing a more recent version of gcc (yours appears to be from April of 2006) and install it in the proper location, not inside the root folder.  On another note, if you are an administrator of the server you are trying to run this on, you don't need to compile all of this as root.  You can (and should) compile and then run this as a user, the reason being to not give the MudOS driver root permissions when running.

Out of curiosity, what version of what distro linux are you running (also, uname -a to tell us which kernel version you're might help)?

What version gcc?  (gcc -v will spit out some useful information).  Also, I think you do, but can you confirm you have bison installed (bison --version)?

You did do a ./configure before make, and then make-install when compiling the driver, right?  This seems like  something in the driver didn't compile properly.  Try recompiling the driver and running startmud again.  You don't need the address server running, and the address server is definitely not causing these problems. :)

Make sure you do a make clean first, then ./configure, then make -j 1, then make install.

The -j 1 will tell it to only compile 1 object at a time, to make sure things go smoothly.

Dead Souls Support / Re: Going Net Dead after 10 minutes idle time
« on: July 21, 2007, 09:36:15 pm »
So I've been running most of the evening without myself using the host name or my friend getting dropped with just a minor tweak.  Anyone else in the situation can fix the dropping (provided it's after being idle for over 10 minutes of inactivity or what not), by editing /lib/user/autosave.c:

Comment out the if conditional on line 87 (if you comment out the opening brace, make sure to comment out the matching brace on line 89).

This will cause creators and characters with a visitor's pass to see the "Autosaving" message every 7.5 minutes, which should keep the connection from timing out.

Dead Souls Support / Re: Color SetShort + plural english
« on: July 21, 2007, 08:48:54 pm »
That's not a good work around, because you'd have to leave the %^RESET%^ off of the short name, so you'll get bleed-through color anytime it's a single object (and extra %^RESET%^'s on strings that don't need them).  I'll take a look into this, along with the bug of strings starting with a color trying to capitalize the % character. :)

Dead Souls Support / Re: Color SetShort + plural english
« on: July 21, 2007, 06:45:48 pm »
I would have to agree with Tricky on this one.  Specifically, it's looking at the last 2 characters of the string for "ff" or "fe", but it's not finding those, probably because your short ends with "%^RESET%^" so the last 2 characters it sees are "%^" and falls through to the default pluralize case of just tacking on an s to the string (I'm betting the pluralized version you're seeing doesn't have the 's' colored like the rest of the word?

Tricky is correct that to fix it, you will need to remove colors for processing the string, pluralize it, then tack the codes back on.  I'll note this down as an issue to look into fixing for myself and email a patch to Crat.

Dead Souls Support / Re: Going Net Dead after 10 minutes idle time
« on: July 21, 2007, 04:49:50 pm »
Are you experiencing the same problems when using a SHH(2) connection from outside to the mudserver ?

Not sure, I don't stay connected more than 10 minutes because I connect from work only. :)

I've been connected now for almost 2.5 hours from the other computer inside my LAN making sure to use the internal IP address to connect, so it appears to also be a problem with Comcast on my end or my router (although my Linksys WRT54g v8 doesn't have any options to change that, so I'm going to say Comcast just because I don't really like them anyway). :)

At least that mystery is solved now for me.

Dead Souls Support / Re: Going Net Dead after 10 minutes idle time
« on: July 21, 2007, 02:42:07 pm »
I'm using cable.

And wow Cratylus, just further goes to show how crappy Comcast's customer service is.

Dead Souls Support / Re: Going Net Dead after 10 minutes idle time
« on: July 21, 2007, 02:33:55 pm »
Yes, I do have comcast as well for my ISP.  The connections are being dropped from outside my LAN.  Current network configuration is my linux laptop set up in the router as DMZ, so all traffic is being forwarded to it.  I did re-install Ubuntu 6.06 server since I ruled out the distro being the cause (Gentoo gets to be a pain anyway in management :)).

I thought even telnetting within the LAN was causing the drops, but I just realized that it was coming from the outside because my reported IP when connecting that way was my external router's IP, not the LAN address.  I'm trying again by connecting via the local IP instead of the domain name and I'll see if I get dropped that way and report back (need to run out for awhile, so a 3 hour connection test should be good enough). :)

If I'm still getting dropped while connecting via the LAN IP address, then yeah, I guess I'll have to chalk it up to the laptop's ethernet (it is going through the docking station, and it is an older laptop, P3 650 MHz).

I'll report back my findings when I return later this afternoon.

Dead Souls Support / Re: Going Net Dead after 10 minutes idle time
« on: July 20, 2007, 10:22:33 pm »
Well, I just stay connected for 1h 40 mins by using the pinger object found in the chest in the workroom, so I think I'll code something like that into the main player / creator objects to keep people from being booted. :)

Dead Souls Support / Re: Going Net Dead after 10 minutes idle time
« on: July 20, 2007, 08:43:23 pm »
So I finished installing Gentoo and no luck there either.  For some reason, outside connections keep getting dropped (not sure what the cause is at all, I'm completely in the dark).  If anyone has an thoughts or insight, please let me know. :)

Dead Souls Support / Re: Any interest in code cleanup?
« on: July 20, 2007, 01:41:32 pm »
My guess would be that Cratylus is doing it via live update for several reasons:

- Allows people without shell access to the server the mud is running on to update easily
- Allows people who don't understand much about code management like subversion to update their lib files (especially if they're more or less just creating content instead of modifying much of core lib files).
- Allows people to update without having to go out to a different program
- live update can force a reload of all updated files and reboot the mud if necessary

With that being said, I agree that it might be nice to have a SVN repository set up that everyone could do a check out from for those of us who would like to update the core lib files some more to our liking.  Since you want to control what gets added, I definitely think it'd be a good idea to not allow anyone but yourself commit access, but allowing check outs should be fine I would think.

Dead Souls Support / Re: Going Net Dead after 10 minutes idle time
« on: July 20, 2007, 09:00:37 am »
Well, even after reboot of the server with still 60% memory free, I went net dead after ~23 minutes, so since I really hadn't set much up on the server (and it's Ubuntu, I can get back to where it was in about 90 minutes worth of work), I decided to try a different distro and see if it was Ubuntu itself that was punting me.  :)  I'll post back with more results some time this weekend once I get MudOS back up and running on the new distro.

Oh, I also tried recompiling the driver just to make sure that wasn't it, but that didn't change anything either.

I'll post updates as I have them. :)

Pages: [1] 2