• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
Almia
Reaction score
297

Profile posts Latest activity Postings Experience Albums Resources About Medals

  • Don't judge me but I'm not good with JASS; I searched the lists you gave me and all I saw that were related to the substring/string problem I was having was:

    //============================================================================

    // String Utility API

    native I2R takes integer i returns real

    native R2I takes real r returns integer

    native I2S takes integer i returns string

    native R2S takes real r returns string

    native R2SW takes real r, integer width, integer precision returns string

    native S2I takes string s returns integer

    native S2R takes string s returns real

    native GetHandleId takes handle h returns integer

    native SubString takes string source, integer start, integer end returns string

    native StringLength takes string s returns integer

    native StringCase takes string source, boolean upper returns string

    native StringHash takes string s returns integer



    native GetLocalizedString takes string source returns string

    native GetLocalizedHotkey takes string source returns integer

    But I don't know what native I should use to solve the problem.. Also, what is Integer Width and Integer precision? And if native StringHash takes string s returns integer, doesn't it have the same function as S2I?
    I have a Rep Bazooka, ready to destory your cannon :p





    FIRE!!!!!! BOOOOOOOOMMMMMMMMM!!!!!!
    How? I tried using JASSCraft to find it but when I searched the natvie functions list with the word "Substring", the result was the function SubString... so then how do I do it? Can you help me?
    Oh sorry... I didn't know what (I do now). Since GUI actions come from JASS, is it possible to do in JASS?
    Hey Almia is it possible to make this in JASS or GUI?

    If Substring(StringVar, 8, (Integer A)) an Integer Then...

    ?
    Space tile from Solar Conquest, I don't know who made it, maybe from Eleandor or someone unknown. Not submitted as a resource because a different Space tile is already submitted which is outland based. They are quite similar.
    Yeah, I'm pretty sure of that, but I like the DotCA map, it has some sensation :)

    I have to say that most people only make their crap DotA from the template (I found one at The Helper Net).
    But make sure t can detect the heroes THAT BELONGS TO PLAYER 1 and also if theyre dead or alive. 4 Heroes maximum in Multiboard and can detect their level.
    Polymorphism is a part of Object Oriented Programming (OOP)
    its the ability to treat object in the same way as another object (using Inheritence) but it allows those objects to preform that function in different ways.

    A piece of code is worth a million words

    ##note this is just example code, it isn't designed to work, it needs some init stuff to actually be useful.
    class shape:
    def area(): pass
    def contains(p): pass

    class rectangle(shape):
    def area():
    return height*width
    def contains(p):
    return (p.x >= center.x-width/2 or p.x <= center.x+width/2) and (forY)

    class Circle(shape):
    def area():
    return Pi*radius^2

    def contains(p):
    return distance(p,center) <= radius

    def isPointInZone(p, zone):
    """where "zone" is a shape"""
    return zone.contains(point)

    p = point(0,0)
    Circle = circle(500/*radius*/,p)
    Rectangle = rectangle( 500, 500, p)
    p2 = point(235,235)
    isPointInZone(p,Circle)
    isPointInZone(p,Rectangle)
    Ohh nice. c:
    Sounds like you have it going for you. ^_^

    Ooo, that's my expertise. c:
    Hey there, just wondering if you're working on any project or something. No specific reason just like your work :)
    Map has been Rejected, Reasons :


    Originally Posted by Orcnet
    Hello there, since the map is very/half similar to the original, it would be nice if you can give proof that the real map maker had agree to branch out his map but since he rejected it, I'm sorry to say this won't end well
    Well checked it, it seems to be made from scratch in some way (efficient jass codes, only openable by JPNG and terrain not in same position and stuff), but most features are "copied" in his own codes. His map has editor saved version 4658, while mine have 3743 so it indicates it could be used a open version of my map or its based on a different map. But a high saved editor version often indicates its been based on a different map as I doubt he have saved that much in such short amount of time from 1 unless he has no life.

    He didn't even hint that he was uploading it here, which is unacceptable to me.


    Nonetheless I don't have time to deal with this right now.
    Well, its a while ago, he asked to comap, but I rejected. I never imagined he made a identical clone of CC and upload it here. He have to change the concept, (protoss vs battlecruiser) . I think he misunderstood when I said he can try to recreate CC, uploading it on hive was never a subject.
    One Timer, One Map has been tried before.
    It's really not worth it because of all the overhead originating from the million and one TimerStart/PauseTimer calls you'll have to do.

    Consider 7000 timers with random timeouts running at once.
    TimerTools will beat your One Map, One Timer system to the ground :p
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top