Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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 !



??????
 
Junior Spellweaver
Joined
Jan 4, 2013
Messages
162
Reaction score
29
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
Newbie Spellweaver
Joined
Aug 5, 2012
Messages
57
Reaction score
0
so there is no way to fix it?
i get dcs from monsters , a lot of peoples , and the dc is to the login screen
 
Upvote 0
Newbie Spellweaver
Joined
Jul 1, 2014
Messages
10
Reaction score
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

You must be registered for see attachments list
Upvote 0
Newbie Spellweaver
Joined
Aug 5, 2012
Messages
57
Reaction score
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
Top