Register for your free account! | Forgot your password?

Go Back   elitepvpers > New Arrivals > Black Desert
You last visited: Today at 00:07

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

 

hijack lua_State ... need some advice

Reply
 
Old   #1

 
elite*gold: 605
Join Date: Apr 2010
Posts: 8
Received Thanks: 2
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 offline  
Old   #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   #3

 
elite*gold: 605
Join Date: Apr 2010
Posts: 8
Received Thanks: 2
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 offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Advice]I need your advice
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...
10 Replies - DarkOrbit
lua_State * ??
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...
0 Replies - Metin2 PServer - Discussions / Questions
Hijack a Raid
There's currently a bug where the leader of a raid can be kicked out by anybody else in the raid who has assist. ...
2 Replies - WoW Exploits, Hacks, Tools & Macros
SteamAccount-hijack
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...
1 Replies - General Gaming Discussion



All times are GMT +2. The time now is 00:07.


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

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