Mailing List
Home
Forum Home
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Flash Racing
MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
Mysql Pfile Conversion Unlimited Bits Reading

Mysql Pfile Conversion Unlimited Bits Reading

2005-01-31       - By CaSpEr7526@(protected)

 Back
Ok...I have the strings saved to the DB as they would be saved to the pfiles
for unlimited bits..
0 256 -1
that sorta thing...now i'm trying to read them back and set them on the player
from the DB...if you have the exact function and call please reply, if not..
.tell me why this happens..

i made the function str_fread_flag2 and am calling it with STR_COPY_STR(ch->act
, str_fread_flag2(row[29], ACT_FLAGS), ACT_FLAGS);

now, when I call it when the first lines of the function looks like so....
FLAG *str_fread_flag2( char *txt, const int size )
{

       int i = 0;
       int number;
/*        char buf[MSL]; */
       static FLAG flag[MAX_FLAGS];
/*        buf[0] = '\0'; */
in GDB i see it calling the function with
txt = "0 256 -1" size = 2
thats all good...now...when I UNCOMMENT the char buf
and buf[0]...it changes this to garbage

Breakpoint 1, str_fread_flag2 (txt=0xbfffe760 " v", size=13) at bitsys.c:125

Anyone have any clues or need more info....also if you basicly have the same
setup, with the unlimited bits info saving to the database as a string just as
it would to the pfile, and you have a way to read it back clearly...let me see
that too :)

Thanks in advance...
Stephen
--
ROM mailing list
ROM@(protected)
http://www.rom.org/cgi-bin/mailman/listinfo/rom