DragonDagger 317
Welcome to DragonDagger's Official Forums!
Enjoy your stay.
DragonDagger 317
Welcome to DragonDagger's Official Forums!
Enjoy your stay.
DragonDagger 317
Would you like to react to this message? Create an account in a few clicks or log in to continue.

DragonDagger 317

DragonDagger's Official Forums
 
HomeDDLatest imagesSearchRegisterLog in
Donations welcomed, we're trying to get the golden server position on runelocus server status page!
Webclient is OUT! Click Play Now in the Forums Homepage

 

 Stop Xlogging

Go down 
4 posters
AuthorMessage
Stoned
Junior Member
Stoned


DD Posts DD Posts : 24
Join date : 2009-08-25
Age : 114
Location : Cloud 9

Stop Xlogging Empty
PostSubject: Stop Xlogging   Stop Xlogging I_icon_minitimeSun Aug 30, 2009 1:57 pm

- if xlog hp at 0 when logged in
OR
- if xlog automatically teled to jail when logged in
Back to top Go down
v 3 n 0m 0uz
Member



DD Posts DD Posts : 64
Join date : 2009-08-12

Stop Xlogging Empty
PostSubject: Re: Stop Xlogging   Stop Xlogging I_icon_minitimeSun Aug 30, 2009 2:17 pm

Agreed, Here's da fix ma lordd!!

Player.java declare;

Code:
public int logoutDelay = 0;

PlayerHandler.java look for;

Code:
if (players[i].disconnected) {

Replace with this;

Code:
if (players[i].disconnected && players[i].logoutDelay == 0) {

It's in the playerhandler twice.

Add this with the other public voids in client.java;

Code:
public void attack() {
          opponent.logoutDelay = 20;
          logoutDelay = 20;
}

In client.java search for;

Code:
public boolean process() {

Add this;

Code:
if(logoutDelay > 0)
      logoutDelay--;
Back to top Go down
Stoned
Junior Member
Stoned


DD Posts DD Posts : 24
Join date : 2009-08-25
Age : 114
Location : Cloud 9

Stop Xlogging Empty
PostSubject: Re: Stop Xlogging   Stop Xlogging I_icon_minitimeSun Aug 30, 2009 2:32 pm

problem solved
Back to top Go down
v 3 n 0m 0uz
Member



DD Posts DD Posts : 64
Join date : 2009-08-12

Stop Xlogging Empty
PostSubject: Re: Stop Xlogging   Stop Xlogging I_icon_minitimeSun Aug 30, 2009 2:41 pm

Stoned wrote:
problem solved

Wink.
Back to top Go down
The chosen 1
Junior Member



DD Posts DD Posts : 39
Join date : 2009-08-29

Stop Xlogging Empty
PostSubject: Re: Stop Xlogging   Stop Xlogging I_icon_minitimeMon Aug 31, 2009 10:55 pm

you cant tell if its xlog..
my pc fails so it closes client but i dont xlog
Back to top Go down
Stoned
Junior Member
Stoned


DD Posts DD Posts : 24
Join date : 2009-08-25
Age : 114
Location : Cloud 9

Stop Xlogging Empty
PostSubject: Re: Stop Xlogging   Stop Xlogging I_icon_minitimeTue Sep 01, 2009 2:05 pm

Exactly, so if someone did xlog or thier client closed on them the server would save the last know hp so when you log in you would have that same hp
Back to top Go down
sxc skillahz1
InGame Moderator
InGame Moderator
sxc skillahz1


DD Posts DD Posts : 74
Join date : 2009-07-15
Age : 29
Location : back in sydney!!!

Stop Xlogging Empty
PostSubject: Re: Stop Xlogging   Stop Xlogging I_icon_minitimeSun Sep 13, 2009 4:30 am

yaya finally a solution Razz
Back to top Go down
Sponsored content





Stop Xlogging Empty
PostSubject: Re: Stop Xlogging   Stop Xlogging I_icon_minitime

Back to top Go down
 
Stop Xlogging
Back to top 
Page 1 of 1
 Similar topics
-
» How to stop lag
» stop lying!!!!
» stop fake connections/syi/null 2 i think
» How to stop people getting hacked *flashfire ban incident*

Permissions in this forum:You cannot reply to topics in this forum
DragonDagger 317  :: General :: Ideas and Suggestions-
Jump to: