Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 12:25

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

 

[QUESTION]Has anyone coded Top (Guild/Class- etc)

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Post [QUESTION]Has anyone coded Top (Guild/Class- etc)

Title. For 5165? I'm really interested in them.



airborne. is offline  
Old   #2
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Quote:
Originally Posted by Zoron View Post
#Removed
#Reported.
Don't flame, ddbillsfan.


airborne. is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 319
BY coded do you mean as if someone already done the PK Tourneys and Such? Because the effects are already coded in,
-Shunsui- is offline  
Old   #4
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by -Shunsui- View Post
BY coded do you mean as if someone already done the PK Tourneys and Such? Because the effects are already coded in,

I think he's asking how to spawn the effects.


Arcо is offline  
Old   #5
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Quote:
Originally Posted by -Shunsui- View Post
BY coded do you mean as if someone already done the PK Tourneys and Such? Because the effects are already coded in,
o.O it's already coded in?
airborne. is offline  
Old   #6
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by airborne. View Post
o.O it's already coded in?

Every effect in the client is coded in.
It's up to you to code it to spawn.
Arcо is offline  
Old   #7
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Quote:
Originally Posted by Tiku View Post

Every effect in the client is coded in.
It's up to you to code it to spawn.
Where exactly is it? I want to see.
airborne. is offline  
Old   #8
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
I whant to make 1 npc to but TopTrojan , TopWarior..etc..tiku you can make 1?
Sp!!ke is offline  
Old   #9
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Quote:
Originally Posted by Tweety.4Girls View Post
I whant to make 1 npc to but TopTrojan , TopWarior..etc..tiku you can make 1?
If it was that easy I'd have it by now.
airborne. is offline  
Old   #10
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
Just do AddEffect(not sure what variable is used for 5165, you can figure that out) TopTrojan or whatever the effect name is when ever someone wins the PK tournament. Then add a timer which, for example, removes it after 24 hours.
~*NewDuuDe*~ is offline  
Old   #11
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 319
That code will give You top Trojan,

Code:
GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
If you go into Character.cs And Search
Code:
public enum StatusEffectEn : ulong
Under that you will find all the effects.

This below is a NPC that will give you top Tro Halo just edit him a Little hes the NPC that iam doing for Top Pk Tourneys Not done,

Code:
#region PKTourney Done
                            case 2727:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Have You killed all the other Challengers?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Menq", 1));
                                        GC.AddSend(Packets.NPCLink("Nah wait", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    { 
                                                GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                                                GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                            }
                                    break;
                                }
                            #endregion
-Shunsui- is offline  
Thanks
2 Users
Old   #12
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by -Shunsui- View Post
That code will give You top Trojan,

Code:
GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
If you go into Character.cs And Search
Code:
public enum StatusEffectEn : ulong
Under that you will find all the effects

Code:
#region PKTourney Done
                            case 2727:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Have You killed all the other Challengers?"));
                                        GC.AddSend(Packets.NPCLink("Yeh, Menq", 1));
                                        GC.AddSend(Packets.NPCLink("Nah wait", 255));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                    { 
                                                GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                                                GC.Message(2005, GC.MyChar.Name + "Has won the Top Trojan Halo");
                                            }
                                    break;
                                }
                            #endregion
That NPC will give you top Tro Halo just edit him a Little hes the NPC that iam doing for Top Pk Tourneys Not done,

Lol and its not that hard to edit this to work for every class btw.
Arcо is offline  
Thanks
1 User
Old   #13
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
Hm, think I'll have a look at this source. Any particular version that is reccomended?
~*NewDuuDe*~ is offline  
Old   #14
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 62
Shunsui add my msn:
airborne. is offline  
Old   #15
 
elite*gold: 0
Join Date: Oct 2007
Posts: 761
Received Thanks: 67
yes i have ssee one coeded bye stuffer xD its help alot


tigerfire is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Question]Best thing you have ever coded (for CO ofcourse)?
So what have you guys coded? And what do you think is the best thing you did? Please don't lie about what you coded to look more experienced,...
32 Replies - CO2 Programming
[WTS] Silkroad Website Templates - Coded/Not-Coded. With .PSD!
Examples : There Is NO Examples at the moment. Prices : Price for a full coded website, with a CMS - users can register, write comments....
4 Replies - Silkroad Online Trading



All times are GMT +2. The time now is 12:25.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.