Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Elsword
You last visited: Today at 18:52

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

Advertisement



How to inject lua code

Discussion on How to inject lua code within the Elsword forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2020
Posts: 9
Received Thanks: 2
Smile How to inject lua code

Hi there, so here's the source code for my project which generates a .dll to inject code into Elsrift x64.

You can easily improve it and make it work for other versions of Elsword.

Read the README file, it explains everything !


My Discord : Acedia#9192
VirusTotal :


UPDATE 23/07/2023 :

- Automatic address look-up for function hooking (no longer any need for IDA or similar)
- Possibility of loading Script.out during the game (by pressing 8), and not just at start-up.

Concerns :

- Still need to convert lua scripts to luajit x64 bytecode before loading the script.
- The dll console has display problems even though everything is working.
- Works on Elsrift and Elsword TW, but requires an injector to bypass anticheat on Elsword EU (game crash after loading)
Attached Files
File Type: zip ElsDll.zip (361.7 KB, 419 views)
Acedia01 is offline  
Old 06/17/2023, 03:12   #2
 
elite*gold: 0
Join Date: Jul 2020
Posts: 15
Received Thanks: 0
Can u do a tutorial please , no one now How to use ida and The other tools you put
shedouzyy is offline  
Old 06/17/2023, 09:31   #3
 
elite*gold: 0
Join Date: Sep 2020
Posts: 9
Received Thanks: 2
Quote:
Originally Posted by shedouzyy View Post
Can u do a tutorial please , no one now How to use ida and The other tools you put
Well, if you don't know how to use IDA (or another one), you have 2 options:

- You can learn the basics from the thousands of tutorials on the internet, and then follow the instructions in the README (the links inside explain how to do it, step by step...).

- You wait for someone to make a more complete project that's easy to use. But they'll probably charge you for it, and that's normal because it takes time/knowledge to do.


And for those wondering why the few Lua functions (load, loadfile, loadstring ...) inside your LuaJit byecode injected script don't load scripts/code, it's because you have to compile them in Lua 5.1 first. But it's fairly easy to do so ...
Acedia01 is offline  
Old 06/17/2023, 21:11   #4
 
elite*gold: 0
Join Date: Mar 2014
Posts: 2
Received Thanks: 0
good job.
LOVE958185 is offline  
Old 06/20/2023, 05:09   #5
 
elite*gold: 0
Join Date: Feb 2023
Posts: 24
Received Thanks: 1
I have no experiences with lua or coding whatsoever but I'm gonna attempt to figure this out, trosh nest grind is way worse than this probably /hj
PlutoStrr is offline  
Old 06/25/2023, 15:25   #6
 
elite*gold: 0
Join Date: Jul 2022
Posts: 43
Received Thanks: 12
As the author of the g(old) project ELZLOADER, this is a very good code! I didn't test it actually very well but I hope somebody will get into it to make a new Lua Injector the x64 versions of Elsword.

Spoiler: maybe, when I have time, I will release a open-source Lua Injector for those, but I don't know, I need much time for it and I have to find that time xD.
TheReifer is offline  
Thanks
1 User
Old 06/26/2023, 16:56   #7
 
elite*gold: 0
Join Date: Sep 2019
Posts: 1
Received Thanks: 0
interesting haha
jjeancc is offline  
Old 07/02/2023, 19:12   #8
Trade Restricted
 
elite*gold: 0
Join Date: Oct 2022
Posts: 92
Received Thanks: 23
the x64 version is already available lol
maybe you are too outdated?
it works for x64 elsword europe and rift . im using it often and there is not much risk .
changing cp works too and farm el reso + eds
,
if you had questions note my discord
LillyChan#5655
Steck_Ihn_Rein! is offline  
Old 07/03/2023, 02:46   #9
 
elite*gold: 0
Join Date: Sep 2020
Posts: 9
Received Thanks: 2
Quote:
Originally Posted by Steck_Ihn_Rein! View Post
the x64 version is already available lol
maybe you are too outdated?
it works for x64 elsword europe and rift . im using it often and there is not much risk .
changing cp works too and farm el reso + eds
,
if you had questions note my discord
LillyChan#5655
This thread was created to make it easier for people to code their own injectors using my free source code as a basis.

So if you want to share free source code too, you're more than welcome to do so.

On the other hand, if you want to sell your stuff, go elsewhere.

Quote:
Originally Posted by TheReifer View Post
As the author of the g(old) project ELZLOADER, this is a very good code! I didn't test it actually very well but I hope somebody will get into it to make a new Lua Injector the x64 versions of Elsword.

Spoiler: maybe, when I have time, I will release a open-source Lua Injector for those, but I don't know, I need much time for it and I have to find that time xD.
Oh nice, I had used ELZLOADER for a while and the tool was great, we even managed to add the dungeon auto restart function towards the end.

If you need help, you can contact me on my Discord: Acedia#9192

I've since made scripts to modify buffs in depth (stack limit, duration, effects...) and it obviously works in raids/pvp. So if you want to add the script to your future injector, just let me know.
Acedia01 is offline  
Old 07/23/2023, 17:26   #10
 
elite*gold: 0
Join Date: Sep 2020
Posts: 9
Received Thanks: 2
#UPDATE
Acedia01 is offline  
Old 08/26/2023, 00:57   #11
 
elite*gold: 0
Join Date: Oct 2021
Posts: 28
Received Thanks: 2
Is this still working
tranzcend595 is offline  
Old 01/31/2024, 20:15   #12
 
elite*gold: 0
Join Date: Jan 2021
Posts: 175
Received Thanks: 16
Quote:
Originally Posted by Acedia01 View Post
Hi there, so here's the source code for my project which generates a .dll to inject code into Elsrift x64.

You can easily improve it and make it work for other versions of Elsword.

Read the README file, it explains everything !


My Discord : Acedia#9192
VirusTotal :


UPDATE 23/07/2023 :

- Automatic address look-up for function hooking (no longer any need for IDA or similar)
- Possibility of loading Script.out during the game (by pressing 8), and not just at start-up.

Concerns :

- Still need to convert lua scripts to luajit x64 bytecode before loading the script.
- The dll console has display problems even though everything is working.
- Works on Elsrift and Elsword TW, but requires an injector to bypass anticheat on Elsword EU (game crash after loading)
i add u on discord
soniguale is offline  
Old 10/10/2024, 11:37   #13
 
elite*gold: 0
Join Date: Sep 2017
Posts: 24
Received Thanks: 4
Hi hi, may you accept my friend request on discord ? «baran*»
BiteZgeg is offline  
Reply


Similar Threads Similar Threads
Open Source Injector - Auto/Manual Inject, Verify Inject, Saves Settings
01/28/2013 - Combat Arms Hacks, Bots, Cheats & Exploits - 5 Replies
Open Source Injector - Auto/Manual Inject, Verify Inject, Saves Settings Features: -Auto Inject -Customizable Delay -Manual Inject -Verify Inject
Sehr weit geführte locale_.lua (locale_big5.lua)
08/02/2010 - Metin2 PServer Guides & Strategies - 50 Replies
Abend^^ Habe hier mal selber eine locale_.lua übersetzt! Ich habe mich von anderen localen inspirieren lassen habe sie aber bis auf 6 Zeilen selber geschrieben!! Ich werde sie, wenn ihr mir sagt welche quests die von zeile 300 - 900 sind, noch vervollständigen aber erstes Ziel... Website mit allen Quests zum Ansehen und einzelnen Download! Hoffe konnte euch weiterhelfen! Locale_.lua + skill_group.quest damit auch die Lehrer deutsch sind! Updatestand: 22.01.2010 Version 1: locale_.lua...



All times are GMT +1. The time now is 18:52.


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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.