Page 1 of 1

[C++] Guild...

Posted: Tue Apr 15, 2008 2:01 pm
by Nixie
Well, this might be kinda kinda weird that I post this here. But anyway, I'm working on an auto updater for my guild website, where it will gather guild information and store it. We have already parsed the structure of the list, but we have actually no clue how/where the base pointer (static one) is actually stored. Maybe someone will know it... ^^

Just an example of what I've got now (I have also other stats, but didn't want to take to much space here...):

Code: Select all

#include <iostream.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>

template<typename _ret_t> _ret_t ReadMemory(char Caption[], int long Address)
{
    DWORD PROC_ID;
    HANDLE PROC_HANDLE;
    _ret_t ret;
    GetWindowThreadProcessId(FindWindow(NULL, (LPCTSTR)Caption), &PROC_ID);
    PROC_HANDLE = OpenProcess(PROCESS_ALL_ACCESS, false, PROC_ID);
    ReadProcessMemory(PROC_HANDLE, (void*)Address, &ret, sizeof(_ret_t), NULL);
    CloseHandle(PROC_HANDLE);
    return ret;
}

int main()
{
    char *process = "SRO_Client";
    int pointer = ReadMemory<unsigned long>(process, 0xCF197C);
    int CurHP = pointer + 0x44C;
    int MaxHP = pointer + 0x444;
    int CurMP = pointer + 0x440;
    int MaxMP = pointer + 0x448;
    int Level = pointer + 0x1938;

    return 0;
}


PS: If this shouldn't be here, PM me and I'll delete the thread if there won't be any posts, yet... else I'll have to PM a mod. ^^

Re: [C++] Guild...

Posted: Tue Apr 15, 2008 2:20 pm
by NuclearSilo
wrong forum :D

0x33 has a very good tutorial how to find pointer dynamic and static thingy.

Re: [C++] Guild...

Posted: Tue Apr 15, 2008 2:46 pm
by Nixie
Well, I'm not going to pay for a bot if I'm not going to use it, or whatever this 0x33 team produces. Anyway, if somebody could copy one of their tutorial I'd be more than thankfully... ^^

PS: This is kinda like that UI of the testimonial loader CHwhatever... just that I'm not going to have ll the features that could get you banned... keke :>

Re: [C++] Guild...

Posted: Tue Apr 15, 2008 3:12 pm
by NuclearSilo
Im not at home atm. I'll send u in pm a tutorial how to find pointers (in sro)
Btw, give me your messenger address, maybe later we'll work together on some projects 8)

Re: [C++] Guild...

Posted: Tue Apr 15, 2008 3:22 pm
by Vindicator
Nixie wrote:Well, I'm not going to pay for a bot if I'm not going to use it, or whatever this 0x33 team produces. Anyway, if somebody could copy one of their tutorial I'd be more than thankfully... ^^

PS: This is kinda like that UI of the testimonial loader CHwhatever... just that I'm not going to have ll the features that could get you banned... keke :>


0x33 is a free forum, purchasing a bot only opens up the botting forums. Other than that the community forums are open.

Re: [C++] Guild...

Posted: Tue Apr 15, 2008 3:28 pm
by NuclearSilo
No it's closed, u cant register anymore.

Re: [C++] Guild...

Posted: Tue Apr 15, 2008 5:03 pm
by SpInKsTaR
omfg C++ is so dam confusing >_>
I just....cant understand it :S
I could barely create an app that says simple text "Hello" T_T

I might stick with VB

Re: [C++] Guild...

Posted: Tue Apr 15, 2008 5:07 pm
by NuclearSilo
SpInKsTaR wrote:omfg C++ is so dam confusing >_>
I just....cant understand it :S
I could barely create an app that says simple text "Hello" T_T

I might stick with VB

He is only calling some functions :)

Re: [C++] Guild...

Posted: Tue Apr 15, 2008 5:17 pm
by Casey613
*facepalm*... I won't even bother explaining my *facepalm*

Re: [C++] Guild...

Posted: Tue Apr 15, 2008 6:06 pm
by SpInKsTaR
NuclearSilo wrote:
SpInKsTaR wrote:omfg C++ is so dam confusing >_>
I just....cant understand it :S
I could barely create an app that says simple text "Hello" T_T

I might stick with VB

He is only calling some functions :)


That makes me feel so much better... :banghead:

Re: [C++] Guild...

Posted: Tue Apr 15, 2008 7:26 pm
by Nixie
SpInKsTaR wrote:
NuclearSilo wrote:
SpInKsTaR wrote:omfg C++ is so dam confusing >_>
I just....cant understand it :S
I could barely create an app that says simple text "Hello" T_T

I might stick with VB

He is only calling some functions :)


That makes me feel so much better... :banghead:

Well, everybody has to start somewhere... ^^
When I was at the start of C++, I though I opened a picture with notepad... :P

Anyway, NuclearSilo... thanks a lot! ^^
Going to try that guide out.