User Tools

Site Tools


cuo_funcs

Scripting - ClassicUO functions

ClassicUO loads RE as a plugin, and as such RE does not have access to all the functionality in CUO, in fact RazorEnhanced treats CUO the same as the OSI client in terms of packet modification or generation.

There are cases when cheating on this situation is desirable, and that is what will go in this component.

Needless to say CUO function will do nothing on an OSI client.

Message

Load World Map Markers
Syntax CUO.LoadMarkers()
Description:
Executes the function used by the CUO ui to reload all the map markers.
Returns void
In Object: CUO
Parameters: None
Set the GoTo WorldMapMarker
Syntax CUO.GoToMarker(x, y)
Description:
Executes the function used by the CUO ui to set a temporary GoTo marker on its map
Returns void
In Object: CUO
Parameters: None
Set the FreeView in WorldMap
Syntax CUO.FreeView(bool)
Description:
Executes the function used by the CUO ui to set a FreeView on its world map on/off
Returns void
In Object: CUO
Parameters: None
Close T-Map gumps
Syntax CUO.CloseTMap()
Description:
Closes the T-Map gumps in CUO. If none are closed it returns False
Returns True - closed a t-map gump, False - no gumps could be closed
In Object: CUO
Parameters: None
Open Container at location
Syntax CUO.OpenContainerAt(serial, X, Y)
Description:
Opens a container at a specific location on screen
Returns void
In Object: CUO
Parameters: bag serial, X, Y
GetSetting
Syntax CUO.GetSetting(string)
Description:
Gets the current value of any CUO setting
Returns The value of the requested setting as a string
In Object: CUO
Parameters: setting name
Profile Property Set
Syntax CUO.ProfilePropertySet(profileName, bool/int/string)
Description:
Sets a profile property in CUO profile
Returns True - closed a t-map gump, False - no gumps could be closed
In Object: CUO
Profile Names:

  • string ServerName
  • string CharacterName
  • bool EnableSound
  • int SoundVolume
  • bool EnableMusic
  • int MusicVolume
  • bool EnableFootstepsSound
  • bool EnableCombatMusic
  • bool ReproduceSoundsInBackground
  • byte ChatFont
  • int SpeechDelay
  • bool ScaleSpeechDelay
  • bool SaveJournalToFile
  • bool ForceUnicodeJournal
  • bool IgnoreAllianceMessages
  • bool IgnoreGuildMessages
  • ushort SpeechHue
  • ushort WhisperHue
  • ushort EmoteHue
  • ushort YellHue
  • ushort PartyMessageHue
  • ushort GuildMessageHue
  • ushort AllyMessageHue
  • ushort ChatMessageHue
  • ushort InnocentHue
  • ushort PartyAuraHue
  • ushort FriendHue
  • ushort CriminalHue
  • ushort CanAttackHue
  • ushort EnemyHue
  • ushort MurdererHue
  • ushort BeneficHue
  • ushort HarmfulHue
  • ushort NeutralHue
  • bool EnabledSpellHue
  • bool EnabledSpellFormat
  • string SpellDisplayFormat
  • ushort PoisonHue
  • ushort ParalyzedHue
  • ushort InvulnerableHue
  • bool EnabledCriminalActionQuery
  • bool EnabledBeneficialCriminalActionQuery
  • bool EnableStatReport
  • bool EnableSkillReport
  • bool UseOldStatusGump
  • int BackpackStyle
  • bool HighlightGameObjects
  • bool HighlightMobilesByParalize
  • bool HighlightMobilesByPoisoned
  • bool HighlightMobilesByInvul
  • bool ShowMobilesHP
  • int MobileHPType
  • int MobileHPShowWhen
  • bool DrawRoofs
  • bool TreeToStumps
  • bool EnableCaveBorder
  • bool HideVegetation
  • int FieldsType
  • bool NoColorObjectsOutOfRange
  • bool UseCircleOfTransparency
  • int CircleOfTransparencyRadius
  • int CircleOfTransparencyType
  • int VendorGumpHeight
  • float DefaultScale
  • bool EnableMousewheelScaleZoom
  • bool SaveScaleAfterClose
  • bool RestoreScaleAfterUnpressCtrl
  • bool BandageSelfOld
  • bool EnableDeathScreen
  • bool EnableBlackWhiteEffect
  • bool UseTooltip
  • ushort TooltipTextHue
  • int TooltipDelayBeforeDisplay
  • int TooltipDisplayZoom
  • int TooltipBackgroundOpacity
  • byte TooltipFont
  • bool EnablePathfind
  • bool UseShiftToPathfind
  • bool AlwaysRun
  • bool AlwaysRunUnlessHidden
  • bool SmoothMovements
  • bool HoldDownKeyTab
  • bool HoldShiftForContext
  • bool HoldShiftToSplitStack
  • Point WindowClientBounds
  • Point ContainerDefaultPosition
  • Point GameWindowPosition
  • bool GameWindowLock
  • bool GameWindowFullSize
  • bool WindowBorderless
  • Point GameWindowSize
  • Point TopbarGumpPosition
  • bool TopbarGumpIsMinimized
  • bool TopbarGumpIsDisabled
  • bool UseAlternativeLights
  • bool UseCustomLightLevel
  • byte LightLevel
  • bool UseColoredLights
  • bool UseDarkNights
  • int CloseHealthBarType
  • bool ActivateChatAfterEnter
  • bool ActivateChatAdditionalButtons
  • bool ActivateChatShiftEnterSupport
  • bool UseObjectsFading
  • bool HoldDownKeyAltToCloseAnchored
  • bool CloseAllAnchoredGumpsInGroupWithRightClick
  • bool HoldAltToMoveGumps
  • bool HideScreenshotStoredInMessage
  • bool CastSpellsByOneClick
  • bool BuffBarTime
  • bool FastSpellsAssign
  • bool AutoOpenDoors
  • bool SmoothDoors
  • bool AutoOpenCorpses
  • int AutoOpenCorpseRange
  • int CorpseOpenOptions
  • bool SkipEmptyCorpse
  • bool DisableDefaultHotkeys
  • bool DisableArrowBtn
  • bool DisableTabBtn
  • bool DisableCtrlQWBtn
  • bool DisableAutoMove
  • bool EnableDragSelect
  • int DragSelectModifierKey
  • bool OverrideContainerLocation
  • int OverrideContainerLocationSetting
  • Point OverrideContainerLocationPosition
  • bool DragSelectHumanoidsOnly
  • int DragSelectStartX
  • int DragSelectStartY
  • bool DragSelectAsAnchor
  • NameOverheadTypeAllowed NameOverheadTypeAllowed
  • bool NameOverheadToggled
  • bool ShowTargetRangeIndicator
  • bool PartyInviteGump
  • bool CustomBarsToggled
  • bool CBBlackBGToggled
  • bool ShowInfoBar
  • int InfoBarHighlightType
  • InfoBarItem[] InfoBarItems
  • Macro[] Macros
  • bool CounterBarEnabled
  • bool CounterBarHighlightOnUse
  • bool CounterBarHighlightOnAmount
  • bool CounterBarDisplayAbbreviatedAmount
  • int CounterBarAbbreviatedAmount
  • int CounterBarHighlightAmount
  • int CounterBarCellSize
  • int CounterBarRows
  • int CounterBarColumns
  • bool ShowSkillsChangedMessage
  • int ShowSkillsChangedDeltaValue
  • bool ShowStatsChangedMessage
  • bool ShadowsEnabled
  • bool ShadowsStatics
  • int TerrainShadowsLevel
  • int AuraUnderFeetType
  • bool AuraOnMouse
  • bool PartyAura
  • bool UseXBR
  • bool HideChatGradient
  • bool StandardSkillsGump
  • bool ShowNewMobileNameIncoming
  • bool ShowNewCorpseNameIncoming
  • uint GrabBagSerial
  • int GridLootType
  • bool ReduceFPSWhenInactive
  • bool OverrideAllFonts
  • bool OverrideAllFontsIsUnicode
  • bool SallosEasyGrab
  • bool JournalDarkMode
  • byte ContainersScale
  • bool ScaleItemsInsideContainers
  • bool DoubleClickToLootInsideContainers
  • bool UseLargeContainerGumps
  • bool RelativeDragAndDropItems
  • bool HighlightContainerWhenSelected
  • bool ShowHouseContent
  • bool SaveHealthbars
  • bool TextFading
  • bool UseSmoothBoatMovement
  • bool IgnoreStaminaCheck
  • bool ShowJournalClient
  • bool ShowJournalObjects
  • bool ShowJournalSystem
  • bool ShowJournalGuildAlly
  • int WorldMapWidth
  • int WorldMapHeight
  • int WorldMapFont
  • bool WorldMapFlipMap
  • bool WorldMapTopMost
  • bool WorldMapFreeView
  • bool WorldMapShowParty
  • int WorldMapZoomIndex
  • bool WorldMapShowCoordinates
  • bool WorldMapShowMouseCoordinates
  • bool WorldMapShowMobiles
  • bool WorldMapShowPlayerName
  • bool WorldMapShowPlayerBar
  • bool WorldMapShowGroupName
  • bool WorldMapShowGroupBar
  • bool WorldMapShowMarkers
  • bool WorldMapShowMarkersNames
  • bool WorldMapShowMultis
  • string WorldMapHiddenMarkerFiles
  • string WorldMapHiddenZoneFiles
  • bool WorldMapShowGridIfZoomed

cuo_funcs.txt · Last modified: 2022/09/25 02:01 by credzba

Exception: Git command failed to perform periodic pull: error: insufficient permission for adding an object to repository database .git/objects fatal: failed to write object fatal: unpack-objects failed

Exception: Git command failed to perform periodic pull: error: insufficient permission for adding an object to repository database .git/objects fatal: failed to write object fatal: unpack-objects failed

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.