Disconnect issues?

Posted by Zeno on Fri 05 Aug 2005 02:13 AM — 4 posts, 11,001 views.

USA #0
Recently I have been getting bugs like these:
Log: [*****] BUG: interpret: null ch!
Log: [*****] BUG: No ch in bust prompt on 69.226.103.94!

Then...
Comm: Amidamaru (69.226.103.94) reconnected.


But the character was never linkdead. I had typed who just before that bug and the character was on who. This has been happening for the last week or so. I _think_ it may has to do with an affect I added, but I'm not sure. Anyone have any ideas?
USA #1
Here's what happened from the players view:
You embed a purified shard into your leg. 
  
 <Health:[9,748/10,022] Jakai:[5,088] Stamina:[7,183]>   
 Praetor chats 'listen at forset sage' 
  
 <Health:[9,748/10,022] Jakai:[5,088] Stamina:[7,183]>   
 Alexander yells 'A monster eh..?' 
  
 <Health:[9,748/10,022] Jakai:[5,088] Stamina:[7,183]>  yell Alex what you doing now 
 %%% Disconnected from server. 


Imm then sees:
Log: [*****] BUG: interpret: null ch!
Log: [*****] BUG: No ch in bust prompt on 65.96.125.276!


Quote:
and getting back on shard poison was gone
i think its shard poisoning wearing off


Shard poison is an affect. Anyone have any ideas? Still looking into this.
USA #2
Well, somehow the descriptor is getting a null ch... what did your new effect change?
USA #3
Nothing much, it's just an affect added on a char after breaking a certain item. I think I found the issue. Each affect must have a "skill" (in skills.dat) I think. Where else would it call the wearoff message... Debugging right now.

[EDIT] This is when it's added:
            af.type      = gsn_shardpoison;
            af.duration  = 10 * (ch->level-victim->level);
            af.location  = APPLY_HIT;
            af.modifier  = -100;
            af.bitvector = meb(AFF_SHARDPOISON);
            affect_join( ch, &af );


But, it doesn't show up in the "affects" command. Not sure why...

[EDIT 2] Fixed. The affect must have a skill in skills.dat the same name as the db.c ref.