[HELP] me for events 5165

06/26/2016 23:43 donaistheboss#1
i did event class pk but there problem .. all players can win .. what code to make only one win

Code:
#region TOP TRO PK TOURNEY REAWARD
                                case 2773:
                                    {
                                        if (Control == 0)
                                        {
                                            GC.AddSend(Packets.NPCSay("I will give u your prize"));
                                            GC.AddSend(Packets.NPCLink("Iam a Trojan", 1));
                                            GC.AddSend(Packets.NPCLink("Just passing by.", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                        else if (Control == 1)
                                        {
                                            if (DateTime.Now.DayOfWeek == DayOfWeek.Friday)
                                            {
                                                if (GC.MyChar.Job == 15 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 10))
                                                {
                                                    GC.MyChar.StatEff.Add(StatusEffectEn.TopTrojan);
                                                    World.SendMsgToAll("SYSTEM", GC.MyChar.Name + " has claimed the TopTrojan Halo", 2011, 0);
                                                    try
                                                    {
                                                        StreamWriter sw = new StreamWriter("C:\\OldCODB/Tops/TopTrojan.txt");
                                                        sw.WriteLine("" + GC.MyChar.EntityID + "#549755813888");
                                                        sw.Close();
                                                    }
                                                    catch (Exception e)
                                                    {
                                                        Console.WriteLine(e.Message);
                                                    }
                                                    GC.MyChar.Teleport(1002, 431, 379);
                                                    GC.AddSend(Packets.NPCSay("Event is over click :D"));
                                                    GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                    GC.AddSend(Packets.NPCFinish());
                                                }
                                                else
                                                {
                                                    GC.AddSend(Packets.NPCSay("Is not over the event"));
                                                    GC.AddSend(Packets.NPCLink("I see", 255));
                                                    GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                    GC.AddSend(Packets.NPCFinish());
                                                }
                                            }
                                        }
                                        break;
                                    }
                                #endregion
can some 1 make in this event code only 1 can win class pk !
06/28/2016 03:34 donaistheboss#2
Why no one answer me ? did i say something wrong ? i just want to know how to made event 5165 with no bug .. i did one but there bug if players alive all can win not 1 only .. any help guys ?
06/28/2016 14:26 pro4never#3
You're asking people to write code for you or to send you finished code which is not allowed on epvp
06/28/2016 17:50 donaistheboss#4
i mean i want know step to do 1 event class pk or etc.. and i will do other events it's will same ..
07/01/2016 09:23 KraHen#5
This conversation...
Quote:
"I will give u your prize"
"Iam a Trojan"
Like playing Fallout with very low intelligence. From this I have concluded that your name is incorrect and that you are not in fact the boss. Ha.
07/01/2016 10:40 turk55#6
Quote:
Originally Posted by KraHen View Post
This conversation...
Like playing Fallout with very low intelligence. From this I have concluded that your name is incorrect and that you are not in fact the boss. Ha.
Pff... not even close...
07/01/2016 18:14 donaistheboss#7
Quote:
Originally Posted by KraHen View Post
This conversation...
Like playing Fallout with very low intelligence. From this I have concluded that your name is incorrect and that you are not in fact the boss. Ha.


i'm the boss 4ever :P

no one want help me ? :(
07/02/2016 16:18 pro4never#8
It's highly unlikely anyone is going to do anything to help you. You've done nothing but spam useless questions on the site and annoy people. You're also using a shitty old source no one cares about or considers worth using.

Have fun.
07/02/2016 22:00 bone-you#9
Bet if you offered to pay someone they would assist you in whatever way you may need. You're basically asking someone to code for you and a coding job typically runs about $15-80/hr depending on skill/experience and task at hand.
07/02/2016 22:55 donaistheboss#10
Quote:
Originally Posted by bone-you View Post
Bet if you offered to pay someone they would assist you in whatever way you may need. You're basically asking someone to code for you and a coding job typically runs about $15-80/hr depending on skill/experience and task at hand.

true.. fuck that world .. and if you good for it you can made for me 3-4 events only that all i want and let me know how much you want
07/03/2016 01:36 bone-you#11
Quote:
Originally Posted by donaistheboss View Post
true.. fuck that world .. and if you good for it you can made for me 3-4 events only that all i want and let me know how much you want
I'm not the person to be asking that. C# is not my specialty nor do I know your source very well.
07/03/2016 07:19 InsomniacPro#12
Hell, I'll code you some events for cash. Easy money.
07/05/2016 18:06 DrJohnSmith#13
Quote:
Originally Posted by InsomniacPro View Post
Hell, I'll code you some events for cash. Easy money.
Don't. I wrote a simple Last Man Standing event for this guy and as expected he didn't send me the money claiming that he would only send me anything after having more events.
Just so you have an idea he also said something like:
"Men, you no code event 100%, event 90% because top trojan not save"

So yeah I believe you can take a guess of what we're dealing with.
Just so everyone knows, ofc I knew I'd never get money from this guy, just wanted to troll and I'll be counting days till his server goes live :P
07/05/2016 19:43 pro4never#14
Quote:
Originally Posted by DrJohnSmith View Post
Don't. I wrote a simple Last Man Standing event for this guy and as expected he didn't send me the money claiming that he would only send me anything after having more events.
Just so you have an idea he also said something like:
"Men, you no code event 100%, event 90% because top trojan not save"

So yeah I believe you can take a guess of what we're dealing with.
Just so everyone knows, ofc I knew I'd never get money from this guy, just wanted to troll and I'll be counting days till his server goes live :P

Always charge before delivery, always.

Never worth risking trolls like this guy
07/06/2016 10:24 KraHen#15
Quote:
Originally Posted by pro4never View Post
Always charge before delivery, always.

Never worth risking trolls like this guy
Neah, charge based on milestones, it's just fair.