Register for your free account! | Forgot your password?

You last visited: Today at 12:14

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


[Request]AttackType's!

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
[Request]AttackType's!

Someone got a list with all the AttackType's? Cuz I can't figure out what number is what type,,,



YukiXian is offline  
Old 11/25/2008, 21:25   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 277
Received Thanks: 52
Melee = 2,
Magic = 21,
Archer = 25

Them?


Ultimatum is offline  
Old 11/25/2008, 21:33   #3
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 251
You forgot the marriage ones..

Melee = 2
MarriageRequest = 8
MarriageAccept = 9
Magic = 21
Archer = 25
 Haydz is offline  
Old 11/25/2008, 21:35   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Thanks, and what are 3 and 4?


YukiXian is offline  
Old 11/25/2008, 21:56   #5
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,877
Code:
using System;
using System.Collections;
using System.Runtime.InteropServices;
using System.Text;
using System.Native;

namespace Conquer.Packets
{
    public enum AttackTypes : uint
    {
        None = 0x00,
        Physical = 0x02,
        Magic = 0x15,
        Archer = 0x19,
        RequestMarriage = 0x08,
        AcceptMarriage = 0x09,
        Death = 0x0E
    }

    public unsafe struct RequestAttackPacket
    {
        public ushort Size;
        public ushort Type;
        public TIME TimeStamp;
        public uint UID;
        public uint OpponentUID;
        public ushort X;
        public ushort Y;
        public AttackTypes AtkType;
        // C++
        // union DWORD
        // {
        // 	WORD SpellID;
        //	WORD SpellLevel;
        //	DWORD Damage;
        // }
        public ushort SpellID;
        public ushort SpellLevel;
        public fixed sbyte TQServer[8];
        // Extra Informaiton used in re-casting (autoattack)
        public ushort Attacker_X;
        public ushort Attacker_Y;
        public bool Aggressive;
        public bool Decrypted;

        public void Decrypt(uint Seed)
        {
            ushort wSeed = (ushort)Seed;
            OpponentUID = (uint)Assembler.RollRight(OpponentUID, 13, 32);
            OpponentUID = (OpponentUID ^ 0x5F2D2463 ^ Seed) - 0x746F4AE6;
            SpellID = (ushort)(SpellID ^ (wSeed ^ 0x915D));
            SpellID = (ushort)(Assembler.RollLeft(SpellID, 3, 16) - 0xEB42);
            X = (ushort)(X ^ (wSeed ^ 0x2ED6));
            X = (ushort)(Assembler.RollLeft(X, 1, 16) - 0x22ee);
            Y = (ushort)(Y ^ (wSeed ^ 0xB99B));
            Y = (ushort)(Assembler.RollLeft(Y, 5, 16) - 0x8922);
        }
        public static void MoveData(void* New, void* Old)
        {
            Native.memcpy(New, Old, *((ushort*)Old) + 8);
        }
        public static RequestAttackPacket Create()
        {
            RequestAttackPacket retn = new RequestAttackPacket();
            retn.Size = 0x1C;
            retn.Type = 0x3FE;
            retn.TimeStamp = Native.timeGetTime();
            PacketBuilder.AppendTQServer((byte*)retn.TQServer, 8);
            return retn;
        }
    }
}
InfamousNoone is offline  
Old 11/25/2008, 22:38   #6
 
elite*gold: 0
Join Date: Nov 2008
Posts: 47
Received Thanks: 4
Thanks Inf , your the best.

EvilSammi


EvilSammi is offline  
Reply



« Requesting a guide that teaches everything. | [HELP]appserv problem »

Similar Threads
[Request]ZeroTolerance Dekaron Admin Request
02/21/2010 - Dekaron Private Server - 1 Replies
We need Staff Members ~EDITED~
[REQUEST] speak freakin english -_- florensi hack [REQUEST]
01/22/2010 - Florensia - 1 Replies
any florensia hacks?
[REQUEST]5165 Client Request Help/ Question
12/18/2009 - CO2 PServer - Discussions / Questions - 5 Replies
hey yall its me TheLeGend Im Back in CO for a while but i gots a question ok so i have a 5165 Client im editing for a server but the only problem is that stupid-ass popup page that comes up the Conquer Online - Official Site - co.91.com one...



All times are GMT +2. The time now is 12:14.


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.