The Dawn Of Time
The Official Forums for the Dawn Of Time Mud Codebase
 
Log in Register FAQ Memberlist Search The Dawn Of Time Forum Index Goto the Official Dawn Website

i need to stop crashing this thing.....

 
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Coding
View previous topic :: View next topic  
Author Message
Naylor



Joined: 03 Dec 2012
Posts: 95

PostPosted: Fri Jun 07, 2013 6:34 am    Post subject: i need to stop crashing this thing..... Reply with quote

okso this is annoying..


got this set up to work fine til i try to use it for comparison between two players. It's a word string variable (no clue what the right term is for it),
set up in char data and pc data with 'char * deityname' like others that are storing words instead of numbers.

works fine with displays, but how would i compare it for matching between two players??

strcmp(victim->deityname , ch->deityname) and !strcmp(victim->deityname , ch->deityname) both do nothing but crash the mud, and (victim->deityname == ch->deityname) and (victim->deityname != ch->deityname) result in messages being displayed to EVERYONE or NO ONE regardless of if the contained word is the same or not


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Coding All times are GMT + 13 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2005 phpBB Group
Theme created by Vjacheslav Trushkin