I tried finding the adress of the function that walks to a monster given its monsterId and attacks it (similar to spamming the space button)
I used cheat engine but i didnt manage to find it (tried to see which function is executed with code filter tool but this gives me an abstract error on nostale)
like attackmonster(uint32 monster_id)
{
... asm stuff{
}
}
i dont know how to find it
I wanna inject it to farm automatically in c/c++ using dll injection
My first idea was to just make a script thats spams space bar but i wanna be able to use the pc normally as well so ... yeah
I tried with packet logger way, with u_s or something but i got banned so i guess i preferred the function way
my first idea what to space space bar but with multiple client it's
if I remember correctly, you find the correct function via TSceneManager. And you have to pass UnitManager, SkillAddress and MonsterAddress pointer or address. It looks like you miss the first two.
wojtas99 called UnitManager [lpvAttackThis] in his AttackMonster function.
Keep in mind, you need another function to run to enemy to use skill and another to select enemy. You find them boot via TSceneManager - like almost any other function you need.
Yes, there is a function you run and attack, but you can only use the default attack skill with it.
There is a NostaleSDK from at0mos somewhere in this Forum, the TSceneManager Pattern from there should work.
if I remember correctly, you find the correct function via TSceneManager. And you have to pass UnitManager, SkillAddress and MonsterAddress pointer or address. It looks like you miss the first two.
wojtas99 called UnitManager [lpvAttackThis] in his AttackMonster function.
Keep in mind, you need another function to run to enemy to use skill and another to select enemy. You find them boot via TSceneManager - like almost any other function you need.
Yes, there is a function you run and attack, but you can only use the default attack skill with it.
There is a NostaleSDK from at0mos somewhere in this Forum, the TSceneManager Pattern from there should work.
Hey ty for your answer
i found it
but looks outdated, i saw the TScenemanager but i didnt find anything like a Unitmanager maybe it was on his forum that is discontinued ?
also i dont know how to use his sdk, the .rar there looks outdated too ? i'm not sure
Yes, a lot changed over time, but the overall game structure is the same. Somewhere you find the Pattern: (...."8B15????????8B123B4230??????C3", 0x02,....)
You have to scan for "8B15????????8B123B4230??????C3" and add 2 bytes to the found address. If I remember correctly, you have to uncheck the Writable checkbox in Cheat Engine to find the pattern.
Pattern scan in Cheat Engine:
Add this new address to Memory dissect and you should see TSceneManager somewhere.
I'm sorry I can't show you - the Cheat Engine installation is not working on Windows 11 it seems.
Yes, a lot changed over time, but the overall game structure is the same. Somewhere you find the Pattern: (...."8B15????????8B123B4230??????C3", 0x02,....)
You have to scan for "8B15????????8B123B4230??????C3" and add 2 bytes to the found address. If I remember correctly, you have to uncheck the Writable checkbox in Cheat Engine to find the pattern.
Pattern scan in Cheat Engine:
Add this new address to Memory dissect and you should see TSceneManager somewhere.
I'm sorry I can't show you - the Cheat Engine installation is not working on Windows 11 it seems.
So i tried again i was mistaken for using wojtas function i was using the id from ncif packet but actually it needed the monster base adress (tmapobject)
even with that in mind i gave an hardcoded monster address (yes it was good i could print the monsters x,y and id from c++)
but calling the attack run not working still
i tried finding in cheat engine the function did some _asm function by putting the same hard coded edx eax etc... nothing worked
i tried your pattern scanning got an adress, added +2 and disscet
i got a struct like :
byte
byte
pointer
Pointer
but ive no idea what to do with that and if it's even right
also i dont know where you got the pattern that it's the scene manager
and i dont even know if the scene manager has a function to attackrun a monster ??
So i tried again i was mistaken for using wojtas function i was using the id from ncif packet but actually it needed the monster base adress (tmapobject)
even with that in mind i gave an hardcoded monster address (yes it was good i could print the monsters x,y and id from c++)
but calling the attack run not working still
i tried finding in cheat engine the function did some _asm function by putting the same hard coded edx eax etc... nothing worked
i tried your pattern scanning got an adress, added +2 and disscet
i got a struct like :
byte
byte
pointer
Pointer
but ive no idea what to do with that and if it's even right
also i dont know where you got the pattern that it's the scene manager
and i dont even know if the scene manager has a function to attackrun a monster ??
Kinda noob and lost ahah
Hey, I managed to install Cheat Engine I remembered some steps wrong obviously.
1. Scan for the Pattern make sure Writeable is unchecked.
Keep in mind, you will crash a lot if u dont understand assembly and how pointer work.
And now you see images, but you don't because epvp said no. Now someone will repost it to get free thanks for my work. I set it to url because else you see nothing i think.
This is full working code for cheat engines auto assembler. The pattern from before is wrong because it points to the address where the opcode for call and address is stored. But it has to point to the called address...
I have to use a pointer for PlayerObjManager because the given Pattern from atom0s points to writable memory and aobscanmodule wont work there.
You have to change the MapMonsterObj address to a working one. Its not helpful to make pattern to - for example: first mob on map.
WTF are you doing? This is a Assembler Code. You cant write a Assembler Script with C++.
Assembler is a own language. Look on Google. You learn it by a informatik study.
Or you can use/write LUA Scripts on Cheat Engine, if you know the language LUA.
But you cant use C++ in a Assemble Code. This must be written in assemble language.
Ahahah yeah it's possible to call asm from c++ , you should look on google yourself
but the address were hardcoded here just for test, i need to find the right way
It's working now thanks to you JONNST4R, i was actually one function deeper ! TYSM
Ahahah yeah it's possible to call asm from c++ , you should look on google yourself
but the address were hardcoded here just for test, i need to find the right way
It's working now thanks to you JONNST4R, i was actually one function deeper ! TYSM
But you cant the use the same commands like "while" or "std::cout" in a AA Script.
You can help me GM == Address ? AOE == Address ? RANGE == Address ? 01/12/2016 - Cabal Online - 3 Replies Dumped Cabal
GM == Address ?
AOE == Address ?
RANGE == Address ?
download Dumped Cabal == http://www.elitepvpers.com/forum/attachment.php?at tachmentid=247210&stc=1&d=1452193708
std::function of a function returning an std::function 11/11/2013 - C/C++ - 19 Replies Nun muss ich nach langer Zeit auch mal wieder einen Thread erstellen, weil mir Google nicht mehr weiterhelfen kann.
Ich verzweifle an Folgendem Vorhaben:
#include <Windows.h>
#include <string>
#include <iostream>
using namespace std;
Running Function 2 after Function 1 finished 09/15/2013 - AutoIt - 3 Replies Hey, its me again.
Im stuck on a problem since yesterday and as much as i hate to ask for help, i really dont know what else to try. I want Function 2 to run after Function 1 has finished. I tried GuiCtrlSetOnEvent and MsgLoop, but i dont really understand it. I tried to read tutorials but they didnt help at all.
The line that are underline is what im talking about. I want gamestart() to run first and when its finished, i want iniviteteam() to run.
#AutoIt3Wrapper_UseX64=n...
[VIP-function] ToxicSYS [VIP-function] 08/14/2010 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies heeeey E-pvpers :pimp:
this is a new hack by TSYS
Status : UNDETECTED
Functions (VIDEO) :
YouTube - WarRock - Bikini event VIP hack
finding a function's address... 01/20/2010 - General Coding - 1 Replies currently im trying to find notepad.exe function to create a new file!
ok so i've loaded notepad.exe into ida and it disassembeled it but to the left in my function window it has no function names.....and i dont understand assembly so i cant interpret which one is the create a new file function for notepad....how am i able to find the function's address in ollyDBG or possibly IDA without knowing assembly....or do i have to know it either way to find the function if its not posted explicitly...