Its very nice. There is a small bug with NPC re-spawning though. Once the NPC re-spawns, it will keep spawning until the client crashes. Otherwise, great job. This server has progressed a lot.
|
|

Visit the official RuneFusion topic:
[Only registered and activated users can see links. ]
FEATURES:
* Dynamic socket building - flooders will have a very hard time overloading the listening ServerSocket.
* Gateway class - stops flooders in their tracks (unfortunately, the socket must first be accepted to be destroyed - this is why the dynamic socket building is necessary).
* No thread-per-client approach, there is a single thread handling the IO stream of all players.
* Synchronization - there should be no problems with data corruption as most of the unsynchronized arrays handling players/npcs have been replaced with a synchronized Hashtable.
* Combat system with perfect animations - this is the real deal.
* Packet system replaced with a packet interface for a much quicker object-oriented approach at parsing packets; no more massive switch statements.
* Packaging, with batch compiler support (so you guys don't have to learn and use big IDE's)
rest in peace Qemist, Izzy, TeChNo PuNk, Impulser, & bootneckladIts very nice. There is a small bug with NPC re-spawning though. Once the NPC re-spawns, it will keep spawning until the client crashes. Otherwise, great job. This server has progressed a lot.
posted in other thread.

not verry active anymore. 


Fix the NPC re-spawning glitch lol, then it will be perfect.




Also comes with an EventManager (you didn't mention that!), a much better alternative to process() timers.
To fix the NPC spawn error:
Find these lines in NPCHandler.java:
Underneath them add this:Code:int old2 = getNPCFromID(i).makeX; int old3 = getNPCFromID(i).makeY; int old4 = getNPCFromID(i).heightLevel; int old5 = getNPCFromID(i).moverangeX1; int old6 = getNPCFromID(i).moverangeY1; int old7 = getNPCFromID(i).moverangeX2; int old8 = getNPCFromID(i).moverangeY2; int old9 = getNPCFromID(i).walkingType; int old10 = getNPCFromID(i).maxHP; allowProcessing = false; newNPC(old1, old2, old3, old4, old5, old6, old7, old8, old9, old10);
And it should work fineCode:getNPCFromID(i).needRespawn = false; npcs.remove(i);.


Yeah for the sake of fixing crashes we made it so you cannot attack NPCs with 0 health. You'll have to add a more recent NPC.cfg file.
rest in peace Qemist, Izzy, TeChNo PuNk, Impulser, & bootneckladThis is one of the best emulators i have seen yet. Has the familiarity of winterLove, but is 100x more efficiant and stable. Good job, i will be using
Edit---
How the hell do you make staff lol. I know the .xml doesnt work, read it in a class file, and the one in the character file dont work either![]()
| « surfers world v2 client and server!! | Armo-scapev2 » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |