Register for your free account! | Forgot your password?

You last visited: Today at 07:51

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


[Release] 5165 Warehouses Auth System

Reply
 
Old 08/04/2010, 11:39   #16
 
elite*gold: 0
Join Date: Jun 2010
Posts: 2,200
Received Thanks: 851
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: 90
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: 369
Quote:
Originally Posted by SomeNublet View Post
Does this still work?
No. It broke a leg and stopped working.


Syst3m_W1z4rd is offline  
Reply



« Remote Server Control | [Release] Very first Self code »

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.jpg http://img714.imageshack.us/img714/5372/64922998.jpg http://img59.imageshack.us/img59/1025/64930238.jpg
[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 +1. The time now is 07:51.


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.