Hey. When I add in cheats into a jass file then replace the old one with the one i edited, it crashes. This happens in a few maps, and now in others I really don't get it.
And In the maps that have (attribute) files, i delete them yet they still crash. I have tried adding in weirdone's cheat pack, and also tried my own, seperately. They both crash. I have gotten both my cheats and weirdone's to work in other maps, but in others (tbr 1.32, dark invasion, legendary monsters) it doesn't but it did work in tbr 1.3. I'm really confused lol... I have searched this question, and read things about vexorian, and the jass file being corrupted or something but no leads.
So, what am i doing wrong or missing?
Thanks, Vodka
Well i think i know what is ure problem.
Were u insert the cheat pack under "function main takes nothing returns nothing" if the map has something like :
local weathereffect we
local integer itemID
local player p
local unit u
local integer unitID
local trigger t
local real life
local integer i
Place the cheats under the local stuff not under "function main takes nothing returns nothing"
~Everything changes~
I have met people who have no dreams, who have simply accepted their fate to work, exist, and die. They are the most miserable people I have ever known.
in JassCraft press f9 to syntax check it. It will probably tell you what's the problem.
Also check all locals under funtion main so that they don't have the same locals.
Example:
local weathereffect we
local integer i
local integer itemID
local player p
local unit u
local integer unitID
local trigger t
local real life
local integer i <<<<delete the same local from your cheat pack.
It isn't the locals, but when using syntax checker it comes up with a few errors that were in the unmodified one, that works fine, fix (if i can) or just leave? and ive been experimenting some more, and in some of my tests it says "game not found" when trying to host.
If ure trying to insert jj pack,maybe u didn't got it right :]
~Everything changes~
I have met people who have no dreams, who have simply accepted their fate to work, exist, and die. They are the most miserable people I have ever known.