Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Dcane420

BDO Framework 2.0 lua scripting Guide(Market sniper)

Recommended Posts

in BDO Framework 2.0 v0126, we implemented lua scripting.
now anyone with lua scripting experience will be able to code your own lua and execute in BDO.

 

here is a simple example how to make it works to market snipe items.

 

First of all, download the test.lua from attachment, put it in the BDO Tool folder:

 

Second, after login the BDO Tool in game, click Hack> Speed Hack > Test

 

 

now go to the Market place NPC, Manually talk to the NPC and get in to this screen:



now Click Beginlua 1 time, nothing will happened, click Stoplua 1 time.
and then click Beginlua again, it will now start working:

you could click StopLua at any time to stop the script.

 

 

Modify the lua script:
 

use whatever editor you want, i recommand using LuaEditor.

Open the test.lua:

the pos parameter here represents the button number from the market place list:

 

about Item ID you could find it from BDO Data Base:



so the test script here it is trying to buy button 0-3, single item copper ore(4003) and button 0, max item Iron ore(4001) 

notice that the StopScript() function here is binded to the Stopscript button in our framework, so  in order to make the script stop able, you must add that in the while loop, otherwise the script wont be able to stop running.

 

 

some montage:

 

 

Attachment:
test.lua



 

  • Love 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...