TriggerHappy
...
- Reaction score
- 341
JassHelper now compiles two languages;
Last edited by a moderator:
Defiantly get rep for this. Speaking of which This should require a new jasshelper compiler, or at least an update. When and where would we go to get this? Or are you still in beta stages? I don't think enough like a programmer to be any help in that regard.
It is made to be completely separated from vJass syntax. cJASS is meant to be within the JASS parts, so it should give no issues. The intended way for it to work is with //! import zinc, which should be evaluated after the cJASS phase.Ah. So Zinc won't conflict with cJass? Good for people who use it, then.
Stick to vJass or switch to cJASS.I do not like this Zinc, its syntax is complicated beyond what it should be.
I will add onInit and onDestroy for modules. What's stopping me? Well, I randomly pick what to fix or do based on my current interest, I know it is very unpredictable. In the case of those module methods I have to rework something inside the structs phase for it to work and it has been getting a little tiresome...vJass complaint: Modules still don't make sense, you can't have multiple modules that use onInit methods, which attacks their usability greatly
What's wrong with public integer Factorial(integer n).
There are heaps of bugs with vJass, and I know it. There are things that are fixable by making Zinc and other things that are only fixable by fixing the vJass bugs. Zinc is a proof of concept for a next step. A small 4 days-project to test grounds in new areas. But I won't give details right now. And honestly not really meant to replace any de-facto standard or get actually used for that matter.There are heaps of bugs with vJass that I would've reported but am unable to.
It is just that you helped hijack my friend's map... wc3c bans are forever.I'm gonna make a guess that you don't give a damn what I think, because I'm still banned.
Aha.I'm losing my taste for all this, and cJass is looking good to me.
There's no supposed to be history.exe in jasshelper.exe ouch,lol, my AVG detected the new history.exe in jasshelper as Brontok.FF. Now jasshelper also have false positive now, like newgen.
LOLThere's no supposed to be history.exe in jasshelper.exe ouch,
I got brontok ages ago when I still used windows, it is a pesky virus that creates copies of itself everywhere with the same name as folders. It took me ages to remove it completely.
It seems that since the delphi folders in my virtualbox machine are inherited from that old windows partition, it was still in one hidden folder in gold's source code.
Since I did modifications to gold's source code, I made the mistake of just copying the gold folder without verifying what was on it.
it is a virus, hehe, this is funny. Do not double click history.exe, I'll remove it ASAP..
I am that people, but I does not have interest of the history.exe. I know AVG will not let me to open it.my users were of the kind that browsed deep into folders and clicked at the first .exe they found...
struct FlyingSystem extends array
private static constant real DISTANCE = 200 * T32_PERIOD
private static method AIDS_filter takes unit u returns boolean
return IsUnitType(u,UNIT_TYPE_FLYING)
endmethod
//! runtextmacro AIDS()
private method periodic takes nothing returns boolean
local real r = GetUnitFacing(this.unit) * bj_DEGTORAD
call SetUnitX(this.unit, GetUnitX(this.unit) + Cos(r) * thistype.DISTANCE)
call SetUnitY(this.unit, GetUnitY(this.unit) + Sin(r) * thistype.DISTANCE)
return GetWidgetLife(this.unit)<=0.405 // Ever tried resurrecting a flying unit?
endmethod
implement T32
private method AIDS_onCreate takes nothing returns nothing
call this.startPeriodic()
endmethod
endstruct
struct KK
static method create takes nothing returns thistype
return thistype(3)
endmethod
method destroy takes nothing returns nothing
call BJDebugMsg(I2S(this))
endmethod
endstruct
function Trig_NewFeature2_Actions takes nothing returns nothing
call KK.create().destroy()
call KK.create().destroy()
call KK(77).destroy()
endfunction
//===========================================================================
function InitTrig_NewFeature2 takes nothing returns nothing
set gg_trg_NewFeature2 = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_NewFeature2, 1.00 )
call TriggerAddAction( gg_trg_NewFeature2, function Trig_NewFeature2_Actions )
endfunction