O
Reaction score
93

Profile posts Latest activity Postings About

  • Waits should be banned. Forever. But, if you want to transfer data with timers, use Key Timers 2.

    JASS:
    //Untested:
     library loltimers initializer onInit requires KT
        globals
        endglobals
        struct Data
            integer key
            private static method create takes nothing returns thistype 
                local thistype this=thistype.create()
                return this
        endstruct
        private function callback takes nothing returns boolean
            local Data data=KT_GetData()
            call BJDebugMsg(I2S(data.key))
            // Shows you 0 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile    :)" data-shortname=":)" />
            return true
        endfunction
        private function onInit takes nothing returns nothing
            local Data data=Data.create()
            set data.key=0
            call KT_StoreData(3.00,data,function callback)
        endfunction
     endlibrary
    Yeah, be careful though, if you're using waits, I think it can bug, not sure. You can also use [LJASS]GetHandleId(GetExpritingTimer())[/LJASS] or something similar to that to achieve MUI struct storage.
  • Loading…
  • Loading…
  • Loading…
General chit-chat
Help Users
  • vypur85 vypur85:
    Hey all! Hope everyone is doing fine!
    +2
  • jonas jonas:
    Hi Vypur, how are you doing?
  • vypur85 vypur85:
    Hey hey all's good here. Last year I dropped a message saying I'll be moving to China for a new job. Here I am in China now for the padt year!
    +1
  • vypur85 vypur85:
    Past*
  • vypur85 vypur85:
    Missing this place much. Wish that WE is still a thing now, just like the past when everything was so active.
  • The Helper The Helper:
    Are you in Taiwan or Mainland China?
  • vypur85 vypur85:
    I'm in Mainland. At Wuhan. The place where all shit began...
  • vypur85 vypur85:
    Lol. After one whole year here, I learnt a few good and bad things about China.
  • vypur85 vypur85:
    Everything you do is pretty much observed. There are eyes everywhere... They can even read your Wechat texts if they want to...
  • vypur85 vypur85:
    But it's pretty much safe here. Walking alone in the middle of the night in weird dark alleys is completely safe...
  • The Helper The Helper:
    that is cool
  • The Helper The Helper:
    at least its safe
  • jonas jonas:
    Haha, I remember taking a taxi in Beijing last year and the cabbie lectured me about how safe China is compared to America, then he made a gun with his fingers and pretended to shoot in the air while making "pew pew" sounds
  • jonas jonas:
    I pmed you my wechat, I'm thinking about visiting wuhan this year
  • jonas jonas:
    Which company do you work for?
  • vypur85 vypur85:
    Haha yea they'd compare my country as well...
  • vypur85 vypur85:
    Hmm i don't receive any pm? Maybe I'm using my phone. Gonna check it out using my pc later.
  • vypur85 vypur85:
    I'm teaching A Levels in a school in Wuhan.
  • jonas jonas:
    You should see a "private conversations" tab in the chatbox, that's where I sent it to you
    +1
  • jonas jonas:
    Wow
  • jonas jonas:
    Is the school system in your country similar to Chinese school system? I could never imagine being a teacher in a Chinese school, what's expected of students and teachers is just so different from what I'd be looking for as a teacher
  • vypur85 vypur85:
    A Levels is based on the UK syllabus offered internationally. So the syllabus is similar throughout different countries, taught in english.
  • vypur85 vypur85:
    I can't speak or write or read much chinese... Too difficult....... Which also makes my life here in china a lil difficult.
  • jonas jonas:
    Oh, I see. I thought Chinese version of A-levels :D

    The Helper Discord

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top