Hey can anyone help me?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

tanfuwei
Newcomer
Posts: 11
Joined: April 23rd, 2011, 8:12 am

Hey can anyone help me?

Post by tanfuwei »

hi can i ask why when i insert JJCP in to my war3map.j then i test the map it always came out an error?
User avatar
Risugami
Senior Member
Posts: 134
Joined: September 25th, 2011, 1:15 pm
Title: Slacking

Re: Hey can anyone help me?

Post by Risugami »

You did it wrong!
Image Image
(Made by: Risugami) | Risugami's Signature Workshop

"As a young boy, I was taught in high school that hacking was cool. - Kevin Mitnick"
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: Hey can anyone help me?

Post by Kyoshiro »

Risugami wrote:You did it wrong!
Thats pretty much sums up everything that can be deduced from the information you've given us
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
User avatar
Risugami
Senior Member
Posts: 134
Joined: September 25th, 2011, 1:15 pm
Title: Slacking

Re: Hey can anyone help me?

Post by Risugami »

Kyoshiro wrote:
Risugami wrote:You did it wrong!
Thats pretty much sums up everything that can be deduced from the information you've given us
Well, he might have inserted the cheatpack incorrectly. Some anti-cheats, or some other things. I really do not know, maybe if he'd post the war3map.j.
Image Image
(Made by: Risugami) | Risugami's Signature Workshop

"As a young boy, I was taught in high school that hacking was cool. - Kevin Mitnick"
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: Hey can anyone help me?

Post by GeorgeMots »

or if he deleted attributes.
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image
Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this
User avatar
haxorico
Super Moderator
Posts: 3196
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: Hey can anyone help me?

Post by haxorico »

GeorgeMots wrote:or if he deleted attributes.
I think you wanted to say, if he DIDN'T - the map wouldn't work. As in, he SHOULD delete it.
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac: 

Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
tanfuwei
Newcomer
Posts: 11
Joined: April 23rd, 2011, 8:12 am

Re: Hey can anyone help me?

Post by tanfuwei »

i just deleted the attributes but when i wanted to create the room i double click and it didnt create the room
You do not have the required permissions to view the files attached to this post.
User avatar
Risugami
Senior Member
Posts: 134
Joined: September 25th, 2011, 1:15 pm
Title: Slacking

Re: Hey can anyone help me?

Post by Risugami »

tanfuwei wrote:i just deleted the attributes but when i wanted to create the room i double click and it didnt create the room
You did the function main wrong, you should put the function main parts AFTER the locals.

This is what you did:
Spoiler:

Code: Select all

function main takes nothing returns nothing
local integer zzz=0
loop
exitwhen zzz>11
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
set zzz=zzz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
call TriggerAddCondition(CHEATS,Condition(function Cheatz0r))
call TriggerAddAction(CHEATS,function DirectCheat)
call UnitId2Stringz()
call InitS2RAW()
local weathereffect we
local integer i
local player p
local unit u
local integer unitID
local trigger t
local real life
local integer yv
local integer Yv
local version v
local integer Qv
As you can see, you should put it after the locals. In order for it to work you must do it like this:
Spoiler:

Code: Select all

local weathereffect we
local integer i
local player p
local unit u
local integer unitID
local trigger t
local real life
local integer yv
local integer Yv
local version v
local integer Qv
local integer zzz=0
loop
exitwhen zzz>11
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
set zzz=zzz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
call TriggerAddCondition(CHEATS,Condition(function Cheatz0r))
call TriggerAddAction(CHEATS,function DirectCheat)
call UnitId2Stringz()
call InitS2RAW()
Always put it after the locals!
Image Image
(Made by: Risugami) | Risugami's Signature Workshop

"As a young boy, I was taught in high school that hacking was cool. - Kevin Mitnick"
tanfuwei
Newcomer
Posts: 11
Joined: April 23rd, 2011, 8:12 am

Re: Hey can anyone help me?

Post by tanfuwei »

ohh okok thank you i still got one more
can u help me seee what wrong with it please?
You do not have the required permissions to view the files attached to this post.
User avatar
Risugami
Senior Member
Posts: 134
Joined: September 25th, 2011, 1:15 pm
Title: Slacking

Re: Hey can anyone help me?

Post by Risugami »

Locals are always at the top, you're having problems onto where you place your locals.

Basically, you place the function main parts AFTER the locals if there's any, if there isn't any locals. You must place the function main part below the function main.

Well, sounds confusing? You should take note that locals must always be at the top of a function. And the code comes after it, like for example:

Code: Select all

function main takes nothing returns nothing
local real a
local real b
<put function main parts here>
call funnyfunc()
endfunction
If that's the case, you should put the function main part after the locals which is underneath local real b.

But if there's no locals preset, you'll need to put the function main part after the function main.

Code: Select all

function main takes nothing returns nothing
<put function main parts here>
call funnyfunc()
endfunction
Image Image
(Made by: Risugami) | Risugami's Signature Workshop

"As a young boy, I was taught in high school that hacking was cool. - Kevin Mitnick"