Nice work ryan.
|
|

Post Or I Remove
Explanation/Purpose: Save your Players from being reset
Difficulty: Pure 0
Classes Added/Modified: PlayerHandler.java
Tested On: Devo 7.0 and delta
Bugs/Problems: public void Removeplayer saves the game at the wrong time
Tutorial:
FIND:
Public void removeplayer
Replace that Whole Method With this
What we did was:Code:public void removePlayer(Player plr) { if (plr == null) return; if (plr.Privatechat != 2) { // PM System for (int i = 1; i < maxPlayers; i++) { if ((players[i] == null) || (players[i].isActive == false) || (players[i].playerName == null)) continue; players[i].pmupdate(plr.playerId, 0); } } // anything can be done here like unlinking this player structure from // any of the other existing structures plr.destruct(); }
Took out the saving of the player after being destructed
This doesnt mean the player wont be saved.. just means player wont save after being destructed
Places to add the delta saveGame is the places that call on the remove player method
ENJOY
Credits: 100% me
after this hits 1000 views and 50 posts ill add more bug fixes =]

Nice work ryan.

Thank you Jake =]

HELL YEAAHHAHAHA!
Thanks ryan, you noob
Rep++![]()

Thanks for + feedback

Thanks for this ryan.

Yup any time


Thanks a lot for this.
+Rep
Thanks +rep
| « Correct Uptime counter | Good Herblore Base » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |