|
You last visited: Today at 12:23
Advertisement
[QUESTION]Has anyone coded Top (Guild/Class- etc)
Discussion on [QUESTION]Has anyone coded Top (Guild/Class- etc) within the CO2 Private Server forum part of the Conquer Online 2 category.
12/05/2009, 19:27
|
#1
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
[QUESTION]Has anyone coded Top (Guild/Class- etc)
Title. For 5165? I'm really interested in them.
|
|
|
12/05/2009, 20:13
|
#2
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
Quote:
Originally Posted by Zoron
|
#Reported.
Don't flame, ddbillsfan.
|
|
|
12/05/2009, 20:51
|
#3
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
|
BY coded do you mean as if someone already done the PK Tourneys and Such? Because the effects are already coded in,
|
|
|
12/05/2009, 20:55
|
#4
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by -Shunsui-
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.
|
|
|
12/05/2009, 21:03
|
#5
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
Quote:
Originally Posted by -Shunsui-
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?
|
|
|
12/05/2009, 21:04
|
#6
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by airborne.
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.
|
|
|
12/05/2009, 21:27
|
#7
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
Quote:
Originally Posted by Tiku
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.
|
|
|
12/05/2009, 21:32
|
#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?
|
|
|
12/05/2009, 21:58
|
#9
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
Quote:
Originally Posted by Tweety.4Girls
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.
|
|
|
12/05/2009, 21:59
|
#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.
|
|
|
12/05/2009, 22:04
|
#11
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
|
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
|
|
|
12/05/2009, 22:06
|
#12
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by -Shunsui-
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.
|
|
|
12/05/2009, 22:24
|
#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?
|
|
|
12/05/2009, 22:29
|
#14
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
Shunsui add my msn:
|
|
|
12/05/2009, 22:30
|
#15
|
elite*gold: 0
Join Date: Oct 2007
Posts: 914
Received Thanks: 86
|
yes i have ssee one coeded bye stuffer xD its help alot
|
|
|
Similar Threads
|
[Question]Best thing you have ever coded (for CO ofcourse)?
04/09/2010 - CO2 Programming - 32 Replies
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, because it doesn't really prove that.
The best thing I've ever coded is my source, how ever it's not complete and I didn't spent time getting the packet structures, just got them from other sources and that stuff.
~Bas
|
[WTS] Silkroad Website Templates - Coded/Not-Coded. With .PSD!
11/30/2009 - Silkroad Online Trading - 4 Replies
Examples :
There Is NO Examples at the moment.
Prices :
Price for a full coded website, with a CMS - users can register, write comments. Admin panel included , easy write to news. - 60$.
Included : PSD , all files, FREE WEB HOSTING - 3 months.
|
All times are GMT +2. The time now is 12:23.
|
|