Make sure to read the rest of the guide, too. If you have any questions, just post.

Common Problems:1. If you see a file called (attributes) inside the map when you first open it with MPQMaster, delete it!2. Make sure to put the function main part under the locals in function main. If there are no locals, just put it right under function main takes nothing returns nothing.

Joined: June 2nd, 2007, 6:53 pmPosts: 2732
Title: I Just Lost the Game

I got sick, and I forgot about it... Sorry.Anyway, here's a modified version of JJ's cheatpack, with -nl to stop players from leaving, and -leavers to allow them to leave again. It should work, but if it doesn't, let me know, and I'll try something different. The globals and function main parts are the same as the normal cheatpack, but instead of the normal endglobals, use this text file.

Something I forgot about JJ's cheatpack: to add an ability to a unit, the format for -add is "-add XXXX Y", where XXXX is the rawcode, and Y is the level of it.

You do not have the required permissions to view the files attached to this post.

thank you, the -add XXXX Y works, haven't test -nl though. by any chances, do you know how to view the rawcode of a hero's ability? like, a custom hero have 4 abilities ( with 1 attribute bonus), how do I view their rawcode to add to my own hero? if it cannot be done in-game ( like -unitid or -itemid), then can you teach me to extract rawcode from map instead? -add is useless if I don't know the rawcode

edited: just test -nl, not working. you might want to think another way.

Joined: June 2nd, 2007, 6:53 pmPosts: 2732
Title: I Just Lost the Game

You change the activator by changing this line under globals:string Activator="-cheats "

Just change the cheats part to whatever you want it to be; make sure you leave the quotes and the hyphen there.

You can compact it after you delete a file (including overwriting) by going to the Operations (or maybe Options, I forget which it is) menu and choosing Compact(Flush). If it still isn't below 4mb, then use an optimizer like Vexorian's or HeavyLocker. There are guides for using both scattered around the forum.

Who is online

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum