Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 Couple bugs
Yesterday, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yahoo!, DotBot

Members: 0
Guests: 14
Stats
Files
Topics
Posts
Members
Newest Member
477
3,705
19,232
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SmaugFUSS » Memory leak w/objs
Forum Rules | Mark all | Recent Posts

Memory leak w/objs
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Aug 3, 2006, 4:03 pm   Last edited Aug 3, 2006, 4:30 pm by Anavel
Go to the top of the page
Go to the bottom of the page

Anavel
Apprentice
GroupMembers
Posts24
JoinedMar 6, 2005

Guess the problem wasn't fixed. Here's the problem; objects created with make_scraps, make_gold, & make_corpse aren't freeing their name/short_desc/description at shutdown.

I've compared my fread_obj, fwrite_obj, and create_obj with SMAUGFUSS and found no difference. I've also compared the make_scraps, make_gold, and make_corpse and found no difference.

Does the MUD load up all pfiles even if they haven't logged on yet? Or is the new object data saved somewhere else other than in the pfiles? The reason I'm asking is because if the character with the objects hasn't logged on yet I still get the hash list at shutdown. Any suggestions?

Len:  14 Lnks:    1 Str: 100 gold coins  <-- in the corpse
Total strings in hash 14: 1
Len:  27 Lnks:    1 Str: the remnants of A camp fire
Total strings in hash 27: 1
Len:  35 Lnks:    1 Str: corpse The horrifying demon monster
Total strings in hash 35: 1
Len:  38 Lnks:    1 Str: the corpse of The horrifying demon monster
Total strings in hash 38: 1
Len:  42 Lnks:    1 Str: The remnants of A camp fire are strewn about.
Total strings in hash 42: 1
Len:  45 Lnks:    1 Str: The corpse of The horrifying demon monster lies here.
Total strings in hash 45: 1


#OBJECT
ShortDescr   the remnants of A camp fire~
Description  The remnants of A camp fire are strewn about.~
Ovnum        19
Timer        6
Values       5 0 0 1 0 0
End

#OBJECT
Ovnum        10400
Level        1
End

#OBJECT
Name         corpse The horrifying demon monster~
ShortDescr   the corpse of The horrifying demon monster~
Description  The corpse of The horrifying demon monster lies here.~
Ovnum        10
Timer        5
Cost         -1300
Values       0 0 5 1 0 0
End

#OBJECT
Nest         1
ShortDescr   100 gold coins~
Ovnum        3
Values       100 0 0 0 0 0
End
       
Pages:<< prev 1 next >>