Register for your free account! | Forgot your password?

You last visited: Today at 16:56

  • Please register to post and access all features, it's quick, easy and FREE!


WriteInt 16/32/move

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 67
Received Thanks: 9
WriteInt 16/32/move

Does any of u guys have Code of ,
WriteInt 16
WriteInt 32
And
Move ??

I need it for a project of Conquer Online . Could u guys paste it here ,?

Thx,
Lesley21.



lesley21 is offline  
Old 10/12/2009, 09:32   #2
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 489
Jump void:

Quote:
public static void Handle(Main.GameClient GC, byte[] Data)
{
GC.MyChar.Mining = false;
GC.MyChar.AtkMem.Attacking = false;
GC.MyChar.Action = 100;
if (GC.MyChar.Loc.AbleToJump(BitConverter.ToUInt16(Da ta, 8), BitConverter.ToUInt16(Data, 10), GC.MyChar.StatEff.Contains(NewestCOServer.Game.Sta tusEffectEn.Cyclone)))
{
Game.World.Action(GC.MyChar, Data);
GC.MyChar.Loc.Jump(BitConverter.ToUInt16(Data, 8), BitConverter.ToUInt16(Data, 10));
Game.World.Spawns(GC.MyChar, true);
}
else
{
GC.LocalMessage(2005, "Invalid Jump!");
GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 0, GC.MyChar.Loc.X, GC.MyChar.Loc.Y, 0x6c));
}
}
Here the Write´s

public unsafe void WriteInt16(ushort val)
{
*((ushort*)(Ptr + Count)) = val;
Count += 2;
}
public unsafe void WriteInt32(uint val)
{
*((uint*)(Ptr + Count)) = val;
Count += 4;
}
public unsafe void WriteInt64(ulong val)
{
*((ulong*)(Ptr + Count)) = val;
Count += 8;
}

Here the walk:

public static void Handle(Main.GameClient GC, byte[] Data)
{
GC.MyChar.Mining = false;
GC.MyChar.AtkMem.Attacking = false;
GC.MyChar.Action = 100;
Game.World.Action(GC.MyChar, Data);
GC.MyChar.Direction = (byte)(Data[4] % 8);
GC.MyChar.Loc.Walk((byte)(Data[4] % 8));
Game.World.Spawns(GC.MyChar, true);
}

All based on patch 5119+


~Yuki~ is offline  
Reply



« help can someone show me how to make my own zoomhack | Just Unter and got it »

Similar Threads
WriteInt 16/32/move
10/11/2009 - CO2 Main - Discussions / Questions - 0 Replies
Does any of u guys have Code of , WriteInt 16 WriteInt 32 And Move ?? I need it for a project of Conquer Online . Could u guys paste it here ,?:confused: Thx, Lesley21.
How to move your EXP
07/09/2009 - CO2 Weapon, Armor, Effects & Interface edits - 9 Replies
/ini/info.ini (file to edit) ORIGIONAL Exp_XPos=275 Exp_YPos=675 AddExp_XPos=365 AddExp_YPos=675 My New Location



All times are GMT +1. The time now is 16:56.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.