[openEUO] How to get started with it

If you make a Client-side script you can publish it here for other players to use
Locked
Penny
Legendary Scribe
Posts: 210
Joined: Thu Oct 01, 2009 12:05 pm

[openEUO] How to get started with it

Post by Penny »

First of all, why openEUO?

While easyUO works ok, openEUO works great: you can do so much more with
an actual programming language, Lua. And it's orders of magnitude faster.

Here's some helpful links:
Lua 5.1 Reference Manual - http://www.lua.org/manual/5.1/index.html#contents
openEUO wiki - http://www.easyuo.com/openeuo/wiki/index.php/Main_Page

Also, I've found it easier to write the scripts in a text editor (syntax highlighting, line numbering, auto-brackets etc)
and for testing the script to use dofile("script_file_name") :nod:

EDIT:
Proof of speed difference -- for loop, adding 1 to a variable one million times:
j = 0
for i = 1,1000000
j = j + 1

openEUO: about 0.1 seconds
easyUO: about 250 seconds (4+ minutes)
Failure is not an option, it's a standard.
User avatar
Tael
Elder Scribe
Posts: 166
Joined: Sun May 17, 2009 1:44 am

Re: [openEUO] How to get started with it

Post by Tael »

That's pretty interesting, actually. Thanks for the info :)
Taelwrath - noobus perpetuus
Locked