Help me in Auto invite For 5165 + Pic

10/12/2010 08:54 |xabi|#1
Welcome all members

I want To know How I do Auto invite in 5165

look like this pic
[Only registered and activated users can see links. Click Here To Register...]

and this my chat type

Code:
   Talk = 2000, 
           Whisper = 2001, 
           Action = 2002, 
           Team = 2003, 
           Guild = 2004, 
           Top = 2005, 
           Spouse = 2006, 
           SYSTem = 2007, 
           clan = 2004, 
           tip = 2015, 
           Yell = 2008, 
           Friend = 2009, 
           Broadcast = 2010, 
           Center = 2011, 
           Ghost = 2013, 
           Service = 2014, 
           World = 2021, 
           Dialog = 2100, 
           LoginInformation = 2101, 
           VendorHawk = 2104, 
           TopRight = 2109, 
           ClearTopRight = 2108, 
           FriendsOfflineMessage = 2110, 
           GuildBulletin = 2111, 
           TradeBoard = 2201, 
           FriendBoard = 2202, 
           NewBroadcast = 2500, 
           TeamBoard = 2203, 
           GuildBoard = 2204, 
           OthersBoard = 2205
plz Give me Example.
10/12/2010 09:09 Arcо#2
This was discussed already, its an npc reply subtype of 6.
10/12/2010 09:18 pro4never#3
So do a foreach loop through connected clients and then simply send them the request. if they reply ok then send them to map/add to list of ppl in it or w/e you want for your event.
10/12/2010 22:17 |xabi|#4
thanks

Can Any One Give Me Exampel?

I want to change information only plz fast
10/13/2010 22:39 |xabi|#5
i need answer now plz
10/13/2010 23:31 Arcо#6
We gave you answers, now you must take the answers we gave, and use them to your knowledge.
10/21/2010 20:14 StefanHAKER#7
would be pretty nice if some1 releases this...
10/21/2010 22:22 Arcо#8
Quote:
Originally Posted by StefanHAKER View Post
would be pretty nice if some1 releases this...
Its been discussed enough to be put to use.
10/21/2010 23:59 Korvacs#9
Honestly people, you send an npc message packet with subtype 6, this isnt hard, you have hundreds of examples of these in your npcdialog class. All you have to do is change the type >.<!
10/22/2010 01:17 Arcо#10
Quote:
Originally Posted by Korvacs View Post
Honestly people, you send an npc message packet with subtype 6, this isnt hard, you have hundreds of examples of these in your npcdialog class. All you have to do is change the type >.<!
People just wont be happy till they are spoonfed with actual source dependent code.
10/22/2010 14:34 StefanHAKER#11
Give us an example peoples... will help much
10/22/2010 14:37 Korvacs#12
........Words fail me.

Code:
        public static COPacket NPCSay(string Text)
        {
            byte[] Packet = new byte[8 + 17 + Text.Length];
            COPacket P = new COPacket(Packet);
            P.WriteInt16((ushort)(Packet.Length - 8));
            P.WriteInt16((ushort)0x7f0);
            P.Move(6);
            P.WriteByte(0xff);
            P.WriteByte(0x01);//This is the npc reply type
            P.WriteByte(0x01);
            P.WriteByte((byte)Text.Length);
            P.WriteString(Text);
            P.Move(3);

            return P;
        }
You figure out the rest.
10/22/2010 15:19 StefanHAKER#13
I Guess i need to learn more
I Could find this myself, Just go to npc dialog , and right click on a random npcsay and then go to definition .. pretty easy yeah
Problem is , how to type a message like that.. I cant get it -.-