it the line
cin >> Msg;
thats givng me the error
Type: Posts; User: brietje698
it the line
cin >> Msg;
thats givng me the error
Unhandled exception at 0x104e63b1 in Chat.exe: 0xC0000005: Access violation writing location 0xcccccccc.
Whats wrong with:
char *Msg;
cin >> Msg;
printf(Msg);
I'm using VC2008
Thanks got that working =]
Now i still have to make a chat client from that =]
/*
Application: Chat Client v1.0
By: Brian Denys
Email: [email protected]
*/
/* Include Files */
#include <winsock2.h>
#include <stdio.h>
#pragma comment(lib, "ws2_32")
This is what I have:
/*
Application: Chat Client v1.0
By: Brian Denys
Email: [email protected]
*/
/* Include Files */
#include <winsock2.h>
bool APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved){
if(dwReason == DLL_PROCESS_ATTACH){
DisableThreadLibraryCalls(hModule);
CreateThread(NULL, 0, (unsigned...
My new code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
#include <winsock.h>
#include <winnt.h>
#include <wtypes.h>
#pragma comment(lib, "ws2_32")
Then i get those:
GunzPacketProcess.obj : error LNK2001: unresolved external symbol _io_cs
GunzPacketProcess.obj : error LNK2001: unresolved external symbol _packet_ID
GunzPacketProcess.obj :...
--------------------Configuration: GunzPacketProcess - Win32 Debug--------------------
Compiling...
GunzPacketProcess.cpp
C:\Program Files\Microsoft Visual...
How would I do that?
GunZ: The Duel
Google it =]
The error report are strange character, and I get it by using C and Asm.
Addresses and values are same.
The game gives me an error report message.
Because I tried it and it didn't work.
Because you can't call them without asm. And yes I'm sure the address is right.
You can call this :
ZPostShotMelee
---------------
00480C70 /$ 64:A1 00000000 MOV EAX,DWORD PTR FS:[0]
00480C76 |. 6A FF PUSH -1
00480C78 |. 68 4DA55D00 PUSH Gunz.005DA54D...
Because that doesn't work.
Making my app crash.
schould I just do
#define function_name_here 0xTheAddr
Then?
How would i call this in inline asm?
ZPostShotSp
-----------
00478890 /$ 64:A1 00000000 MOV EAX,DWORD PTR FS:[0]
00478896 |. 6A FF PUSH -1
00478898 |. 68 57A15D00 PUSH...
/* ZChatOutput */
void ZChatOutput(const char* lpcFmt, ...)
{
char szBuf[0x4000];
va_list vaArgs;
va_start(vaArgs, lpcFmt);
_vsnprintf(szBuf, sizeof(szBuf), lpcFmt, vaArgs);...
But theres
Char1ID->firstID = 0;
Char1ID->secondID = 1555;
StageID->firstID = 0;
StageID->secondID = 4844;
so schouldn't i use 16 then?
struct MUID{
unsigned long firstID;
unsigned long secondID;
};
MUID* Char1ID = new MUID;
MUID* StageID = new MUID;
void Test()
{
Char1ID->firstID =...
So when do you acctualy have to use pushad and popad then?
I can call the function by doing this:
typedef void (__cdecl* ZChatOutputFunction)(const char* lpcMsg, int iType,int iLoc,DWORD dwColor);
ZChatOutputFunction ZChatOutput =...