wow, read every single post took long time but i did it, , ver nice job guys, and it is nice to see, somehting that was originally very poor put together server source code now actually turning out something half decent, thnx for putting all of your hard earned time into this kindof learning project, and im looking forward to learn from this project aswell even though i barely no nothing but from what guides and help you have put up in this thread...... but ill study this stuff an hopefully be able to contribute later on
thnx lots
Edit: oh and hybris can you give an example of your new /give command because i get it a little bit but not fully, here let try to tell you what i think
int Item_Location = 0;
int Item_Inventory = 0;
int Item_Type = 0;
int Item_Color = 0;
int Item_Level = 0;
int Item_Quality = 0;
int Item_Compose = 0;
int Item_UID = 0;
int Item_ID = 0;
int LeftHand = 0;
if (UID < 1)
say you want a dragon glaive in your left hand,right hand and inventory this would be the code
/give 41 1 0 130 7 0? 0? 510339 1
--- if i have a ? next to it, it means i dnt quite understand that part of it,but is that a little how it goes or is it still somehting like /give right hand 510339
Ok here big news for NPCs, Monsters and AVATARs.
First the avatars : The Avatar is designed in the Model of your char, for example if you set your own Model as "3" you'll have a Small Male with a Chinese Design Avatar. With "50003" you'll have a Small Male with another Head. I'll try to make a library of all Avatars. Btw 1 is Small Female, 2 is Large Female, 3 is Small Male and 4 is Large Male.
Second (Monsters and NPCs) :
You can add a Monster or an NPC in the Characters Database, just use a huge ID like 5000. Then use the
Code:
Character Char = BackEndDB.GetFullChar(5000)
Client.SendData(PacketBuilder.SpawnEntity(5000)
That will add the desired entity where you wanted, btw this entity will be seen only if your near it when it spawns, and when you leave it disappear. You can make a "while" which makes it appear each time someone comes near it so that he sees it.
Here are some Models i found (i'll try to find some more, or if someone can give me some Models that would be nice) :
Code:
/* 1 Small Female
* 2 Large Female
* 3 Small Male
* 4 Large Male
* 900 Guard
* 400 Blue BladeMonster
* 401 Blue Bandit
* 402 Blue Mouse
* 403 FireSnake
* 404 AlienSnake
* 405 SilverHawk
* 406 SilverTomBat */
Originally posted by modar@Aug 14 2006, 12:52 hybris can you give an example of your new /give command because i get it a little bit but not fully, here let try to tell you what i think
int Item_Location = 0;
int Item_Inventory = 0;
int Item_Type = 0;
int Item_Color = 0;
int Item_Level = 0;
int Item_Quality = 0;
int Item_Compose = 0;
int Item_UID = 0;
int Item_ID = 0;
int LeftHand = 0;
if (UID < 1)
say you want a dragon glaive in your left hand,right hand and inventory this would be the code
/give 41 1 0 130 7 0? 0? 510339 1
--- if i have a ? next to it, it means i dnt quite understand that part of it,but is that a little how it goes or is it still somehting like /give right hand 510339
You can use /give /? to have some explain about the command, /give /? |More will give you more command for help, like /give /location, btw if this dont work always try to add /? like /give /type /?.
So if you want a Dragon Glaive in your LeftHand, in your RightHand and in your Inventory you'll have to send these 3 Packets :
/give 1 LeftHand 101 1 29 7 9 (this one adds in the LeftHand a Glaive of level 125 Super +9)
/give 1 RightHand 101 1 29 7 9 (this one adds in the RightHand)
/give 0 RightHand 101 1 29 7 9 (this one adds in the inventory (no matter if its RightHand or else))
But this may bug cause it is "impossible" to add 2 2hander Weapons on each Hand. You'll be able to do it but it'll make some bugs (like adding another one in the inventory without asking etc...)