|
You last visited: Today at 02:56
Advertisement
Pk Exploits Update.
Discussion on Pk Exploits Update. within the CO2 Private Server forum part of the Conquer Online 2 category.
06/17/2012, 01:36
|
#1
|
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
|
Pk Exploits Update.
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
|
#2
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
|
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
|
#3
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
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
|
#4
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
|
Quote:
Originally Posted by shadowman123
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
|
#5
|
elite*gold: 0
Join Date: Mar 2009
Posts: 228
Received Thanks: 47
|
just update database & when the player get the list , must send the packet with first 10 killed players.
|
|
|
06/17/2012, 06:03
|
#6
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
|
Quote:
Originally Posted by dego4ever
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
|
#7
|
elite*gold: 0
Join Date: Mar 2009
Posts: 228
Received Thanks: 47
|
Quote:
Originally Posted by Zeroxelli
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
|
|
|
06/17/2012, 20:07
|
#8
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
|
Quote:
Originally Posted by dego4ever
yes
|
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
|
#9
|
elite*gold: 0
Join Date: Mar 2009
Posts: 228
Received Thanks: 47
|
Quote:
Originally Posted by Zeroxelli
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
|
#10
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
|
Quote:
Originally Posted by dego4ever
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.
|
|
|
All times are GMT +2. The time now is 02:56.
|
|