User Tools

Site Tools


misc_func

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
misc_func [2022/07/15 15:19] – [Maps] adminmisc_func [2022/09/03 23:25] (current) – external edit 127.0.0.1
Line 853: Line 853:
 <code> <code>
 # #
-mapInfo = Misc.GetMapInfo(0x4094EB6B+mapInfo = Misc.GetMapInfo(0x400BFD6C
-Misc.SendMessage("Origin ({}, {}), pin at ({}, {})".format(mapInfo.MapOrigin.X, mapInfo.MapOrigin.Y, mapInfo.PinPosition.X, mapInfo.PinPosition.Y))+print("Treasure at ({}, {}), Origin ({}, {}), pin at ({}, {})" 
 +    .format(mapInfo.MapOrigin.X+mapInfo.PinPosition.X, mapInfo.MapOrigin.Y+mapInfo.PinPosition.Y, 
 +            mapInfo.MapOrigin.X, mapInfo.MapOrigin.Y, mapInfo.PinPosition.X, mapInfo.PinPosition.Y))
 # #
 </code> </code>
 +
 +|- style="background-color:#f0f0f0;"
 +|**Note:**
 +|The pin position is an offset from the origin, so you have to add them to get absolute location
 +
 |- style="background-color:#f0f0f0;" |- style="background-color:#f0f0f0;"
 |**Returns** |**Returns**
misc_func.1657898391.txt.gz · Last modified: 2022/09/03 22:41 (external edit)

Exception: Git command failed to perform periodic pull: From https://github.com/RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error

Exception: Git command failed to perform periodic pull: From https://github.com/RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error

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.