Register for your free account! | Forgot your password?

You last visited: Today at 13:14

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

Advertisement



[Release] 5165 Warehouses Auth System

Discussion on [Release] 5165 Warehouses Auth System within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 08/04/2010, 11:39   #16
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Well guys how I did mine was different.

btw why are you doing
Code:
#region Warehouses
                            case 8:
                                {
                                 if (isCorrectWHPassword(GC, Data, NPC, Control))
                                    {
                                        GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 4, N.Loc.X, N.Loc.Y, 0x7e));
                                    }
                                  break;
                                }
                            case 10012:
                                {
                                    if (isCorrectWHPassword(GC, Data, NPC, Control))
                                    {
                                     GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 4, N.Loc.X, N.Loc.Y, 0x7e));
                                    }
                                    break;
                                }
                            case 10028:
                                {
                                    if (isCorrectWHPassword(GC, Data, NPC, Control))
                                    {
                                      GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 4, N.Loc.X, N.Loc.Y, 0x7e));
                                    }
                                    break;
                                }
                            case 10011:
                                {
                                    if (isCorrectWHPassword(GC, Data, NPC, Control))
                                    {                                    
                                     GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 4, N.Loc.X, N.Loc.Y, 0x7e));
                                    }
                                    break;
                                }
                            case 10027:
                                {
                                    if (isCorrectWHPassword(GC, Data, NPC, Control))
                                    {
                                    GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 4, N.Loc.X, N.Loc.Y, 0x7e));
                                    }
                                    break;
                                }
                            case 44:
                                {
                                    if (isCorrectWHPassword(GC, Data, NPC, Control))
                                    {
                                        GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 4, N.Loc.X, N.Loc.Y, 0x7e));
                                    }
                                    break;
                                }
                            case 4101:
                                {
                                    if (isCorrectWHPassword(GC, Data, NPC, Control))
                                    {
                                        GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 4, N.Loc.X, N.Loc.Y, 0x7e));
                                    }
                                    break;
                                }
                            #endregion
When this is so much more logical
Code:
#region Warehouses
                            case 8:
                            case 10012:
                            case 10028:
                            case 10011:
                            case 10027:
                            case 44:
                            case 4101:
                                {
                                    if (isCorrectWHPassword(GC, Data, NPC, Control))
                                    {
                                        GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 4, N.Loc.X, N.Loc.Y, 0x7e));
                                    }
                                    break;
                                }
                            #endregion
as for checking if you have already entered your warehouse and not to ask again untill next login just define 'bool Warehouseopen;" and do like
Code:
#region Warehouses
                            case 8:
                            case 10012:
                            case 10028:
                            case 10011:
                            case 10027:
                            case 44:
                            case 4101:
                                {
                                    if (WarehouseOpen == false)
                                    {
                                    if (isCorrectWHPassword(GC, Data, NPC, Control))
                                    {
WarehouseOpen = true;
GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 4, N.Loc.X, N.Loc.Y, 0x7e));
                                    }
                                    }
                                    else { GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 4, N.Loc.X, N.Loc.Y, 0x7e)); }
                                    break;
                                }
                            #endregion
_DreadNought_ is offline  
Thanks
1 User
Old 08/05/2010, 04:52   #17
 
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
Quote:
Originally Posted by Eliminationn View Post
Well guys how I did mine was different
:-) nice fixed thanks
kamote is offline  
Old 03/31/2011, 09:37   #18
 
elite*gold: 0
Join Date: Dec 2006
Posts: 100
Received Thanks: 13
Does this still work?
SomeNublet is offline  
Old 04/01/2011, 20:42   #19
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
Quote:
Originally Posted by SomeNublet View Post
Does this still work?
No. It broke a leg and stopped working.
Syst3m_W1z4rd is offline  
Reply


Similar Threads Similar Threads
[Release] Flower System (5165)
09/25/2010 - CO2 PServer Guides & Releases - 71 Replies
Heya! Mostly complete... just figure a way to save it on your server.... ScreenShots: http://img98.imageshack.us/img98/1949/164947279.j pg http://img714.imageshack.us/img714/5372/64922998. jpg http://img59.imageshack.us/img59/1025/64930238.jp g
[RELEASE]Anti bot system 5165
06/15/2010 - CO2 PServer Guides & Releases - 15 Replies
Here is an simple anti bot system. Credits goes to Arco for the npc send thing :) First go to MyThreads.cs and find: interval = Interval; T = new Thread(new ThreadStart(Run)); T.Start();
[RELEASE]Fully Working AFK System 5165
05/16/2010 - CO2 PServer Guides & Releases - 9 Replies
Hello Elitepvpers. I will start release things again. I released a tdm for not long time ago, but now i will release a fully working afk system. If you are smart enough you can convert it with my anti bot thing. First go to Character.cs and search for: public ulong VP; under it put: public bool AFK;
[Release]NPC system 5165 simplified
05/10/2010 - CO2 PServer Guides & Releases - 14 Replies
//



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


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.