> char *short_description; /* *--> Notice, I added this. <--* */
So, let's think about this.. you're storing a space equal to the
size of a pointer? That doesn't seem right. If you're using the standard
binary player files, shouldn't you store... you know... like at leeast a
few characters? Say, 20-30 at a bare minimum? Probably more if you've
got people who use color codes like that's the reason people play. I'd
say a round power of two greater than 64 (ie, 128,256, etc).
Look at how titles are setup on players, and limited to a given
length.
Otherwise, you can look at the xapobjs patch and see how you can
store/change everything by using it to convert to ascii objects. You may
wish to futz with it a bit though (and read up about it).
I am so glad to see someone asking for help though, that actually
has a good grasp on code. I'm sure in another 20 seconds you would have
figured it out without help.
PjD
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT