Solvednewbie trying to code =(

Posts 1–5 of 5 · Page 1 of 1
newbie trying to code =(
Hi. I been following this tutorial and I have a few questions :
http://www.mpgh.net/forum/437-vindic...ell_demon.html
Now I know what you're thinking. The thread title clearly says it's been patched. Is this guy blind or something?
Well, unfortunately I can't find a better tutorial so I decided to give it a shot.

Anyways... I expected the following block to not work :
Code:
if(GetAsyncKeyState(VK_NUMPAD1)&1) //if the first bit for numpad1 is set(initial press & repeats)
{
	pEngineClient->ClientCmd("monster_attack_bonus_ratio -80"); //enable godmode using ClientCmd
}
if(GetAsyncKeyState(VK_NUMPAD3)&1) //if the first bit for numpad3 is set(initial press & repeats)
{
	//Disable godmode using ConVars
	ConVar *pGodmode = pCvar->FindVar("monster_attack_bonus_ratio"); //get a pointer to the ConVar
	if(pGodmode != NULL) //make sure it isn't a NULL pointer!
		pGodmode->SetValue(pGodmode->GetDefault()); //Set the convar back to the default value
}
I replaced it with :
Code:
if(GetAsyncKeyState(VK_NEXT)&1)
{
	pEngineClient->ClientCmd("cc_set_sub_weapon javelin_lvl2 999");
}
It totally did not work...
I hit the button. The client closed itself.

So I was wondering if anyone can tell me the following :

1. What exactly did they patch up? I'm hoping for specific pieces of code that no longer work.

2. How are other people getting around this? I wouldn't expect a full tutorial but something that points me in the right direction would be nice.

3. Ok... This is kind of dumb but... The commands are in HackThread, which is being called by DllMain. What's making the Vindictus client call DllMain? I'm guessing this has to do with how injectors work but *sigh* Wikipedia failed me. =(

4. How do you guys figure out what Nexon patched and the get-around? It'd be really nice to figure things out on my own.
Google-ing "+vindictus +"client command" +patched" didn't help any.

Anyways thanks in advance.
dont worry you problem solve there is new console have been release by i2noob...
thanks him for releasing
if ur using the lua file by nowayz this is my script *note didnt put in god mode or 1 hit* but u can prob add it

if keyDown_Press(0x47)~=0 then
cmd("cc_set_sub_weapon javelin_lvl2 999")
end

if keyDown_Press(0x48)~=0 then
cmd("cc_fill_all_items")
end

if keyDown_Press(0x67)~=0 then
cmd("plr_play_overlay_sequence dark_knight_transformation_begin_1")
end

if keyDown_Press(0x68)~=0 then
cmd("plr_play_overlay_sequence dark_knight_transformation_begin_2")
end

if keyDown_Press(0x69)~=0 then
cmd("plr_play_overlay_sequence dark_knight_2_skill_tentacle")
end

if keyDown_Press(0x4A)~=0 then
cmd("cc_set_sub_weapon mining_bomb 999")
end

if keyDown_Press(0x4C)~=0 then
cmd("plr_play_overlay_sequence battle_dualspear_attack_strong_04_loop")
end

if keyDown_Press(0x39)~=0 then
print("difficulty modified!")
cmd("current_combat_difficulty 1")
end

if keyDown_Press(0x4B)~=0 then
cmd("changemap_to_next_random_sector")
end

if Keydown_press(ox30)~=0 then
cmd("plr_play_overlay_sequence paladin_transformation_begin_1")
end

if Keydown_press(ox38)~=0 then
cmd("plr_play_overlay_sequence paladin_transformation_begin_2")
end
Its because IVEngineClient(pEngineClient)->ClientCmd was patched a long time ago.
To get around it you will have to find a new way to execute commands by looking in engine.dll, we use ASM to use the current method.
Quote Originally Posted by DanK View Post
Its because IVEngineClient(pEngineClient)->ClientCmd was patched a long time ago.
To get around it you will have to find a new way to execute commands by looking in engine.dll, we use ASM to use the current method.
Thats it :l

And yes, the injector makes the game call DllMain.
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us