Register for your free account! | Forgot your password?

You last visited: Today at 17:45

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


Claim Reward GW NPC

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2007
Posts: 380
Received Thanks: 405
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
 
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



« i need help to fix this problem | [HELP]5165 Source »

Similar Threads
claim bot
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
2 Replies - FFXI Exploits, Hacks, Bots, Tools & Macros
Claim bot
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...
4 Replies - Final Fantasy XI
claim bot
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
0 Replies - FFXI Guides & Templates
claim bot
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
0 Replies - Final Fantasy XI
Best Claim bot?
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...
4 Replies - Final Fantasy XI



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


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.