Лауреат премии 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 | Новые типы/функции |
`
ОЖИДАНИЕ РЕКЛАМЫ...
Чтобы оставить комментарий, пожалуйста, войдите на сайт.
v1.0.36.133
Apos - фаталит если кастер не докастовал способность и жертва разложилась.
v1.0.36.134
v1.0.37.137
type sprite extends agent
constant camerafield CAMERA_FIELD_NEARZ = ConvertCameraField(7)
constant camerafield CAMERA_FIELD_LOCAL_PITCH = ConvertCameraField(8)
constant camerafield CAMERA_FIELD_LOCAL_YAW = ConvertCameraField(9)
constant camerafield CAMERA_FIELD_LOCAL_ROLL = ConvertCameraField(10) Not implemented yet
native GetDoodadAnimationOffsetPercent takes doodad whichDoodad returns real
native GetSpecialEffectSprite takes effect whichEffect returns sprite
native GetSpecialEffectAnimationOffsetPercent takes effect whichEffect returns real
native GetTrackableSprite takes trackable whichTrackable returns sprite
native GetTrackableAnimationOffsetPercent takes trackable whichTrackable returns real
native GetWidgetSprite takes widget whichWidget returns sprite
native GetWidgetAnimationOffsetPercent takes widget whichWidget returns real
native GetDestructableSprite takes destructable whichDestructable returns sprite
native GetDestructableAnimationOffsetPercent takes destructable whichDestructable returns real
native GetItemSprite takes item whichItem returns sprite
native GetItemAnimationOffsetPercent takes item whichItem returns real
native GetUnitSprite takes unit whichUnit returns sprite
native GetUnitAnimationOffsetPercent takes unit whichUnit returns real
native LaunchProjectileAt takes projectile whichProjectile, real x, real y, real z returns nothing
native GetProjectileSprite takes projectile whichProjectile returns sprite
native GetProjectileAnimationOffsetPercent takes projectile whichProjectile returns real
native SetProjectileTargetPointX takes projectile whichProjectile, real x returns nothing
native SetProjectileTargetPointY takes projectile whichProjectile, real y returns nothing
native SetProjectileTargetPointZ takes projectile whichProjectile, real z returns nothing
native SetProjectileTargetPositionLoc takes projectile whichProjectile, location loc returns nothing
native GetFrameSprite takes framehandle whichFrame returns sprite
native GetFrameSpriteAnimationOffsetPercent takes framehandle whichFrame returns real
native CreateSprite takes boolean isUber returns sprite
native AttachSpriteToTarget takes sprite whichSprite, sprite targetSprite, string attachPointName returns sprite
native AddSpriteToTarget takes string modelName, sprite targetSprite, string attachPointName returns sprite
native GetSpriteChildrenCount takes sprite whichSprite returns integer
native GetSpriteChildById takes sprite whichSprite, integer index returns sprite
native RemoveSprite takes sprite whichSprite returns nothing
native IsSpriteUber takes sprite whichSprite returns boolean
native GetSpriteX takes sprite whichSprite returns real
native GetSpriteY takes sprite whichSprite returns real
native GetSpriteZ takes sprite whichSprite returns real
native GetSpriteHeight takes sprite whichSprite returns real
native GetSpritePositionLoc takes sprite whichSprite returns location
native SetSpritePositionEx takes sprite whichSprite, real x, real y, real z returns nothing
native SetSpritePosition takes sprite whichSprite, real x, real y returns nothing
native SetSpritePositionLoc takes sprite whichSprite, location loc returns nothing
native SetSpriteX takes sprite whichSprite, real x returns nothing
native SetSpriteY takes sprite whichSprite, real y returns nothing
native SetSpriteZ takes sprite whichSprite, real z returns nothing
native SetSpriteHeight takes sprite whichSprite, real height returns nothing
native GetSpriteScreenX takes sprite whichSprite returns real
native GetSpriteScreenY takes sprite whichSprite returns real
native GetSpriteScale takes sprite whichSprite returns real
native SetSpriteScale takes sprite whichSprite, real scale returns nothing
native GetSpriteTimeScale takes sprite whichSprite returns real
native SetSpriteTimeScale takes sprite whichSprite, real timescale returns nothing
native SetSpritePlayerColour takes sprite whichSprite, playercolor color returns nothing
native GetSpriteColour takes sprite whichSprite returns integer
native SetSpriteColour takes sprite whichSprite, integer colour returns nothing
native SetSpriteAlpha takes sprite whichSprite, integer alpha returns nothing
native SetSpriteVertexColour takes sprite whichSprite, integer red, integer green, integer blue, integer alpha returns nothing
native SetSpriteMatrixScale takes sprite whichSprite, real x, real y, real z returns nothing
native ResetSpriteMatrix takes sprite whichSprite returns nothing
native SetSpriteOrientationEx takes sprite whichSprite, real yaw, real pitch, real roll, integer eulerOrder returns nothing
native GetSpriteYaw takes sprite whichSprite returns real
native SetSpriteYaw takes sprite whichSprite, real yaw returns nothing
native GetSpriteFacing takes sprite whichSprite returns real
native SetSpriteFacing takes sprite whichSprite, real facing returns nothing
native GetSpritePitch takes sprite whichSprite returns real
native SetSpritePitch takes sprite whichSprite, real pitch returns nothing
native GetSpriteRoll takes sprite whichSprite returns real
native SetSpriteRoll takes sprite whichSprite, real roll returns nothing
native SetSpriteOrientation takes sprite whichSprite, real yaw, real pitch, real roll returns nothing
native SetSpriteMaterialTexture takes sprite whichSprite, string textureName, integer materialId, integer textureIndex returns nothing
native SetSpriteTexture takes sprite whichSprite, string textureName, integer textureIndex returns nothing
native SetSpriteReplaceableTexture takes sprite whichSprite, string textureName, integer textureIndex returns nothing
native SetSpriteModel takes sprite whichSprite, string modelName returns nothing
native SetSpriteModelEx takes sprite whichSprite, string modelName, integer playerColour returns nothing
native GetSpriteModelObjectPositionX takes sprite whichSprite, string whichObject returns real
native GetSpriteModelObjectPositionY takes sprite whichSprite, string whichObject returns real
native GetSpriteModelObjectPositionZ takes sprite whichSprite, string whichObject returns real
native GetSpriteModelObjectPositionLoc takes sprite whichSprite, string whichObject returns location
native GetSpriteCurrentAnimationId takes sprite whichSprite returns integer
native GetSpriteCurrentAnimationName takes sprite whichSprite returns string
native SetSpriteAnimationWithRarityByIndex takes sprite whichSprite, integer animIndex, raritycontrol rarity returns nothing
native SetSpriteAnimationWithRarity takes sprite whichSprite, string animationName, raritycontrol rarity returns nothing
native SetSpriteAnimationByIndex takes sprite whichSprite, integer animIndex returns nothing
native SetSpriteAnimation takes sprite whichSprite, string animationName returns nothing
native QueueSpriteAnimationByIndex takes sprite whichSprite, integer animIndex returns nothing
native QueueSpriteAnimation takes sprite whichSprite, string animationName returns nothing
native GetSpriteAnimationOffsetPercent takes sprite whichSprite returns real
native SetSpriteAnimationOffsetPercent takes sprite whichSprite, real percent returns nothing
Пометка: приоритет: CSimpleFrame, CLayer (под курсором), CLayer (подсвеченный/в фокусе).
Пометка: эта информация больше для меня, так как эти изменения никак не должны отразиться на игре.
Пометка: чтобы пользоваться этим изменением в JNGP нужно как-то обновить pjass, чтобы он позволял писать более 1024 символов в строке.
v1.0.37.138
Пометка: ошибка происходила из-за обрезания старого кода, новый метод не был идеален для более простых типов агентов.
Пометка: эта ошибка происходила случайно на определённых картах.
v1.0.38.140
native MathRealModulo takes real dividend, real divisor returns real
native MathIntegerModulo takes integer dividend, integer divisor returns integer
Note: I actually registered these natives long time ago, but forgot to add them to common.j.
native GetSpriteModel takes sprite whichSprite returns string
native GetSpecialEffectModel takes effect whichEffect returns string
native GetTrackableModel takes trackable whichTrackable returns string
native GetDestructableVariation takes destructable whichDestructable returns integer
native SetDestructableVariation takes destructable whichDestructable, integer variation returns nothing
native SetDestructableVariationEx takes destructable whichDestructable, integer variation, boolean ignoreStateCheck returns nothing ignoreStateCheck will skip checking for dead/alive variations of the model.
native IsDestructableBlighted takes destructable whichDestructable returns boolean
native SetDestructableBlighted takes destructable whichDestructable, boolean flag returns nothing
native SetDestructablePositionWithZ takes destructable whichDestructable, real x, real y, real z returns nothing
native SetDestructableZ takes destructable whichDestructable, real z returns nothing
native GetDestructableModel takes destructable whichDestructable returns string
native GetItemModel takes item whichItem returns string
native SetUnitVisibleByPlayer takes unit whichUnit, player whichPlayer, boolean flag returns nothing
native SetUnitDetectableByPlayer takes unit whichUnit, player whichPlayer, boolean flag returns nothing
native GetUnitModel takes unit whichUnit returns string
native GetProjectileModel takes projectile whichProjectile returns string
native GetFrameSpriteModel takes framehandle whichFrame returns string
native GetUnitLocustFlag takes unit whichUnit returns integer
v1.0.39.142
type renderstage extends handle
constant native ConvertRenderStage takes integer i returns renderstage
constant renderstage RENDER_STAGE_SKYBOX = ConvertRenderStage(0)
constant renderstage RENDER_STAGE_TERRAIN = ConvertRenderStage(1)
constant renderstage RENDER_STAGE_FOG_OF_WAR = ConvertRenderStage(2)
constant renderstage RENDER_STAGE_TERRAIN_SHADOW = ConvertRenderStage(3)
constant renderstage RENDER_STAGE_WATER_SHADOW = ConvertRenderStage(4)
constant renderstage RENDER_STAGE_BLIGHT = ConvertRenderStage(5)
constant renderstage RENDER_STAGE_WEATHER = ConvertRenderStage(6)
constant renderstage RENDER_STAGE_SELECTION_CIRCLE = ConvertRenderStage(7)
constant renderstage RENDER_STAGE_INDICATOR = ConvertRenderStage(8)
constant renderstage RENDER_STAGE_FOOTPRINT = ConvertRenderStage(9)
constant renderstage RENDER_STAGE_DOODAD = ConvertRenderStage(10)
constant renderstage RENDER_STAGE_SPRITE = ConvertRenderStage(11)
constant renderstage RENDER_STAGE_SELECTION_SPRITE = ConvertRenderStage(12)
constant renderstage RENDER_STAGE_DECORATION = ConvertRenderStage(13)
constant renderstage RENDER_STAGE_WATER = ConvertRenderStage(14)
constant renderstage RENDER_STAGE_SELECTION_BOX = ConvertRenderStage(15)
constant renderstage RENDER_STAGE_TEXTURE = ConvertRenderStage(16)
constant renderstage RENDER_STAGE_OCCLUSION_MASK = ConvertRenderStage(17)
constant renderstage RENDER_STAGE_BUILDING = ConvertRenderStage(18)
constant renderstage RENDER_STAGE_UBERSPLAT = ConvertRenderStage(19)
constant renderstage RENDER_STAGE_LIGHTNING = ConvertRenderStage(20)
constant renderstage RENDER_STAGE_TEXTTAG = ConvertRenderStage(21)
native GetFPS takes nothing returns real
native GetAttackSpeedMinBonus takes nothing returns real
native SetAttackSpeedMinBonus takes real value returns nothing
native GetAttackSpeedMaxBonus takes nothing returns real
native SetAttackSpeedMaxBonus takes real value returns nothing
native GetMoveSpeedMinAllowed takes nothing returns real
native SetMoveSpeedMinAllowed takes real value returns nothing
native GetMoveSpeedMaxAllowed takes nothing returns real
native SetMoveSpeedMaxAllowed takes real value returns nothing
native IsSelectionEnabled takes nothing returns boolean
native EnableSelection takes boolean enable returns nothing
native IsSelectionCircleEnabled takes nothing returns boolean
native EnableSelectionCircle takes boolean enable returns nothing
native IsTargetIndicatorEnabled takes nothing returns boolean
native EnableTargetIndicator takes boolean enable returns nothing
native IsRenderStage takes renderstage renderStage returns boolean
native EnableRenderStage takes renderstage renderStage, boolean enable returns nothing
native IsStatbarEnabled takes nothing returns boolean
native EnableStatbar takes boolean enable returns nothing
native HandleListGetSpriteCount takes handlelist whichHandleList returns integer
native HandleListGetSpriteByIndex takes handlelist whichHandleList, integer index returns sprite
native HandleListGetFilterSprite takes nothing returns sprite
native HandleListGetEnumSprite takes nothing returns sprite
native SaveSpriteHandle takes hashtable table, integer parentKey, integer childKey, sprite whichsprite returns boolean
native SaveDoodadHandle takes hashtable table, integer parentKey, integer childKey, doodad whichDoodad returns boolean
native SaveTextFileHandle takes hashtable table, integer parentKey, integer childKey, textfilehandle whichFile returns boolean
native LoadSpriteHandle takes hashtable table, integer parentKey, integer childKey returns sprite
native LoadDoodadHandle takes hashtable table, integer parentKey, integer childKey returns doodad
native LoadTextFileHandle takes hashtable table, integer parentKey, integer childKey returns textfilehandle
Попробовал запустить на предыдущей, 1.0.38.140, крита не словил...
Теперь искать, где фаталит...