Official ScriptUO EasyUO Scripts > Endless Nights' Script Library

ENs - Subs - OpenEUO MoonGate Subs

(1/2) > >>

Endless Night:
ENs - OpenEUO MoonGate Subs V2

A bunch of subs to facitate 100% moongate movement (not gate spell Facet moongates).

This is a library file as such the code should not be included in your file just reference it at the top of your script (edit the example line below to the location you store your library files at. I store my subs under scripts/ENs-subs, you can store their as well to make it easier to use my stuff if you wish. )

Moongates/Facets are named the same as in Game, _ represents a space... so 'Ter_Mur' not 'Ter Mur'.  The Sub will return true/false depending on weather the moongate action worked. It knows if you succeeded or failed because it knowns the landing spot for all gates/facets.  You might of failed due to lag or becuase you cannot access that part of the game world with that account.

Stand near a moongate and run below for an example of its simplicity and power and speed.


--- Code: ---dofile(getinstalldir()..'scripts/ENs-Subs/ENs_Subs_MoonGates.Lua') -- run once at top of script

 local result = EN.MoonGate.Use('Malas','Luna')   -- facet, gatename
 if result then print('success') else print('failed') end
 wait(1000)
 local result = EN.MoonGate.Use('Malas','Umbra')  
 if result then print('success') else print('failed') end
--- End code ---

Dont care about error checking then

--- Code: ---dofile(getinstalldir()..'scripts/ENs-Subs/ENs_Subs_MoonGates.Lua') -- run once at top of script

EN.MoonGate.Use('Malas','Luna')
wait(1000) - 1sec
EN.MoonGate.Use('Malas','Umbra')

--- End code ---


Enjoy...

Endless Night:
dang no one interested in OpenEUO stuff anymore i guess. 

TrailMyx:
I'll certainly get back into it more when:

1) It's done
2) It's debugged.  That last pass just turned me off and I forgot all the Lua I knew.  I'll be starting over.  lol

I need a reason to start playing UO again.  I was hoping that OEUO would spark me, but it ended up killing my interaction with the game.  Still playing Rift however.

Endless Night:

--- Quote from: TrailMyx on April 27, 2011, 11:30:00 AM ---I'll certainly get back into it more when:

1) It's done
2) It's debugged.  That last pass just turned me off and I forgot all the Lua I knew.  I'll be starting over.  lol

I need a reason to start playing UO again.  I was hoping that OEUO would spark me, but it ended up killing my interaction with the game.  Still playing Rift however.

--- End quote ---

Well for me  after my break the annoyances of EasyUO have become more annoying... so besides from needed modding of my existing work as required all new stuff is likely to be LUA based.    It just means no menus for now but its a bit of fun converting over and enjoying the freedom of real librarys.

TrailMyx:

--- Quote from: Endless Night on April 27, 2011, 11:34:56 AM ---Well for me  after my break the annoyances of EasyUO have become more annoying...


--- End quote ---

I hear you there.  Lua driving my little character around was great.  Having to go back to EUO just turned into a non-option.  I tried doing a few things, but I just felt I was wasting my time.  So I'll just patiently wait and throw the occasional verbal grenade.

Anyhow, sorry for the thread hijack; I know you run a tight ship in here.  Feel free to delete.

Navigation

[0] Message Index

[#] Next page

Go to full version