Login
User Name:

Password:



Register

Forgot your password?
Force Skills
Jan 1, 2026 3:58 pm
By Elwood
Overland with Bitmaps
Jul 4, 2025 11:57 pm
By Samson
void nanny_get_new_race -- comm.c
Mar 13, 2025 7:08 am
By Elwood
IPv6
Jan 25, 2025 10:45 pm
By Samson
mudstrlcpy and mudstrlcat
Jan 18, 2025 5:23 pm
By Samson
SWFotEFUSS 1.5.3
Author: Various
Submitted by: Samson
SWRFUSS 1.4.3
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.8
Author: Various
Submitted by: Samson
AFKMud 2.5.2
Author: AFKMud Team
Submitted by: Samson
SmaugFUSS 1.9.7
Author: Various
Submitted by: Samson
Users Online
Anthropic, AhrefsBot, Yandex, Majestic-12, Bing

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
507
3,813
19,732
597
DennisBevi

» SmaugMuds » Codebases » SWFOTE FUSS » Force Skills
Forum Rules | Mark all | Recent Posts

Force Skills
< Newer Topic :: Older Topic > Issues in Force Skills that crash..

Pages:<< prev 1 next >>
Post is unread #1 Jan 1, 2026 3:58 pm   Last edited Jan 1, 2026 4:47 pm by Elwood
Go to the top of the page
Go to the bottom of the page

Elwood
Fledgling
GroupMembers
Posts15
JoinedMar 29, 2024

 
So something i noticed in the force skills....

   if( argument[0] == '\0' )
      argument = strdup( (const char*)ch->dest_buf );


It Really should be something like for most functions..

   if( argument[0] == '\0' )
{
    if( !ch->dest_buf )
    {
        send_to_char( "You gotta give me something to go off of.\r\n", ch );
        return;
    }
    argument = (const char *) ch->dest_buf;
}


It's calling upon a null argument which in terms goes down in no time...

Pages:<< prev 1 next >>