Devil Slayer – Raksasi
Re: Devil Slayer – Raksasi
F5 F5 F5 ing...
Re: Devil Slayer – Raksasi
Re: Devil Slayer – Raksasi
Re: Devil Slayer – Raksasi
Well, just the end of the month thingy.
Had a dilemma either to buy a hard disk or some games or food...
Well you don't say
Re: Devil Slayer – Raksasi
Re: Devil Slayer – Raksasi
Re: Devil Slayer – Raksasi
Well, as the game export the gameplay's variables to lua dll - [Link]
---------------------Colonel Thirty Two wrote: Lua functions (as with functions in most scripting languages) don't have fixed internal addresses [1]. Every time Lua executes a function expression, it allocates a new closure for it at some arbitrary address. The address of a function closure from some previous run is completely useless; it's virtually impossible that there is a function at that address during the current run.
Even if you do have the memory address from a function in the same process, vanilla Lua doesn't provide any way of 'loading' it, neither from inside the script nor from the C API.
If you need to serialize functions, you can use string.dump, which will return a string of the bytecode of the passed function, which can be loaded using loadstring or load depending on the Lua version. Note that this bytecode is independent of the source function's code; the function will do whatever it did whenever it was dumped, regardless of your changes to the source code. Also, string.dump cannot serialize the function's upvalues.
You need atleast 1 soul and money for it to work and if it's still doesnt work, the string used might be different on the latest game you can try compare your save -
with the script, then make change to the script's filter
Dark gold is an item, check the item option...
Re: Devil Slayer – Raksasi
that was so hard~~~Cake-san wrote: ↑Mon Nov 25, 2019 1:38 pmWell, as the game export the gameplay's variables to lua dll - [Link]---------------------Colonel Thirty Two wrote: Lua functions (as with functions in most scripting languages) don't have fixed internal addresses [1]. Every time Lua executes a function expression, it allocates a new closure for it at some arbitrary address. The address of a function closure from some previous run is completely useless; it's virtually impossible that there is a function at that address during the current run.
Even if you do have the memory address from a function in the same process, vanilla Lua doesn't provide any way of 'loading' it, neither from inside the script nor from the C API.
If you need to serialize functions, you can use string.dump, which will return a string of the bytecode of the passed function, which can be loaded using loadstring or load depending on the Lua version. Note that this bytecode is independent of the source function's code; the function will do whatever it did whenever it was dumped, regardless of your changes to the source code. Also, string.dump cannot serialize the function's upvalues.
You need atleast 1 soul and money for it to work and if it's still doesnt work, the string used might be different on the latest game you can try compare your save -with the script, then make change to the script's filter
Dark gold is an item, check the item option...
Re: Devil Slayer – Raksasi
Tha'ts very kind .Thanks again.Cake-san wrote: ↑Mon Nov 25, 2019 1:38 pmWell, as the game export the gameplay's variables to lua dll - [Link]---------------------Colonel Thirty Two wrote: Lua functions (as with functions in most scripting languages) don't have fixed internal addresses [1]. Every time Lua executes a function expression, it allocates a new closure for it at some arbitrary address. The address of a function closure from some previous run is completely useless; it's virtually impossible that there is a function at that address during the current run.
Even if you do have the memory address from a function in the same process, vanilla Lua doesn't provide any way of 'loading' it, neither from inside the script nor from the C API.
If you need to serialize functions, you can use string.dump, which will return a string of the bytecode of the passed function, which can be loaded using loadstring or load depending on the Lua version. Note that this bytecode is independent of the source function's code; the function will do whatever it did whenever it was dumped, regardless of your changes to the source code. Also, string.dump cannot serialize the function's upvalues.
You need atleast 1 soul and money for it to work and if it's still doesnt work, the string used might be different on the latest game you can try compare your save -with the script, then make change to the script's filter
Dark gold is an item, check the item option...
Re: Devil Slayer – Raksasi
For some reason the item-part of the table looks strange and I can't figure out, how to change the items.
BTW. I'm playing the steam version.
[Link]
BTW. I'm playing the steam version.
[Link]
Re: Devil Slayer – Raksasi
It's because you dont have much item yet...
you can always try to disable & re-enable the main- Raksasi script to repopulate the address,though...
Re: Devil Slayer – Raksasi
So I can only change the quantity of the items, but can't give myself specific items?
Until I get an item, the table entry doesn't have a pointer and the value shows "??".
And when I get a new item, a couple of table entries appear with different values. One of those values is the quantity but if I try to change the other values and exit the room, the game crashes.
Re: Devil Slayer – Raksasi
Who is online
Users browsing this forum: Google Adsense [Bot], Oldmasterq11, walnar1423, YandexBot