Jump to content
Alloder.pro: about Allods with love
Search In
  • More options...
Find results that contain...
Find results in...

New program for writers

We turn from quantity to quality and tell you how we will supplement the Allods Team program with rewards in rubles.

More

The new Updater

Let us to introduce the new addon updater software and to share the details

Read more

Alloder 2.0

We have started the process of project evolve, and this relates not only, and not even primarily of the site's view

Read more

Compiled lua in addons


Guest anique
 Share

Recommended Posts

I would like to use compiled files in my addon. like luc in lightdpsmeter. Any help would be appreciated.

Я хотел бы использовать скомпилированные файлы на мой аддон. как luc в lightdpsmeter. Любая помощь будет признателен.

Link to comment
Share on other sites

luac (not luc) but it does not matter for allods online.

you can create a batch file that contains

luac50.exe -o "%1c" "%1"

Place it in luac folder and just drag'n'drop lua files on it to compile them in 1 click (Thx to SLA for pointing me at "%1" =D )

Also you can d'n'd more than one file at once.

Link to comment
Share on other sites

Да, однако декомпилировав скрипт все равно можно выяснить что и как он делает, однако этого не смогут сделать... Дайте ка прикину... 99.9% игроков Аллодов.

Link to comment
Share on other sites

С одной стороны это минус то, что код будут скрывать. т.к. этим начинающие создатели аддонов не смогут нормально изучить все, потому как примеры будут скомпилированы.

Link to comment
Share on other sites

Прекомпиляция должна еще давать какой то прирост в скорости работы кода (не виджетов)

На код того компилятора, который я выложил здесь легко найти декомпилятор, если захотеть

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use