• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

jass

  1. luciferfore

    **JassForge Released – A Modern Compiler/Project Template for Warcraft III JASS Mapping**

    github:GitHub - LuciferFor/JassForge-Project Hi everyone, I’d like to share JassForge, a compiler/project template for Warcraft III map scripting. Repository: https://github.com/LuciferFor/JassForge-Project JassForge is built to make JASS map development more modern and more comfortable. It...
  2. IronBladeClan

    Is there a Lua to Jass converter?

    I've found plenty of talk about converting Jass to Lua, but what about the other way around? I guess I'm specifically looking for something that spits out Jass I can paste into the World Editor. I want to use YDWE PK, but it seems like it doesn't really support Lua. On the other hand, I'm...
  3. luciferfore

    JassForge Helper Extend: A VS Code Companion for Warcraft III Scripting

    I built JassForge Helper Extend, a one-stop VS Code companion for Warcraft III modding. It is tailored for Zinc, Jass, and vJass, and combines language features, formatting, asset preview, and MPQ tools in a single workflow. The extension supports document and selection formatting, smarter...
  4. Wing-Span

    Desync problem

    Recently, probably due to a minor game update, all versions of my map started acting up. In 3v3 games, 0–2 players get desynced in the very first second — often 0, but sometimes 1 or even 2. This never happened before across 500+ games, and now it suddenly occurs on every version. There are tons...
  5. the.Axolotl

    [Trigger] [UPDATED ] RPG Squad AI – State Machine + Per‑Unit Priority (GUI / JASS Hybrid)

    Actually, on second thought I feel like I’m going full control freak on the engine.[/S] [/SPOILER] !Latest ---} Here
  6. Layslegend4

    Tech Tree Requirements & Research Level Requirements Dummy Unit Fixes

    I came across this specific thread by SerenityInFire An issue 6 years ago. I wanted to clarify for those looking for help since that forum is closed. Using a Dummy Unit is extremely versatile when interacting with requirements inside the game. If you are smart enough you can use it for all...
  7. Wing-Span

    Help me refine the system

    As you know, you can only get the cost of the first level of a research. For level 2+, you have to create a database of research costs. If your map has a lot of researches and you keep editing them for balance, you’ll most likely get confused somewhere. So I created a simple hack-like system...
  8. Altruistic Anduin

    [vJASS] Starting from scratch, gone wrong

    Hello! So, I'm starting this project from scratch, but now in Classic graphics instead of Reforged. And max Legendary map size instead of Huge. I am encountering an issue upon trying to save or test the map--compile erros--which I can't or don't know how to resolve on my own, even with someone...
  9. MyScorpion42

    [Altered Melee] Map Script-Independent Jass-driven AI Experiment

    Documentation of what functions and objects do and do not work in AI Documentation of which races are and are not assignable by the game Documentation of how units and equivalencies are counted by different JASS Functions 9 months ago, I started this project... then 2 months later I stopped...
  10. khopesh

    Global Integer Compressor System

    Commonly in the bits of the integers space exists that is not being used, with this we can get the most out of each integer creating a pocket array that allows us to store new data. It can also be seen as preventing leaks at the bit level because compressing variables and therefore not using...
  11. Wing-Span

    Could this cause a crash?

    call ExecuteFunc("JustTrigger_init") If I make this call to a non-existent trigger, will it crash? More precisely, is there a risk of crashing later in a multiplayer game? Just curious... I'm trying to find the error.
  12. IceLurk

    Well... I want to learn how to create maps, game modes, and models. Where should I start?

    Hi everyone, I hope you're having a great day. I’ll get straight to the point. Even though I’ve been familiar with the World of Warcraft universe for over 7 years, I never knew that I could actually create my own game modes, maps, and models. Right now, I only have very basic and beginner-level...
  13. Wing-Span

    Help me find the leak

    I've been struggling with one problem: after updating the map, sometimes all players—or a single player—get disconnected after 10–20 minutes of gameplay. The suspicious part is in the trigger below, where I added a 0.5-second safety window during which the tower selltime count will not increase...
  14. Mecha.Génesis

    [Miscellanous / Other] Mecha.Genesis' Stuff Hub

    Systems, Concepts & Map Prototypes Hey everyone! This thread gathers several systems, prototypes, unfinished maps, and general scripting ideas I’ve been working on over the years (mostly around patches 1.27–1.31). It’s basically a small archive of my “stuff”, things I’ve made or tested that...
  15. DevilShiBata

    New to Editor

    Hello all, i am new to editing and have come to a problem i dont know or understand how to fix. in the Editor mode everything works fine but once i host the game online to see if everything still works i run into the problem with items not saving to heros. i have spent the last 2days trying to...
  16. LightRipper

    [Spell] Passive that gives a chance to cast again the last ability used. [Solved]

    I've genuinely struggled for two days straight to make a trigger for this, and I'm too tired at this point—I want to give up. Here is the information on what I'm struggling with: I need a passive ability that auto-levels up when the hero reaches specific levels.(Already did it.) It has 5...
  17. AnonHero123

    Mirror Image follows new hero's skin?

    So I've been using this skin randomizer by "Uncle" Uncle's skin randomizer tutorial now the problem is, the illusions created by the Mirror Image ability uses the "base" blademaster model, instead of the assigned random model that I set in game! In the picture, the "base" model skin is the...
  18. PurgeandFire

    [GUI] Local Variables in GUI

    Local Variables in GUI Since the dawn of Warcraft 3, one of GUI's biggest drawbacks was its lack of local variable support. Variables defined in GUI are always considered global—which means they are defined once and can be accessed anywhere in your map's code. This is convenient, but once you...
  19. 0x41414141

    JASS Prng Reverse Engineered

    Hey all -- Someone was working on a project that required a an accurate reimplementation of the JASS Random number algorithm. The latest "Warcraft III.exe" is packed fairly heavily, fortunately, they got their hands on an older "game.dll". Here's the results: Github: PyJASSPrng It's fairly...
  20. Datage

    [AI] Custom AI not producing garrison units

    Hello. One of the AIs on one of my maps does no longer build garrison units. Here's the code: //------------------------------------------------ // GLOBALS //------------------------------------------------ globals player user = Player(0) constant integer MOM = 'N00J'...
  21. Wing-Span

    Syntax error, am I stupid?

    There are 2 errors in each of these two lines, and I can't understand why. It seems like there shouldn't be. if udg_int_array_s__OrbStacking__OrbUnit_missileMod[udg_int_array_s__OrbStacking__UnitOrb_orbunit[this]] == this then if...
  22. Lordliw

    Turning melee ai into campaign ai

    The title is pretty straightforward. I took the melee human ai script and edited in high elven parts to adjust it for a custom map of mine. As far as my intuition goes, I'm in a dead end where I don't see a plausible solution, I'm not a programmer – the most I can do is set up peons, build...
  23. Sykranos

    [TOOL SUITE] Desync Scanner Toolkit – JASS, Lua, GUI, Object Audit (WIP)

    🧠 [TOOL SUITE] Desync Scanner Toolkit – JASS, Lua, GUI, Object Audit (WIP) Hey Hive! This is a growing suite of tools designed to scan your Warcraft III maps for desync-prone logic and object configurations. After working with incredible minds like Maxou, Tordes, Maddeem, and others — and...
  24. Sykranos

    [Work-In-Progress] Dispatcher Profiler - Real-Time Lag Detection, Scoreboard Hijack, and Hybrid GUI/Jass Debug Tools

    [Work-In-Progress] Dispatcher Profiler – Real-Time Lag Detection and Scoreboard System “Has anyone else ever tried to do this? Or am I just deep in the rabbit hole now?” Hi Hive. I'm currently on a sick semester from university (AI studies), and I somehow ended up here after accidentally...
  25. Nost

    ai help

    Hello guys i really need help... I've created periodic waves of units on my map that fight other waves... But these units only use automatic spells and not all their abilities. How can I make them use their other abilities? Does i have to do a IA ? If yes what does it loke like? I don't now how...
  26. spinner

    [General] Map initialization does not work (vJASS)

    I'm trying to print a custom text on the Player(0)'s in-game screen in Vanilla Jass style for a practice, but World Editor never print it even though the code does not throw any syntax error while it's being saved. // Custom Script Name: foo function fooAction takes nothing returns nothing...
  27. AMarkov

    Client-server application using Preload

    Is Preload still relevant for the latest versions of Reforged? I can't quite remember, has anyone managed to set up communication between the game and an external server using a file? Maybe some kind of stats-tracking application? I'm not really into the esports scene. For WarCraft Legend...
  28. a8156175

    [JASS] I had a problem about Save&Load System,it doesn't work when the code length over 256 letters...

    Sorry,come from Asia ,bad English I have a SAVE & LOAD JASS&YDWE GUI code. I know a little bit about how it works and use it in my ORPG map. But now I have a problem that the code cannot be used if it exceeds 256 characters. I would like to ask if there are any JASS experts who can give me some...
  29. qemorak

    [JASS] [Solved] Is nulling local variables necessary even if you only announced it?

    I'm trying to make a dummy unit (to make it use thunder clap) when dash skill is finished. So i announced local unit u in the timer-looping function, but it is only used when the loop is finished. (set u = CreateUnit~) In this case, should I put "set u = null" inside the [if then] before...
  30. SoyMante

    [Solved] Help to Create an MMR System for Warcraft

    I'm working on a project to enhance the gameplay experience. My goal is to create an MMR (Matchmaking Rating) system that updates the MMR after each match and loads it when starting a new game. I want this system to be dynamic and efficient, similar to the one used in Direct Strike OZE. Here...
  31. Dogcall

    JASS - forcing animation n23

    Hi, I've been playing with JASS scripts and triggers to achieve that model Onyxia spawn (create unit), uses animation 23 (walk alternate) to a region and then play animation 8 (cinematic land) after which she is deleted. I got lost. From errors with declaration, to animation not fully...
  32. stormman67

    Adding regions to hashtables based on name

    I've run into some problems with regions and hashtables... What I'm trying to achieve: The map I'm creating has 4 regions per player. These are manually created via the World Editor and named "Player0n, player0s, player0e, player0w" and so on. To prevent all the manual labour I want to access...
  33. Rufflepaws

    Casual C/C++ Programmer Looking For General JASS AI (1.26a) Advice.

    Hi, I'm not new to Hive Workshop or WC3Campaigns and it's been wonderful resources for me well over 15 years before Firelord was a tavern hero. I don't believe I've posted here before in all that time, so forgive my community's naiveté and etiquette. I own Reforged, but I still don't like it...
  34. Vegi

    [JASS] bug with an ability being overwritten

    Hello, I have a problem with my super nova ability, its supposed to fall towards the ground and then explode and deal damage overtime. But there is a problem if another spell is cast during its landing the supernova ability disappears. Another problem is if the supernova has already landed, and...
  35. darkravenbest

    BlzS2FourCC undeclared

    Hello! I have problem when i use BlzS2FourCC, even if it used via GUI function, editor reference this line with error: "Undeclared function BlzS2FourCC". How to fix this problem? Im currently using pre reforged 1.31 version. Thank you!
  36. KnockFace

    Chat not displaying player messages

    So, using this code called on map initialization: function init takes nothing returns nothing local framehandle fhandle local framehandle fhandle2 local integer i = 0 local GameUI = BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0) call BlzEnableUIAutoPosition(false) call...
  37. KnockFace

    Multiboard frame reseting position after Alt+Tab

    I have an issue concerning multiboards. I create a mb after the game started, and change its position. Yet after I switch to another tab, then switch back to WC3 Reforged, its position resets to default. Here's the trigger: Is there any way to fix this issue?
  38. FlameofChange

    [Snippet] Set unit range partial fix & Set unit AoE Small fix

    Hello there, the native BlzSetUnitWeaponRealField (and BJ too) is bugged for setting the range (UNIT_WEAPON_RF_ATTACK_RANGE). ☼ Doesn't work for the weapon index 2 ☼ For weapon index 1, will add the new range minus the difference between the base value of weapon 1 and 2 Also some getter/setter...
  39. sur5al

    [Trigger] Need help to make trigger

    So... i get many search hits on the net for "convert jass to lua", but i need the opposite thing! Which i cant figure out. I am super low level in jass. Use it only when need things outside gui possibilities (local variable, damage detection system, etc.). All my jass triggers in my maps are...
  40. B22

    [Misc] Tips & Tricks - Using Abilities as Data Reference for Triggering

    Tips & Tricks Using Abilities as Data Reference for Triggering For the remainder of this thread, I'm going to call this method PRAT (Procedural Referencing with Ability object for Triggering) to make it easier. I recently came up with this method and could not find any mention of something...
  41. Luashine

    [Mapping] Explaining Warcraft's lockstep architecture for mapping (avoid desyncs)

    I haven't seen Warcraft 3's concepts explained anywhere in a condensed manner, let me try it here. Who is this tutorial for? The beggin beginners in War3 modding, though the explanation will probably require some prior programming knowledge or a little experience with World Editor. Lockstep...
  42. LeP

    j2j: jass <-> json converter

    A little tool for people who don't want to write a jass parser themselves. This tool can take a jass script as input and return a json representation of the jass ast or take a jass ast encoded as json and turn it into valid jass again. I don't know if this is of any value but i wanted to write...
  43. Bloodheaven_

    [Lua] Reforged UI Designer doesn't work In-Game

    Hi there, I created my UI in the Reforged UI Designer and exported the UI to Lua. Then I pasted it in the Map Custom Script Code only to find out it doesn't show up, the JASS version of that UI doesnt have that Problem at all, do I need to call the UI somehow? Here is the snippet: The JASS...
  44. Bloodheaven_

    [Lua] How to convert GetUnitGoldCost to LUA?

    Hi there, I'm trying to convert this native to a LUA Function but I'm failing miserably. Jass Function converted to LUA Function //Jass native GetUnitGoldCost takes integer unitid returns integer //-->LUA<-- function GetUnitGoldCost(unitid) end Function Call Custom script...
  45. Skulgrimm

    % in string in Custom Script

    After some digging it is clear that Custom Script uses a different method to translate the code from the Editor to war3map.j than Triggers do. So in a Custom Script a single "%" gives "" except a Conversion Specifier(printf reference) followes even with spaces, same function in a Trigger no...
  46. TeKey0815

    [JASS] deal missile dmg while walking

    Hello everyone :), This is my very first post. Please be nice to me xD. I am semi-experienced in programming with JASS. I learn most of it here from you :). I'm currently working on a project. I want to build the mobile game Brotato in Warcraft with multiplayer functions. But now I'm failing...
  47. Ricola3D

    [Reforged] Nested "Value of Real Variable" events is bugged

    Hello, Some well-known systems for your custom maps use "Value of Real Variable" events as API you can use to get notified of some game actions. For example a well known is GUI Unit Event by @Bribe : For example, the system executes the code below: Set VariableSet Event1 = 0.00 Set...
  48. N4R3N

    Define/Change unit properties via vJass during initialization

    Hello I did TD things through GUI. I´m trying to learn little bit of Jass coding because of flexibility and clarity. I read tutorials and did researches but i can´t figure out some stuff. Now i transfer some triggers to Jass in current state of map because its "hard" to maintenance and do...
  49. Rahko

    [Solved] Alternative to multidimensional arrays

    Hey! It's been a while since I coded for Warcraft III (or in general, for that matter), thus my brains are a bit scrambled right now. I am trying to make a simple inventory system that changes all the items for multiple pages of the inventory. I got it working, actually, as I just brute forced...
  50. HerlySQR

    Lua W3 handles instantiation

    Hello, while I wanted to translate the Zwiebelchen's Threat System to Lua, during the Debug Board it checkes the handles that are existing in the map and to asign them an integer does an operation that involves creating 50 locations, get their handle ids and finally removing all of them every...
Back
Top