lrn2use Integer.MAX_VALUE, looks more cooler than 2,147,483,647
how. hi blue.
lrn2use Integer.MAX_VALUE, looks more cooler than 2,147,483,647
this.I thought "Cooler" was an opinion.
Thanks.Good job deagan.
Well, that's good.Nice release, By reading this i actually learned a little more about packets![]()
What is a Packet?
MapleCharacter.java
Add
Code:private long lastNPCTalk; public long getLastNPCTalk() { return lastNPCTalk; } public void setLastNPCTalk() { lastNPCTalk = System.currentTimeMillis(); }
NPCTalkHandler.java
Add
UnderCode:if (c.getPlayer().getLastNPCTalk() > System.currentTimeMillis() - 500) return; else c.getPlayer().setLastNPCTalk();
Code:MapleMapObject obj = c.getPlayer().getMap().getMapObject(oid);
You can change the delay of 500 milli seconds if you feel like but it seems to be fine.
if (c.getCM().getNpc() == null) {
?Code:if (c.getCM().getNpc() == null) {
does fix this? packet fix send kill server?
one packet header start 0x01 it let char log on account
is true? use fix pls.
Thanks for the bump. -_-Thank you very much! Good job!
I think everyone should at least have these fixes in their servers, therefor, I don't mind this thread being bumped.
omg -rage quit-brb making at least one person in the "lolrelease" section rage
brb making at least one person in the "LOLRELEASE" section rage