Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 00:22

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

Advertisement



How to make PKTourny Death Match and others

Discussion on How to make PKTourny Death Match and others within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
D0OM's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 37
Received Thanks: 2
what i do to make PK Tournament , i want to know the code off it

__________________________________________________ ______________________________________

Quote:
Love IS My msg
but please i need the Code fast to make my Server
__________________________________________________ _______________________________________________

Love is my msg
D0OM is offline  
Old 12/10/2009, 12:02   #2
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
Trai code it
sawickas is offline  
Old 12/10/2009, 18:33   #3
 
Hitsugaya Toshiro's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 116
Received Thanks: 42
Quote:
Originally Posted by D0OM View Post
what i do to make PK Tournament , i want to know the code off it

__________________________________________________ ______________________________________
Dont double post
#reported multi accounts
Hitsugaya Toshiro is offline  
Old 12/11/2009, 01:03   #4
 
elite*gold: 0
Join Date: Aug 2009
Posts: 39
Received Thanks: 2
i think no one can Code it cus it's not res yet:|
the.Evil is offline  
Old 12/11/2009, 01:07   #5
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by the.Evil View Post
i think no one can Copy and paste it cus it's not res yet:|
^------------Corrected
Arcо is offline  
Thanks
1 User
Old 12/11/2009, 04:48   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
Coding a death match or pk tournament simply requires coding some timers, adding a hashtable and a few other specific functions.

Basically you want a date time check to see if it's the time that the event starts (for testing or for a different version of a pk event you could have it start via a gm command)

You will want a hash table to store players scores who are in the event. create the hashtable then under where pk points are controlled you will want to do a check to see if players are on that map AND part of the pk event, if so you want to increase their score (score based pk event) on the other hand you could use a 1/0 system for your hash table to control if players are still in the round (eg: if player dies their hashtable value is set to 0, if set to 0 they cannot pk on that map but they are still 'part of the event' and as such can claim there rewards or be effected by codes that will remove players from the map or other related functions)

Once you have a working hashtable functioning you will need a timer to system to control how the event is ended.

To do this you will want to do a looped timer that basically checks for certain conditions (someone in hashtable reaches score x [score required to win], time limit is up or only one player is left standing in the event)

You will also need a fot each type loop to get player ids and add them to the initial events.

If you look at the link in my siggy I have some very basic examples of how to do for each loops, hashtables and I think someone posted some information on timers. There is no real copy/paste system for pk tournies or death matches other then those for lotf but the system itself isn't super complicated. just break it down into the steps required for it to work and program them one bit at a time.

Good luck.
pro4never is offline  
Thanks
1 User
Old 12/11/2009, 19:21   #7
 
~jochemke~'s Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 259
Received Thanks: 64
Quote:
Originally Posted by pro4never View Post
Coding a death match or pk tournament simply requires coding some timers, adding a hashtable and a few other specific functions.

Basically you want a date time check to see if it's the time that the event starts (for testing or for a different version of a pk event you could have it start via a gm command)

You will want a hash table to store players scores who are in the event. create the hashtable then under where pk points are controlled you will want to do a check to see if players are on that map AND part of the pk event, if so you want to increase their score (score based pk event) on the other hand you could use a 1/0 system for your hash table to control if players are still in the round (eg: if player dies their hashtable value is set to 0, if set to 0 they cannot pk on that map but they are still 'part of the event' and as such can claim there rewards or be effected by codes that will remove players from the map or other related functions)

Once you have a working hashtable functioning you will need a timer to system to control how the event is ended.

To do this you will want to do a looped timer that basically checks for certain conditions (someone in hashtable reaches score x [score required to win], time limit is up or only one player is left standing in the event)

You will also need a fot each type loop to get player ids and add them to the initial events.

If you look at the link in my siggy I have some very basic examples of how to do for each loops, hashtables and I think someone posted some information on timers. There is no real copy/paste system for pk tournies or death matches other then those for lotf but the system itself isn't super complicated. just break it down into the steps required for it to work and program them one bit at a time.

Good luck.
good and clear answer . This will help me alot , i gonna try coding it . but just wondering is it also possible to start and end it with a command ? i gues so . correct me if i'm wrong
~jochemke~ is offline  
Old 12/15/2009, 22:35   #8
 
D0OM's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 37
Received Thanks: 2
hey all
D0OM is offline  
Old 12/15/2009, 22:42   #9
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
Quote:
Originally Posted by D0OM View Post
hey all
of course it is.. not many ppl left in the co section could code one, simply because i doubt but only a couple here understand the concept of dynamic maps, unless it's a specific tournament, all vs. all.
.Guru is offline  
Old 12/15/2009, 23:04   #10
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
This is already coded in my source and ye, Its prety confusing
-Shunsui- is offline  
Old 12/16/2009, 01:08   #11
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
yeah dynamic map is simply a submapid.. just gotta know a bit about it. jose msn me.. i wanna ask about your pk tourney.
.Guru is offline  
Reply


Similar Threads Similar Threads
[S] CSS Key HL2- Death Match Key [B] PSC/E*Gold
04/17/2010 - Steam Trading - 4 Replies
wie der titel schon sagt
GunZ - ULTRA HACK [1hko IN DEATHMATCH, GODMODE IN DEATH MATCH, INFINITE G COINS]
05/21/2008 - GunZ - 62 Replies
New ULTRA Hack made by Caspian. Includes: 1. Godmode against other players 2. Invisibility against other players 3. One hit kill against other players 4. No reload 5. Infinite ammo 6. Infinite grenades 7. Rockets blow up the whole map



All times are GMT +2. The time now is 00:22.


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.