Character Spawm proplem patch 5366

03/07/2011 08:40 koko425#1
hello my character spawm didnt right
[Only registered and activated users can see links. Click Here To Register...]
i cant see my stuff and other titles about magic attack and defens and HP can any one help me
03/07/2011 08:43 Spirited42#2
If you don't know how to code, then don't use the 5360 source that is being leaked from me because you'll get little / no respect from both forums.
03/07/2011 09:15 koko425#3
Quote:
Originally Posted by Spirited View Post
If you don't know how to code, then don't use the 5360 source that is being leaked from me because you'll get little / no respect from both forums.
hay fang i am coding more well see iam updateing some packtes npc spawm and other thing iteams
03/07/2011 09:17 pro4never#4
To show items you need to use 1009 item usage packet which now has an offset for each gear slot. You simply write the item uid to that slot and send it. That's what shows the packet on yourself.

PS: released ACTUAL 5355+ source
03/07/2011 09:37 koko425#5
i update it actualy
here is my iteam usage
Quote:
using System;

namespace Conquer_Online_Server.Network.GamePackets
{
public class ItemUsage : Writer, Interfaces.IPacket
{
public const ushort
BuyFromNPC = 1,
SellToNPC = 2,
RemoveInventory = 3,
DropItem = 37,
EquipItem = 4,
UnequipItem = 6,
ViewWarehouse = 9,
WarehouseDeposit = 10,
WarehouseWithdraw = 11,
DropMoney = 38,
Repair = 14,
DragonBallUpgrade = 19,
MeteorUpgrade = 20,
Ping = 27;

byte[] Buffer;
public ItemUsage(bool Create)
{
if (Create)
{
this.Buffer = new byte[0x20];
Writer.WriteUInt16(0x18, 0, this.Buffer);
Writer.WriteUInt16(0x3f1, 2, this.Buffer);
}
}
public uint dwExtraInfo
{
get
{
return BitConverter.ToUInt32(this.Buffer, 20);
}
set
{
Writer.WriteUInt32(value, 20, this.Buffer);
}
}

public uint dwParam
{
get
{
return BitConverter.ToUInt32(this.Buffer, 8);
}
set
{
Writer.WriteUInt32(value, 8, this.Buffer);
}
}

public uint ID
{
get
{
return BitConverter.ToUInt32(this.Buffer, 12);
}
set
{
Writer.WriteUInt32(value, 12, this.Buffer);
}
}

public uint Position
{
get
{
return BitConverter.ToUInt32(this.Buffer, 8);
}
set
{
Writer.WriteUInt32(value, 8, this.Buffer);
}
}

public uint TimeStamp
{
get
{
return BitConverter.ToUInt32(this.Buffer, 0x10);
}
set
{
Writer.WriteUInt32(value, 0x10, this.Buffer);
}
}

public uint UID
{
get
{
return BitConverter.ToUInt32(this.Buffer, 4);
}
set
{
Writer.WriteUInt32(value, 4, this.Buffer);
}
}

public byte[] ToArray()
{
return Buffer;
}
public void Deserialize(byte[] buffer)
{
Buffer = buffer;
}
public void Send(Client.GameState client)
{
client.Send(Buffer);
}
}
}
03/07/2011 10:05 pro4never#6
Keep trying. Item usage is a BIG packet now. It has uint offsets for each item slot.

That packet will no longer work as it's like a 80+ byte packet for starters and has way more values now to write to.
03/07/2011 10:06 koko425#7
Quote:
Originally Posted by pro4never View Post
To show items you need to use 1009 item usage packet which now has an offset for each gear slot. You simply write the item uid to that slot and send it. That's what shows the packet on yourself.

PS: released ACTUAL 5355+ source
thanks i got it
but i want show titles and detiles
see
[Only registered and activated users can see links. Click Here To Register...]
03/07/2011 10:08 pro4never#8
Quote:
Originally Posted by koko425 View Post
thanks i got it
but i want show titles and detiles
see
[Only registered and activated users can see links. Click Here To Register...]
That's a new packet.


It's also in my source but I forget what the id is. If you're really wanting to work on his source on your own then I'd suggest grabbing my proxy and logging packets. You can find that one really easily with it.
03/07/2011 10:12 koko425#9
Quote:
Originally Posted by pro4never View Post
That's a new packet.


It's also in my source but I forget what the id is. If you're really wanting to work on his source on your own then I'd suggest grabbing my proxy and logging packets. You can find that one really easily with it.
in velite bot have packet logger
can i use it to grap packets
and the id is 1040
03/07/2011 10:38 koko425#10
pro4never thanks any way i got it
[Only registered and activated users can see links. Click Here To Register...]

#closed