SSE C9 Error on LAN PC

07/11/2011 23:52 kim00000#1
Hi folks! :D

I downloaded SSE 2.6 Emulator and configured it, everything is fine.
I have 2 computers connected to a LAN network.
The client works fine on the computer that hosts the server, however when trying to connect from the other computer, the client opens, but when I press Connect after entering my ID and PW I receive a C9 error.

NOTE: Port 15779 is forwarded and working.
This problem drives me crazy, I tried almost every possible way to solve this, but I can't!!! :mad:
07/12/2011 12:41 kim00000#2
Hey, where's the SSE support team? No one can help? :confused:

I think this is a bug with the server emulator, because once I press Connect the connection between the client and the server is cut. :(
07/12/2011 12:50 Ghost in Flames#3
do you use hamachi? if yes did you set your hamachi ip as the server ip?
07/12/2011 13:13 kim00000#4
I tried to do it without Hamachi and configured everything well.
The client starts, but I got C9 error when I try to log in.

I then tried to use Hamachi and configured everything well too.
Port 15779 is forwarded, Hamachi is open, the ip of my Hamachi is set as the server ip, and on the other computer I redirect the Gateway server to the ip of the host computer Hamachi. But nothing works too!
The client starts, but I get a C9 error when I try to log in.
07/12/2011 13:14 dimkacool#5
You've downloaded not cracked .exe file.
07/12/2011 13:17 kim00000#6
Where can I find the cracked .exe files?
Can you give me the link?
07/12/2011 13:49 dimkacool#7
Quote:
Originally Posted by kim00000 View Post
Where can I find the cracked .exe files?
Can you give me the link?
Well every sse user should crack sse by his IP, so there is no cracked .exe files released, only by localhost, I saw somewhere I think.

So you should crack it by yourself :) And if you don't know how - it's your problem.
07/12/2011 18:08 kim00000#8
Do you mean something like this?

Quote:
#include <string>
#include <stdio.h>
#include <windows.h>
#include <iostream>
using namespace std;

BOOL WriteProcessBytes(HANDLE hProcess, DWORD destAddress, LPVOID patch, DWORD numBytes)
{
DWORD oldProtect = 0; // Old protection on page we are writing to
DWORD bytesRet = 0; // # of bytes written
BOOL status = TRUE; // Status of the function

// Change page protection so we can write executable code
if(!VirtualProtectEx(hProcess, UlongToPtr(destAddress), numBytes, PAGE_EXECUTE_READWRITE, &oldProtect))
return FALSE;

// Write out the data
if(!WriteProcessMemory(hProcess, UlongToPtr(destAddress), patch, numBytes, &bytesRet))
status = FALSE;

// Compare written bytes to the size of the patch
if(bytesRet != numBytes)
status = FALSE;

// Restore the old page protection
if(!VirtualProtectEx(hProcess, UlongToPtr(destAddress), numBytes, oldProtect, &oldProtect))
status = FALSE;

// Make sure changes are made!
if(!FlushInstructionCache(hProcess, UlongToPtr(destAddress), numBytes))
status = FALSE;

// Return the final status, note once we set page protection, we don't want to prematurely return
return status;
}

std::string GetPath()
{
char path[2048] = {0};
GetModuleFileName(0, path, sizeof(path));
for(int x = sizeof(path); x > 1; --x)
{
if(path[x] == '\\')
{
memset(path + x, 0, sizeof(path) - x);
break;
}
}

return std::string(path);
}

int main(int argc, char* argv[])
{
SetConsoleTitle("ProjectHax.com");
std::cout << "SSE v2.6 Loader - ProjectHax.com" << std::endl;

std::string ssepath = GetPath() + "\\SSE26.exe";
std::string ippath = GetPath() + "\\ip.ini";

std::wstring ippathw(ippath.length(), 0);
std::copy(ippath.begin(), ippath.end(), ippathw.begin());

wchar_t line1[] = L"The code used in this program has been stolen from SREmu!\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
wchar_t line5[] = L"ProjectHax.com\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0";
wchar_t title[] = L"SSE Cracked by WeeMan\0\0";
wchar_t projecthax[] = L"ProjectHax";

wchar_t ip[64] = {0};
GetPrivateProfileStringW(L"ProjectHax", L"IP", 0, ip, 60, ippathw.c_str());

if(wcslen(ip) == 0)
{
std::cout << "World IP: ";
wcin >> ip;

WritePrivateProfileStringW(L"ProjectHax", L"IP", ip, ippathw.c_str());
}
else if(wcslen(ip) > 11)
{
std::cout << "Sorry, the IP length must be less than 12" << std::endl;

std::cout << "Press enter to continue . . . ";
std::cin.get();
}

STARTUPINFO sInfo = {0};
PROCESS_INFORMATION pInfo = {0};
if(!CreateProcess(0, (char*)ssepath.c_str(), NULL, NULL, FALSE, CREATE_SUSPENDED, NULL, NULL, &sInfo, &pInfo))
{
std::cout << "Failed to start SSE" << std::endl;
}
else
{
WriteProcessBytes(pInfo.hProcess, 0x40A828, line1, sizeof(line1));
WriteProcessBytes(pInfo.hProcess, 0x40AC84, line5, sizeof(line5));
WriteProcessBytes(pInfo.hProcess, 0x40B1D0, title, sizeof(title));
WriteProcessBytes(pInfo.hProcess, 0x40B1B4, projecthax, sizeof(projecthax));

BYTE NOP[12];
memset(NOP, 0x90, 12);
WriteProcessBytes(pInfo.hProcess, 0x005FEBBE, NOP, 12);

WriteProcessBytes(pInfo.hProcess, 0x40A08C, ip, 13 * 2);

ResumeThread(pInfo.hThread);
}

std::cout << "Press enter to continue . . . ";
std::cin.get();
return 0;
}
- This was not written by me :D
07/12/2011 20:26 kim00000#9
Hey, I compiled the code I've just posted. It was the crack.
I then opened it and written my local LAN ip and now I can connect on the other computer to the server.

Thank you for helping me!
07/30/2011 22:46 y5jin#10
Usta aynı hatayı bende alıyorum çözümü neymiş anlatabilirmisin