basics on how to add hacks in jass (in video i made)

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
xxxlord
Senior Member
Posts: 116
Joined: October 14th, 2007, 6:52 pm
Title: more godlikethen you

Re: basics on how to add hacks in jass (in video i made)

Post by xxxlord »

i will make more vids when i get better at jass no problem but this is my first tut on anything so gimme a brake >.>
look i tried to hack 10 maps with xantan's pack with duped locals and they all crash when you try to create game so when i tried the other 10 with out the dupes they dont crash
95% Percent of teens would have a breakdown if Hannah Montana was standing on the edge of a tower, ready to jump. Copy and paste this if you're part of the 5% yelling "Jump, Bitch!!!
]SouL][ReapeR[
Forum Staff
Posts: 252
Joined: July 20th, 2007, 10:25 pm

Re: basics on how to add hacks in jass (in video i made)

Post by ]SouL][ReapeR[ »

Okay, I see you don't get it. I'll try to explain in full detail.

Since I'm too lazy to check specifically for what locals are in Xantan's cheat pack, let's say...

A map has the following locals.
local weathereffect
local real life

This is Xantan's cheat pack:
local weathereffect
local real life
local itemUD
local unit u

Now, we don't delete the locals. I'll point this out
local weathereffect <---- Do not delete
local real life <------ Do not delete
local itemUD <------ Add
local unit u <------- Add

Do you see now? When you delete the locals that are already there, there is a small chance that J file will have stynax errors due to the locals being out of place.
Image
User avatar
xxxlord
Senior Member
Posts: 116
Joined: October 14th, 2007, 6:52 pm
Title: more godlikethen you

Re: basics on how to add hacks in jass (in video i made)

Post by xxxlord »

i understand this but it is better to delete them and add xantan's pack cause xantan's pack will not always work right if you dont add all of his i tested this
95% Percent of teens would have a breakdown if Hannah Montana was standing on the edge of a tower, ready to jump. Copy and paste this if you're part of the 5% yelling "Jump, Bitch!!!
]SouL][ReapeR[
Forum Staff
Posts: 252
Joined: July 20th, 2007, 10:25 pm

Re: basics on how to add hacks in jass (in video i made)

Post by ]SouL][ReapeR[ »

xxxlord wrote:i understand this but it is better to delete them and add xantan's pack cause xantan's pack will not always work right if you dont add all of his i tested this
So you're saying that you're going to add what's already there, but you delete it first? No, that should never happen. You have a small chance of getting an error.

So this is what you're saying:

Target map:
Local player u

Xantan's cheat pack
Local player u

Now cheated map
Local player u <---- Delete
Local player u <---- From Xantan's cheat pack

You see, if you delete those, you'll get a small error. Why? Some triggers mainly target what line they're on. So let's say....

You have all these locals. You delete the ones that are already in Xantan's cheat pack, letter for letter.
You paste all the locals ontop or below the locals that aren't similar.
You get a syntax error. OMFG! (This is usually not the case, however. This is only a rare occasion)
Image
User avatar
xxxlord
Senior Member
Posts: 116
Joined: October 14th, 2007, 6:52 pm
Title: more godlikethen you

Re: basics on how to add hacks in jass (in video i made)

Post by xxxlord »

i have been doing it on all the maps i have hacked thats like 15 on the forums and no one has said anything about error so i think your wrong
95% Percent of teens would have a breakdown if Hannah Montana was standing on the edge of a tower, ready to jump. Copy and paste this if you're part of the 5% yelling "Jump, Bitch!!!
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: basics on how to add hacks in jass (in video i made)

Post by weirdone2 »

Okay I finally got around to checking out the vid(only skipped around and stopped at step 3) tut and first off, way too fucking long. Now I don't have problems with not using a mic and instead using txt however you do so sparingly, but you went plum crazy on the shit, a vid tut is a vid tut it's suppose to be mostly visual with a bit of pointers here and their. Also for the one part that I did see the jasscraft it was way small you should zoom in on what your doing, whether it be typing txt or messing in jc.

So I recommend first off reducing the time taken by one, taking out lots of frames where nothing is really being done, like you typing wrong and having to backspace, two not using notepad but to explain the step real quick maybe 5-10secs per a thing you do devoted to txt explanation, and then going back to doing the vid example, lastly of course do that zooming. If you can't cut some time and zoom in on the software your currently using then you should probably get some new image editing software, I believe virtual dub can do all this and lots more, and its free ;)

Edit: As for this function main crap i'm seeing it's like this, you simply leave any variables that are already declared their that are part of xantans also alone and don't add xantans, this is simply really part of the step where you should use syntax check and if it tells you you have duplicate vars to delete one. ;/ Example:
lets say for this example xantans code adds local unit u and local integer i to function main then, we would take the code below,

Code: Select all

function main takes nothing returns nothing
local we
local unit u
local integer hi
local handle meow
blablaetc
endfunction
and place the integer i in it since unit u is already their like so

Code: Select all

function main takes nothing returns nothing
local we
local unit u
local integer i
local integer hi
local handle meow
blablaetc
endfunction
User avatar
-LiOneL-
Junior Member
Posts: 28
Joined: October 23rd, 2007, 4:33 am

Re: basics on how to add hacks in jass (in video i made)

Post by -LiOneL- »

i cant find endglobals! can sum1 help me?
Image

Ride Hard,Fly High~~~

Greetz -LiOneL-
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: basics on how to add hacks in jass (in video i made)

Post by JJ2197 »

You'll find it under all the globals... or you can just do Ctrl+F and type endglobals then find next... =/
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
GhettoChild
Old Wrinkly Member
Posts: 272
Joined: January 27th, 2007, 4:46 pm
Title: OxyContin
Location: Denver, Colorado

Re: basics on how to add hacks in jass (in video i made)

Post by GhettoChild »

You don't open the listfile with MPQ Master, just the map. Place the listfile in the MPQ Master's listfile folder and then open the map.
You know why the Yankees always win, Frank?
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: basics on how to add hacks in jass (in video i made)

Post by JJ2197 »

It means you made a script error... hit F9 while in JassCraft and it will tell you which
line the error(s) are.
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate