Login
User Name:

Password:



Register

Forgot your password?
 do_advance
Jun 27, 2026 10:32 am
By Remcon
Time spamming LOP1.6
Jun 17, 2026 4:03 pm
By Remcon
A Bash Startup Script
Feb 7, 2026 3:49 pm
By eldhamud
Force Skills
Jan 1, 2026 3:58 pm
By Elwood
Overland with Bitmaps
Jul 4, 2025 11:57 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

Members: 0
Guests: 80
Stats
Files
Topics
Posts
Members
Newest Member
507
3,813
19,727
597
johnniebaldwin

» SmaugMuds » General » Coding » help with debug?
Forum Rules | Mark all | Recent Posts

help with debug?
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Mar 17, 2018 3:23 pm   Last edited Mar 17, 2018 3:24 pm by joeyfogas
Go to the top of the page
Go to the bottom of the page

joeyfogas
Apprentice
GroupMembers
Posts78
JoinedAug 28, 2016

 
is anyone willing to help me debug my code? I have read so much documentation but it is all still over my head... i am using cygwin and getting a stackdump not a core file... and instructions I am finding on how to create a core file are not working for me.

not asking for someone to fix it for me... simply debug it for me and let me know WHAT is causing the segfault.

I would be happy to email my files or host and provide a link to them.


the crash happens when you are fighting, or others in the room are fighting and you type "look"...

edit: This is using smaugfuss 1.9.2 with heavy modifications

Post is unread #2 Mar 17, 2018 7:52 pm   
Go to the top of the page
Go to the bottom of the page

joeyfogas
Apprentice
GroupMembers
Posts78
JoinedAug 28, 2016

 
okay nevermind. got it resolved.


my code had a new variable called cpose, which mobs do not have... I did not put an ifcheck for if(!IS_NPC) and it kept crashing due to that.

Pages:<< prev 1 next >>