1. Head to the 33rd Modeling Contest Poll and drink to your heart's desire.
    Dismiss Notice
  2. Choose your means of doom in the 17th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A slave to two rhythms, the 22nd Terraining Contest is here.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  5. The die is cast - the 6th Melee Mapping Contest results have been announced. Onward to the Hive Cup!
    Dismiss Notice
  6. The glory of the 20th Icon Contest is yours for the taking!
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Advanced] I need a help with my map Forest Hero Defense.

Discussion in 'World Editor Help Zone' started by Narg666, Sep 2, 2010.

  1. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Hello everyone... I need a help with my map...

    Sometimes ONLY WHILE PLAYING ONLINE AND ONLY WITH SOME HEROES, my players get some lag, and a great trouble with locks on selection, I mean that they can't move their heroes, or cast spells, or up skills, or buy items... It really sucks... I need your help... please ! Please I'm begging!

    Its only with some heroes...
    Its only ONLINE

    Here is my map...

    Protected...

    I need to trust you first, before unprotect the map.

    http://epicwar.com/maps/147455/
     
  2. Elfangor

    Elfangor

    Joined:
    Aug 21, 2010
    Messages:
    54
    Resources:
    0
    Resources:
    0
    May i ask what are the heroes that cause the lag?
     
  3. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Yeah, you can ask anything...

    Its not exactly lag... but the player looses his control over the hero.

    Well, I don't know exactly wich heroes, but I know some of them and a pattern...

    Heroes that I'm sure that they cause it are:

    Winter Ranger
    Lord of Salem
    Windrunner
    Knight
    Dagoon
    Pit Lord
    Warrior

    and some others...

    The pattern I guess is all heroes that have a spell with every 0.03, or 0.02 seconds interval...

    I CLEANED ALL THE LEAKS

    ALL

    Trigger Leak (Destroy triggers that are used only once)
    Location Leak
    Unit Leak
    Local Leak
    Group Leak
    Force Leak
    all leaks that I know!!

    I really need help!

    Thank you all.
     
  4. Elfangor

    Elfangor

    Joined:
    Aug 21, 2010
    Messages:
    54
    Resources:
    0
    Resources:
    0
    It only happens when playing multiplayer?
     
  5. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Yes, only online multiplayer!
     
  6. Elfangor

    Elfangor

    Joined:
    Aug 21, 2010
    Messages:
    54
    Resources:
    0
    Resources:
    0
    hmm i just tried it online. used the hero Knight. something seemed to happen when i reach lvl 3 and was trying to learn the next skill, the buttons became unclickable. But that was solved when i bought a recipe item. Can i have an unprotected version of the map to have a look?
     
  7. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Yeah, do whatever you need to help me... please

    I will give you credits if you got the problem fixed!
     
  8. Elfangor

    Elfangor

    Joined:
    Aug 21, 2010
    Messages:
    54
    Resources:
    0
    Resources:
    0
    lol the map is kinda, you know, protected.
     
  9. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    yeah, it is... I have the unprotected map... Do you have msn or something ?
     
  10. Elfangor

    Elfangor

    Joined:
    Aug 21, 2010
    Messages:
    54
    Resources:
    0
    Resources:
    0
    erm yea i'll pm u my email. just send it over through hotmail.
     
  11. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Yeah, I did it! Check your e-mail!
     
  12. Elfangor

    Elfangor

    Joined:
    Aug 21, 2010
    Messages:
    54
    Resources:
    0
    Resources:
    0
    Oops i can only do GUI lols. I'm not exactly JASS literate but i think it's probably something about the spells that use JASS triggering that's causing the control problem. Oh and one more thing, there was this item that was in quite a lot of recipes but not in any shops - Iron Helmet. Maybe you forgot to add it in? And don't worry i've deleted your map from my computer.
     
  13. D4RK_G4ND4LF

    D4RK_G4ND4LF

    Joined:
    Feb 4, 2009
    Messages:
    1,196
    Resources:
    20
    Models:
    3
    Spells:
    15
    Tutorials:
    2
    Resources:
    20
    could you tell us the affected heroes' spell names so we don't have to check all triggers?

    edit:
    you really should give us the code (rightclick the triggers and choose "copy as text" and then paste them here between [GUI ] [/GUI ] or [JASS ] [/JASS ] code tags if its JASS here)

    generall things you should avoid:
    allocation of local arrays (do you really need 8192 variables?)
    stuff with selections cause it requires synchronization
    moving units with the GUI function (better use a line of custom script with SetUnitX or Y and use coordinates instead of locations)
    waits since they require sync stuff as well(use timers or some periodic stuff instead)
    and if you are using custom script and local groups already just use the jass native functions for enumerations since they are way faster
    0.03 is fast enough btw
     
    Last edited: Sep 2, 2010
  14. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Yeah, I know about the weakness of the protections... but I don't think that someone will really stole the map credits, and I have a forum for my map... So I don't need to worry a LOT...

    Well...

    I don't understand anything about vJass, only about the classic Jass, as you see...

    If you can give me some hints... I will be pleased...

    Knight - Cursed Sword
    Dagoon - Spit Ácid
    Windrunner - Tornado
    Lord of Salem - Only the ultimate don't cause lag
    Pit Lord - Hell Meteor
    Grotesque - Meat Hook
    Winter Ranger - Freezing Arrow
    Satyr Trickster - Hook
    Sorceress - Burst

    I guess is only spells of this kind... spells that move something each 0.02 or 0.03 seconds.

    Thank you for your help.
     
  15. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Someone can help me?
     
  16. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Someone more?
     
  17. Assassins-Creed

    Assassins-Creed

    Joined:
    Aug 6, 2009
    Messages:
    663
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Can you private message me the unprotected version of the map? (use the attached files thing browse for it on your computer and upload it)
     
  18. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Yes... I'll do it! PM me your e-mail please.
     
  19. Assassins-Creed

    Assassins-Creed

    Joined:
    Aug 6, 2009
    Messages:
    663
    Resources:
    1
    Maps:
    1
    Resources:
    1
    You can just PM it through the hive.
    -Ignore my last statement- (starts PMing)
     
  20. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    I don't know how, srry! I sent by e-mail, accept please!