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 ➜ SMAUG ➜ Running the server ➜ Problem with loading objects on reboot

Problem with loading objects on reboot

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


Posted by Slyone   USA  (19 posts)  Bio
Date Mon 16 Feb 2004 05:14 AM (UTC)
Message
Alright, I'll make an object using ocreate, set every parimiter I can think of with oset, save the area, reboot, but then when I load back up my character, it just says:

[*****] FILE: ../player/s/Slyone LINE: 238
[*****] BUG: Fread_obj: incomplete object.


This happens with ANY object I make. It just deletes it whenever I log on with my character. And it's quite annoying to have to load up areaeditor and make my objects that way every time.

Does anyone know how to fix this??
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 16 Feb 2004 05:59 AM (UTC)
Message
Sounds strange. What version of SMAUG are you using? Can you paste the relevant object from the area file?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Slyone   USA  (19 posts)  Bio
Date Reply #2 on Mon 16 Feb 2004 06:02 AM (UTC)
Message
I'm using 1.4a

And no, I can only get the object back if I make it using area editor. It's totally removed from the mud.
Top

Posted by Robert Powell   Australia  (367 posts)  Bio
Date Reply #3 on Mon 16 Feb 2004 12:29 PM (UTC)
Message
I think i got a simular problem that crashed my mud, created an obj removed the prototype flag and left the obj in my inv, did a reboot and BAM server dies, this had to do with me having an obj thats not in the world and it just didnt like it , this was because the area was still proto in /build and not loaded. I had to manualy edit the player file to allow the server to boot. My fix was simple, dont have non proto items of the area im building in my inv.

Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
Top

Posted by Slyone   USA  (19 posts)  Bio
Date Reply #4 on Mon 16 Feb 2004 07:30 PM (UTC)
Message
but it's a completely finished and installled area... they dissapear being prototypes, or not.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #5 on Mon 16 Feb 2004 08:30 PM (UTC)
Message
There are some posts here about saving things in SMAUG. I forget the details but you need to do foldarea or something like that. Try a search. Check the date on the area file - did it save or not?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Slyone   USA  (19 posts)  Bio
Date Reply #6 on Wed 18 Feb 2004 01:20 AM (UTC)
Message
yes, it says that it was modified yesterday - I save it - and then it says it was modified today. So it's actually saving, but it just doesn't keep my items I make unless I use area editor. (which takes SO much longer)

And I also know about foldarea, and I know all that is working properly.

The items also disappear if I just leave them on the ground. *sighs* They're still totally deleted when I reboot it.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #7 on Wed 18 Feb 2004 01:30 AM (UTC)
Message
I'll try to reproduce it. What version of SMAUG are you using? Is it modified? Can you show here exactly what you type to create the new object?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #8 on Wed 18 Feb 2004 03:08 AM (UTC)

Amended on Wed 18 Feb 2004 04:12 AM (UTC) by Greven

Message
I MIGHT know whats going on, something similiar happened to me when I was doing some building. I wrote an addition to an area, saved it, but the max_room/mob/obj on the area was not set properly. This allowed me to make objects, mobs, and rooms that would disappear because they were not within the areas maxes. Check that, it might be it, because your getting an error that says the vnum doesn't exist (check save.c, I beleive for the actual error).

[EDIT] I beleive that goto/mcreate/ocreate checks that you have an assigned area, and NOT that the vnum is currently inside your area.

[EDIT AGAIN] I tested it by assigning an area, and creating an obj 1 vnum above hi_obj, so out of the area. I removed the prototype, did a foldarea, a copyover, and got this in the log:

Quote:
Tue Feb 17 21:09:15 2004 :: [*****] FILE: ../player/g/Greven LINE: 385
Tue Feb 17 21:09:15 2004 :: [*****] BUG: Fread_obj: bad vnum 31525.
Tue Feb 17 21:09:15 2004 :: [*****] FILE: ../player/g/Greven LINE: 387
Tue Feb 17 21:09:15 2004 :: [*****] BUG: Fread_obj: incomplete object.


So, if thats what your getting, thats likely the problem. SWR ( I assume smaug as well ) will change the hi's and low's of an area to the highest/lowest obj/room/mob. If you assign it vnum 1000-1100, but you only make an object for 1000, then it will change the high to 1000.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #9 on Wed 18 Feb 2004 05:15 AM (UTC)
Message
That's right - see these posts:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=3095

And in particular:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=3660

That discusses how to fix it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Slyone   USA  (19 posts)  Bio
Date Reply #10 on Thu 19 Feb 2004 12:16 AM (UTC)
Message
YES!!! THANK YOU!!!

I increased the object vnum range, and made several objects in the new range... and they actually saved and worked!

Thanks again!!! :)
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.


30,108 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.