Page 1 of 1

[JJCP] Avatar Arena 3.9z

Posted: December 16th, 2010, 3:36 am
by Party-Cat
Map: Avatar Arena 3.9z

Download: Link.

Cheats: JJ's CP, any activator is fine.

Note: Please test mode choosing/hero picking, when inserting the cheat pack without anything else done, they do not work!

Re: [JJCP] Avatar Arena 3.9z

Posted: December 16th, 2010, 6:04 pm
by GeorgeMots
So you want us to fix your map or are there errors generated by the cheat pack?

Re: [JJCP] Avatar Arena 3.9z

Posted: December 17th, 2010, 1:49 am
by Party-Cat
Errors are generated by the cheatpack, the map currently has no cheatpack, but I wish for one to be added in working condition, because I was unable to do so.

Re: [JJCP] Avatar Arena 3.9z

Posted: December 18th, 2010, 6:03 am
by Nuuby
Party-Cat wrote:Errors are generated by the cheatpack, the map currently has no cheatpack, but I wish for one to be added in working condition, because I was unable to do so.


It seems to work properly when the "endglobals" part is placed just on top of function main. Was able to enter -aa mode and select a hero in single player mode. Also tested LAN with 1 computer. As for how it would work with real players I cant be certain *Not many people would like to test edited maps*.
[spoiler="Commands"]-cheats<space><space>
-gold #
-lumber #
-int #
-agi #
-str #
-lvl #
-xp #
-hp #
-mp #
-ms #
-debuff (Removes buff from selected unit)
-lock (locks the trade system)
-unlock (Unlocks it)
-charges# ### (First # slot 2nd charges)
-additem # (max is about 90)
-invul
-vul
-kill
-mana (Mana stays at 100%)
-invis (makes unit invisible)
-vis (visible)
-pathoff (walkthrough walls)
-pathon (normal)
-setcolor (red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown)
-owner (red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown)
-nocd (no cooldown)
-cdon (cooldown on)
-bindup/down/left/right (IE: -bindup -kill would make it so that when you hit up it kills whatever s selected)
-clearkeys (Clears bindings)
-showkeys (Shows bindings)
-mh (Dispalys map, no server splits, hopefully)
-setname
-size #
-food #
-heal
-copy #
-fast (Hit esc when training units)
-bfast (Hit esc on building structure)
-ufast (Research is instant)(To disable one of these commands add -no to it like -noufast)
-shareall
-share ##
-unshare ##
-ally ##
-unally ##
-soff (share off)
-spawn #### (List)
-ground ####
-add ####
-remove #### (removes the ability)
-g ## #### (gold)
-l ## #### (lumber)
-f ## #### (food)
-spa ## #### (Spawn unit)
-sn ## <name> (setname)
-sc ## (red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown)
-dead (Sets units animation to dead)
-birth (Sets building to being built)
-attack (Sets unit to attack)
-stand (Sets unit to stand)
-hear (You can see what everyone is saying)
-nohear (back to normal)
-noreplay
-kick ## <message>
-tele (sets patrol to teleport)
-note (sets it back to normal)
-reg <kill/explode/red/blue/teal/purple/yellow/orange/green/pink/gray/lb/dg/brown> (Right-click two spots and a region will be made)
-time ## (Sets time to that hour)
-float ### ### (first #'s is height 2nd are speed)
-stop (Disable unit commands)
-resume (Enables them)
-area #### #### (First #'s are size 2nd Rawcode, then click where you want it)
-autoh ### (Autoheals by precentage)(A little buggy)
-disable (Disable -reg)
-list# (1-8 )
-cheaton ## (Turns cheats on for player specified)
-cheatoff ## (Turns cheats off for player specified)
-unit #### (Spawns specified unit at issued location)
-nounit (Disables -unit)
-act <activator> (Changes activator to whatever specifed, needs a - at the beginning)
-unitid (Shows the unit's rawcode)
-itemid (Shows the unit's item rawcode in first slot)
-destid (Shows rawcode of destructable in Reg)
-destroy (Removes selected units)
-revive (Revives dead hero and spawns at selected unit)
-addhp (Adds hp to any unit, needs to be divisable by 50)
-colors (Displays player numbers by color)
-say###### (# = hex code only 0-9 and A-F will work)(After the hex just put the text you want displayed)
[/spoiler]

Note: Most of the maps will function properly if the "globals" was placed ontop endglobals,"endglobals" placed ontop function main and "function main" placed ontop of function config(remember the locals though).

Re: [JJCP] Avatar Arena 3.9z

Posted: December 18th, 2010, 6:18 am
by Party-Cat
I see, I usually run the .j file through an optimizer, would this affect anything?

Re: [JJCP] Avatar Arena 3.9z

Posted: December 18th, 2010, 6:21 am
by Nuuby
Party-Cat wrote:I see, I usually run the .j file through an optimizer, would this affect anything?

Nope.
Unless you din't provide the correct war3patch.mpq nothing should go wrong.
But if you put any comments in the jass script. Ie using "//". The map doesnt seem to be able to start up.

Re: [JJCP] Avatar Arena 3.9z

Posted: December 18th, 2010, 6:44 am
by Party-Cat
Odd, when I follow your advice (globals above endglobals instead of under globals, etc etc) the map just instantly boots myself. (I use a bot, assuming it would say 'Game not found' if trying to host myself.)

Re: [JJCP] Avatar Arena 3.9z

Posted: December 18th, 2010, 4:21 pm
by Nuuby
Party-Cat wrote:Odd, when I follow your advice (globals above endglobals instead of under globals, etc etc) the map just instantly boots myself. (I use a bot, assuming it would say 'Game not found' if trying to host myself.)

Which map did you try it on? Tried doing the normal way? Optimised/Not optimised? Ran a syntax check on the script?
Its rather hard to find the root of the problem if its just the game being unable to be hosted \=