Complicated map to insert cheat, help please

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Sorachin
Newcomer
Posts: 5
Joined: September 9th, 2017, 9:35 pm

Complicated map to insert cheat, help please

Post by Sorachin »

Help please, usually i'm dealing with it, but now i'm for the first time cannot insert JJCP in that fucking map:
https://www.epicwar.com/maps/273363/


To be more precise, JJCP works, but for some reason after inserting JJCP, in the begining of the game i losing wisp to chose a character and can't do anything :(
Try to fix that please and preferably also explain where i'm wrong.
Thanks in advance :3
User avatar
devoltz
Forum Staff
Posts: 2998
Joined: March 23rd, 2016, 8:06 pm

Re: Complicated map to insert cheat, help please

Post by devoltz »

ez.
just place the cheatpack parts right.
globals part - 1 line before endglobals
endglobal part - 1 line before function main
function main part - if you use a fm with locals, add it on last line of locals, if not, add it as first line.
You do not have the required permissions to view the files attached to this post.
User avatar
Sorachin
Newcomer
Posts: 5
Joined: September 9th, 2017, 9:35 pm

Re: Complicated map to insert cheat, help please

Post by Sorachin »

Ooooohhh goooddam, i fuckin' love u mannn!!!
It turns out that i was wrong about globals part, i placed it at the start of war3map.j, as stated in guide, but u opened my eyes in another way
i did like that:
Spoiler:
Image


Thank you so much for help, u are the best :3
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod

Re: Complicated map to insert cheat, help please

Post by nuzamacuxe »

It's ok to put it at start but I do like devoltz said as well. Anyway, gonna change it on guide later to avoid further issues like so.

// EDIT:

Updated.
User avatar
Sorachin
Newcomer
Posts: 5
Joined: September 9th, 2017, 9:35 pm

Re: Complicated map to insert cheat, help please

Post by Sorachin »

Woow, i see, u also fixed endglobals part, cute of u, thanks :3
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod

Re: Complicated map to insert cheat, help please

Post by nuzamacuxe »

You're welcome.