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, DotBot

Members: 0
Guests: 11
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,387
627
MargoThurb
Today's Birthdays
whisperedecho (34)
Related Links
» SmaugMuds.org » 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, 1:23 pm   Last edited Mar 17, 2018, 1:24 pm by joeyfogas
Go to the top of the page
Go to the bottom of the page

joeyfogas
Apprentice
GroupMembers
Posts77
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, 5:52 pm
Go to the top of the page
Go to the bottom of the page

joeyfogas
Apprentice
GroupMembers
Posts77
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 >>