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, confirm your email, resolve issues, 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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Dawn of Time ➜ Configuration ➜ small Error in Code

small Error in Code

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


Posted by Xavaier   USA  (26 posts)  Bio
Date Tue 04 Jun 2002 02:28 AM (UTC)
Message
...
Newbielock Enable does not work. This is no more than a minor aggrovation and can be very easily fixed.

in gameedit.cpp locate
void do_newbielock(char_data *ch, char *argument)

There will be 2 instances of
if(!str_cmp("disable", argument)){

change the second instance to:
if(!str_cmp("enable", argument)){

and taadaaa, it's fixed.
Top

Posted by Kalahn   United Kingdom  (138 posts)  Bio
Date Reply #1 on Tue 04 Jun 2002 08:20 AM (UTC)
Message
Thanks for that, I will fix it for 1.69r when I start coding again.

I normally use a creation password instead of newbie locking since those who know the password can still create. Also if you do want to newbie lock, you can by setting the newbie_locked gameedit flag (type flag newbie_locked while in gameedit).

- Kal

Kalahn
Developer of the Dawn of Time codebase
http://www.dawnoftime.org/
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.


14,041 views.

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

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