The original code base has not been released to the public, so I can not provide a link to it. How ever it will compile fine, I am just screwing some thing up in my code trying to make a dystopia 1.01 mud work in dystopia 2. And that is my modified code.
Is that the original codebase, or your modified version?
What I'm trying to get is the original codebase that you are working off of. I am a little surprised that somebody would release a codebase that simply won't compile, and not due to some obscure reason or due to a compiler upgrade; the error you're seeing is an extremely basic one. It's treating something as an array when it is not an array.
Basically, I'm trying to establish if this was a problem with the original codebase, or if it's something you changed. If it's something you changed, the next questions are: why? can you change it back?
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
Amended on Thu 03 Dec 2009 02:11 AM (UTC) by Dextermovies
Message
Well I am basing this code off of tbw, I am making it into a dystopia 2 mud, I was going to add several commands to the db then release the source for the dystopia I had modified. Here is a link to my dystopia 2 code, do not once you fix this issue, savefdb and loadfdb both crash the server .. I Am not to sure why right now. http://www30.zippyshare.com/v/61185731/file.html
To fix this, you'd need to make stats an array, but figuring out why it's not an array in the first place is probably pretty important... basically, that code could never possibly work, so we might be trying to "fix" code that is simply wrong through and through.
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
Amended on Tue 01 Dec 2009 05:33 PM (UTC) by Dextermovies
Message
Yes it works in other places, After adding the x I now get This
act_wiz.c: In function ‘do_form’:
act_wiz.c:2018: error: subscripted value is neither array nor pointer
act_wiz.c:2024: warning: implicit declaration of function ‘stc’
act_wiz.c:2027: warning: implicit declaration of function ‘xREMOVE_BIT’
act_wiz.c:2028: error: subscripted value is neither array nor pointer
act_wiz.c:2031: warning: implicit declaration of function ‘set_pc_name’
act_wiz.c:2040: warning: implicit declaration of function ‘xSET_BIT’
act_wiz.c:2041: error: subscripted value is neither array nor pointer
act_wiz.c:2045: warning: implicit declaration of function ‘set_enter_room_text’
make: *** [obj/act_wiz.o] Error 1
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.