Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Black Desert
You last visited: Today at 22:17

  • Please register to post and access all features, it's quick, easy and FREE!


hijack lua_State ... need some advice

Discussion on hijack lua_State ... need some advice within the Black Desert forum part of the MMORPGs category.

Reply
 
Old   #1

 
elite*gold: 85
Join Date: Apr 2010
Posts: 390
Received Thanks: 807
hijack lua_State ... need some advice

i grab game's original lua_State* from gettop or dostring it doesnt matter cause they are the same

but once i grabbed it and when i wanna use game's original state in lua api calls like "lua_pushstring"

it throws me access violation exceptions

"Unhandled exception at 0x00007FF8DF3F4EE5 (my.dll) in BlackDesert64.exe: 0xC0000005: Access violation reading location 0x0000000000000018."

which is inside luaS_new in this case but its not just inside that api call its in all api calls when i use games state

when i create a new state and use it everything works fine

mby someone out there knows something about. alrdy googled a lot but found nothing



R3p is online now  
Old 07/03/2017, 12:54   #2
 
elite*gold: 0
Join Date: Apr 2017
Posts: 1
Received Thanks: 0
Quote:
Originally Posted by R3p View Post
i grab game's original lua_State* from gettop or dostring it doesnt matter cause they are the same

but once i grabbed it and when i wanna use game's original state in lua api calls like "lua_pushstring"

it throws me access violation exceptions

"Unhandled exception at 0x00007FF8DF3F4EE5 (my.dll) in BlackDesert64.exe: 0xC0000005: Access violation reading location 0x0000000000000018."

which is inside luaS_new in this case but its not just inside that api call its in all api calls when i use games state

when i create a new state and use it everything works fine

mby someone out there knows something about. alrdy googled a lot but found nothing
It will never be stable if you continue to use it as lua_State*
You need totally same lua lib version as developers used.

Try to find another way to use it


ShovelBox is offline  
Old 07/04/2017, 18:47   #3

 
elite*gold: 85
Join Date: Apr 2010
Posts: 390
Received Thanks: 807
I know another way maybe but I thought it would work to use LuaIntf for example to bind some of my c++ functions to games lua context. LuaIntf requires a lua state where I passed the one from the game ofc
R3p is online now  
Reply



« Heidel Perfekt zur Silver Farm ausbauen | Offer for TW/JP/private server BDO players »

Similar Threads
[Advice]I need your advice
06/26/2012 - DarkOrbit - 10 Replies
hello everyone , i need your advice to thaat i know what to do . At this time , i have a FR3 account ; FULL LF3 FULL B02 Venom + Sentinel 22 skills point
lua_State * ??
03/18/2011 - Metin2 PServer - Discussions / Questions - 0 Replies
Hallo Leute. Ich hab mir denn auch mal die game aus share_data angeguckt. Die Funktion quest::pc_give_item(lua_State *) scheint meines Erachtens nach die hardcode Funktion zur Quest-Funktion pc.give_item/pc.give_item2 zu sein. Damit könnte ich die ja theoretisch auch beutzen, wenn ich meinen Code da reininjecte, wie bei den D3D Hacks oder? Bleibt für mich nur die Frage, was das Argument lua_State * sein soll :confused: Hoffe jemand kann mir weiterhelfen :) Muss sich doch irgendwo ein...
Hijack a Raid
05/11/2009 - WoW Exploits, Hacks, Tools & Macros - 2 Replies
There's currently a bug where the leader of a raid can be kicked out by anybody else in the raid who has assist. http://img14.imageshack.us/img14/4329/assistfun.jpg It's pretty simple 1. Get raid assist (this one is up to you. It's not hard to do) 2. Type /kick raid1 (you can also do /kick
SteamAccount-hijack
04/24/2007 - General Gaming Discussion - 1 Replies
Ok, irgendwie wurde mein steamacc gezockt, ich weiss nicht wie, aber egal. Die emailaddi worauf er jetzt laeuft nennt sich [email protected] Den CD-Key hab ich leider nicht mehr, da der von einem offlinekumpel war. nun meine frage, ich will eine dictionary attack auf den account machen, kenne aber die richtigen tools dafuer nicht. Habt ihr eine loesung fuer mein problem? ich versteh mich mit diesem offlinekumpel nicht mehr so gut, und eigentlich wollte der auch seinen key wiederverwenden, den ich...



All times are GMT +1. The time now is 22:17.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2019 elitepvpers All Rights Reserved.