• 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.

SyntaxErrors

Status
Not open for further replies.
Level 3
Joined
Feb 19, 2013
Messages
22
i used for first time mui (is that name correct?) from a tutorial map but my map is still crushing. I checked for mistakes and it returned Pjass not found. What should i do?

"Pjass not found, make sure it is the same directory as TESH.dll and try again"

noone? plz tell me. I can try to make it more clear if u dont understand the question.
 
Last edited by a moderator:
Don't use the "Syntax check" button in the trigger editor. It is an outdated feature from TESH.

To compile your map, just hit "Save". Post what errors pop up (if any).

And by "crushing", I assume you mean crashing, which is generally associated with Warcraft 3 closing unexpectedly, freezing, throwing a fatal error, etc.. What happens exactly? You should post the triggers and describe what happens when you run them.

P.S. Use the edit button instead of posting several times in a row. And wait at least a day before bumping.
 
Level 3
Joined
Feb 19, 2013
Messages
22
1.No, the warcraft 3 isn't closing. I know that the triggers are correct because i follow the instructions very carefully(i copied them from a map that was working normally):
1) In your world editor, go to the 'File" section and Click on Preferences. Tick "Automatically create uknown variables"
2) Copy all the buffs in the custom buffs section
3) Copy all 9 spells in the Custom Abilities Section and paste them in your map
4) Copy the Destructible "Fissure" and paste it into your map
5) Copy the Hero "Earthshaker" and paste it into your map
6) Copy the Trigger Folder "Spells" and "GDD" and paste it in your map
7) Go to the Spells Var trigger and follow the instructions step by step

But when it comes to triggers like this:

function GDD_Event takes nothing returns boolean
local unit damagedcache = udg_GDD_DamagedUnit
local unit damagingcache = udg_GDD_DamageSource
local real damagecache = udg_GDD_Damage
set udg_GDD_DamagedUnit = GetTriggerUnit()
set udg_GDD_DamageSource = GetEventDamageSource()
set udg_GDD_Damage = GetEventDamage()
set udg_GDD_Event = 1.
set udg_GDD_Event = 0.
set udg_GDD_DamagedUnit = damagedcache
set udg_GDD_DamageSource = damagingcache
set udg_GDD_Damage = damagecache
set damagedcache = null
set damagingcache = null
return false
endfunction

even if i use the old world editor or the jass world editor it always return something like that:
Suntax Errors
14 compile errors
Line 166 undeclared variable udg_GDD_DamageUnit (while i have "Automatically create uknown variables")
I need PJass or jasshelper and how i use them if i need them?

2. Also at my first attempt with the jasswe after i save the game it doesnt appear in the war3/maps/download folder while i can test it normally.
 
That error means that the variable "GDD_DamageUnit" was not made. Check your variables editor and see if you have a unit variable named "GDD_DamageUnit". If not, then you have two options:
  • First option: Chances are, whatever spell/pack you downloaded deleted the GDD set-up trigger. Try downloading the GDD map from here:
    http://www.hiveworkshop.com/forums/...-v1-2-1-a-149098/?prev=search=GDD&d=list&r=20
    And then copy that folder into your map. Hopefully that one will create the variables properly.
  • Second option: Make the variables manually. GDD_DamagedUnit is a unit variable, GDD_DamageSource is a unit variable, GDD_Damage is a real variable, GDD_Event is a real variable. There might be other ones too. Just keep making them until the errors go away or until they throw some other error.
 
Level 3
Joined
Feb 19, 2013
Messages
22
ok, now the variables are fine, but my hero's spells have some differences, for example
buff: enchant totem(alive) instead of enchant totem

i fixed them all (like in the original map) but my enchant totem spell isn't working. Fissrure, Echo Slam are working too. Also my passive spell doesn't give bonus dmg. :S I am sure i copied them all right.
 
Status
Not open for further replies.
Top