Добавлен Unryze,
опубликован
v1.1.15.218
ㅤ
UjAPI.dll
1. Новые Константы:
constant frameeventtype FRAMEEVENT_FRAME_ITEM_CHANGED = ConvertFrameEventType(10)
constant controlstyleflag CONTROL_STYLE_DRAW = ConvertControlStyleFlag(32)
2. Новые Нативные Функции:
native BitwiseShiftLeftLogical takes integer i, integer bitsToShift returns integer
native BitwiseShiftRightLogical takes integer i, integer bitsToShift returns integer
//
native CountUnitAbilities takes unit whichUnit, boolean alsoCountBuffs returns integer
native CountUnitBuffs takes unit whichUnit returns integer
//
native GetBuffOwningAbility takes buff whichbuff returns ability // experimental
native SetBuffOwningAbility takes buff whichBuff, ability whichAbility returns nothing // experimental
//
native SetProjectileSourceAbility takes projectile whichProjectile, ability whichAbility returns nothing
//
native GetFrameChildrenCountEx takes framehandle whichFrame, integer listId returns integer // listId: CFrames: 0 for default | 1 for layouts (will return CLayer) | CSimpleFrames 0 - 6 | CSimpleRegions any number, as they only have 1 child node.
native GetFrameChildEx takes framehandle whichFrame, integer listId, integer index returns framehandle
native GetFrameTextAlignmentValue takes framehandle whichFrame, integer id returns real // CSimpleFontString: 0 - x, 1 - y | CTextFrame: 0 - x, 1 - y, 2 - x Shadow, 3 - y Shadow, 4 = FontJustificationOffset
native SetFrameTextAlignmentValue takes framehandle whichFrame, integer id, real offset returns nothing
native GetTriggerFrameTargetFrame takes nothing returns framehandle
3. Исправлена поддержка отрицательных чисел с сеттерами цифровых полей, ранее они обрабатывались без знака.
4. CListBox API теперь работает с CMenu.
5. CListBox API теперь работает с CPopupMenu.
6. CListBox API теперь работает с CRadioGroup.
7. GetFrameTextColourEx теперь работает с CListBoxItem.
8. SetFrameTextColourEx теперь работает с CListBoxItem.
9. SetFrameFont теперь работает с CTimerTextFrame.
10. SetFrameFont теперь работает с CListBoxItem.
11. SetFrameTextAlignment теперь работает с CTimerTextFrame.
12. SetFrameTextAlignment теперь работает с CListBoxItem.
13. SetFrameTextVerticalAlignment теперь работает с CTimerTextFrame.
14. SetFrameTextVerticalAlignment теперь работает с CListBoxItem.
15. SetFrameTextHorizontalAlignment теперь работает с CTimerTextFrame.
16. SetFrameTextHorizontalAlignment теперь работает с CListBoxItem.
17. FRAMEEVENT_POPUPMENU_ITEM_CHANGED теперь работает с CListBox.
18. AddFrameListItem теперь работает с CRadioGroup.
19. FRAMEEVENT_POPUPMENU_ITEM_CHANGED теперь работает с CRadioGroup.
20. Исправлено SetLightningTargetX устанавливающее x источника, вместо цели.
21. Исправлено SetLightningTargetY устанавливающее y источника, вместо цели.
22. Исправлено SetLightningTargetZ устанавливающее z источника, вместо цели.
23. Исправлено SetLightningTargetPositionLoc устанавливающее позицию источника, вместо цели.
24. Исправлено GroupContainsUnit всегда возвращающее true.
25. Перенесён весь внутренний код jFramea API во FrameAPI. Это пометка для себя, данное изменение не должно повлиять ни на что.
26. Исправлено BlzSetUnitMaxMana устанавливающее максимальное здоровье вместо маны.
27. Исправлено не работающее SetFrameTextHorizontalAlignment.
28. Исправлено SetFrameTextColourEx для CSimpleFontString.
Launcher
1. CLI теперь может обрабатывать эти warcraft 3 комманды: d3d, opengl, swtnl, classic, datadir, gametype, fullscreen.
2. Добавлена опция Dev Mode для AngelScript.
3. Добавлена опция Console для AngelScript.
4. Добавлена опция No Warnings для AngelScript.
5. Добавлена опция "dev" CLI команда для AngelScript.
6. Добавлена опция "console" CLI команда для AngelScript.
7. Добавлена опция "nowarnings" CLI команда для AngelScript.
8. Добавлен модуль FastMenu.dll в Modules.
9. Добавлена опция Fast Menu для Launcher.
10. Добавлена -fastmenu CLI команда для Launcher.
`
ОЖИДАНИЕ РЕКЛАМЫ...
Чтобы оставить комментарий, пожалуйста, войдите на сайт.
Отредактирован Unryze
v1.0.27.100
constant playercolor PLAYER_COLOR_NAVY = ConvertPlayerColor(13)
constant playercolor PLAYER_COLOR_TURQUOISE = ConvertPlayerColor(14)
constant playercolor PLAYER_COLOR_VIOLET = ConvertPlayerColor(15)
constant playercolor PLAYER_COLOR_WHEAT = ConvertPlayerColor(16)
constant playercolor PLAYER_COLOR_PEACH = ConvertPlayerColor(17)
constant playercolor PLAYER_COLOR_MINT = ConvertPlayerColor(18)
constant playercolor PLAYER_COLOR_LAVENDER = ConvertPlayerColor(19)
constant playercolor PLAYER_COLOR_COAL = ConvertPlayerColor(20)
constant playercolor PLAYER_COLOR_SNOW = ConvertPlayerColor(21)
constant playercolor PLAYER_COLOR_EMERALD = ConvertPlayerColor(22)
constant playercolor PLAYER_COLOR_PEANUT = ConvertPlayerColor(23)
constant integer CORNER_FLAG_UPPER_LEFT = 1
constant integer CORNER_FLAG_UPPER_RIGHT = 2
constant integer CORNER_FLAG_BOTTOM_LEFT = 4
constant integer CORNER_FLAG_BOTTOM_RIGHT = 8
constant integer CORNER_FLAG_TOP = 16
constant integer CORNER_FLAG_LEFT = 32
constant integer CORNER_FLAG_BOTTOM = 64
constant integer CORNER_FLAG_RIGHT = 128
constant integer CORNER_FLAG_ALL = 255
constant native GetBJPlayerNeutralVictim takes nothing returns integer
constant native GetBJPlayerNeutralExtra takes nothing returns integer
constant native GetBJMaxPlayerSlots takes nothing returns integer
constant native GetPlayerNeutralPassive takes nothing returns integer
constant native GetPlayerNeutralAggressive takes nothing returns integer
native SaveCode takes hashtable table, integer parentKey, integer childKey, code whichCode returns boolean
native SaveHandleList takes hashtable table, integer parentKey, integer childKey, handlelist whichHandleList returns boolean
native LoadCode takes hashtable table, integer parentKey, integer childKey returns code
native LoadHandleList takes hashtable table, integer parentKey, integer childKey returns handlelist
native GetFrameTypeName takes framehandle whichFrame returns string
native GetFrameCornerFlags takes framehandle whichFrame, integer backdropId returns integer
native SetFrameCornerFlags takes framehandle whichFrame, integer backdropId, integer cornerFlag returns nothing
native GetFrameCornerSize takes framehandle whichFrame, integer backdropId returns real
native SetFrameCornerSize takes framehandle whichFrame, integer backdropId, real value returns nothing
native GetFrameBackgroundSize takes framehandle whichFrame, integer backdropId returns real
native SetFrameBackgroundSize takes framehandle whichFrame, integer backdropId, real value returns nothing
native GetFrameBackgroundInsetById takes framehandle whichFrame, integer backdropId, integer insetId returns real
native SetFrameBackgroundInsets takes framehandle whichFrame, integer backdropId, real minX, real minY, real maxX, real maxY returns nothing
native SetFrameBackgroundInsetById takes framehandle whichFrame, integer backdropId, integer insetId, real value returns nothing
native SetFrameBackdropTexture takes framehandle whichFrame, integer textureId, string backgroundTextureFile, boolean allowTransparency, boolean blend, string borderTextureFile, integer borderFlags, boolean isControlBackdrop returns nothing
Спасибо N1ghtSiren за то, что заметил эту проблему.
Спасибо PinkieNecro за то, что заметил эту проблему.
v1.0.28.102
constant integer TEXT_TAG_MAX_SIZE = GetTextTagLimit( ) Original 100 limit raised to 1024, this is subject to change if needed.
constant native GetJassArrayLimit takes nothing returns integer
constant native GetTextTagLimit takes nothing returns integer
native GetCodeByName takes string funcName returns code
native TimerIsPaused takes timer whichTimer returns boolean
native TimerRestart takes timer whichTimer returns nothing
native TimerIsPeriodic takes timer whichTimer returns boolean
native TimerSetPeriodic takes timer whichTimer, boolean isPeriodic returns nothing
native TimerSetRemaining takes timer whichTimer, real remaining returns nothing
native TimerSetTimeout takes timer whichTimer, real timeout returns nothing
native TimerGetCallback takes timer whichTimer returns code
native TimerSetCallback takes timer whichTimer, code whichFunction returns nothing
native GetDoodadModel takes doodad whichDoodad returns string
native SetDoodadModel takes doodad whichDoodad, string whichModel returns nothing
native IsDoodadVisible takes doodad whichDoodad returns boolean
native ShowDoodad takes doodad whichDoodad, boolean isShow returns nothing
native GetLightningSourceX takes lightning whichBolt returns real
native SetLightningSourceX takes lightning whichBolt, real value returns nothing
native GetLightningSourceY takes lightning whichBolt returns real
native SetLightningSourceY takes lightning whichBolt, real value returns nothing
native GetLightningSourceZ takes lightning whichBolt returns real
native SetLightningSourceZ takes lightning whichBolt, real value returns nothing
native GetLightningSourcePositionLocation takes lightning whichBolt returns location
native SetLightningSourcePositionLocation takes lightning whichBolt, location whichLocation returns nothing
native GetLightningTargetX takes lightning whichBolt returns real
native SetLightningTargetX takes lightning whichBolt, real value returns nothing
native GetLightningTargetY takes lightning whichBolt returns real
native SetLightningTargetY takes lightning whichBolt, real value returns nothing
native GetLightningTargetZ takes lightning whichBolt returns real
native SetLightningTargetZ takes lightning whichBolt, real value returns nothing
native GetLightningTargetPositionLocation takes lightning whichBolt returns location
native SetLightningTargetPositionLocation takes lightning whichBolt, location whichLocation returns nothing
native GetLightningScreenX takes lightning whichBolt returns real
native GetLightningScreenY takes lightning whichBolt returns real
native GetLightningColour takes lightning whichBolt returns integer
native GetLightningLength takes lightning whichBolt returns real
native SetLightningLength takes lightning whichBolt, real value returns nothing
native GetLightningNoiseScaling takes lightning whichBolt returns real
native SetLightningNoiseScaling takes lightning whichBolt, real value returns nothing
native GetLightningTextureCoordinates takes lightning whichBolt returns real
native SetLightningTextureCoordinates takes lightning whichBolt, real value returns nothing
native GetLightningDuration takes lightning whichBolt returns real
native SetLightningDuration takes lightning whichBolt, real value returns nothing
native GetLightningTexture takes lightning whichBolt returns string
native SetLightningTexture takes lightning whichBolt, string textureName returns nothing
native GetTextTagScreenX takes texttag whichTextTag returns real
native GetTextTagScreenY takes texttag whichTextTag returns real
native GetImageScreenX takes image whichImage returns real
native GetImageScreenY takes image whichImage returns real
native GetSpecialEffectScreenX takes effect whichEffect returns real
native GetSpecialEffectScreenY takes effect whichEffect returns real
native GetTrackableScreenX takes trackable whichTrackable returns real
native GetTrackableScreenY takes trackable whichTrackable returns real
native GetWidgetScreenX takes widget whichWidget returns real
native GetWidgetScreenY takes widget whichWidget returns real
native GetDestructableScreenX takes destructable whichDestructable returns real
native GetDestructableScreenY takes destructable whichDestructable returns real
native GetItemScreenX takes item whichItem returns real
native GetItemScreenY takes item whichItem returns real
native GetUnitScreenX takes unit whichUnit returns real
native GetUnitScreenY takes unit whichUnit returns real
native GetProjectileScreenX takes projectile whichProjectile returns real
native GetProjectileScreenY takes projectile whichProjectile returns real
native HandleListContainsTypeId takes handlelist whichHandleList, integer typeId returns boolean
native HandleListGetHandleByTypeId takes handlelist whichHandleList, integer typeId, integer index returns handle
native HandleListRemoveEmpty takes handlelist whichHandleList returns integer
Пометка: использование 512 тексттагов никак не повлияло на фпс, однако тесты проведённые на 8192 увенчались 20 средними фпс, потому лимит был установлен в 1024, так как при этом лимите фпс тоже не пострадал.
Пометка: такой проблемы не было на "ванилле".
Пометка: ошибка происходила потому, что UjAPI пытался получать доступ к CGlueManager для перезаписи "версии" и добавлении текста версии UjAPI, но это по итогу происходило на "чёрном" экране.
v1.0.29.104
native GetLightningColourA takes lightning whichBolt returns integer
native GetLightningColourR takes lightning whichBolt returns integer
native GetLightningColourG takes lightning whichBolt returns integer
native GetLightningColourB takes lightning whichBolt returns integer
native SetLightningColour takes lightning whichBolt, integer r, integer g, integer b, integer a returns boolean
native GetLocale takes nothing returns string
native DisplayWarningMessage takes player toPlayer, string message returns nothing
native DisplayTimedWarningMessage takes player toPlayer, real duration, string message returns nothing
native DisplayTopMessage takes player toPlayer, string message returns nothing
native DisplayTimedTopMessage takes player toPlayer, real duration, string message returns nothing
native TextFileGetSizeByPath takes string filePath returns integer
native TextFileGetSize takes textfilehandle whichTextFile returns integer
native CreateDoodad takes integer objectid, real x, real y, real face, real scale, integer variation returns doodad
native CreateDoodadZ takes integer objectid, real x, real y, real z, real face, real scale, integer variation returns doodad
native RemoveDoodad takes doodad whichDoodad returns nothing
native GetDoodadColour takes doodad whichDoodad returns integer
native SetDoodadColour takes doodad whichDoodad, integer colour returns nothing
native SetDoodadVertexColour takes doodad whichDoodad, integer red, integer green, integer blue, integer alpha returns nothing
native GetDoodadScale takes doodad whichDoodad returns real
native SetDoodadScale takes doodad whichDoodad, real facing returns nothing
native GetDoodadX takes doodad whichDoodad returns real
native SetDoodadX takes doodad whichDoodad, real x returns nothing
native GetDoodadY takes doodad whichDoodad returns real
native SetDoodadY takes doodad whichDoodad, real y returns nothing
native GetDoodadZ takes doodad whichDoodad returns real
native SetDoodadZ takes doodad whichDoodad, real z returns nothing
native SetDoodadPosition takes doodad whichDoodad, real x, real y returns nothing
native SetDoodadPositionEx takes doodad whichDoodad, real x, real y, real z returns nothing
native GetDoodadPositionLocation takes doodad whichDoodad returns location
native SetDoodadPositionLocation takes doodad whichDoodad, location whichLocation returns nothing
native GetDoodadScreenX takes doodad whichDoodad returns real
native GetDoodadScreenY takes doodad whichDoodad returns real
native SetDoodadMatrixScale takes doodad whichDoodad, real x, real y, real z returns nothing
native ResetDoodadMatrix takes doodad whichDoodad returns nothing
native SetDoodadOrientationEx takes doodad whichDoodad, real yaw, real pitch, real roll, integer eulerOrder returns nothing
native GetDoodadYaw takes doodad whichDoodad returns real
native SetDoodadYaw takes doodad whichDoodad, real yaw returns nothing
native GetDoodadFacing takes doodad whichDoodad returns real
native SetDoodadFacing takes doodad whichDoodad, real facing returns nothing
native GetDoodadPitch takes doodad whichDoodad returns real
native SetDoodadPitch takes doodad whichDoodad, real pitch returns nothing
native GetDoodadRoll takes doodad whichDoodad returns real
native SetDoodadRoll takes doodad whichDoodad, real roll returns nothing
native SetDoodadOrientation takes doodad whichDoodad, real yaw, real pitch, real roll returns nothing
native GetDoodadModel takes doodad whichDoodad returns string
native SetDoodadModel takes doodad whichDoodad, string whichModel returns nothing
native GetWidgetTypeId takes widget whichWidget returns integer
native GetUnitTarget takes unit whichUnit returns widget
native GetUnitTargetUnit takes unit whichUnit returns unit
native GetUnitTargetItem takes unit whichUnit returns item
native GetUnitTargetDestructable takes unit whichUnit returns destructable
native UnitAttackTarget takes unit whichUnit, widget whichTarget, bool ignoreDistance, boolean isInstant returns nothing ignoreDistance only works if isInstant is set to true.
native UnitAttackTargetPointZ takes unit whichUnit, real x, real y, real z, boolean ignoreDistance, boolean isInstant returns nothing
native UnitAttackTargetPoint takes unit whichUnit, real x, real y, boolean ignoreDistance, boolean isInstant returns nothing
native UnitAttackTargetPointLoc takes unit whichUnit, location whichLocation, boolean ignoreDistance, boolean isInstant returns nothing
native UnitAttackCancel takes unit whichUnit returns boolean
native UnitCancelTimedLife takes unit whichUnit returns nothing
native GetUnitRemainingTimedLife takes unit whichUnit returns real
native SetUnitRemainingTimedLife takes unit whichUnit, real duration returns nothing
native CreateIllusion takes player whichPlayer, integer unitTypeId, real x, real y, real facing returns unit
native CreateIllusionAtLoc takes player whichPlayer, integer unitTypeId, location whichLocation, real facing returns unit
native CreateIllusionFromUnit takes unit whichUnit returns unit
native GetIllusionDamageDealt takes unit whichUnit returns real
native SetIllusionDamageDealt takes unit whichUnit, real multiplier returns nothing
native GetIllusionDamageReceived takes unit whichUnit returns real
native SetIllusionDamageReceived takes unit whichUnit, real multiplier returns nothing
native SetFrameValueEx takes framehandle whichFrame, real value, boolean isFireEvent returns nothing
native GetFrameStepSize takes framehandle whichFrame returns real
Пометка: когда TextFile API работает только в режиме чтения с этими файлами.
Пометка: это возможно исправит авто апдейтер для последующих версий.
v1.0.29.105
v1.0.29.106
v1.0.29.107
Пометка: это происходило потому что UjAPI имело свой код, который позволял включать/выключать быстрое меню, этот код был временно отключён.
Пометка: всё ещё рекомендовано запускать игру через War3.exe для патчей ниже 1.28.
v1.0.30.110
type agentdatafield extends handle
type buffstringfield extends agentdatafield
constant native ConvertBuffStringField takes integer i returns buffstringfield
native EnableUnitInventory takes unit whichUnit, boolean enable returns nothing
native IsUnitInventoryEnabledEx takes unit whichUnit returns boolean
native EnableUnitInventoryEx takes unit whichUnit, boolean enable returns nothing
native EnableUnitMovement takes unit whichUnit, boolean enable returns nothing
native IsUnitMovementEnabledEx takes unit whichUnit returns boolean
native EnableUnitMovementEx takes unit whichUnit, boolean enable returns nothing
native EnableUnitAttack takes unit whichUnit, boolean enable returns nothing
native IsUnitAttackEnabledEx takes unit whichUnit returns boolean
native EnableUnitAttackEx takes unit whichUnit, boolean enable returns nothing
native SetUnitControl takes unit whichUnit, integer flagValue, boolean isSetFlagValue, boolean ismove, boolean isattack, boolean isinventory returns nothing
native SetUnitLocustFlag takes unit whichUnit, integer flag, integer mode returns nothing
native CreateAbility takes integer abilityId returns ability
native SetAbilityOwner takes ability whichAbility, unit whichUnit returns nothing
native GetBuffIntegerField takes buff whichBuff, abilityintegerfield whichField returns integer
native SetBuffIntegerField takes buff whichBuff, abilityintegerfield whichField, integer value returns boolean
native GetBuffBooleanField takes buff whichBuff, abilittybooleanfield whichField returns boolean
native SetBuffBooleanField takes buff whichBuff, abilittybooleanfield whichField, boolean value returns boolean
native GetBuffRealField takes buff whichBuff, abilityrealfield whichField returns real
native SetBuffRealField takes buff whichBuff, abilityrealfield whichField, real value returns boolean
native CreateBuff takes integer buffId returns buff
native SetBuffOwner takes buff whichBuff, unit whichUnit returns nothing
native ResetBuffFieldData takes buff whichBuff returns boolean Acts same as ResetAbilityFieldData, but for buffs.
In very early stages of development, may be unstable for now.
native UnitAddBuff takes unit whichUnit, buff whichBuff returns boolean Does not add duplicates!
native UnitAddBuffEx takes unit whichUnit, buff whichBuff, boolean checkForDuplicates returns boolean
native UnitAddBuffById takes unit whichUnit, integer buffId returns boolean Does not add duplicates!
native UnitAddBuffByIdEx takes unit whichUnit, integer buffId, boolean checkForDuplicates returns boolean
native UnitEnableInventory takes unit whichUnit, boolean enable, boolean ignoreErrorMessages returns nothing
native UnitEnableMovement takes unit whichUnit, boolean enable, boolean ignoreErrorMessages returns nothing
native UnitEnableAttack takes unit whichUnit, boolean enable, boolean ignoreErrorMessages returns nothing
native IsUnitTruesightImmune takes unit whichUnit returns boolean
native CreateBuilding takes player whichPlayer, integer unitTypeId, real x, real y, real facing returns unit
native CreateBuildingEx takes player whichPlayer, integer unitTypeId, real x, real y, real facing, boolean isAutoBuild, boolean workersCanAssist returns unit
native UnitGetConstructionProgress takes unit whichUnit returns real
native UnitGetConstructionRemainingTime takes unit whichUnit returns real
native UnitSetConstructionRemainingTime takes unit whichUnit, real time returns nothing
native UnitGetUpgradeProgress takes unit whichUnit returns real
native UnitGetUpgradeRemainingTime takes unit whichUnit returns real
native UnitSetUpgradeRemainingTime takes unit whichUnit, real time returns nothing
native HandleListGetDoodadCount takes handlelist whichHandleList returns integer
native HandleListGetDoodadByIndex takes handlelist whichHandleList, integer index returns doodad
native HandleListGetFilterDoodad takes nothing returns doodad
native HandleListGetEnumDoodad takes nothing returns doodad
native HandleListEnumDoodadsInRange takes handlelist whichHandleList, real x, real y, real radius, boolexpr filter returns nothing
native HandleListEnumDoodadsInRangeOfLoc takes handlelist whichHandleList, location whichLocation, real radius, boolexpr filter returns nothing
native HandleListEnumDoodadsInRect takes handlelist whichHandleList, rect whichRect, boolexpr filter returns nothing
native HandleListEnumUnitAbilities takes handlelist whichHandleList, unit whichUnit, boolexpr filter returns nothing
native HandleListEnumUnitBuffs takes handlelist whichHandleList, unit whichUnit, boolexpr filter returns nothing
Пометка: это происходило по причине того, что я использовал метод игры "воскрешения" героя, который банально "восстанавливал" пассивные способности, что и вызывало умножение на 2.
Отредактирован Unryze
v1.0.30.111
v1.0.30.112
Пометка: данный метод был использован для теста некоторых баффов, которые требуют кастера, например баффы аур.
v1.0.31.114
constant unitrealfield UNIT_RF_DEFENSE_BASE = ConvertUnitRealField('udfb') Get Only
constant unitweaponintegerfield UNIT_WEAPON_IF_ATTACK_DAMAGE_BASE_MINIMUM = ConvertUnitWeaponIntegerField('udm1') Get Only
constant unitweaponintegerfield UNIT_WEAPON_IF_ATTACK_DAMAGE_BASE_MAXIMUM = ConvertUnitWeaponIntegerField('udh1') Get Only
Отредактирован Anime Chan
v1.0.31.115
v1.0.31.116