Лауреат премии 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
Ред. Unryze
v1.0.23.91
native MathRealLerp takes real a, real b, real t returns real
native MathIntegerClamp takes integer value, integer min, integer max returns integer
native SetFrameWidth takes framehandle whichFrame, real width returns nothing
native SetFrameHeight takes framehandle whichFrame, real height returns nothing
native SetFrameTextVerticalAlignment takes framehandle whichFrame, textaligntype verticalAlign returns nothing
native SetFrameTextHorizontalAlignment takes framehandle whichFrame, textaligntype horizontalAlign returns nothing
native GetFrameTexture takes framehandle whichFrame, integer textureId returns string
native GetFrameTrackState takes framehandle whichFrame returns boolean
native SetFrameTrackState takes framehandle whichFrame, integer trackState returns nothing 0 - NONE | 1 - Track | 2 - Ignore Track
native SetFrameTextureEx takes framehandle whichFrame, string backgroundTextureFile, string borderTextureFile, integer textureId, boolean blend returns nothing
Спасибо пользователю Radioactive за то, что он заметил и сообщил об этой серьёзной проблеме.
Пометка: это была новая ошибка, которая "всплыла" в виду снятия лимита RCString (джасс строк).
Пример: ADD real -> -2816.000000 + 512.000000 = -2304.000000.
Note: there are a total of 43 different types of operations (opcodes).
Пример: "-jass dev".
Пример: "-jass logactions".
v1.0.24.92
native RemoveSound takes sound whichSound returns nothing
native ReplaceSound takes sound whichSound, string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string eaxSetting returns sound
native ReplaceSoundWithLabel takes sound whichSound, string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string SLKEntryName returns sound
native ReplaceSoundFromLabel takes sound whichSound, string soundLabel, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate returns sound
native ReplaceMIDISound takes sound whichSound, string soundLabel, integer fadeInRate, integer fadeOutRate returns sound
native TextFileExists takes string filePath returns boolean
Пометка: HandleListGetHandleByIndex и HandleListGetAgentByIndex работали без каких-либо проблем.
Ред. Unryze
v1.0.25.94
native ConsolePause takes string s returns nothing
native GetTickCount takes nothing returns integer
native GetSpecialEffectCurrentAnimationId takes effect whichEffect returns integer
native GetTrackableCurrentAnimationId takes trackable whichTrackable returns integer
native GetWidgetCurrentAnimationId takes widget whichWidget returns integer
native GetDestructableCurrentAnimationId takes destructable whichDestructable returns integer
native GetItemCurrentAnimationId takes item whichItem returns integer
native GetUnitCurrentAnimationId takes unit whichUnit returns integer
native GetProjectileCurrentAnimationId takes projectile whichProjectile returns integer
native GetFrameSpriteCurrentAnimationId takes framehandle whichFrame returns integer
native GetFrameColourEx takes framehandle whichFrame, integer textureId returns integer
native SetFrameColourEx takes framehandle whichFrame, integer textureId, integer colour returns nothing
native GetFrameColour takes framehandle whichFrame returns integer
native SetFrameColour takes framehandle whichFrame, integer colour returns nothing
native GetFrameAlphaEx takes framehandle whichFrame, integer textureId returns integer
native SetFrameAlphaEx takes framehandle whichFrame, integer textureId, integer alpha returns nothing
Ред. Unryze
v1.0.26.97
type mappedfield extends handle
type mappedtype extends handle
type attachmenttype extends mappedtype
type bonetype extends attachmenttype
type cursoranimtype extends mappedtype
constant native ConvertMappedField takes integer i returns mappedfield
constant native ConvertAttachmentType takes integer i returns attachmenttype
constant native ConvertBoneType takes integer i returns bonetype
constant native ConvertCursorAnimType takes integer i returns cursoranimtype
constant mappedfield MAPPED_FIELD_ATTACHMENT = ConvertMappedField(0)
constant mappedfield MAPPED_FIELD_BONE = ConvertMappedField(1)
constant mappedfield MAPPED_FIELD_ANIMATION = ConvertMappedField(2)
constant mappedfield MAPPED_FIELD_SUB_ANIMATION = ConvertMappedField(3)
constant mappedfield MAPPED_CURSOR_SUB_ANIMATION = ConvertMappedField(4)
constant attachmenttype ATTACHMENT_TYPE_CHEST = ConvertAttachmentType('ches')
constant attachmenttype ATTACHMENT_TYPE_FEET = ConvertAttachmentType('feet')
constant attachmenttype ATTACHMENT_TYPE_FOOT = ConvertAttachmentType('foot')
constant attachmenttype ATTACHMENT_TYPE_HAND = ConvertAttachmentType('hand')
constant attachmenttype ATTACHMENT_TYPE_HEAD = ConvertAttachmentType('head')
constant attachmenttype ATTACHMENT_TYPE_ORIGIN = ConvertAttachmentType('orig')
constant attachmenttype ATTACHMENT_TYPE_OVERHEAD = ConvertAttachmentType('over')
constant attachmenttype ATTACHMENT_TYPE_SPRITE = ConvertAttachmentType('spri')
constant attachmenttype ATTACHMENT_TYPE_WEAPON = ConvertAttachmentType('weap')
constant attachmenttype ATTACHMENT_TYPE_ALTERNATE = ConvertAttachmentType('alte')
constant attachmenttype ATTACHMENT_TYPE_LEFT = ConvertAttachmentType('left')
constant attachmenttype ATTACHMENT_TYPE_RIGHT = ConvertAttachmentType('righ')
constant attachmenttype ATTACHMENT_TYPE_MOUNT = ConvertAttachmentType('moun')
constant attachmenttype ATTACHMENT_TYPE_REAR = ConvertAttachmentType('rear')
constant attachmenttype ATTACHMENT_TYPE_SMART = ConvertAttachmentType('smar')
constant attachmenttype ATTACHMENT_TYPE_FIRST = ConvertAttachmentType('firs')
constant attachmenttype ATTACHMENT_TYPE_SECOND = ConvertAttachmentType('seco')
constant attachmenttype ATTACHMENT_TYPE_THIRD = ConvertAttachmentType('thir')
constant attachmenttype ATTACHMENT_TYPE_FOURTH = ConvertAttachmentType('four')
constant attachmenttype ATTACHMENT_TYPE_FIFTH = ConvertAttachmentType('fift')
constant attachmenttype ATTACHMENT_TYPE_SIXTH = ConvertAttachmentType('sixt')
constant attachmenttype ATTACHMENT_TYPE_SMALL = ConvertAttachmentType('smal')
constant attachmenttype ATTACHMENT_TYPE_MEDIUM = ConvertAttachmentType('medi')
constant attachmenttype ATTACHMENT_TYPE_LARGE = ConvertAttachmentType('larg')
constant attachmenttype ATTACHMENT_TYPE_GOLD = ConvertAttachmentType('gold')
constant attachmenttype ATTACHMENT_TYPE_RALLYPOINT = ConvertAttachmentType('rall')
constant attachmenttype ATTACHMENT_TYPE_EAT_TREE = ConvertAttachmentType('eatt')
constant bonetype BONE_TYPE_CHEST = ConvertBoneType('ches')
constant bonetype BONE_TYPE_FOOT = ConvertBoneType('foot')
constant bonetype BONE_TYPE_HAND = ConvertBoneType('hand')
constant bonetype BONE_TYPE_HEAD = ConvertBoneType('head')
constant bonetype BONE_TYPE_TURRET = ConvertBoneType('turr')
constant bonetype BONE_TYPE_ALTERNATE = ConvertBoneType('alte')
constant bonetype BONE_TYPE_LEFT = ConvertBoneType('left')
constant bonetype BONE_TYPE_RIGHT = ConvertBoneType('righ')
constant bonetype BONE_TYPE_MOUNT = ConvertBoneType('moun')
constant bonetype BONE_TYPE_SMART = ConvertBoneType('smar')
constant cursoranimtype CURSORANIM_TYPE_NORMAL = ConvertCursorAnimType(0)
constant cursoranimtype CURSORANIM_TYPE_SELECT = ConvertCursorAnimType(1)
constant cursoranimtype CURSORANIM_TYPE_TARGET = ConvertCursorAnimType(2)
constant cursoranimtype CURSORANIM_TYPE_TARGET_SELECT = ConvertCursorAnimType(3)
constant cursoranimtype CURSORANIM_TYPE_INVALID_TARGET = ConvertCursorAnimType(4)
constant cursoranimtype CURSORANIM_TYPE_HOLD_ITEM = ConvertCursorAnimType(5)
constant cursoranimtype CURSORANIM_TYPE_SCROLL = ConvertCursorAnimType(6)
constant cursoranimtype CURSORANIM_TYPE_LEFT = ConvertCursorAnimType(7)
constant cursoranimtype CURSORANIM_TYPE_RIGHT = ConvertCursorAnimType(8)
constant cursoranimtype CURSORANIM_TYPE_UP = ConvertCursorAnimType(9)
constant cursoranimtype CURSORANIM_TYPE_DOWN = ConvertCursorAnimType(10)
native GetAnimationName takes animtype whichAnim returns string
native GetMiscDataString takes string sectionName, string optionName, integer index returns string
native SetMiscDataString takes string sectionName, string optionName, integer index, string value returns nothing
native GetSkinDataString takes string raceName, string sectionName, string optionName, integer index returns string raceName can be null
native SetSkinDataString takes string raceName, string sectionName, string optionName, integer index, string value returns nothing raceName can be null
native GetFDFDataString takes string sectionName, string optionName returns string
native SetFDFDataString takes string sectionName, string optionName, string value returns nothing
native GetMappedTypeName takes mappedfield whichField, mappedtype whichMapType returns string
native TriggerCountEvents takes trigger whichTrigger returns integer
native TriggerCountConditions takes trigger whichTrigger returns integer
native TriggerCountActions takes trigger whichTrigger returns integer
native TriggerRemoveEvent takes trigger whichTrigger, event whichEvent returns nothing
native TriggerRemoveEventId takes trigger whichTrigger, eventid whichEventId, boolean removeAllOccurences returns nothing
native TriggerClearEvents takes trigger whichTrigger returns nothing
native TriggerClear takes trigger whichTrigger returns nothing
native GetSpecialEffectCurrentAnimationName takes effect whichEffect returns string
native GetTrackableCurrentAnimationName takes trackable whichTrackable returns string
native GetWidgetCurrentAnimationName takes widget whichWidget returns string
native GetDestructableCurrentAnimationName takes destructable whichDestructable returns string
native GetItemCurrentAnimationName takes item whichItem returns string
native GetUnitCurrentAnimationName takes unit whichUnit returns string
native GetProjectileCurrentAnimationName takes projectile whichProjectile returns string
native GetFrameSpriteCurrentAnimationName takes framehandle whichFrame returns string
native CreateSimpleGlueFrame takes framehandle whichSimpleParent, framehandle whichSpriteFrame returns framehandle
native SetFrameName takes framehandle whichFrame, string contextName returns nothing
native GetFrameContext takes framehandle whichFrame returns integer
native SetFrameContext takes framehandle whichFrame, integer createContext returns nothing
native SetFrameContextName takes framehandle whichFrame, string contextName, integer createContext returns nothing
Пометка: карты написанные на "чистом" луа всё ещё не будут работать, пока Ev3nt не исправит его war3_lua.dll.
Пометка 2: это "маленькое" изменение потребовало более 1000 строк кода, что же я делаю со своей жизнью...
Пометка: хотя ранее не было ошибок/проблем связанных с этой структурой, это было либо в виду везения, либо в виду малой популярности.