Search results

  1. Magentix

    How to prevent recursiveness in a tree

    Simple situation: - Object A, B and C have an ID, some properties and a 'parent' property - C has B as a parent, B has A as a parent and all is well in the application's kingdom - In comes the evil witch who cast a vile spell making A have C as a parent - Horror ensues Or, in regular English...
  2. Magentix

    mod_rewrite issues

    Basically I have these URLs: domain.com domain.com/directoryA domain.com/directoryB domain.com/directoryC and I want domain.com to be redirected to domain.com/directoryA yet directoryA, directoryB and directoryC should still be accessible directly. I know how to redirect a directory...
  3. Magentix

    [SQL snippet] Select from tableOne if not in tableTwo

    I just had a hard time figuring this SQL commando out and it might prove useful for others that encounter the problem in the future... What it does: Take unique values from fieldName of tableOne that don't exist in fieldName of tableTwo Sounds simple eh? Well check this out: SELECT...
  4. Magentix

    System jBoard - Advanced Multiboard System

    jBoard Combines the power of jQuery (webdesign) into vJASS multiboards. The manual is quite clear, give it a look: //============================================================================== // jBoard -- ADVANCED MULTIBOARD SYSTEM BY MAGENTIX -- v1.2...
  5. Magentix

    Discussion Nesting textmacroes

    Suppose this: I want a user to be able to create a set of structs with a textmacro. But inside the struct, there's a ton of functions that could use textmacroing as well. Ergo: Nesting textmacroes would be the obvious solution, too bad it isn't allowed, though... Example: //...
  6. Magentix

    Arrays in interfaces?

    Is there any way to do this? interface I integer array i endinterface struct HasFiveInts extends I integer array i[5] endstruct struct HasSevenHundredInts extends I integer array i[700] endstruct My structs have arrays but I need to get a method in the interface...
  7. Magentix

    Very wierd bug

    If I call ShowInterface(false,0), wait two seconds and then use ShowInterface(true,0): My units no longer have 3D portraits to select them with (the thingy next to attack stats/hero stats/etc) If I make the interface reappear with ShowInterface(true,0.01), however, the portraits are there...
  8. Magentix

    Stupid leak question

    I forgot and can't find it using search... Do you need to null players? I always do, but I'm wondering if I could omit it...
  9. Magentix

    Native hashtable leaks? + Unit Attachment

    Just a question that popped in my mind: If you can store a unit's HandleId in a hashtable and you can also store a unit in a hashtable... what happens when the unit dies and you didn't have a trigger to "clean up" after unit death? Does the hashtable get eventually cluttered like that with...
  10. Magentix

    Boolexpr leak?

    Have a look at this BJ: function GetUnitsInRangeOfLocMatching takes real radius, location whichLocation, boolexpr filter returns group local group g = CreateGroup() call GroupEnumUnitsInRangeOfLoc(g, whichLocation, radius, filter) call DestroyBoolExpr(filter) return g...
  11. Magentix

    [javacript] IE won't allow object manipulation within sort method

    Hey guys, I've encountered a rather annoying problem with IE7 (and 6/8?) I'm trying to sort an array of objects, but after swapping their places in the array, I want to let the objects have some parameters of their "old place". In the example below, I want to have 3 names called out: A, B and...
  12. Magentix

    Absolute div incorrectly inherits width

    EDIT: Solution found, it's "white-space: nowrap;" in CSS All right, I ran into a CSS problem that's been bugging me endlessly. Basically, whenever I place an absolute div, I expect it to take on the width of whatever I type in there. This works fine in most of the cases, but it seems that...
  13. Magentix

    Javascript keeps returning undefined when trying to access divs through DOM

    Ok, after hours of trying to fix this, I just can't seem to get this to work... The problem lies in the nav_setPops function where I try to set the onmouseover and onmouseout of every div that has the class "nav_link". I do not wish to use inline onmouseover and onmouseout to keep my HTML...
  14. Magentix

    New PC -> RAM broken?

    Hey, I just bought a new PC and it's already giving me trouble.. Specs: OS - Vista Home Premium 64bit SP1 CPU - Intel E8500 Mobo - Asus P5Q Graphics - MSI HD4850 RAM - 2x2GB 800Mhz G.Skill (4gb ddr2 800 4GBPQ CL5.0 (kit of 2)) SATA optical drive SATA HDD Now, when I first...
  15. Magentix

    General Talula Does the Hula From Hawaii, 9, gets court-ordered name change

    A judge in New Zealand fed up with parents bestowing bizarre names on their offspring has given a girl named Talula Does the Hula From Hawaii the chance to change hers. Judge Rob Murfitt has ruled that the girl, 9, become a ward of the court so her name can be changed. The girl was involved...
  16. Magentix

    "Building" a decent PC

    In succession of my previous thread, I've done some research now and I think I found what I want. Could you please rate it and help me find out whether or not I'm bottle-necking it somehow? PC type: DELL VostroTM 200ST (Pre-built, with some changes) Intel® Core™2 Duo E7200 processor...
  17. Magentix

    Snippet Weather IDs

    Analogue to Cohadar's Order IDs (OIDs): No further explanation required I guess //============================================================================== // WIDs -- WeatherIDs by Magentix -- v1.0 //============================================================================== // //...
  18. Magentix

    JASS: Method Interfaces: The Basics & Type IDs

    0. Index Foreword General Agreements The Interface Definition Example of use: Making a marble roll Set up The Method Interface Definition Example of use: Expanding the marble Set up Type IDs Definition Example of use: A bag of marbles Set up Advanced Cases 1. Foreword This tutorial is...
  19. Magentix

    Stacking fade filters?

    Like the topic title states: Is it possible to stack fade filters, I've designed some small icons that will appear in the top left of your screen based on some conditions. However: If you can't stack fade filters, it kinda ruins the point of having multiple icons... So: is there a way...
  20. Magentix

    Filling the gaps in an array

    I got this function, but I'm pretty sure that there's a way more efficient and OP limit-friendly version of it... private function SortUnitArray takes nothing returns nothing local integer i=1 local integer gap=0 local integer goodUnits=0 loop exitwhen gap...
Top