• 🏆 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!
Anachron
Reaction score
374

Profile posts Latest activity Postings Experience Albums Resources About Medals

  • Well things seem to looking good for you, i am glad :)
    Last time we spoke was quite a long time ago, and i think i told you then everything will come into place.

    I don't think you should worry yourself about the problems you speak of, i know it has to be said but i think worrying about so many problems isn't healthy.
    Enjoy life as it is, one day at a time. This is how i see the world now.
    Hey bro. I just wanted to give you a heads up that the site is converted to unicode.
    So instead of actually listening and responding to the points I made in the thread, you absolutely ignored them and then called me ignorant for not believing.

    I called you batshit insane you looking batshit insane. So far there isn't a single piece of solid evidence to actually support your claim. Please READ AND RESPOND TO MY POINTS, then maybe I'll treat your thread seriously. If you want a discussion, then discuss everything, not only things agreeing with your topic.
    Hi dude :) I haven't forgotten about the inventory interface, but i have no time between university, trainings and etc. I will try to work quick on the interface when i get time :)
    Just a notice :p
    Wondering .. is it common that people write at their own visitor page to answer some post from someone else? I've seen that many time now ^^

    Well as I said, I solved the dummy moving problem I had and I just wanna say what was wrong (you don't mind it anyway ._.):

    That was what I used all the time:

    set .f = bj_DEGTORAD * Atan2(.y - GetUnitY(.caster),.x - GetUnitX(.caster))
    set .dummy = CreateUnit(GetOwningPlayer(.caster),DUMMY_ID,GetUnitX(.caster),GetUnitY(.caster),.f)

    // and for the move I did that:
    local real x = GetUnitX(.dummy)
    local real y = GetUnitY(.dummy)
    local real dx = .x - x
    local real dy = .y - y

    if dx * dx + dy * dy > 100 then // speed * speed \\
    set x = x + 10. * Cos(.f)
    set y = y + 10. * Sin(.f)
    call SetUnitX(.dummy,x)
    call SetUnitY(.dummy,y)

    So as you see my first mistake was using bj_DEGTORAD instead bj_RADTODEG. After I changed it the facing thing worked all the time, but the movement doesn't and I know now why, because Cos() and Sin() takes radians and I converted them to degrees and this messed up everything. Now I use it like this:


    set .f = Atan2(.y - GetUnitY(.caster),.x - GetUnitX(.caster))
    set .dummy = CreateUnit(GetOwningPlayer(.caster),DUMMY_ID,GetUnitX(.caster),GetUnitY(.caster),.f * bj_RADTODEG)

    // and for the move I did that:
    local real x = GetUnitX(.dummy)
    local real y = GetUnitY(.dummy)
    local real dx = .x - x
    local real dy = .y - y

    if dx * dx + dy * dy > 100 then // speed * speed \\
    set x = x + 10. * Cos(.f)
    set y = y + 10. * Sin(.f)
    call SetUnitX(.dummy,x)
    call SetUnitY(.dummy,y)

    Yes I know I could delete the dx and dy local here and calculate it at once, but all in all this seems to be the easiest and fastest way for me, to make something move correctly =D
    - As I just said, if my friend (watermelon1234) comes online, he knows what to do .. and as you see, hes just a genius :eek:

    [-10 rep] Naja ich bin dann mal off für heut - gute nacht und bis später =) [/-10 rep]

    Edit: Actually curse me for asking Ralle to increase the maximum signs of visitor messages from 1000 to 14999, now I can write all the day :p
    Haha yeah I guess so. About best coders: Thanks. But sometimes I feel stupid when I can't seem to find small mistakes :(
    Ahh and since you one of the best coders here and have tons of rep, you can do this .. that explains anything :eek:
    "Current Activity: Logging In" .. isn't that contradiction, if you are offline but the Hive knows that you log in before you logged in? .. But well I just wanted to ask, how is it possible to give more then +1 rep. Like you did you gave +4 and some other +4 too :eek:
    Well, I'm sure I cannot do something as big as that system idea of yours... maybe only a few parts and it will depend on my personal needs... It won't be public if ever I finish it but I'll keep note that your idea is the one that inspired me to do it... :)
    Dude .. well I know your system is the perfect way to do it (even if I don't understand a word ..) and I know you just wanna help me but dude .. it's like you know, actually I don't want to use any other system just that my spell works better you know? If I'm not able to do it without the requirement of any other system, the spell is just not worth it -_-
    Depends what you mean:
    Reallife: Well have a free-day today, but thanks too the guys who make some road works next to the house I live, I was awake since 7 o'clock. After taking a shower and eat something, I went out needed to "refuel" my car (don't know how its called) and was damn surprised about these high prices here ._. After that I was shopping, buying food and these things and now I chill out on my couch, watching some stupid talkshows, playing some Minecraft and write a bunch of text to some people they don't even care about (...)

    About Warcraft 3, well BAH! I'm sick of that, I left coding for a while. Maybe I return because I told ma friend ap0 to make an ORPG map with me (that's still my dream ;P) maybe he want maybe he don't; but else I didn't continue the spell .. maybe I'll recode it a third time and if it doesn't work then I'll delete and forget it =D

    And how about you? How it's going now after I spamed you with dat bunch of text? =S
    DAmn I would be so happy if me and my buddy got these jobs. So random idea getting into reality phase :D
    Well AFAIK I only saved my backup thus I lost a few data from my old computer. But they hacked my old map or they based it on the opensource version which I took over before. But yeah I've been working on it a little now and then :)
    Perhaps, tho i have to finish my current obligations to some members here.
    Ofcourse i have vjass experience :>
    I don't really like the current module spamfest going on with all those implements and don't really like writing textmacroes but yes i have vjass experience.

    I am actually developing a system to generate items like Diablo 2 uses, tho it is on pause due to an exam.

    I have an medium amount of php and C# experience also :p
    Oh hey, it's good to see you around :) You propably do not know me, though I've seen your name a lot before and I know that you're a great coder, so it's nice to see that you still care about WC3.
    Dude i would love to make a UI (better interface) for your custom invetory :)
    Tell me if you like the idea
    Well i enjoy the map making process and creativity of it above all.
    Have a lot of undone stuff but i do not care.

    I had fun making it.
    So if you have fun, i would say nothing else matters imo.
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top