User Tools

Site Tools


cuo_func

This is an old revision of the document!


Scripting - CUO Specific Functions

Here can find some information about Scripting functions that work with CUO

Load Map Markers
Syntax CUO.LoadMarkers()
Description:
Calls the LoadMarkers function on the CUO world map. The map must be open for this to work. use in your code like:

#
CUO.LoadMarkers()
#

Returns nothing
In Object: CUO
Parameters:
Go to Map Marker
Syntax CUO.GoToMarker(x, y)
Description:
Executes the GoToMarker function on the CUO world map passing the x and y you provided. The map must be open for this to work. use in your code like:

#
CUO.GoToMarker(100, 200)
#

Returns nothing
In Object: CUO
Parameters:
FreeView for CUO Map
Syntax CUO.FreeView(bool)
Description:
Executes the FreeView function on the CUO world map passing the bool you provided. The map must be open for this to work. use in your code like:

#
CUO.FreeView(True)
#

Returns nothing
In Object: CUO
Parameters:
Close Treasure Map
Syntax CUO.CloseTMap()
Description:
Finds the first Treasure Map gump on your screen and closes it. If a Treasure Map gump was found returns True, otherwise returns False. use in your code like:

#
CUO.CloseTMap()
#

Returns True if a Treasure map was closed, otherwise False
In Object: CUO
Parameters:

cuo_func.1696825281.txt.gz · Last modified: 2023/10/09 04:21 by 127.0.0.1

Exception: Git command failed to perform periodic pull: Warning: Permanently added 'github.com,140.82.112.4' (ECDSA) to the list of known hosts. From github.com:RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error: Your local changes to the following files would be overwritten by merge: doc/api/CUO.html doc/api/Gumps.html doc/api/Item.html doc/api/Items.html doc/api/Journal.html doc/api/Misc.html doc/api/Mobile.html doc/api/PacketLogger.html doc/api/PathFinding.html doc/api/Player.html doc/api/Spells.html doc/api/Target.html doc/api/Trade.html doc/api/Vendor.html Please commit your changes or stash them before you merge. Aborting

Exception: Git command failed to perform periodic pull: Warning: Permanently added 'github.com,140.82.112.4' (ECDSA) to the list of known hosts. From github.com:RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error: Your local changes to the following files would be overwritten by merge: doc/api/CUO.html doc/api/Gumps.html doc/api/Item.html doc/api/Items.html doc/api/Journal.html doc/api/Misc.html doc/api/Mobile.html doc/api/PacketLogger.html doc/api/PathFinding.html doc/api/Player.html doc/api/Spells.html doc/api/Target.html doc/api/Trade.html doc/api/Vendor.html Please commit your changes or stash them before you merge. Aborting

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the gitbacked plugin.

More info has been written to the DokuWiki error log.