[Release] Some needed stuff for Coemu

09/26/2009 11:29 vtroz#121
i have 2 error

Quote:
Error 4 The name 'ReqLvl' does not exist in the current context C:\Documents and Settings\Owner\Desktop\My server\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 107 68 CoEmu v2 GameServer
Quote:
Error 14 No overload for method 'ItemInfo' takes '15' arguments C:\Documents and Settings\Owner\Desktop\My server\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 2758 30 CoEmu v2 GameServer
09/26/2009 14:05 lukejonesy#122
umm ok get a load of this LOL. here come my error which! i have tried to solve and failed 10 million times>< 67 errors is a lot don't you think? LOL.
here they are: (hope you can help me in any way)


Error 1 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Progress' and no extension method 'Progress' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\SocketGem.cs 58 92 CoEmu v2 GameServer

Error 2 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Locked' and no extension method 'Locked' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\SocketGem.cs 58 207 CoEmu v2 GameServer

Error 3 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Free' and no extension method 'Free' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\SocketGem.cs 58 220 CoEmu v2 GameServer

Error 4 The name 'WeeklyPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 111 61 CoEmu v2 GameServer

Error 5 The name 'WeeklyPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 114 33 CoEmu v2 GameServer

Error 6 The name 'PKTournament' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 120 61 CoEmu v2 GameServer

Error 7 The name 'PKTournament' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 121 66 CoEmu v2 GameServer

Error 8 The name 'ClassPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 126 91 CoEmu v2 GameServer

Error 9 The name 'ClassPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 127 96 CoEmu v2 GameServer

Error 10 The name 'ClassPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 132 91 CoEmu v2 GameServer

Error 11 The name 'ClassPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 133 96 CoEmu v2 GameServer

Error 12 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 138 37 CoEmu v2 GameServer

Error 13 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 138 60 CoEmu v2 GameServer

Error 14 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 143 37 CoEmu v2 GameServer

Error 15 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 143 60 CoEmu v2 GameServer

Error 16 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 148 37 CoEmu v2 GameServer

Error 17 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 148 60 CoEmu v2 GameServer

Error 18 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 153 37 CoEmu v2 GameServer

Error 19 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 153 60 CoEmu v2 GameServer

Error 20 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 158 37 CoEmu v2 GameServer

Error 21 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 158 60 CoEmu v2 GameServer

Error 22 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 163 37 CoEmu v2 GameServer

Error 23 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 163 60 CoEmu v2 GameServer

Error 24 The name 'ClassPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 175 91 CoEmu v2 GameServer

Error 25 The name 'ClassPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 176 96 CoEmu v2 GameServer

Error 26 The name 'ClassPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 181 91 CoEmu v2 GameServer

Error 27 The name 'ClassPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 182 96 CoEmu v2 GameServer

Error 28 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 187 37 CoEmu v2 GameServer

Error 29 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 187 60 CoEmu v2 GameServer

Error 30 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 192 37 CoEmu v2 GameServer

Error 31 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 192 60 CoEmu v2 GameServer

Error 32 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 197 37 CoEmu v2 GameServer

Error 33 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 197 60 CoEmu v2 GameServer

Error 34 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 202 37 CoEmu v2 GameServer

Error 35 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 202 60 CoEmu v2 GameServer

Error 36 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 207 37 CoEmu v2 GameServer

Error 37 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 207 60 CoEmu v2 GameServer

Error 38 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 212 37 CoEmu v2 GameServer

Error 39 The name 'ConquerPacket' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 212 60 CoEmu v2 GameServer

Error 40 The name 'ClassPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 224 91 CoEmu v2 GameServer

Error 41 The name 'ClassPkWar' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Nano.cs 225 96 CoEmu v2 GameServer

Error 42 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Locked' and no extension method 'Locked' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 424 22 CoEmu v2 GameServer

Error 43 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Free' and no extension method 'Free' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 425 22 CoEmu v2 GameServer

Error 44 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Progress' and no extension method 'Progress' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 426 22 CoEmu v2 GameServer

Error 45 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Progress' and no extension method 'Progress' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 478 215 CoEmu v2 GameServer

Error 46 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Locked' and no extension method 'Locked' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 478 368 CoEmu v2 GameServer

Error 47 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Free' and no extension method 'Free' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 478 398 CoEmu v2 GameServer

Error 48 The name 'Teleport' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Calculations\Exp.cs 507 56 CoEmu v2 GameServer

Error 49 'CoEmu_v2_GameServer.Database.DatabaseConnection' does not contain a definition for 'Connection' C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 704 38 CoEmu v2 GameServer

Error 50 'CoEmu_v2_GameServer.Database.DatabaseConnection' does not contain a definition for 'Connection' C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 706 98 CoEmu v2 GameServer

Error 51 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Progress' and no extension method 'Progress' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 752
45 CoEmu v2 GameServer

Error 52 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Free' and no extension method 'Free' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 752 82 CoEmu v2 GameServer

Error 53 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Locked' and no extension method 'Locked' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 752 97 CoEmu v2 GameServer

Error 54 'CoEmu_v2_GameServer.Nano' does not contain a definition for 'Lotto' C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 755 30 CoEmu v2 GameServer

Error 55 No overload for method 'ItemInfo' takes '1' arguments C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 898 70 CoEmu v2 GameServer

Error 56 No overload for method 'SocketGem' takes '4' arguments C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 1058 23 CoEmu v2 GameServer

Error 57 The label 'case 1027:' already occurs in this switch statement C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 2020 34 CoEmu v2 GameServer

Error 58 'CoEmu_v2_GameServer.Nano' does not contain a definition for 'Lotto' C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 3857 69 CoEmu v2 GameServer

Error 59 'CoEmu_v2_GameServer.Nano' does not contain a definition for 'Lotto' C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 3858 87 CoEmu v2 GameServer

Error 60 'CoEmu_v2_GameServer.Nano' does not contain a definition for 'Lotto' C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 3859 42 CoEmu v2 GameServer

Error 61 'CoEmu_v2_GameServer.Nano' does not contain a definition for 'Lotto' C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 3864 59 CoEmu v2 GameServer

Error 62 The name 'ReqLvl' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 4531 68 CoEmu v2 GameServer

Error 63 The name 'ReqLvl' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 4660 64 CoEmu v2 GameServer

Error 64 The name 'TeleportAll' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 5242 33 CoEmu v2 GameServer

Error 65 The name 'TeleportAll' does not exist in the current context C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 5244 33 CoEmu v2 GameServer

Error 66 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Progress' and no extension method 'Progress' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 5336 26 CoEmu v2 GameServer

Error 67 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Progress' and no extension method 'Progress' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Luke\Desktop\CorinthianCO\CoEmu v2\CoEmu v2 GameServer\Handlers\NpcTalk.cs 5350 96 CoEmu v2 GameServer

--------------------------------------------------------------------------
1 set of errors for one person? to many! i've been trying for ages =( it isn't happening for me =( helps me please! lols. (sucks at C#) ><
09/26/2009 18:44 samehvan#123
Oh my God , all that errors ?? you are missing too many things ppl ,

@lukejonesy

errors 1-3,42-47 and 66-67 review my last post and add the definitions for Progress,Free and Locked where i mentioned

for the rest errors u will have to review the posts 1 and 3 again coz every thing u need is there

@vtroz

add this to your NpcTalk.cs

Code:
private static bool ReqLvl(int NewItemId, ClientSocket CSocket)
        {
            if (Nano.Items.ContainsKey(NewItemId))
            {
                Struct.ItemData Item = Nano.Items[NewItemId];
                if (Item.Level <= CSocket.Client.Level) return true;
            }
            return false;
        }
@minakaram

Those errors u r asking about are not in my releases , i dunno how u got them so i think u should review the posts u found them at and try to know what u have missed
09/27/2009 00:04 lukejonesy#124
righteo, i started again and got magic artisan working!!! yey for me!


thanks samehvan =D

next to try:
prof god! lols and the other npcs =)
09/27/2009 15:34 lukejonesy#125
i got some of them working. yey for me rofl. i also made my artisan ao in birdisland who soc's weapons, uses dbs not cps no more =D

thanks samehvan! your the man!

you wouldn't happen to have a file with the item ID's on it? like the map file how it lists the name of the map then the id? coz that'l help me out a lot =)

only another XXXX npcs to go! lols.

OH!!! almost forgot, i think magic artisan has a bug, because i made my katana super and loged off, then logged back in and it was elite again, also when i level it using magic artisan, it goes back to its starting level.
09/27/2009 15:38 blade911#126
Can someone just upload CoEmu fixed up a bit.
09/27/2009 21:10 samehvan#127
Quote:
Originally Posted by lukejonesy View Post
i got some of them working. yey for me rofl. i also made my artisan ao in birdisland who soc's weapons, uses dbs not cps no more =D

thanks samehvan! your the man!

you wouldn't happen to have a file with the item ID's on it? like the map file how it lists the name of the map then the id? coz that'l help me out a lot =)

only another XXXX npcs to go! lols.

OH!!! almost forgot, i think magic artisan has a bug, because i made my katana super and loged off, then logged back in and it was elite again, also when i level it using magic artisan, it goes back to its starting level.
Congratz bro , happy for u and i surly know how happy u feel for making it works ,cheers

about the item ids i think u should find a file named Items.txt at your SourceFolder/Game Server/bin/debug
it has all the 5095 items ,just search for the item id or item name

Quote:
Originally Posted by blade911 View Post
Can someone just upload CoEmu fixed up a bit.
there are too many Coemu sources already released , i heard that someone released one with vending and much more while i was a way and it was a good one as i heard
--------------
Added Reborn code for who hasn't it yet
09/27/2009 22:02 12tails#128
yes....

but it have some bugs:

-Itens doesn't drop...
-BuyingItens come broked
-Lag when use teleport void

and the hoster can't login...
09/27/2009 22:24 Kiyono#129
Quote:
Originally Posted by 12tails View Post
yes....

but it have some bugs:

-Itens doesn't drop... Monster drops?
-BuyingItens come broked Not hard to fix
-Lag when use teleport void Never experienced this

and the hoster can't login...
.
09/28/2009 02:57 samehvan#130
Quote:
Originally Posted by Kiyono View Post
.
seems u have it , so does it have the end shop icon which appears on the down r8 hand when vending ?? coz i tried two or 3 methods to have it without success , if it has can u plz find out the packet and tell me ?
09/28/2009 03:41 12tails#131
yes it has....

fully working shop (i've tested and work)

PM me latter samehvan.... tomorrow after school i can send u the codes and u can see how it's maked : D also for now i will not use CoEmu..... it have too many bugs...... for an example.... i fixed my save problem... but i got problem with attack... and the client got lag when teleport -.-'' : X and more some idiot bugs ...... i will study more C# and then i will start coemu again....
09/28/2009 07:49 samehvan#132
Quote:
Originally Posted by 12tails View Post
yes it has....

fully working shop (i've tested and work)

PM me latter samehvan.... tomorrow after school i can send u the codes and u can see how it's maked : D also for now i will not use CoEmu..... it have too many bugs...... for an example.... i fixed my save problem... but i got problem with attack... and the client got lag when teleport -.-'' : X and more some idiot bugs ...... i will study more C# and then i will start coemu again....
thanks bro, it was something wrong with my DMapData , solved now
09/28/2009 09:47 Kiyono#133
Quote:
Originally Posted by samehvan View Post
seems u have it , so does it have the end shop icon which appears on the down r8 hand when vending ?? coz i tried two or 3 methods to have it without success , if it has can u plz find out the packet and tell me ?
Yes, It has the icon anyway here are the packets...
Quit stall is
case 110:
{
break;
}
Code:
using System;

namespace Nano.Packets
{
    public partial class ConquerPacket
    {
        public static byte[] RemoveShop(int shopid, byte type)
        {
            Handlers.Handler.COPacket P = new Nano.Handlers.Handler.COPacket(new byte[16 + 8]);
            P.WriteUInt16(16);
            P.WriteByte(0xef);
            P.WriteByte(0x07);
            P.WriteUInt32((uint)shopid);
            P.WriteByte(type, 12);
            P.WriteTQServer();
            return P.Packet;
        }
        public static byte[] ShowShop(Connections.ClientSocket CSocket, int id, int X, int Y)
        {
            Handlers.Handler.COPacket P = new Nano.Handlers.Handler.COPacket(new byte[22 + CSocket.Client.Name.Length + 8]);
            P.WriteUInt16(22 + CSocket.Client.Name.Length);
            P.WriteByte(0xee);
            P.WriteByte(0x07);
            P.WriteUInt32((uint)id);
            P.WriteUInt16(X);
            P.WriteUInt16(Y);
            P.WriteByte(0x96);
            P.WriteByte(0x01);
            P.WriteByte(0x0e);
            P.WriteByte(0);
            P.WriteByte(0);
            P.WriteByte(0);
            P.WriteByte(1);
            P.WriteByte((byte)CSocket.Client.Name.Length);
            P.WriteString(CSocket.Client.Name);
            P.WriteString("TQServer", P.Packet.Length - 8);
            return P.Packet;
        }
    }
}
09/28/2009 14:40 samehvan#134
Quote:
Originally Posted by Kiyono View Post
Yes, It has the icon anyway here are the packets...
Quit stall is
case 110:
{
break;
}
Code:
using System;

namespace Nano.Packets
{
    public partial class ConquerPacket
    {
        public static byte[] RemoveShop(int shopid, byte type)
        {
            Handlers.Handler.COPacket P = new Nano.Handlers.Handler.COPacket(new byte[16 + 8]);
            P.WriteUInt16(16);
            P.WriteByte(0xef);
            P.WriteByte(0x07);
            P.WriteUInt32((uint)shopid);
            P.WriteByte(type, 12);
            P.WriteTQServer();
            return P.Packet;
        }
        public static byte[] ShowShop(Connections.ClientSocket CSocket, int id, int X, int Y)
        {
            Handlers.Handler.COPacket P = new Nano.Handlers.Handler.COPacket(new byte[22 + CSocket.Client.Name.Length + 8]);
            P.WriteUInt16(22 + CSocket.Client.Name.Length);
            P.WriteByte(0xee);
            P.WriteByte(0x07);
            P.WriteUInt32((uint)id);
            P.WriteUInt16(X);
            P.WriteUInt16(Y);
            P.WriteByte(0x96);
            P.WriteByte(0x01);
            P.WriteByte(0x0e);
            P.WriteByte(0);
            P.WriteByte(0);
            P.WriteByte(0);
            P.WriteByte(1);
            P.WriteByte((byte)CSocket.Client.Name.Length);
            P.WriteString(CSocket.Client.Name);
            P.WriteString("TQServer", P.Packet.Length - 8);
            return P.Packet;
        }
    }
}
thanks alot , same structure as i can c , it was a bug with my DMapData ,and getting the instances for each map and solved now , thanks for help
09/28/2009 21:23 killerbee#135
what shop you guys talkin about, sorry for a dumb question.