Search results

  1. ZakkWylde-

    Better/cleaner way to do this "turning while sliding" trigger?

    3 questions: 1. The subject of this: is there a better way to do this? 2. Is there a chance that call PauseUnit( slider, true ) call IssueImmediateOrder( slider, "stop" ) call PauseUnit( slider, false ) would cause an order from a player (like use Divine Shield) to be...
  2. ZakkWylde-

    Leaking? [just read something that put doubts in my mind about this function]

    1. If I call this function 5 times, with numPatrols at a constant value: function MakeSpinUnit takes integer numPatrols, rect r returns nothing //removed integer v local integer yi local real x = GetRectCenterX(r) local real y = GetRectCenterY(r) local integer v local...
  3. ZakkWylde-

    Map Lag on Unit Death -- code poorly written/leaking ?

    So it appears that whenever someone dies, there is this annoying map lag from which everyone suffers. Here is the relevant code: This is the sliding/Terrain Kill trigger that determines a unit should die: cope Sliding initializer Init private function SlidingCond takes nothing returns...
  4. ZakkWylde-

    Warcraft crashing upon choosing specific map...?

    Hey everyone. This is really frustrating. I just recently went through my map to optimize some of the code in it, and now: Whenever I try to CHOOSE it (this is BEFORE playing it), instead of going to the game lobby, I get a fatal error. What could this have to do with? Thanks Zakk
  5. ZakkWylde-

    Is this leaking?

    Is this leaking? if so, where? scope Sliding initializer Init private function SlidingCond takes nothing returns boolean return (GetUnitTypeId(GetFilterUnit()) == 'E000')// or GetUnitTypeId(GetFilterUnit()) == 'E001')//the unit rawcode endfunction private function Sliding takes...
  6. ZakkWylde-

    Absolutely dumbfounded...

    I converted my TFT map... The RoC terrain in the conversion (in the editor) displays just fine. The RoC terrain in game displays just fine. The RoC terrain--without TFT installed (I tested on another computer)--gets mixed up, and is randomly replaced by god knows what. In game, I have a...
  7. ZakkWylde-

    If I get an error from WC3, where can I look at it?

    I got an Error: could not load texture. Does WC3 create an error file (or whatever it is called) where I can get more specific information about the error? Thanks, Zakk
  8. ZakkWylde-

    Tool that pinpoints jass leaks?

    Can someone point me to a tool that finds leaks (as a result of coding JASS/vJass--I heard some are better for GUI...[??])? Would this tool also be able to pinpoint the leak so that it would be easy to find its cause and fix? Thanks, Zakk
  9. ZakkWylde-

    a war3x texture possibly missing?

    For importing terrain, is there a war3x texture that must be imported in addition to the actual TerrainArt for it to properly display on RoC (without war3x.mpq)? <3 Zakk
  10. ZakkWylde-

    Item IN GAME displaying (and not!?)

    here's another question to add to my slew of RoC compatibility problems In my map, I am using the "Objects\InventoryItems\CrystalShard\CrystalShard.mdx" Crystal shard model for the display when the item is on the ground (instead of the standard treasure chest/what have you). After importing...
  11. ZakkWylde-

    Name of an image/button (for importing)

    What is the name of the button image that is used when an inventory slot cannot be used? (There are default six, but if you can only use one, the other five will be "wooded" over--shown to be unusable). It looks like wood (possibly with some leafy touches)... I hope it is somewhat clear what...
  12. ZakkWylde-

    Terrain not displaying properly?

    Hello everyone. The map I am making is currently a TFT map, with some TFT only terrain, but hosting bots can host .w3x for RoC players. I imported the TFT only terrain, and I have the correct file paths for replacement, and they work just fine, both on RoC and on TFT, GIVEN THAT THE PERSON...
  13. ZakkWylde-

    Verifcation on leaking:

    First, I need to make sure that this doesn't leak (and yes I could probably combine the first two functions =P): function yA takes integer Id,real X1,real Y1,real X2,real Y2,real YH returns nothing local unit zA=CreateUnit(Player(PLAYER_NEUTRAL_AGGRESSIVE), Id, X1, Y1, YH) call...
  14. ZakkWylde-

    Disabling (or not enabling) triggers?

    set udg_is_activ_j[n] = ((GetPlayerController( Player(n) ) == MAP_CONTROL_USER and GetPlayerSlotState( Player(n) ) == PLAYER_SLOT_STATE_PLAYING) or GetPlayerController( Player(n) ) == MAP_CONTROL_COMPUTER) if udg_is_activ_j[n] then set udg_DemonHunters[n] = CreateUnit(Player(n), 'Edem'...
  15. ZakkWylde-

    Very easy/quick question:

    Does this work? Are both functions executed--bottom one first? function Trig_GroupDefine_Actions takes nothing returns nothing //stuff here! endfunction function Trig_init_slide_triggers_Actions takes nothing returns nothing set udg_check_terrain_j[0] = gg_trg_RedTerrainKill set...
  16. ZakkWylde-

    How Can I Block a Save...?

    Is it possible to BLOCK a save...? I've heard of bots being able to do it, but does anyone know how? Also, any suggestions has to how (if possible) one may accomplish this using script? ... I am having a very difficult time locating this information if it exists...(lol) :D
  17. ZakkWylde-

    How can I crash only one person's WC3?

    This is kind of an extension of another thread... So I can crash everyone in the game's Warcraft by running an infinite loop that calls itself... Can I run that infinite loop for only one person?... If not, is there another method I could use to crash a person's WC3?
  18. ZakkWylde-

    Map lagging? (Over time...zzzz)

    Every second, this function creates and orders 2-6 troll headhunters... function yU takes integer Id,real X1,real Y1,real X2,real Y2,real YH returns nothing local unit zH=CreateUnit(Player(PLAYER_NEUTRAL_AGGRESSIVE), Id, X1, Y1, YH) call IssuePointOrderById(zH,851986,X2,Y2)...
  19. ZakkWylde-

    GetSavingPlayer() of sorts...

    Is there a native or BJ to go along with the event -- Game is about to saved -- (in JASS) such that it'll alert the players in the game that the game is about to be saved by : <PlayerName> (or defeat the player (and that player ONLY) trying to save the game)? Currently, I just have something...
  20. ZakkWylde-

    Too many repeated timer events?!?

    So I got the entangle effect to work when a hero walks or slides on the vines... here is the initializer: function InitTrig_RedTerrainKill takes nothing returns nothing set gg_trg_RedTerrainKill = CreateTrigger( ) call TriggerRegisterTimerEvent(gg_trg_RedTerrainKill, 0.1, true)...
Top