Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Google, Yandex, Remcon

Members: 1
Guests: 14
Stats
Files
Topics
Posts
Members
Newest Member
481
3,735
19,370
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Areas don't reset properly FIX
Forum Rules | Mark all | Recent Posts

Areas don't reset properly FIX
< Newer Topic :: Older Topic > Fix does not work in reset snippet

Pages:<< prev 1 next >>
Post is unread #1 Jul 25, 2008, 7:51 pm
Go to the top of the page
Go to the bottom of the page

The_Fury
Fledgling
GroupMembers
Posts47
JoinedJun 1, 2008

The fix that you provided does not seem to work for users of the reset snippet fix. It is correct that its not being correctly initialized, Area age seems to be default to 15 and if you have a reset time greater than that the area does not reset. I know i posted one way to fix it a while back which was to make the age 60, since then i have changed what i did and in the function load_resetfreq added the following line
AFTER
tarea->reset_frequency = fread_number( fp );

ADD
tarea->age = tarea->reset_frequency;


By making the area age the same as the reset frequency at boot up, the area is reset and works as intended. The other fix as supplied by Remcon does not work on my version of smaug, which uses the reset fix snippet by Samson thats posted on this site. I don't know what exactly is different other than i do not have a function called update_room_reset. This might be the reason why its not resetting the area. Dont know really.
       
Post is unread #2 Jul 25, 2008, 8:15 pm
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

The fix posted here is a FUSS Fix, If you're not using a FUSS base, or You're missing a bugfix somewhere, there's a good chance that the fixes won't work exactly for you. I'm not sure if there's a difference between FUSS resets and the ones in the snippet you used, but FUSS Resets have that function. I've noted the other issue in your post and have made note to investigate it.
       
Post is unread #3 Jul 25, 2008, 9:19 pm   Last edited Jul 25, 2008, 9:26 pm by Kayle
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

After investigating your claims, I've found that SmaugFUSS does not suffer from the problem you've described. Our area loading already sets the age to the reset frequency of the area on load.

[Edit:] Also, if you could, please try to validate your bugs before posting them as per these instructions. Thanks. :)
       
Post is unread #4 Jul 25, 2008, 9:34 pm
Go to the top of the page
Go to the bottom of the page

The_Fury
Fledgling
GroupMembers
Posts47
JoinedJun 1, 2008

Yeah i forget at times that my fuss is years old and missing many of the changes that have been made to later versions. I think the best way to describe it is to quote samson and thats "Hacked Frankenstien Bases" hehe
       
Post is unread #5 Jul 25, 2008, 9:42 pm
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts903
JoinedJan 29, 2007

Maybe when reporting bugs on the base tree, the better thing to do would be to verify on the base tree first. :wink:
       
Post is unread #6 Jul 26, 2008, 4:30 pm
Go to the top of the page
Go to the bottom of the page

Conner
Sorcerer
GroupMembers
Posts870
JoinedMay 8, 2005

I believe that Kayle had already told him that some 12 minutes before your post, David. :wink:
       
Post is unread #7 Jul 26, 2008, 5:33 pm
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts903
JoinedJan 29, 2007

Meh, that's what happens when you go by the RSS feed's text and don't see edits...
       
Post is unread #8 Jul 26, 2008, 6:12 pm
Go to the top of the page
Go to the bottom of the page

The_Fury
Fledgling
GroupMembers
Posts47
JoinedJun 1, 2008

I guess my english is not so good huh, firstly i did not say that this was a bug in latest fuss, i did say that the fix outlined for fuss did not work for the reset snippet fix. infact it was my first sentence. i at no time ever mentioned anything other than the reset snippet as applied to older fuss versions. the snippet contains bugs and i know im not the only person out there with an archaic fuss that has various fixes applied to it, nor am i the only person who looks here for bugs and the fixes to them. I have assumed that the reset snippet and the resets in current fuss are very similar if not exact copies of each other.

Thanks anyway, i will go back to lurking and not contributing,

Enjoy.


       
Post is unread #9 Jul 26, 2008, 11:42 pm   Last edited Jul 26, 2008, 11:44 pm by Kayle
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

The snippet hasn't been updated in a long time. And if this was all in regards to the snippet then this thread is in the wrong forum. As there is a snippets forum, that posts for snippets should be made in.

[Edit:] I think this is a perfect example of why assumptions are never a good thing.
       
Post is unread #10 Jul 26, 2008, 11:46 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

That being said, this post has been moved to the appropriate forum.
       
Post is unread #11 Jul 27, 2008, 12:02 am
Go to the top of the page
Go to the bottom of the page

Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,195
JoinedMar 21, 2006

I knew I forgot something.. damn these cold pills...
       
Post is unread #12 Jul 27, 2008, 3:54 pm
Go to the top of the page
Go to the bottom of the page

Conner
Sorcerer
GroupMembers
Posts870
JoinedMay 8, 2005

Samson said:

That being said, this post has been moved to the appropriate forum.

Yay Samson! :biggrin:
       
Pages:<< prev 1 next >>