Pk Exploits Update.

06/17/2012 01:36 |xabi|#1
hey, let's go
While working on Pk Exploits.
it worked and inserts the lines Well.
but when i need to see the lines on the board it's not appear
it need to dc to make load with the user.
now, what should make to make the lines appear on board immediately
Without Dcing.
Regards.
06/17/2012 04:20 Zeroxelli#2
In other words it doesn't update? Just send it every time you kill another player, since you have to update the database with the info anyway.
06/17/2012 05:03 shadowman123#3
yea You have to Send The packet with then Details you about to save in database each Time You kill player surely not less than your level by more than 20 level
06/17/2012 05:37 Zeroxelli#4
Quote:
Originally Posted by shadowman123 View Post
yea You have to Send The packet with then Details you about to save in database each Time You kill player surely not less than your level by more than 20 level
Ah, right, forgot about the level gap stuff. Haven't been on TQ's Conquer in quite some time..
06/17/2012 05:59 dego4ever#5
just update database & when the player get the list , must send the packet with first 10 killed players.
06/17/2012 06:03 Zeroxelli#6
Quote:
Originally Posted by dego4ever View Post
just update database & when the player get the list , must send the packet with first 10 killed players.
Right, so it is done with pages? I'm assuming that when they click the arrow to go to the next page, you get a packet that you must handle as well? Given the page number you get from that packet, you then ignore the first (10 * page) entries, and send them the 10 after that.
06/17/2012 08:44 dego4ever#7
Quote:
Originally Posted by Zeroxelli View Post
Right, so it is done with pages? I'm assuming that when they click the arrow to go to the next page, you get a packet that you must handle as well? Given the page number you get from that packet, you then ignore the first (10 * page) entries, and send them the 10 after that.
yes
[Only registered and activated users can see links. Click Here To Register...]
06/17/2012 20:07 Zeroxelli#8
Quote:
Originally Posted by dego4ever View Post
yes
[Only registered and activated users can see links. Click Here To Register...]
That's fine, but you're doing it backwards. The higher kill counts should be at the top, not the bottom. There's multiple ways to sort it via C#, but the easiest way is simple to do it in your SQL query. Simply pop this on the end
Code:
ORDER BY `KillCount` DESC
replacing KillCount with whatever the name of the field that contains the amount of kills is.
06/17/2012 20:41 dego4ever#9
Quote:
Originally Posted by Zeroxelli View Post
That's fine, but you're doing it backwards. The higher kill counts should be at the top, not the bottom. There's multiple ways to sort it via C#, but the easiest way is simple to do it in your SQL query. Simply pop this on the end
Code:
ORDER BY `KillCount` DESC
replacing KillCount with whatever the name of the field that contains the amount of kills is.
i know, but i want to make something different.
so, i made order by killed time.
06/17/2012 21:59 Zeroxelli#10
Quote:
Originally Posted by dego4ever View Post
i know, but i want to make something different.
so, i made order by killed time.
You should order it by kill time AND kill count, otherwise it doesn't make as much sense. Personal preference, though.