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

Jass Problem (Minor)

Status
Not open for further replies.
Level 6
Joined
Feb 18, 2010
Messages
153
well i added 1 skill with jass and it worked perfect but every other skill i add ruin the map

it dont let you select it in sp or anything

like you click on the chosen map but it dont show players and team click start and it takes you back to choose a map

any idea to fix (Also i don't know anything about jass)

just i copied 1 skill and it worked redst crash map

(Also) is it possible to change RAWID Code of skills AS all these jass skills use the exact same RAWID code and i already got custom units with that IDCode
 
Post the JASS code. You might be using a pre-1.24 spell, which means that it no longer works (assuming it uses the local handle vars, which most used back then).

(Also) is it possible to change RAWID Code of skills AS all these jass skills use the exact same RAWID code and i already got custom units with that IDCode

There should be a constant for that somewhere in the code. Post the code here and I'll tell you what you need to edit. :)
 
Level 6
Joined
Feb 18, 2010
Messages
153
i talkign about skills made by hive members


hthese sme of the skills i tried to add they work originally but in my map as i changed rawcode as i already got skills with A000 they dont work i also tried not changing the ?RAW code but it duplicated the skill and put with other skill usinf A000



http://www.hiveworkshop.com/forums/spells-569/vjass-wrath-zeus-176743/?prev=c=112&r=20&d=list&page=2

http://www.hiveworkshop.com/forums/...v1-04-a-181251/?prev=c=112&r=20&d=list&page=2

http://www.hiveworkshop.com/forums/...-v1-3-a-109249/?prev=c=113&r=20&d=list&page=3



They all used A000 and i already got custom skill with that ID

like i said when i pasted this skill in my map i set custom rawcode then changed the code on the code and didnt work

also io didnt change anything like i said it duplicated and map didnt work

EDIT: Also i just tried to edit the test map of one of them and change rawid. and it dont let map work, so they have to be them rawid so how you meant to install them onto your map if you got a RawId same as that one
 
Last edited:
When you copy and pasted the ability, make sure that you filled in the rawcode in accordance to the ability's rawcode. So, for example, if you pasted it in your map and it now had a rawcode of 'A032'. You would set the rawcode in the code to 'A032'. Also make sure you save your map (twice) and make sure there aren't any syntax errors.
 
Level 6
Joined
Feb 18, 2010
Messages
153
All this time and all it was i didnt save 2 times

cant belive i didnt think of that but then again i usually gui and it only needs 1 save

EDIT: lol

this skills requires a system thing and i have that on the map but it gets that error still lol

it highlights this

library WrathOfZeus initializer init requires optional GroupUtils

and error says

Line 8242: Missing Requirement: optional (Libraries cannot require scopes)

(Darn i bad at jass i got fire impact to do soemthing but it doesnt do any damage. also the fire balls only go in they dont go in then out.)
As i am new to jass is it like GUI skills do you have to edit parts of the code so it dont mess up?


EDIT: Fixed wrath of zeus error but some reason it dont attack everything in its way just that 1 unit and some other reaso it has archers floating around him tiny archers witch is funny instead of lightning balls lol

i gotta say theres so many dummy imports i to put in but i already got a file called dummy that ahs to be in that exact location so that dont work i think i heard you can edit its location with some object editor

so what program i use to change its path like inseatd of having to be dummy.mdx i can change it to tdummy.mdx so i can use it as all the 3 dummy mdx are dif size some there different
 
Last edited:
Level 14
Joined
Apr 20, 2009
Messages
1,543
All this time and all it was i didnt save 2 times

cant belive i didnt think of that but then again i usually gui and it only needs 1 save

EDIT: lol

this skills requires a system thing and i have that on the map but it gets that error still lol

it highlights this

library WrathOfZeus initializer init requires optional GroupUtils

and error says

Line 8242: Missing Requirement: optional (Libraries cannot require scopes)

do you have JNGP installed?
 
Level 6
Joined
Feb 18, 2010
Messages
153
yeah i fixed that problem already all it was. was i had outdated jasshelper but now that works

lol fixed the archer problem on wrath skill i didnt change

set this.mis = CreateUnit(GetOwningPlayer(u), 'e007', GetUnitX(u), GetUnitY(u), 0)
 
Last edited:
Status
Not open for further replies.
Top