Spellpack Bowling Bash, Terror, Chop and Pull

mr-death

Acolyte
Reaction score
51
Hey there!
Short time no see, whoever it is.
See this map, Scroll down to see the images:
View attachment AttractionSpellPack.w3x

Created in:
GUI, (I hate JASS)
MPI, (multiplayer playable, all variables have 12 arrays :banghead: took 3 days to create)
Leak Free, Lag Free

The Lord of Attraction have 3 edited abilities:
1. Terror - Terryfies enemies, making them run away from the Lord of Attraction for 10 seconds. Every level increases AoE by 100, starting from 300 AoE on level 1.
terroryv9.png

2. Bowling Bash - Strikes a target enemy with great force, knockbacking it distance away, dealing 0.2 damage/distance. Any unit strucking with the target during the knockbacking will cause more 0.1 damage/distance to the strucking and strucked unit. Every level increases distance by 200, starting from 200 distance on level 1.
bowlingbashxh3.png

3. Chop and Pull - Throws enemies to the air, and straightly pull them to your position. Every level increases distance by 200, starting from 200 distance on level 1.
chopandpullew3.png

4. Infernal - (non edited skill)
 

Ryuu

I am back with Chocolate (:
Reaction score
64
"Short time no see", probably referring to me? :p

And WOW! mr-death, you're really an expert. It's quite hard to believe (in other words, its a miracle) that such a proffesional could really exist. This spellpack alone overwhelmed me :)eek:) and I really look forward to your future spells. Anyways, good job!
 

mr-death

Acolyte
Reaction score
51
"Short time no see", probably referring to me? :p

And WOW! mr-death, you're really an expert. It's quite hard to believe (in other words, its a miracle) that such a proffesional could really exist. This spellpack alone overwhelmed me :)eek:) and I really look forward to your future spells. Anyways, good job!

Thanks :cool:
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Code:
Terror
   EVENTS
      Unit - A unit Starts the effect of an ability
   CONDITIONS
      (Ability being cast) Equal to Terror
   ACTIONS
      Set TerrorCasting[(Player number of (Owner of (Casting unit)))] = (Casting unit)
      Set TerroredUnits[(Player number of (Owner of (Casting unit)))] = (Units within (200.00 + (100.00 x (Real((Level of Terror for TerrorCasting[(Player number of (Owner of (Casting unit)))]))))) of (Position of TerrorCasting[(Player number of (Owner of (Casting unit)))]) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True
      [COLOR="Red"]Wait 10.00 seconds[/COLOR]
      Set TerroredUnits[(Player number of (Owner of (Casting unit)))] = (Units in (Playable map area) matching ((Matching unit) Equal to No unit))

Why should wait 10 seconds?
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Was it?

EDIT: Oh wait.. tested it again, it was ;)

EDIT2: mr-death, have you noticed it yet? When you "bowl" a target enemy into the corner, and you kill it (still having the "smoke" effect) the smoke effect is still attached to the corpse. Try it, fix it!
 

mr-death

Acolyte
Reaction score
51
Was it?

EDIT: Oh wait.. tested it again, it was ;)

EDIT2: mr-death, have you noticed it yet? When you "bowl" a target enemy into the corner, and you kill it (still having the "smoke" effect) the smoke effect is still attached to the corpse. Try it, fix it!

thanks ryuu, i'll exactly fix it now

Edit: Okay it's Fixed, DL from the first post
 

mr-death

Acolyte
Reaction score
51
Have just uploaded this

Chop and Pull Screenshot Edit: moved to #1 Post

I will add again the images on this post later
 

Sim

Forum Administrator
Staff member
Reaction score
534
Your spells leak horribly. As soon as the game started I had horrible lag. And when I call it horrible, it is. I couldn't even play, and eventually Warcraft 3 closed down.

Problem is, I didn't even cast one spell.

> Set Knockbacktarget[(Integer A)] = No unit

You don't need to null global variables.

I'll count the leaks...

Every 0.04 seconds: 144 + (((number of units in knockbackedunits) * 12) * 2 * 2)

Every 0.50 seconds: 12 * number of units in TerroredUnits * 5

Say every group contains 4 units, there are a total of:

336 leaks every 0.04 seconds.
240 leaks every 0.50 seconds.

Bad...

Spell Submission Rules said:
Spells with memory leaks will not be approved.

:rolleyes:
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Probably just your computer.

Works 99% for me, with that 1% being the bug I found.
 

mr-death

Acolyte
Reaction score
51
Your spells leak horribly. As soon as the game started I had horrible lag. And when I call it horrible, it is. I couldn't even play, and eventually Warcraft 3 closed down.

Problem is, I didn't even cast one spell.

> Set Knockbacktarget[(Integer A)] = No unit

You don't need to null global variables.

I'll count the leaks...

Every 0.04 seconds: 144 + (((number of units in knockbackedunits) * 12) * 2 * 2)

Every 0.50 seconds: 12 * number of units in TerroredUnits * 5

Say every group contains 4 units, there are a total of:

336 leaks every 0.04 seconds.
240 leaks every 0.50 seconds.

Bad...



:rolleyes:

Can you give me the leak source, just the actions that make it leaks.

I thought the lag comes from the number of unit in the Test Map.

Edit: Oh I see, the points are sure leaking! I will edit again! Thanks Daxtreme!
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Is it just me, or is everyone suddenly talking about leaks these days?
_________________________________________________________________

mr-death, to be serious, it really works perfectly for me. No lags exist in it, nor can I see any leaks (unless I blind :nuts: ). Overall, I'll give you a 9.89/10.00 :cool:
 

mr-death

Acolyte
Reaction score
51
Is it just me, or is everyone suddenly talking about leaks these days?
_________________________________________________________________

mr-death, to be serious, it really works perfectly for me. No lags exist in it, nor can I see any leaks (unless I blind :nuts: ). Overall, I'll give you a 9.89/10.00 :cool:

Ryuu, you must respect others computer, not all comp in this world is same as yours, even I felt the lag :p

Anyway I have uploaded again the newer version on the #1 post which is lot less lag.

I need Daxtreme to check on it again later.

:rolleyes:
 

Ryuu

I am back with Chocolate (:
Reaction score
64
> Ryuu, you must respect others computer

I do, I just felt something was.. well, wierd.

> not all comp in this world is same as yours

Just for your information (no offends), my Computer Processing Unit is 'laggy'.
 

mr-death

Acolyte
Reaction score
51
> Ryuu, you must respect others computer

I do, I just felt something was.. well, wierd.

> not all comp in this world is same as yours

Just for your information (no offends), my Computer Processing Unit is 'laggy'.

Ryuu, how about DL the newest one on the #1 post, it's lot less lag :cool:
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
Leaks are not 100% = lags...Some spell seems lagness but there are leaks exist...and that spell are not going to be approved...
So just dont compare lag with leaks..
_____________________________________________________________
Poisition of unit and unit groups leaks...set them to variable then destroy them after they are not using..
 

mr-death

Acolyte
Reaction score
51
Leaks are not 100% = lags...Some spell seems lagness but there are leaks exist...and that spell are not going to be approved...
So just dont compare lag with leaks..
_____________________________________________________________
Poisition of unit and unit groups leaks...set them to variable then destroy them after they are not using..

I've set them into variables, but haven't destroyed them :banghead: what a shame.

Hey Gals, how to destroy Positions (points) variables
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Try with

Code:
Custom script:   call RemoveLocation(udg_[Variable])
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top