[Release] Some needed stuff for Coemu

09/23/2009 08:14 samehvan#106
Quote:
Originally Posted by 12tails View Post
@samehvan
Please put this at your first post in this thread....
i'm afraid i'm using a different system for Top Ranks so if i added it to the first post and someone asked me about anything in it i wont be pretty sure answering it :p

Quote:
Originally Posted by Illustria View Post
Unfortunately i use phpmyadmin so i dunno how to run sql files, as well i get an error
open the data base using your PhpMyadmin
click the item table from the list on the left

you will c under the table fields
Code:
Add ... field(s)At End of Table At Beginning of Table After
put 1 to add and hit Go

a new screen will appear asking for the field details add the details just like i said on post 3

and the SocketProgress variable at the source i also said on post 3 where exactly u need to add it
09/23/2009 08:17 Illustria#107
Quote:
Originally Posted by samehvan View Post
i'm afraid i'm using a different system for Top Ranks so if i added it to the first post and someone asked me about anything in it i wont be pretty sure answering it :p



open the data base using your PhpMyadmin
click the item table from the list on the left

you will c under the table fields
Code:
Add ... field(s)At End of Table At Beginning of Table After
put 1 to add and hit Go

a new screen will appear asking for the field details add the details just like i said on post 3

and the SocketProgress variable at the source i also said on post 3 where exactly u need to add it
Thanks ill give it a shot once i recover the source im using, i screwed it up bigtime, after it loads everything when you log in, the map appears and immediately disconnects, no errors anywhere
09/23/2009 09:51 Illustria#108
Error 23 'CoEmu_v2_GameServer.Packets.ConquerPacket' does not contain a definition for 'ItemInfo' D:\Users\Isharu\Desktop\CoEmu v2\CoEmu v2 GameServer\Handlers\ItemBuy.cs 156 35 CoEmu v2 GameServer

Man these things just keep coming up
09/23/2009 11:52 12tails#109
Quote:
Originally Posted by Illustria View Post
Error 1 'CoEmu_v2_GameServer.Database.DatabaseConnection' does not contain a definition for 'Connection' D:\Users\Isharu\Desktop\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 269 38 CoEmu v2 GameServer

it's because into your server will be :

Code:
DatabaseConnection.NewConnection
into my server is just Connection...

any other problem post here please...

EDIT:

@Illustria:

something is wrong in character packet.... I think you are gotting this on GameServer:

[GameServer] Packet to large for client send.

also if you will not use the load tops remove from Nano.cs :

Code:
Database.Database.LoadTops():
09/23/2009 12:58 Illustria#110
Crap my public static byte[] ItemInfo got deleted, as much as i hate to ask can someone post theirs, i dont know the format to rewrite it yet.
09/23/2009 15:16 minakaram#111
i need help with this plz and make it simple , step by step :)
09/23/2009 19:11 samehvan#112
Quote:
Originally Posted by Illustria View Post
Crap my public static byte[] ItemInfo got deleted, as much as i hate to ask can someone post theirs, i dont know the format to rewrite it yet.
Code:
public static byte[] ItemInfo(Structs.Struct.ItemInfo Item)
      	{
			PacketBuilder Packet = new PacketBuilder(1008, 48);
			Packet.Long(Item.UID);
			Packet.Long(Item.ItemID);
            Packet.Short(Item.Dura);
            Packet.Short(Item.MaxDura);
          	Packet.Short(1);
          	Packet.Int(Item.Position);
            Packet.Int(0);
            Packet.Short(Item.SocketProgress);
            Packet.Int(0);
          	Packet.Int(0);
          	Packet.Int(Item.Soc1);
          	Packet.Int(Item.Soc2);
          	Packet.Short(2);
          	Packet.Int(Item.Plus);
          	Packet.Int(Item.Bless);
          	Packet.Int(Item.Free); // Free / Unfree
          	Packet.Long(Item.Enchant);
          	Packet.Int(0);
          	Packet.Short(0); // Suspicious item??
          	Packet.Short(Item.Locked); //Boolean 1- yes 0 - no (locked)
          	Packet.Long(Item.Color); //Item color. 2-9(headgear is 3-9)
            Packet.Long(Item.Progress);// Composition Progress
          	return Packet.getFinal();
      	}

Quote:
Originally Posted by minakaram View Post
i need help with this plz and make it simple , step by step :)
the pic is too small i can't read the lines ,upload it to any image host site plz
09/23/2009 20:06 Illustria#113
Why me lol

Quote:
Error 1 The call is ambiguous between the following methods or properties: 'CoEmu_v2_GameServer.Packets.ConquerPacket.ItemInf o(CoEmu_v2_GameServer.Structs.Struct.ItemInfo)' and 'CoEmu_v2_GameServer.Packets.ConquerPacket.ItemInf o(CoEmu_v2_GameServer.Structs.Struct.ItemInfo)' D:\Users\Isharu\Desktop\CoEmu v2\CoEmu v2 GameServer\Handlers\ItemEquip.cs 319 30 CoEmu v2 GameServer
09/23/2009 21:05 minakaram#114
samehvan i really need help here plz
09/23/2009 21:59 samehvan#115
Quote:
Originally Posted by Illustria View Post
Why me lol
check if u have 2 of the ItemInfo packet ,remove one of them

Quote:
Originally Posted by minakaram View Post
samehvan i really need help here plz
i would like to help but the Screen shot u put is too small for me to c what is in it , please upload it to any other site or attach it as a file
09/23/2009 22:21 12tails#116
@samehvan
Agree...

this pic is too small.. please take one bigger : X
09/24/2009 14:53 minakaram#117
the pic in the attach , and thx :)
09/25/2009 00:30 n0mansland#118
Good job, would use it but I deleted all my stuff. Guess I got bored of it =/, Would've been a great addon :P +Thanks
09/26/2009 01:45 samehvan#119
Quote:
Originally Posted by minakaram View Post
the pic in the attach , and thx :)
1-first error means u ddnt add the woxin oven to your source yet , anyhow to fix that for now find
Code:
public int Plus
you will find 2 matches i think after the one at ItemInfo add this

Code:
public int Progress=0;
2-errors 2-7 u need to know how many arguments does your packet has and edit this lines as requierd

3-errors 8-17 after the Progress u just added to fix error 1 add this

Code:
            public byte Free = 0;
            public byte Locked = 0;
4-to fix the rest errors that your screen shot shows add this at Structs/Skill.cs

Code:
public enum SkillIds : int
        {
            Thunder = 1000,
            Fire = 1001,
            Tornado = 1002,
            Cure = 1005,
            Lightning = 1010,
            Accuracy = 1015,
            Shield = 1020,
            Fortress = 1021,
            Superman = 1025,
            Roar = 1040,
            FastBlade = 1045,
            ScentSword = 1046,
            Revive = 1050,
            Dash = 1051,
            HealingRain = 1055,
            Summon = 1060,
            Invisibility = 1075,
            StarofAccuracy = 1085,
            MagicShield = 1090,
            Stigma = 1095,
            Pray = 1100,
            Restore = 1105,
            Cyclone = 1110,
            FireCircle = 1120,
            Volcano = 1125,
            FireRing = 1150,
            Bomb = 1160,
            FireofHell = 1165,
            Nectar = 1170,
            AdvancedCure = 1175,
            FireMeteor = 1180,
            SpiritHealing = 1190,
            Meditation = 1195,
            Hercules = 1115,
            Disguise = 1210,
            Stun = 1220,
            Strike = 1230,
            WideStrike = 1250,
            SpeedGun = 1260,
            Robot = 1270,
            WaterElf = 1280,
            Penetration = 1290,
            Halt = 1300,
            Binding = 1310,
            FlyingMoon = 1320,
            DivineHare = 1350,
            NightDevil = 1360,
            Dance2 = 1380,
            Dance3 = 1385,
            Dance4 = 1390,
            Dance5 = 1395,
            Dance6 = 1400,
            Dance7 = 1405,
            Dance8 = 1410,
            CruelShade = 3050,
            Reflect = 3060,
            Dodge = 3080,
            Pervade = 3090,
            SummonGuard = 4000,
            SummonBat = 4010,
            SummonBatBoss = 4020,
            StandinBat = 4030,
            BloodyBat = 4050,
            FireEvil = 4060,
            Skeleton = 4070,
            SpeedLightning = 5001,
            Snow = 5010,
            StrandedMonster = 5020,
            Phoenix = 5030,
            Boom = 5040,
            Boreas = 5050,
            TwoFoldBlades=6000,
            ToxicFog=6001,
            ShurikenVortex=6010,
            Seizer = 7000,
            Earthquake = 7010,
            Rage = 7020,
            Celestial = 7030,
            Roamer = 7040,
            RapidFire = 8000,
            Scatter = 8001,
            XPFly = 8002,
            AdvancedFly = 8003,
            ArrowRain = 8030,
            GuardSpell = 8036,
            Intensify = 9000,
            Bless = 9876,
            Poison = 10200,
            Bs_Cure = 10201,
            Bs_Meditation = 10202,

        }
i dunno what errors u still have but that is what i could c from the pic
09/26/2009 10:58 minakaram#120
Error 49 'CoEmu_v2_GameServer.Calculations.Calculation' does not contain a definition for 'DeleteItem' C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 1202 69 CoEmu v2 GameServer

Error 6 'CoEmu_v2_GameServer.Entities.Character' does not contain a definition for 'HeavensBlessing' and no extension method 'HeavensBlessing' accepting a first argument of type 'CoEmu_v2_GameServer.Entities.Character' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 879 44 CoEmu v2 GameServer

Error 77 'CoEmu_v2_GameServer.Entities.Character' does not contain a definition for 'IsTrading' and no extension method 'IsTrading' accepting a first argument of type 'CoEmu_v2_GameServer.Entities.Character' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 1241 68 CoEmu v2 GameServer

Error 72 'CoEmu_v2_GameServer.Entities.Character' does not contain a definition for 'TradeCP' and no extension method 'TradeCP' accepting a first argument of type 'CoEmu_v2_GameServer.Entities.Character' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 1236 68 CoEmu v2 GameServer

Error 73 'CoEmu_v2_GameServer.Entities.Character' does not contain a definition for 'TradeList' and no extension method 'TradeList' accepting a first argument of type 'CoEmu_v2_GameServer.Entities.Character' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 1237 68 CoEmu v2 GameServer

Error 78 'CoEmu_v2_GameServer.Entities.Character' does not contain a definition for 'TradeOK' and no extension method 'TradeOK' accepting a first argument of type 'CoEmu_v2_GameServer.Entities.Character' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 1245 68 CoEmu v2 GameServer

Error 75 'CoEmu_v2_GameServer.Entities.Character' does not contain a definition for 'TradeSilver' and no extension method 'TradeSilver' accepting a first argument of type 'CoEmu_v2_GameServer.Entities.Character' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 1239 68 CoEmu v2 GameServer

Error 70 'CoEmu_v2_GameServer.Entities.Character' does not contain a definition for 'TradingWith' and no extension method 'TradingWith' accepting a first argument of type 'CoEmu_v2_GameServer.Entities.Character' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 1233 68 CoEmu v2 GameServer

Error 56 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Effect' and no extension method 'Effect' 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:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 1208 186 CoEmu v2 GameServer

Error 57 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'Suspicious' and no extension method 'Suspicious' 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:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 1208 227 CoEmu v2 GameServer

Error 80 Cannot implicitly convert type 'int' to 'byte'. An explicit conversion exists (are you missing a cast?) C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 426 31 CoEmu v2 GameServer

Error 81 Cannot implicitly convert type 'int' to 'byte'. An explicit conversion exists (are you missing a cast?) C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 427 29 CoEmu v2 GameServer

Error 1 No overload for method 'DropItem' takes '5' arguments C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\Handlers\DropItem.cs 65 43 CoEmu v2 GameServer

Error 7 No overload for method 'ItemInfo' takes '1' arguments C:\Documents and Settings\ADMIN\Desktop\Co Privat\247 KO\5095\CoEmu v2\CoEmu v2 GameServer\PacketProcessor.cs 903 58 CoEmu v2 GameServer