Лауреат премии 2023 года
Данный ресурс работает ТОЛЬКО с патчами 1.24e/1.26а/1.27a/1.27b/1.28f
Как пользоваться?
- Распакуйте все файлы из архива, желательно в отдельную папку, вот так:
- Запустите UjAPI.exe.
- Если же у вас приложение не запускается, то скачайте и установите: .NET Framework 4.7.2.
- Если же ни в игре, ни в World Editor UjAPI не работает, то скачайте и установите: C++ Redistributable 2012
- Установите путь для Warcraft 3, вот так:
- Можно указать и на Frozen Throne.exe или же на Warcraft III.exe (но рекомендуется использовать именно war3.exe для патчей 1.27б и ниже).
- На патче 1.28.5(f) рекомендуется использовать непосредственно Warcraft III.exe.
- Установите путь для World Editor, вот так:
- Рекомендуется использовать JNGP версии Прометея: скачать
- Пароль от архива: JNGP
- Готово, вы можете теперь смело запускать как игру, так и World Editor через UjAPI Launcher.
- Для использования оконного режима в Warcraft III нажмите галочку на "Additional command line arguments" и в появившееся окно, пропишите -window, вот так:
Полезные файлы
Для лаунчера | Информационные |
---|---|
.NET Framework 4.7.2 | Список всех функций |
C++ Redistributables 2012 | Новые типы/функции |
Ред. Unryze
v1.0.1.9
native ForceHasPlayer takes force whichForce, player whichPlayer returns boolean
native ForceCountPlayers takes force whichForce returns integer
native GetUnitBuff takes unit whichUnit, integer buffId returns buff
native GetUnitBuffLevel takes unit whichUnit, integer buffId returns integer
native GetBuffLevel takes buff whichBuff returns integer
native RefreshBuff takes buff whichBuff returns boolean
native SetBuffDuration takes buff whichBuff, real duration returns boolean
Пометка: сторонние "запускаторы" не поддерживают мульти-окно и War3Lua дебаг режим, для их работы нужно запускать игру через war3.exe и прочее.
Ред. Unryze
v1.0.2.12
native SaveFrameHandle takes hashtable table, integer parentKey, integer childKey, framehandle whichFrame returns boolean
native LoadFrameHandle takes hashtable table, integer parentKey, integer childKey returns framehandle
native GetEventPreDamage takes nothing returns real
type abilityintegerfield extends handle
type abilityrealfield extends handle
type abilitybooleanfield extends handle
type abilitystringfield extends handle
type abilityintegerlevelfield extends handle
type abilityreallevelfield extends handle
type abilitybooleanlevelfield extends handle
type abilitystringlevelfield extends handle
type abilityintegerlevelarrayfield extends handle
type abilityreallevelarrayfield extends handle
type abilitybooleanlevelarrayfield extends handle
type abilitystringlevelarrayfield extends handle
type unitintegerfield extends handle
type unitrealfield extends handle
type unitbooleanfield extends handle
type unitstringfield extends handle
type unitweaponintegerfield extends handle
type unitweaponrealfield extends handle
type unitweaponbooleanfield extends handle
type unitweaponstringfield extends handle
type itemintegerfield extends handle
type itemrealfield extends handle
type itembooleanfield extends handle
type itemstringfield extends handle
Ред. Unryze
v1.0.3.15
native BitwiseNOT takes integer i returns integer
native BitwiseAND takes integer bit1, integer bit2 returns integer
native BitwiseOR takes integer bit1, integer bit2 returns integer
native BitwiseXOR takes integer bit1, integer bit2 returns integer
native BitwiseShiftLeft takes integer bit1, integer bitsToShift returns integer
native BitwiseShiftRight takes integer bit1, integer bitsToShift returns integer
native Id2String takes integer i returns string
native String2Id takes string idString returns integer
native GetUnitBaseDescriptionById takes integer unitTypeId returns string
native SetUnitBaseDescriptionById takes integer unitTypeId, string name returns nothing
native GetUnitBaseIconById takes integer unitTypeId returns string
native SetUnitBaseIconById takes integer unitTypeId, string name returns nothing
native GetUnitBaseDescription takes unit whichUnit returns string
native SetUnitBaseDescription takes unit whichUnit, string name returns nothing
native GetUnitBaseIcon takes unit whichUnit returns string
native SetUnitBaseIcon takes unit whichUnit, string name returns nothing
native GetItemBaseDescriptionById takes takes integer itemId returns string
native SetItemBaseDescriptionById takes integer itemId, string name returns nothing
native GetItemBaseDescription takes item whichItem returns string
native SetItemBaseDescription takes item whichItem, string name returns nothing
native GroupGetUnitByIndex takes group whichGroup, integer index returns unit
native GroupForEachUnit takes group whichGroup returns unit
native GroupAddGroupEx takes group destGroup, group sourceGroup returns integer
native GroupRemoveGroupEx takes group destGroup, group sourceGroup returns integer
Ред. Unryze
v1.0.4.22
native I2C takes integer i returns code
native C2I takes code c returns integer
native MathRound takes real r returns integer
native MathRealRound takes real r returns real
native MathRealFloor takes real r returns real
native MathRealCeil takes real r returns real
native MathRealAbs takes real r returns real
native MathRealLog takes real r returns real
native MathRealLn takes real r returns real
native MathIntegerAbs takes integer i returns integer
native MathIntegerLog takes integer i returns real
native MathIntegerLn takes integer i returns real
native StringContains takes string s, string whichString returns boolean
native StringFind takes string s, string whichString returns integer
native StringFindFirstOf takes string s, string whichString returns integer
native StringFindFirstNotOf takes string s, string whichString returns integer
native StringFindLastOf takes string s, string whichString returns integer
native StringFindLastNotOf takes string s, string whichString returns integer
native IsOperationLimitEnabled takes nothing returns boolean
native EnableOperationLimit takes boolean enable returns nothing
native ExecuteFuncEx takes string funcName returns nothing
native GetUnitDamageReduction takes unit whichUnit returns real
native IsUnitAbilityVisible takes unit whichUnit, integer abilityId returns integer
native ShowUnitAbility takes unit whichUnit, integer abilityId, boolean flag returns nothing
native SilenceAbility takes ability whicAbility, boolean hide, boolean disable returns nothing
native UnsilenceAbility takes ability whicAbility, boolean show, boolean enable returns nothing
Пометка: пока что реализованы не все ивенты, а так же эти ивенты пока что локальные, однако скоро они будут работать и в мультиплеере.
Ред. Unryze
v1.0.5.31
type timetype extends handle
constant native ConvertTimeType takes integer i returns timetype
constant timetype TIME_TYPE_YEAR = ConvertTimeType( 0 )
constant timetype TIME_TYPE_MONTH = ConvertTimeType( 1 )
constant timetype TIME_TYPE_DAY_OF_WEEK = ConvertTimeType( 2 )
constant timetype TIME_TYPE_DAY = ConvertTimeType( 3 )
constant timetype TIME_TYPE_HOUR = ConvertTimeType( 4 )
constant timetype TIME_TYPE_MINUTE = ConvertTimeType( 5 )
constant timetype TIME_TYPE_SECOND = ConvertTimeType( 6 )
constant timetype TIME_TYPE_MILLISECOND = ConvertTimeType( 7 )
native GetSystemTime takes timetype whichTimeType returns integer
native GetLocalTime takes timetype whichTimeType returns integer
native ExecuteCode takes code c returns nothing
native SyncInteger takes string variableName returns nothing
native SyncReal takes string variableName returns nothing
native SyncBoolean takes string variableName returns nothing
native SyncString takes string variableName returns nothing
native SyncHandle takes string variableName returns nothing
native SyncSavedInteger takes hashtable table, integer parentKey, integer childKey returns nothing
native SyncSavedReal takes hashtable table, integer parentKey, integer childKey returns nothing
native SyncSavedBoolean takes hashtable table, integer parentKey, integer childKey returns nothing
native SyncSavedHandle takes hashtable table, integer parentKey, integer childKey returns nothing
native SyncSavedString takes hashtable table, integer parentKey, integer childKey returns nothing