|
You last visited: Today at 11:26
Advertisement
[Release] Guild War Winner npc
Discussion on [Release] Guild War Winner npc within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
11/30/2009, 09:48
|
#16
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
What exactly in this code is stopping the winner from claiming the prize multiple times?
|
|
|
11/30/2009, 11:41
|
#17
|
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
|
You should probably add the Cp packet, and do a loop on how many times people can do it.
|
|
|
11/30/2009, 11:46
|
#18
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Quote:
Originally Posted by BERGHUIS1
You should probably add the Cp packet, and do a loop on how many times people can do it.
|
That's kinda what I was hinting at.
Lol I did this already.
|
|
|
11/30/2009, 11:52
|
#19
|
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
|
I only read like 2 posts in here, lol.
|
|
|
11/30/2009, 20:06
|
#20
|
elite*gold: 20
Join Date: Jun 2005
Posts: 1,489
Received Thanks: 301
|
Quote:
Originally Posted by Tiku
That's kinda what I was hinting at.
Lol I did this already.
|
lol same and am also changing it to give cp + halos for top GL and top DL but only after gw has ended not during like this one does anyone can go take pole and get 3k cp lol shouldn't do that it should only give to actual winner of gw depending on duration you run it after it has ended, So i put in a timer to start/end gw every weekend so gives person at least 5 days to have halos.
|
|
|
11/30/2009, 21:20
|
#21
|
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
|
so is anyone going to post the correct code LOL?
|
|
|
11/30/2009, 21:23
|
#22
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
|
Quote:
Originally Posted by Tw3ak
lol same and am also changing it to give cp + halos for top GL and top DL but only after gw has ended not during like this one does anyone can go take pole and get 3k cp lol shouldn't do that it should only give to actual winner of gw depending on duration you run it after it has ended, So i put in a timer to start/end gw every weekend so gives person at least 5 days to have halos.
|
yeah i thod of that i was thinking using DayOfWeek.Monday or w,e etc since in real co u get the cps on mondays
|
|
|
11/30/2009, 22:05
|
#23
|
elite*gold: 20
Join Date: Jun 2005
Posts: 1,489
Received Thanks: 301
|
Quote:
Originally Posted by airborne.
so is anyone going to post the correct code LOL?
|
I hadn't planned on it no but don't worry i'm sure one of these guys will give you something to leech for u to copy+paste in no time.
|
|
|
11/30/2009, 22:55
|
#24
|
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
|
I guess i could make a npc that gives the halo and only does it on monday.
I made that code in like 5 mintues cause i saw someone who needed one.
If you no what your doing, you will be able to make a loop cause im not going to.
|
|
|
12/01/2009, 06:15
|
#25
|
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
|
Halos work in his source?
|
|
|
12/01/2009, 06:35
|
#26
|
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
|
Nope u have to code them seeing as how you do not know how to do that
I doubt you will ever get halos unless someone releases them.
|
|
|
12/22/2009, 21:21
|
#27
|
elite*gold: 0
Join Date: Jan 2009
Posts: 40
Received Thanks: 0
|
I used -Shunsui- 's Code and It works.... but....
If I press again I will get the reward again and again and again xD
Can you maybe make it that I can get this just 1time after winning the gw ?
Anyway Nice code
|
|
|
12/29/2009, 05:24
|
#28
|
elite*gold: 0
Join Date: Jul 2007
Posts: 383
Received Thanks: 406
|
Me too get the problem with other codec: I want know how to fix this, want ppl can claim reward only a time, anyone can fix this?
Here codec, give to winer TopGuildLead, and TopDeputyLeader effect, and 3k cps, credit to Equalizer92, I do some thing for fix some error in this codec, now work, but with this proble of mutiple claim:
PHP Code:
#region GW Winner NPC case 145006: if (Control == 0) { GC.AddSend(Packets.NPCSay("Hello you must be the Guild Leader Or DeputyLeader of the winning Guild, Congratulations on Winning now i am sure you are looking for your reward!")); GC.AddSend(Packets.NPCSay("Take Your Reward If You Win Guild War")); GC.AddSend(Packets.NPCLink("Iam GuildLeader And My guild won give me my reward please", 1)); GC.AddSend(Packets.NPCLink("Iam DeputyLeader And My guild won give me my reward please", 2)); GC.AddSend(Packets.NPCLink("Thats cool", 255)); GC.AddSend(Packets.NPCSetFace(30)); GC.AddSend(Packets.NPCFinish()); } else if (Control == 1) { if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner &&(GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader)) { GC.AddSend(Packets.NPCLink("Claimed 3k cps from GuildWar", 4)); GC.AddSend(Packets.NPCLink("Claimed TopGuildLeadEr from TheGuildWar", 5)); GC.AddSend(Packets.NPCLink("Thanks!", 255)); GC.AddSend(Packets.NPCSetFace(10)); GC.AddSend(Packets.NPCFinish()); } } if (Control == 4) { GC.MyChar.CPs += 3000; GC.Message (2005, GC.MyChar.Name + "Has won 3k cps Congratulations"); } if (Control == 5) { GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeader); GC.Message(2005, GC.MyChar.Name + "Has won the TopGuildLeader Congratulations"); } if (Control == 2) { if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner &&(GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.DeputyManager)) { GC.AddSend(Packets.NPCLink("Claimed 3k cps from GuildWar", 6)); GC.AddSend(Packets.NPCLink("Claimed TopDeputyLeader from TheGuildWar", 7)); GC.AddSend(Packets.NPCLink("Thanks!", 255)); GC.AddSend(Packets.NPCSetFace(10)); GC.AddSend(Packets.NPCFinish()); } } if (Control == 6) { GC.MyChar.CPs += 3000; GC.Message (2005, GC.MyChar.Name + "Has won 3k cps Congratulations"); } if (Control == 7) { GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader); GC.Message(2005, GC.MyChar.Name + "Has won the TopDeputyLeader Congratulations"); } break; #endregion
Who king of C# can fix this?
Waiting for that...
|
|
|
 |
|
Similar Threads
|
Winner on Arena?
06/06/2010 - Atlantica Online - 1 Replies
is there a way to know who's gonna win at the arena?
some tools maybe? or its just pure observing ability?
cause i got several advice from someone and the bid always win.
|
Pkt bug There is no winner
09/04/2009 - EO PServer Hosting - 1 Replies
hello everyone, i need help again, this is about the Pk Tournament, after everyone is killed and there is one last player left he/she cant leave the tournament, there is only an nps saying if you want to go to cronus, there isa no awarder, now this would tell everything, it would be a problem in the cq_npc but no, the awarder appears sometimes when you try to claim cthe price if just teleports you to cronus, i was looking in cq_action, but nothing. if you've have this problem and have fixed it...
|
Patch 5018: The Guild Winner Will Gain 3000CPs!
03/17/2008 - Conquer Online 2 - 3 Replies
Patch 5018: The Guild Winner Will Gain 3000CPs! (Pre-download Is Available Now) - ConquerRPG Forum
So thats what 15 dbs? TQ getting a tiny bit less greedy?
btw new client in patch 5018.
|
All times are GMT +1. The time now is 11:27.
|
|