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

12/05/2009 19:27 airborne.#1
Title. For 5165? I'm really interested in them.
12/05/2009 20:13 airborne.#2
Quote:
Originally Posted by Zoron View Post
#Removed
#Reported.
Don't flame, ddbillsfan.
12/05/2009 20:51 -Shunsui-#3
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 Arcо#4
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.
12/05/2009 21:03 airborne.#5
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?
12/05/2009 21:04 Arcо#6
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.
12/05/2009 21:27 airborne.#7
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.
12/05/2009 21:32 Sp!!ke#8
I whant to make 1 npc to but TopTrojan , TopWarior..etc..tiku you can make 1?
12/05/2009 21:58 airborne.#9
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.
12/05/2009 21:59 ~*NewDuuDe*~#10
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 -Shunsui-#11
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 Arcо#12
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.
12/05/2009 22:24 ~*NewDuuDe*~#13
Hm, think I'll have a look at this source. Any particular version that is reccomended?
12/05/2009 22:29 airborne.#14
Shunsui add my msn: [Only registered and activated users can see links. Click Here To Register...]
12/05/2009 22:30 tigerfire#15
yes i have ssee one coeded bye stuffer xD its help alot