Jump to content

hamster

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by hamster

  1. Unhandled exception: 0xe0434f4d in 32-bit code (0x7b83dc8e). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7b83dc8e ESP:0033ee24 EBP:0033eea8 EFLAGS:00000202( - -- I - - - ) EAX:7b827bf1 EBX:7b8c8000 ECX:00000000 EDX:0033ee50 ESI:0033eef4 EDI:0033ee54 Stack dump: 0x0033ee24: 00117a10 00000002 008e1658 00000000 0x0033ee34: 001210c0 79f9933d e0434f4d 00000001 0x0033ee44: 00000000 7b83dc8e 00000001 80131509 0x0033ee54: 00000036 790c20c8 79fd4e9d 00000036 0x0033ee64: 790c2000 00000036 00000006 790fabcc 0x0033ee74: 79e7be3f e0434f4d 0033eef0 790c2000 Backtrace: =>0 0x7b83dc8e in kernel32 (+0x2dc8e) (0x0033eea8) 1 0x79f97065 in mscorwks (+0x127064) (0x0033ef18) 2 0x7a0945a4 in mscorwks (+0x2245a3) (0x0033efdc) 3 0x79602d03 in mscorlib.ni (+0x542d02) (0x0033f024) 4 0x7934be1f in mscorlib.ni (+0x28be1e) (0x0033f050) 0x7b83dc8e: subl $4,%esp Modules: Module Address Debug info Name (58 modules) PE 400000- 4b0000 Deferred tsmplauncher PE 5e380000-5e409000 Deferred diasymreader PE 79000000-79045000 Deferred mscoree PE 790c0000-79ba6000 Export mscorlib.ni PE 79e70000-7a3d1000 Export mscorwks ELF 7b800000-7ba72000 Dwarf kernel32<elf> \-PE 7b810000-7ba72000 \ kernel32 ELF 7bc00000-7bd05000 Deferred ntdll<elf> \-PE 7bc20000-7bd05000 \ ntdll ELF 7bf00000-7bf04000 Deferred <wine-loader> ELF 7dece000-7ded4000 Deferred libxfixes.so.3 ELF 7ded6000-7dee2000 Deferred libxcursor.so.1 ELF 7dfe6000-7e00e000 Deferred libexpat.so.1 ELF 7e00e000-7e051000 Deferred libfontconfig.so.1 ELF 7e07e000-7e0b5000 Deferred libpng16.so.16 ELF 7e0b6000-7e0c9000 Deferred libbz2.so.1 ELF 7e0ce000-7e0e7000 Deferred libz.so.1 ELF 7e0ee000-7e196000 Deferred libfreetype.so.6 ELF 7e1be000-7e1c2000 Deferred libxcomposite.so.1 ELF 7e1d6000-7e1e8000 Deferred libxi.so.6 ELF 7e1ee000-7e214000 Deferred libxcb.so.1 ELF 7e216000-7e357000 Deferred libx11.so.6 ELF 7e35e000-7e372000 Deferred libxext.so.6 ELF 7e376000-7e382000 Deferred libxrandr.so.2 ELF 7e386000-7e392000 Deferred libxrender.so.1 ELF 7e396000-7e39d000 Deferred libxxf86vm.so.1 ELF 7e39e000-7e43a000 Deferred winex11<elf> \-PE 7e3b0000-7e43a000 \ winex11 ELF 7e43e000-7e4c5000 Deferred rpcrt4<elf> \-PE 7e450000-7e4c5000 \ rpcrt4 ELF 7e4c6000-7e614000 Deferred ole32<elf> \-PE 7e4e0000-7e614000 \ ole32 ELF 7e616000-7e8c6000 Deferred shell32<elf> \-PE 7e620000-7e8c6000 \ shell32 ELF 7e8c6000-7e98d000 Deferred msvcr80<elf> \-PE 7e8e0000-7e98d000 \ msvcr80 ELF 7e98e000-7e9b4000 Deferred imm32<elf> \-PE 7e990000-7e9b4000 \ imm32 ELF 7e9b6000-7e9d1000 Deferred version<elf> \-PE 7e9c0000-7e9d1000 \ version ELF 7e9d6000-7eaff000 Deferred gdi32<elf> \-PE 7e9e0000-7eaff000 \ gdi32 ELF 7eb06000-7ec83000 Deferred user32<elf> \-PE 7eb20000-7ec83000 \ user32 ELF 7ec86000-7ed05000 Deferred shlwapi<elf> \-PE 7ec90000-7ed05000 \ shlwapi ELF 7ed06000-7ed82000 Deferred advapi32<elf> \-PE 7ed10000-7ed82000 \ advapi32 ELF 7ef86000-7efd4000 Deferred libm.so.6 ELF 7efde000-7efe2000 Deferred libxinerama.so.1 ELF 7efe6000-7eff9000 Deferred libnss_files.so.2 ELF f7366000-f736a000 Deferred libxau.so.6 ELF f736e000-f7373000 Deferred libdl.so.2 ELF f7376000-f7543000 Deferred libc.so.6 ELF f7546000-f7563000 Deferred libpthread.so.0 ELF f7566000-f772e000 Dwarf libwine.so.1 ELF f7756000-f7779000 Deferred ld-linux.so.2 ELF f7780000-f7781000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 0000000e services.exe 0000006a 0 00000025 0 0000001e 0 00000012 0 0000000f 0 00000010 explorer.exe 0000002b 0 0000002a 0 00000029 0 00000011 0 0000001c winedevice.exe 00000024 0 00000021 0 00000020 0 0000001d 0 00000022 plugplay.exe 00000028 0 00000027 0 00000023 0 00000049 wineconsole.exe 0000004a 0 0000013d (D) C:\Games\CnCNet\TiberianSun_Online\TSMPLauncher.exe 00000140 2 0000013f 0 0000013e 0 <== System information: Wine build: wine-1.9.1 (Staging) Platform: i386 Version: Windows XP Host system: Linux Host version: 4.3.3-303.fc23.x86_64
  2. Some matchmaking would be good.. StarCraft II is setup pretty nice.
  3. Tiberian Sun runs fine using Wine (I play daily on a Fedora machine) with no issues.
  4. SexPro smokes cigarettes though.. I don't see you being any competition to him..
  5. hamster

    error message..

    Try deleting the "C:\CnCNet" directory and reinstalling. It looks as if maybe the download was corrupt.
  6. These are very intricate maps. I just wish they had a few minor speed modifications. I understand you are trying to keep them WW official though and I tip my hat to you!
  7. I had no idea you made the 21 Waves. It's definitely the best wave type next to Sky's Defense. Good work! Will definitely be trying the finished product and some of the other ones.
  8. My FreeWebs is gone too. Crazy stuff. I edited the first post with an attachment just in case Angelfire takes that site down eventually.
  9. Still not sure how a Defender can squeeze out of a Factory but none the less these are amazing maps. I remember playing these all the time back in the day. Those were some brutal games.
  10. There seems to be tons of problems revolving around the repackaged Origin software. I am not sure I can help much with that, but I can recommend installing the CnCNet version of RA2. You will not need the Origin version AT ALL as it comes packaged with the entire game with access to the online gameplay straight out of the box. You can download it here.
  11. http://www.angelfire.com/games2/coollinksmaps/indexclassic.html coollinks_mod_maps.zip
  12. What is this gumbo-jumbo? BTW, CnCNet doesn't use C++. I commend you for using C++, though. Respect, bro! A lot of hackers on CnC - keep 'em coming! gumbo is an HTML parser. And the beauty of C++ is that you can make DLLs to use them with other languages.
  13. Oh, sure. And just changing that requirement from "any irc network" to "any irc network with nickserv" is such a big deal I already sent this to FunkyFr3sh, so I thought I would share it here. #include <stdio.h> #include <curl/curl.h> #include <iostream> #include <cstring> #include "gumbo.h" using namespace std; #define LOGIN_URL "http://cnc-comm.com/community/index.php?action=login" #define POST_URL "http://cnc-comm.com/community/index.php?action=login2" #define USER_AGENT "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36" CURL *curl; CURLcode res; string data, error; struct curl_httppost *formpost=NULL; struct curl_httppost *lastptr=NULL; static size_t curl_write( void *ptr, size_t size, size_t nmemb, void *stream) { data.append( (char*)ptr, size*nmemb ); return size*nmemb; }; int curl_check_cookie_response( ) { struct curl_slist *cookies; struct curl_slist *nc; int i; res = curl_easy_getinfo(curl, CURLINFO_COOKIELIST, &cookies); if (res == CURLE_OK) { nc = cookies, i = 1; while (nc) { if(strstr( nc->data, "c_user") != NULL ) return 1; nc = nc->next; i++; } } curl_slist_free_all(cookies); return 0; } void gumbo_check_failed_login( GumboNode* node ) { GumboAttribute* detail; if (node->type != GUMBO_NODE_ELEMENT) { return; } if( node->v.element.tag == GUMBO_TAG_P && (detail = gumbo_get_attribute(&node->v.element.attributes, "class"))){ if( strcmp( detail->value, "error") == 0 ) { GumboNode* child = static_cast<GumboNode*>(node->v.element.children.data[0]); if( child->v.text.text != NULL ) { error = child->v.text.text; } } } GumboVector* children = &node->v.element.children; for (unsigned int i = 0; i < children->length; ++i) { gumbo_check_failed_login(static_cast<GumboNode*>(children->data[i])); } } int authenticate_details( const char* user, const char* password ) { curl_easy_setopt(curl, CURLOPT_URL, POST_URL ); curl_formadd(&formpost, &lastptr, CURLFORM_COPYNAME, "user", CURLFORM_COPYCONTENTS, user, CURLFORM_END); curl_formadd(&formpost, &lastptr, CURLFORM_COPYNAME, "passwrd", CURLFORM_COPYCONTENTS, password, CURLFORM_END); curl_formadd(&formpost, &lastptr, CURLFORM_COPYNAME, "button_submit", CURLFORM_COPYCONTENTS, "Login", CURLFORM_END); curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost); if( curl_easy_perform(curl) == CURLE_OK ) { return 0; } return 1; } int initialize_curl( ) { curl = curl_easy_init(); if( curl ) { curl_easy_setopt(curl, CURLOPT_USERAGENT, USER_AGENT); curl_easy_setopt( curl, CURLOPT_WRITEFUNCTION, curl_write ); curl_easy_setopt( curl, CURLOPT_WRITEDATA, &data ); curl_easy_setopt(curl, CURLOPT_COOKIEFILE, "cookies.txt"); curl_easy_setopt(curl, CURLOPT_COOKIEJAR, "cookies.txt"); return 0; } return 1; } int main( int argc, char *argv[] ) { if( initialize_curl() == 0 ) { curl_easy_setopt(curl, CURLOPT_URL, LOGIN_URL ); if( curl_easy_perform(curl) == CURLE_OK ) { data.clear(); if( authenticate_details("hamster", "pass12345" ) == 0 ) { GumboOutput* output = gumbo_parse(data.c_str()); gumbo_check_failed_login( output->root); if( !error.empty() ) { printf("Error: %s\r\n", error.c_str() ); } else { printf("Successfully logged in."); } gumbo_destroy_output(&kGumboDefaultOptions, output); } } } return 0; }
  14. I sent you a private message with a small library.. maybe you will find it useful!
  15. NICKSERV needs to be implemented and make you IDENTIFY. Seen a lot of people bitching about this..
  16. Right, you will have to restart it to reload the maps. Good idea. #include <iostream> #include <windows.h> #define SECTION "Basic" #define NAME "Name" #define RADAR "FreeRadar" using namespace std; int FreeRadar( char* szFileName) { char szName[MAX_PATH], szRadar[MAX_PATH], szBuffer[MAX_PATH]; if( GetPrivateProfileString( SECTION, RADAR, NULL, szRadar, sizeof( szRadar ), szFileName ) != 0 ) { if( GetPrivateProfileString( SECTION, NAME, NULL, szName, sizeof( szName ), szFileName ) != 0 ) { sprintf( szBuffer, "%s {free-radar}, szName ); WritePrivateProfileString( SECTION, NAME, szBuffer, szFileName); if( strcmpi( szBuffer, "yes") == 0 ) { WritePrivateProfileString( SECTION, RADAR, "no", szFileName); return 1; } else if( strcmpi( szBuffer, "no") == 0 ) { WritePrivateProfileString( SECTION, RADAR, "yes", szFileName); return 2; } } } return 0; } int WINAPI WinMain( HINSTANCE hInstance , HINSTANCE hPrevInstance , LPSTR lpCmdLine , int nCmdShow ) { int ret; OPENFILENAME ofn; char szFileName[MAX_PATH]; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); ofn.lpstrFilter = "Map Files (*.mpr;*.map)\0*.mpr;*.map"; ofn.lpstrFile = szFileName; ofn.nMaxFile = MAX_PATH; ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY; if(GetOpenFileName(&ofn)) { if( ofn.lpstrFile != NULL ) { ret = FreeRadar( ofn.lpstrFile ); if( ret == 1 ) { MessageBox ( NULL, "It appears to be free, setting to paid.", "Success" , MB_OK); } else if( ret == 2 ) { MessageBox ( NULL, "It appears to be paid, setting to free.", "Success" , MB_OK); } else { MessageBox ( NULL, "Something went totally wrong..", "Error" , MB_OK); } } else { MessageBox ( NULL, "You didn't select a file..", "Error" , MB_OK); } } return 0; }
  17. I actually forgot about rules.ini until your post.. shows how much out of the game I've been. Haha.. I still think he touches some points to prevent crashes, unplayable games, and some overall clarity on some of the weird tags though. Maybe someone will find it useful.
  18. I found this when I was looking for some tags for a map I was working on. Some of it doesn't work but it is very informative on most of the configuration tags you can use when making maps... Example: HoverHeight=120 The height of hovering vehicles. This is about head high to an infantryman. I like it set to about 60, that is waist high and a lot more believable. HoverDampen=40percentage This is the dampening effect on hover vehicle bounciness. In other words, how much the hovercraft bounces. HoverBob=.04 The time between hover bounces, in seconds. HoverBoost=150percentage The boost to hover speed when traveling on straight away. HoverAcceleration=.02 The time it takes to accelerate to full speed, in seconds. HoverBrake=.03 The time it takes to decelerate to full stop, in seconds. Link: http://tiberian.iwarp.com/editingguidetots.htm Enjoy.
  19. Is there going to be passwords implemented to prevent misuse of names? It would be easy to wrap around the NICKSERV and solve a lot of problems, or use some type of web authentication. I am continuously hearing about people using other people's names. I was just curious if this has already done this but just had not put it into effect yet... Cheers.
  20. In regards to the Free Radar Toggler.. I made a quick solution. It's not built in but it is an external program you have to run. It simply toggles the current setting off the map to on or off. Hopefully this can get implemented but in the mean time this works for me. #include <iostream> #include <windows.h> #define SECTION "Basic" #define KEY "FreeRadar" using namespace std; int FreeRadar( char* szFileName) { char szBuffer[MAX_PATH]; if( GetPrivateProfileString( SECTION, KEY, NULL, szBuffer, sizeof( szBuffer ), szFileName ) != 0 ) { if( strcmpi( szBuffer, "yes") == 0 ) { WritePrivateProfileString( SECTION, KEY, "no", szFileName); return 1; } else if( strcmpi( szBuffer, "no") == 0 ) { WritePrivateProfileString( SECTION, KEY, "yes", szFileName); return 2; } } return 0; } int WINAPI WinMain( HINSTANCE hInstance , HINSTANCE hPrevInstance , LPSTR lpCmdLine , int nCmdShow ) { int ret; OPENFILENAME ofn; char szFileName[MAX_PATH]; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); ofn.lpstrFilter = "Map Files (*.mpr;*.map)\0*.mpr;*.map"; ofn.lpstrFile = szFileName; ofn.nMaxFile = MAX_PATH; ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY; if(GetOpenFileName(&ofn)) { if( ofn.lpstrFile != NULL ) { ret = FreeRadar( ofn.lpstrFile ); if( ret == 1 ) { MessageBox ( NULL, "It appears to be free, setting to paid.", "Success" , MB_OK); } else if( ret == 2 ) { MessageBox ( NULL, "It appears to be paid, setting to free.", "Success" , MB_OK); } else { MessageBox ( NULL, "Something went totally wrong..", "Error" , MB_OK); } } else { MessageBox ( NULL, "You didn't select a file..", "Error" , MB_OK); } } return 0; } Theres an executable download below. MD5: 6ffb0fc408ad3201452db7384007fde6 Enjoy. FreeRadarToggler.rar
×
×
  • Create New...