I have managed to get my character generation done in C so far (still learning Python). However, I have an issue I am not sure how to solve. Here is an...
hello, here's what I would do (maybe this will help) make a list for each race, and store the classes in it. So, you would have a list for human_classes, etc. ...
Tyler Littlefield
tyler@...
May 4, 2009 1:55 pm
1632
The gnome_ok twice in the first function was a typo. I might look into the idea of having multiple lists with the classes of each reace. It will be quite a...
well, you could do something like what you have, with a hashtable with the race name, and a pointer to a list with the available classes Thanks, Tyler...
In terms of "thinking in NakedMud" and following Geoff's design paradigms, this would probably be the best way to go about it. Or something similar to this at...
Jaden Cheetah
cheespresso@...
May 4, 2009 5:28 pm
1636
Hello, I wrote the following code, was wondering if someone would mind taking a look, comments would be great. I just got done proofing it, fixing my typos...
Tyler Littlefield
tyler@...
May 8, 2009 3:18 am
1637
Nothing is standing out to me. Looks good. -J ... weap->dependencies=gen_read_list(read_list(set,"dependencies"),readDependency)> ;...
Jaden Cheetah
cheespresso@...
May 8, 2009 9:39 pm
1638
awesome, thanks! Thanks, Tyler Littlefield Web: tysdomain.com email: tyler@... My programs don't have bugs, they're called randomly added features. ...
Tyler Littlefield
tyler@...
May 8, 2009 9:53 pm
1639
Of course I say that and notice you don¹t have a #include for ../list.h. Heh. You might want that since you call newList(). ... Re: [nakedmud] code check,...
Jaden Cheetah
cheespresso@...
May 8, 2009 10:05 pm
1640
doesn't mud.h include list.h? Thanks, Tyler Littlefield Web: tysdomain.com email: tyler@... My programs don't have bugs, they're called randomly...
Tyler Littlefield
tyler@...
May 8, 2009 10:07 pm
1641
Well, sure. If you want to trust in some other file to include it. :P -J ... Re: [nakedmud] code check, please? Well, sure. If you want to trust in some other...
Jaden Cheetah
cheespresso@...
May 8, 2009 10:15 pm
1642
Hello, I'm not looking at colde right now; just running a quick question before I have to run, I need to pass PyObjects to the python dictionary for my skills...
Tyler Littlefield
tyler@...
May 10, 2009 4:30 pm
1643
For some reason, I'm unable to use getters/setters on mobs... Any ideas why? Here's the code: #include <Python.h> //mud includes: #include "../mud.h" #include...
Tyler Littlefield
tyler@...
May 14, 2009 12:27 pm
1644
Hello, I was wondering if anyone has had any luck with this. I come from godwars, and I really like the idea of techs, because it makes combat more...
Tyler Littlefield
tyler@...
May 14, 2009 5:21 pm
1645
Hello group! I ma having some issues figuring out how to make this work correctly. Here is a break down and code follows later. I have a stats module which...
hello, what you have to do is put the struct in a header file, then return a pointer to that from getAuxiliaryData. Thanks, Tyler Littlefield Web:...
Tyler Littlefield
tyler@...
May 15, 2009 6:00 pm
1647
I apologize. My brain just isn't functioning. Let's see if I get this straight. I need to put the struct in stats.h and then include stats.h in char_gen.c?...
Dereferencing pointer to incomplete type means that whatever code is throwing that error doesn't have it's type defined. Especially with structs, if you define...
I have the following: typedef struct stat_data{ int iq; int me; int ma; int ps; int pp; int pe; int pb; int spd; } STAT_DATA; I know that the STAT_DATA *stats...
Hi, can anyone post any advice or a quick tutorial on using the dialog module. I'm having trouble getting it going. I made a dialog. Added it to a mob:...
Alright, so I've run into a couple instances where word wrapping has caused me a bit of a pain. I remember on a (far) previous version of Nakedmud I had...
hello, why not use things like \n,\t,etc? I believe that's what your asking. If NM doesn't mangle descs, you should be clear to just put in space where ever...
Tyler Littlefield
tyler@...
Jun 1, 2009 9:22 pm
1653
Because if you use \n to throw in to force a newline it causes double-spacing so you end up with a blank line before the next line which makes formatting...
ok, I wasn't aware of that. My login looks ok, so I guess it doesn't mangle that file, whihch is why I asked about that. Thanks, Tyler Littlefield Web:...
Tyler Littlefield
tyler@...
Jun 1, 2009 10:05 pm
1655
Yes, the login screen is just an output of the text file to the screen, things in the game like room descriptions, object descriptions, help files, etc. are...
MMM, are they going to help the blind kid see the pics? Thanks, Tyler Littlefield Web: tysdomain.com email: tyler@... My programs don't have bugs,...
Tyler Littlefield
tyler@...
Jun 5, 2009 8:12 pm
1658
I have a feeling that you are just slightly outside of their demographic. They need to set up a descriptive section just for you. Are you ready for some hot...
hmm, yeah, though some big 300 pound chick in leather doesn't sound all that hot. i thought of that after I sent the message. Thanks, Tyler Littlefield Web:...