Another Fix ( A Correction )
Changing to War Mode Only Appears A Text That Says:
"You Got In The War Mode" or something else I Don't Remember
Made UO Classic War Mode Arrows(Red Color)
lib.cursor.lua line (around
) 6:
Code:
gUOCursorIDs = {
[0]=hex2num("0x4000")+8305, [1]=hex2num("0x4000")+8298, [2]=hex2num("0x4000")+8299, [3]=hex2num("0x4000")+8300,
[4]=hex2num("0x4000")+8301, [5]=hex2num("0x4000")+8302, [6]=hex2num("0x4000")+8303, [7]=hex2num("0x4000")+8304,
[8]=hex2num("0x4000")+8306, [9]=hex2num("0x4000")+8307,[10]=hex2num("0x4000")+8308,[11]=hex2num("0x4000")+8309,
[12]=hex2num("0x4000")+8310,[13]=hex2num("0x4000")+8311,[14]=hex2num("0x4000")+8312,[15]=hex2num("0x4000")+8313,}
gUOWarCursorIDs = {
[0]=hex2num("0x4000")+8282,[1]=hex2num("0x4000")+8275,[2]=hex2num("0x4000")+8276,[3]=hex2num("0x4000")+8277,
[4]=hex2num("0x4000")+8278,[5]=hex2num("0x4000")+8279,[6]=hex2num("0x4000")+8280,[7]=hex2num("0x4000")+8281,
[8]=hex2num("0x4000")+8283,[9]=hex2num("0x4000")+8284,[10]=hex2num("0x4000")+8285,[11]=hex2num("0x4000")+8286,
[12]=hex2num("0x4000")+8287,[13]=hex2num("0x4000")+8288,[14]=hex2num("0x4000")+8289,[15]=hex2num("0x4000")+8290,}
lib.cursor.lua line (around
) 34:
Code:
kCursorIndex_Mark = 15 -- mark (needle/pin, probably for boat-course-plotting)
-- Add This Function To Retrive Current Cursor Index For Handle War Mode Change Hook.
-- NGU Online: Sehlor.
kCursorCurrentIndex = 0
function GetUOCursorIndex ()
if (gNoRender) then return end
if (gHideUOCursor) then return end
return kCursorCurrentIndex
end
--~NGU Online: Sehlor.
lib.cursor.lua line (around
) 61:
Code:
gui.cursorGfx2D:SetPos(20,20)
end
local iTileTypeID = 0
if( IsWarModeActive() ) then
iTileTypeID = gUOWarCursorIDs[iIndex or 0]
else
iTileTypeID = gUOCursorIDs[iIndex or 0]
end
kCursorCurrentIndex = iIndex
And obj.player.lua line (around
) 116 :
Code:
HealthBarSetWarMode()
if (gui.cursorGfx2D) then
local a = GetUOCursorIndex()
SetUOCursor(a)
end