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
➜ SMAUG
➜ SMAUG coding
➜ Area resets
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Ellie
(4 posts) Bio
|
Date
| Sat 15 Nov 2003 05:29 AM (UTC) |
Message
| I seem to be having a problem with my mobs reloading. I have the resets in the way I want them, and the mobs will load after a reboot, but not after the allotted time has passed for them to revive. The reset frequency is set at 5 minutes, but 20 minutes and more later (with no one in the area) there are still no mobs. I'm not getting any errors, they're just not showing back up after they've been killed the first time. Any thoughts? | Top |
|
Posted by
| Greven
Canada (835 posts) Bio
|
Date
| Reply #1 on Sat 15 Nov 2003 06:13 AM (UTC) |
Message
| What codebase are you using? With my SWR, it had alot of issues with resets. Couple things that I can think of: It is getting repoped, but moving before you can see it. Another is that the reset is not happening at all, and the reset frequency is screwy. You might be able to narrow the problem down if you are get the reset message, if so, then the reset is happening, and you can narrow your search. Have you done any code changes to resets? If so, you might wanna look there. Any extra information would be great. You can also check your logs to see if the reset is being done. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #2 on Sat 15 Nov 2003 06:39 AM (UTC) |
Message
| I've found that if you're resetting the same mob vnum in two different places, it doesn't always do it. It seems to count the amount of mobs of that vnum that are alive, and if that's above the max number in that room, it doesn't spawn new ones.
We had this problem on my MUD when trying to have gate guards that spawned two at a time at two separate locations. They would spawn properly the first time, and there would be four. We would then kill both at one gate, and then there would be two left in total. However, they never repopped at the first gate (the one where we killed them) until we killed the ones at the other as well. We ended up just using two sets of vnums: "gateguard1" and "gatehuard2". |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Losk
Canada (1 post) Bio
|
Date
| Reply #3 on Sat 15 Nov 2003 11:21 PM (UTC) |
Message
| For the guard house example. One possible explanation is that the limits were not set high enough in one or both rooms. If you added 2 guards into one room and did instaroom, then 2 to the other room and did another instaroom, the limits would no longer bet set correctly in the first room. When the area would reset it would check and see there were still 2 gate guards at the other gate(I believe it checks throughout the entire mud, as it looks at the number from the mob index data), and that would cause the first gates' guards not to respawn. I apologize if I am just stating the obvious here. | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #4 on Wed 19 Nov 2003 05:02 AM (UTC) |
Message
| You probably need to state which version of SMAUG you are using. I have a vague recollection that areas don't reset if no-one is in them, but might be wrong. :) |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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,065 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top