[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUDs ➜ General ➜ Error Compiling Act_wiz.c, (fixed)

Error Compiling Act_wiz.c, (fixed)

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by Dextermovies   (65 posts)  Bio
Date Reply #15 on Wed 02 Dec 2009 11:08 PM (UTC)
Message
I obtained it from Kayosuke.
So how might I go about fixing this code ?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #16 on Wed 02 Dec 2009 11:40 PM (UTC)
Message
Do you have a download link?

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

http://david.the-haleys.org
Top

Posted by Dextermovies   (65 posts)  Bio
Date Reply #17 on Thu 03 Dec 2009 02:10 AM (UTC)

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
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #18 on Thu 03 Dec 2009 03:43 AM (UTC)
Message
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

http://david.the-haleys.org
Top

Posted by Dextermovies   (65 posts)  Bio
Date Reply #19 on Thu 03 Dec 2009 06:49 AM (UTC)
Message
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.
Top

Posted by Dextermovies   (65 posts)  Bio
Date Reply #20 on Thu 03 Dec 2009 01:24 PM (UTC)

Amended on Thu 03 Dec 2009 05:22 PM (UTC) by Dextermovies

Message
I added [60] to the int stats ... it now works :D thank you guys so much for your support :D
Top

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.


57,616 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]