Register for your free account! | Forgot your password?

You last visited: Today at 16:16

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

Advertisement



Claim Reward GW NPC

Discussion on Claim Reward GW NPC within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2007
Posts: 383
Received Thanks: 406
Claim Reward GW NPC

Hello, Equalizer92 make an NPC, for claim Reward after to win GW, he do this for 5165 Source, I look some error and could fix this, now the problem is, people who win the GW can claim Reward a lots of time, how can to do for can claim Reward only a time?

Please help me, and thank to all who try help me!

Here the codec:

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 (2005GC.MyChar.Name "Has won 3k cps Congratulations");
                                }
                                if (
Control == 5)
                                {
                                    
GC.MyChar.StatEff.Add(StatusEffectEn.TopGuildLeader);
                                    
GC.Message(2005GC.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 (2005GC.MyChar.Name "Has won 3k cps Congratulations");
                                }
                                    if (
Control == 7)
                                {
                                    
GC.MyChar.StatEff.Add(StatusEffectEn.TopDeputyLeader);
                                    
GC.Message(2005GC.MyChar.Name "Has won the TopDeputyLeader Congratulations");
                                }
                                break; 
#endregion
BALTA00 is offline  
Old 12/29/2009, 05:30   #2
 
WHITELIONX's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 532
Received Thanks: 66
Wouldn`t you need to put something like "else if (GC.MyChar.CPs == 3000)" so that it recognises it has given the CPs?
WHITELIONX is offline  
Reply


Similar Threads Similar Threads
claim bot
06/22/2010 - FFXI Exploits, Hacks, Bots, Tools & Macros - 2 Replies
anyone can help me find a working one? just came back to ffxi after a few years to check it out and can't seem to find any
Claim bot
02/15/2010 - Final Fantasy XI - 4 Replies
Anyone know a good bot out there for claiming? anything out there other than FFXIAPP since its the only thing i hear about ... If anyone knows a good claim bot let me know would appreciate it.
claim bot
02/06/2010 - FFXI Guides & Templates - 0 Replies
anyone can help me find a working one? just came back to ffxi after a few years to check it out and can't seem to find any
claim bot
02/06/2010 - Final Fantasy XI - 0 Replies
anyone can help me find a working one? just came back to ffxi after a few years to check it out and can't seem to find any
Best Claim bot?
04/12/2006 - Final Fantasy XI - 4 Replies
Which bot would you guys say is most effecting in claiming NMs, like Morbolger, Torrent, etc? With and without Warp? FFXI App, Mr Argus? Any other out there?



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


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.