Register for your free account! | Forgot your password?

You last visited: Today at 02:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Pk Exploits Update.

Discussion on Pk Exploits Update. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #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.
|xabi| is offline  
Old 06/17/2012, 04:20   #2
 
Zeroxelli's Avatar
 
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.
Zeroxelli is offline  
Thanks
1 User
Old 06/17/2012, 05:03   #3
 
shadowman123's Avatar
 
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
shadowman123 is offline  
Old 06/17/2012, 05:37   #4
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
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..
Zeroxelli is offline  
Thanks
1 User
Old 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.
dego4ever is offline  
Thanks
1 User
Old 06/17/2012, 06:03   #6
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
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.
Zeroxelli is offline  
Thanks
1 User
Old 06/17/2012, 08:44   #7
 
elite*gold: 0
Join Date: Mar 2009
Posts: 228
Received Thanks: 47
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
dego4ever is offline  
Thanks
1 User
Old 06/17/2012, 20:07   #8
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
Quote:
Originally Posted by dego4ever View Post
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.
Zeroxelli is offline  
Thanks
1 User
Old 06/17/2012, 20:41   #9
 
elite*gold: 0
Join Date: Mar 2009
Posts: 228
Received Thanks: 47
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.
dego4ever is offline  
Old 06/17/2012, 21:59   #10
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
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.
Zeroxelli is offline  
Thanks
2 Users
Reply




All times are GMT +2. The time now is 02:56.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.