#include "main.h" #include char folder[100]; int NormalPacketDump(DATA *d); int NormalPacketDump2(DATA *d); int DumpHeadersFileOpen(); int DumpHeaders(DATA *d); int DumpHeadersFileClose(); int CharCreateDump(DATA *d); int ZoneInfoLogger(DATA *d); int Authorization(DATA *d); void SendAuth(); #include int main( int argc, char *argv[] ) { TimerInit(); char cmd[900]; memset(folder,0,100); _mkdir("Dump"); //Prepare the directory char temp[120]; strcpy(temp,folder); strcpy(folder,"Dump/"); strcat(folder,temp); printf("--If Guild Wars is NOT running close this program using the X button. \n--If Guild Wars IS running close Guild Wars to close this program. Failure to do so may freeze Guild Wars.\n\n"); //check for options, if there are none, use the default dump if(argc<=1) { if(InjectPacketDump(0,NormalPacketDump)