Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 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
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, Bing, Yahoo!, Google, DotBot

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
477
3,706
19,240
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SWFOTE FUSS » Other annoying bugs (Read all)
Forum Rules | Mark all | Recent Posts

Other annoying bugs (Read all)
< Newer Topic :: Older Topic >

Pages:<< prev 1, 2, 3 next >>
Post is unread #41 Aug 29, 2009, 3:34 pm   Last edited Aug 29, 2009, 3:35 pm by Remcon
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,866
JoinedJul 26, 2005

in space.c
around line 6442
find
      ship->dest = STRALLOC( arg );

change that to
      if( ship->dest )
         STRFREE( ship->dest );
      ship->dest = STRALLOC( arg );

around line 9944
find
      target->dest = STRALLOC( ship->name );

change that to
      if( target->dest )
         STRFREE( target->dest );
      target->dest = STRALLOC( ship->name );

       
Post is unread #42 Aug 29, 2009, 4:05 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,866
JoinedJul 26, 2005

Ok, well unless someone points out some bugs etc... I'm done for the most part.

It will still need a cleanup_memory function added and all to help find more possible leaks. Maybe some runs through valgrind also.

If anyone knows of more bugs feel free to post them for someone to check out.
       
Post is unread #43 Aug 30, 2009, 12:21 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

Well, Now that I'm back from the MudMeet, it looks like I have my work cut out for me. I guess I'll get these added into the release at some point today/tomorrow and get it updated.
       
Post is unread #44 Sep 4, 2009, 9:56 pm
Go to the top of the page
Go to the bottom of the page

Andril
Magician
GroupMembers
Posts147
JoinedJun 9, 2009

Alright, I just finished cleaning up the area files so most of them are no longer loading objects and mobs from other areas to clean up the startup log spam. There are a few objects, primarily boards and packages, that I can't really do much about.

I've redone the area list file so areas load up in vnum order, and everything loads up with no error messages. So, what to do with them? Package everything up in a rar file or something and upload here?
       
Post is unread #45 Sep 4, 2009, 10:08 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

Tarball the fixed up areas and email them to me at <myname>@malevolentwhispers.org.

I'll add them to the official package when I get the bugs in this thread patched up. I got distracted writing a space system from scratch into SmaugFUSS... >.>
       
Post is unread #46 Oct 24, 2011, 8:32 pm
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
JoinedJun 13, 2008

Hate to dig up a rather old thread, however did everything Remcon here post about get patched or ignored for SWFOTEFUSS?
I ask because I was looking at void do_tellsnoop in slicers.c and noticed the current version under the files is still using:
 if( !str_cmp( arg, "clear" ) || !str_cmp( arg, "self" ) )
   {
      send_to_char( "You turn your radio off.\r\n", ch );
      ch->pcdata->tell_snoop = NULL;
      return;
   }

Instead of Remcon's suggestion of:
   if( !str_cmp( arg, "clear" ) || !str_cmp( arg, "self" ) )
   {
      send_to_char( "You turn your radio off.\r\n", ch );
      STRFREE( ch->pcdata->tell_snoop );
      return;
   }


ayuri
       
Post is unread #47 Oct 25, 2011, 11:19 am
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
JoinedJun 13, 2008

Just wanted to say, maybe using 'ignored' in the above post was a wrong choice of words. I know Kayle and the others here have been busy with other projects and RealLife™. It could have just slipped though the cracks. Heck, I all but dropped off the face of the earth for 2 years... My apologies if I offended anyone.

Taking a quick peek though the code, seems like most of the items Remcon posted weren't included in the latest FOTEFUSS 1.4 modified Oct 16, 2010. Or somehow I managed to grab a weird copy that yet still has keyed area formats???

Again, my apologies,
ayuri
       
Post is unread #48 Sep 28, 2013, 6:32 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,866
JoinedJul 26, 2005

Well thanks go to you for bringing all this to my attention, it will be in the next update that I'll put up tonight or tomorrow :) Thanks :)
       
Post is unread #49 Sep 29, 2013, 5:08 am
Go to the top of the page
Go to the bottom of the page

Quixadhal
Conjurer
GroupMembers
Posts398
JoinedMar 8, 2005

Heh, if you don't mind having another external library, you can somewhat solve many of those stupid C memory issues (freeing the mallocs!) by using gcmalloc.

http://www.hpl.hp.com/personal/Hans_Boehm/gc/

Why worry about which bits you have to free, or trying to keep "spare" copies around when you can just let the system deal with it? :)

In the above examples, a regular malloc results in a memory leak because you didn't free the previously allocated chunk and lost the pointer to it. Using a garbage collector, once any memory chunk has no valid pointer, the system will free it. You just need to stick a call to the collector in your main loop so it gets called periodically.
       
Pages:<< prev 1, 2, 3 next >>