always DC in TiredStory

Newbie Spellweaver
Joined
Aug 5, 2012
Messages
57
Reaction score
0
i'm using TiredStory Source and always someone gets dc.. because monsters or something ..
there's any way to fix it ? please help !



sometimes i gets error on bats ..
and sometimes i dont
this is the errors
caught an exception : org.apache.mina.core.write.WriteToClosedSessionException
and caught an exception : java.io.IOException:■■τΘßσ° ≈ΘΘφ ≡±Γ° ßδ⌠ΘΣ ≥∞-ΘπΘ Σετ∙ß Σεα°τ Σε°στ≈



please help me fast i have 16 online !



??????
 
Well this is quite a long shot guess, but you can try updating your mina core to a newer one. I've been using mina core 2.0.7 from MoopleDev, while TiredStory seems to be running an outdated one. I was referring to the error you got "caught an exception : org.apache.mina.core.write.WriteToClosedSessionException", but I could also be 100% wrong, may as well give you something to try out.
 
Upvote 0
I'm having the same problem with the source..
I don't know if this is the problem but this is what I found:
If you compare Mapleblade's handlepacket method in PlayerLoggedInHandler.java(no random dcs) to TiredStory's (random dcs) :

Maple Blade :
Code:
player_to_dc.getMap().removePlayer(player_to_dc);
                            ChannelServer.getInstance(chanNum).removePlayer(player_to_dc);
                            player_to_dc.getClient().disconnect();
                            player_to_dc.getClient().getSession().close();
                            c.disconnect();
                            allowLogin = false;
                            break;
                        }
                    }
                }

TiredStory (If you notice there is a cross over the "close" but there is Maple Blade one is fine.)
 

Attachments

  • tiredstorydc - always DC in TiredStory - RaGEZONE Forums
    tiredstorydc.webp
    28.1 KB · Views: 39
Upvote 0
I'm having the same problem with the source..
I don't know if this is the problem but this is what I found:
If you compare Mapleblade's handlepacket method in PlayerLoggedInHandler.java(no random dcs) to TiredStory's (random dcs) :

Maple Blade :
Code:
player_to_dc.getMap().removePlayer(player_to_dc);
                            ChannelServer.getInstance(chanNum).removePlayer(player_to_dc);
                            player_to_dc.getClient().disconnect();
                            player_to_dc.getClient().getSession().close();
                            c.disconnect();
                            allowLogin = false;
                            break;
                        }
                    }
                }

TiredStory (If you notice there is a cross over the "close" but there is Maple Blade one is fine.)
what do u mean to compare mapleblade handlepacket?



i still get dcs ..
 
Upvote 0
Back