#arma3_scripting

1 messages · Page 403 of 1

nocturne iron
#

Use ferstaberindes online diary entry tool

errant jasper
#

No human-readable as not script/programming. More like markdown, but simpler.

still forum
#

And yeah. If you want to do stuff on the local player. Use the intended way to do it. aka initPlayerLocal.sqf

little eagle
#

But why would you use the diary for that? It's super cumbersome.

errant jasper
#

@little eagle for what?

little eagle
#

Showing a markdown-esque text.

still forum
#

commy missunderstanding stuff

#

he is displaying text in a diary.

peak plover
#

Use ace self interaction or addaction with hintC

still forum
#

He is loading it from a markdown like file

peak plover
#

No need for diary at all

still forum
#

@peak plover WTF dude?

#

"I want a diary" "You don't need a diary"

little eagle
#

Okay, why would you show the text in the diary?

peak plover
#

Because dairy badary

errant jasper
#

I prefer not using initPlayerLocal.sqf to avoid initialization order conflicts. I only use init.sqf and manually "branch" from there.

little eagle
#

I'm just saying that all problems with the diary would disappear if one didn't use the diary.

peak plover
#

👆

still forum
#

@errant jasper So you don't want the probably fix for all your issues that multiple people recommend to you?

errant jasper
#

How is initPlayerLocal.sqf a "fix". It is basically waitUntil {local player} no?

peak plover
#

No

still forum
#

not really.. no

little eagle
#

lol

peak plover
#

waitUntil {local player} is uselss

nocturne iron
#

uses html markdown

errant jasper
#

From the initialization order, it is clear that init.sqf is run after initPlayerLocal, so how would running stuff earlier make it work?

still forum
#

@errant jasper Just try the things recommended to you first and see if that fixes it. If not we can go further. Start with the easiest thing

errant jasper
#

I will try to what you guys suggest if I do not get it to work otherwise. But I think the reason is pretty clear. I neither run the server, nor am creating the mission, I just script for it. I unpacked the mission from the mpmissioncache from last nights session, and behold, the files were old.

#

So the guy making mission running the show, forgot to use the files I sent him.

tame portal
#

@errant jasper That explains alot

stable wave
#

how to remove the thermal vision of laser designators?

austere granite
limber rune
#

hey you guys know A3PL's admin spawning fire script and the script to put it out with a fire extinguisher?

peak plover
#

What's PL?

#

Arma 3 Poland?

limber rune
#

@peak plover ArmA3 Project Life

winter dune
#

😄

peak plover
#

There's a fire fighting mod

#

Probably pasta from that?

unborn ibex
#

Is there a way to make a script that lets you burn down builsings which are destroyed or left in a huge fire afterwards??

stable wave
#

is it possible to retexture guns using scripts?

limber rune
#

i dont think so

peak plover
#

With a mod, sure

limber rune
#

but he said with a script

peak plover
#

Yes it would be a script

#

That cannot be a config

#

@unborn ibex yes

#

If he ment Without mods, then the answer is most likely no

jade abyss
#

Do weapons support hiddenSelections?

#

(don't think so, but can be wrong)

cedar kindle
#

don’t think so? you can’t reference the weapon object ?

jade abyss
#

Yep, thats why

#

With Config.cpp, maybe. But that's, as Nigel said, only possible with mod (IF)

little eagle
#

I think "with a script" means "with a mission".

#

And the answer is no afaik.

#

Unless someone found something genius.

#

Like with the backpacks.

jade abyss
#

afaik not

#

We would have know it, for sure

#

e.g.: Weaponskins

little eagle
#

Yeah, the public modes would be all over this.

jade abyss
#

#

exactly

meager granite
#

What was found with backpacks?

little eagle
#

Retexture with mission.

#

Which obviously doesn't work with weapons, but when you're not used to how Arma operates, it's strange that this one can be retextured like that, and a weapon or vest and uniform can't.

meager granite
#

Was ability to retexture backpacks a secret? Its separate entity after all.

little eagle
#

What do you mean a secret? I can't remember BI ever talking about it, but I never paid much attention to mission only.

#

And uniforms and vests also have their container dummies, so they're also separate entities in a way.

meager granite
#

If only we could get proxy models as entities into variables and set their textures.

little eagle
#

Proxy compatible setObjectTexture supporting weapons.

#

But even that is shit compared to what could be. Referencing all items by ids or as entities.

jade abyss
#

That was a planned thing, iirc :/

little eagle
#

It kinda exists for mag ids.

tough abyss
#

does removeWeaponTurret also remove all magazines that turret had?

#

and thats a negative :/

little eagle
#

Question is if it removed the currently loaded one.

tough abyss
#

it should do that. but i mean if the turret is no longer a part of the vehicle all valid magazines for that should also be removed since what are you going to shoot them with

#

but maybe cause interchangable turrets having same mags

little eagle
#

You don't remove the turret. You remove a weapon from the turret.

tough abyss
#

WeaponTurerr that’s what I meant

little eagle
#

?

tough abyss
#

I mean that it removes the weapon from the turret

#

Like you said

little eagle
#

Yeah. "Turerr" tho 💦

tough abyss
#

iPhone autocorrect remembers incorrect spellings 😢

little eagle
#

Auto"correct".

jade abyss
#

Korrekt!

little eagle
#

Autoattempt.

still forum
#

yes

jade abyss
#

Jawoll

compact maple
#

Hello everyone, quick question, if i want a player to execute just ONCE an action per reboot, how should i proceed

austere granite
#

@compact maple reboot as in respawn, connection to server or game restart? 😄

#

connection to server, keep a var in missionNamespace

compact maple
#

server restart

austere granite
#

ah server restart, hm probably keep a variable onthe server then 😄

compact maple
#

I mean,
X player do an action.
X player disconnect.
X player come back immediatly.
X player try to do the same action but he cant cause i dont want it

peak plover
#

restart too?

#

serve?

compact maple
#

After the reboot, he can do it once

#

then he has to wait the reboot of the server to do ti again

lone glade
#

use server time

peak plover
#

impossible 🤥

lone glade
#

nah, it is

#

there's just so many edge case it's gonna be a PITA

compact maple
#

or maybe i can put a persistent variable on a player ? even if hes disconnect ?

lone glade
#

no

peak plover
#

Save player uid on an array onthe server

dusk sage
#

Or just use his UID

peak plover
#

check the uid when trying to action

dusk sage
#

^^

compact maple
#

good idea

#

thanks

peak plover
#

I've not worked with DB, but do the DB have functionality to save the current date?

lone glade
#

that's the entire point of it
oh wait, DATE, not DATA

still forum
#

Depends on what DB.

#

There isn't just one DB you know?

#

Or do you mean DB as in Double Bingo? I don't think that can save anything

#

Or the Double Bollocks DB?

#

Or Dingo Bum?

dusk sage
#

You'll struggle to find one which doesn't have the ability @peak plover

still forum
#

Or Dinkel Berg?

little eagle
#

Deutsche Bahn.

still forum
#

That one especially has problems with dates and times

little eagle
#

True. They're always on time when they say it will be late, and always late if they say they're on time.

peak plover
#

I'd like to extend 3rK's problem

#

How do you let player only do an action once irl day. During this time the server might restart multiple times

#

a database would work, but how do I get a date to the database?

still forum
#

MySQL insert CURRENT_DATE

#

other databases dunno

little eagle
#

CURRENT YEAR

peak plover
#

oKAY

#

Thanksaa

still forum
#

Or just get a extension to give you the date and use that

#

instead of trying to hack around with databases

peak plover
#

🇨 🇺 🇷 🇷 🇪 🇳 🇹 🇾 🇪 🇦 🇷

little eagle
#

That's an extension anyone can write.

#

YES.

tough abyss
#

extdb3 will also return date/times with offsets

#

but sounds like saving it in an array variable on the server. is really what you are looking for.

still forum
#

During this time the server might restart multiple times

#

So...

#

profileNamespace along with date I guess

peak plover
#

That needs a dll

still forum
#

wut?

#

What you mean?

#

extDB3?

peak plover
#

how do you date without custom dll

still forum
#

not at all

tough abyss
#

[8:25 PM] 3rK: Hello everyone, quick question, if i want a player to execute just ONCE an action per reboot, how should i proceed

#

He wanted it once per server restart, no need for profilenamespace, normal variable serverside will do the trick

#

No need for extensions either, just an array with playeruid of who did the action

peak plover
#

Yyeah, we found his fix. But now I want to know how to get a date without extensions?

still forum
#

Why do you think people made extensions just for the purpose of getting the date?

#

Because it's already possible without Extension? I don't think so

peak plover
#

So only way to do it once per 12 hours would be db or extensions

still forum
#

But database without extension also doesn't work

peak plover
#

yes

#

But I won't have to make that one from scratch

still forum
#

You also don't have to make a date extension from scratch

tough abyss
#

? what extension are using for db?

peak plover
#

not

still forum
#

KK has realtime Extension and extDB3 also has it

peak plover
#

just question too many lol

little eagle
#

Since we already have so many solutions to getting the real date into sqf, you obviously have to create your own one.

peak plover
#

I thought it was too trival of an issue

still forum
#

It is. Which is why there are already tons of solutions for it

little eagle
#

I'd welcome if this were an sqf command :/

still forum
#

.> :squirrel: <.<

native hemlock
#

While we're reinventing the wheel, you could have a batch script write it to a file and have the server loadFile it

tough abyss
#

hmm pretty sure i remember someone had rpt scanning in arma2 linux servers to implement a persistence system. pretty sure that was a thing

little eagle
#

Error like the following doesn't cause any harm regarding your addon showing up in-game:
Updating base class <class>-><class>, by <addon>\config.cpp/Cfg<something>/<class>/
Into the trash the guide goes.

lone glade
#

"ignore those 'errors', they just mean we don't know how configs work"

little eagle
#

I blame BI for the bad ui configs normalizing it by having ~40 of these themselves.

peak plover
#

Erroris in full product

#

There will probably still be errors when a4 is released

little eagle
#

Everything has errors if you dig deep enough, so no idea what you mean.

peak plover
#

aah, I don't have it right now

#

But there was a new script error in the logs

#

like functions or ui_f

#

can't remember

#

Also

#

the splendid camera

#

{BIS_fnc_camera_keys select _x} count (actionkeys _this) > 0

#

21:10:53 Error position: <select _x} count (actionkeys _this) > 0

still forum
#

splendid camera has errors? NO way!

little eagle
#

You know what would solve this?

peak plover
#

Yes

#

Resetting keys

still forum
#

Remember when you'd press forward and the game would crash?

peak plover
#

I had a joystick key mapped to something that's used in slpendid

#

@little eagle hold shift so it does not close so you can fasster

#

But yeah

#

param would fixed that porlly

lone glade
#

member when deleting a vehicle being lifted would crash the game?

little eagle
#

Remember when closing a display in it's onLoad event would crash the game? Oh, wait.

peak plover
#

member when littebird minguns had dispersion and were fun to use?

#

Well pretty much it would be great if there were less vanilla errors and rpt errors were shunned and made into the demon they really are

little eagle
#

Alwin changed the task status from Reviewed to Acknowledged.

#

rip

peak plover
#

reviewed, deemed uselss

little eagle
#

Feb 14 2017, 6:41 PM
thanks, we will take look into this

#

rip

peak plover
#

Shoot a unit that is in a vehicle. (You MUST shoot him, otherwise this bug will not work)
Kill the unit by SHOOTING him.
Try to delete the unit. {deleteVehicle _x}count allDeadMen (Seems to work ~75% of the time)

craggy dune
#

Good Evening , we are trying to get a small firework script up and running. Sadly we do not get the sleep command right. Can someone give ahint, what we did wrong? '''for "_x" from 1 to 20 step 1 do {
[getPos (selectRandom startpositions), 'random','random'] remoteExec ["GRAD_fireworks_fnc_prepareFireworks", 2];
sleep 2;
};'''

rotund cypress
#

Nothing is wrong with that syntax.

#

Can you post whole script?

craggy dune
#
    [getPos (selectRandom startpositions), 'random','random'] remoteExec ["GRAD_fireworks_fnc_prepareFireworks", 2];
    sleep 2;
};```
#

that is the whole scrip we try to execute from the admin console

rotund cypress
#

ALso, are you sure you want to remotely execute this on server?

#

Is the GRAD_fireworks_fnc_prepareFireworks whitelisted?

craggy dune
#

yes, it is working

#

but it is "shooting" all the fireworks at once

rotund cypress
#

Make sure you are running it in a thread

#

[] spawn {for ....};

craggy dune
#

ignoring the sleep 2

still forum
#

If you don't loop will it also fire all at once?

#

remoteExec'ing that func only once?

craggy dune
#

then it will only fire once

#

it will run trough the loop, executing all 20 shots without delay

#
    for "_x" from 1 to 20 step 1 do {
        [getPos (selectRandom startpositions), 'random','random'] remoteExec ["GRAD_fireworks_fnc_prepareFireworks", 2];
        sleep 2;
    };
};```
#

That really did it

#

now it is working as intended

#

thanks for the quick help

still forum
#

Shouldn't trying to sleep in unscheduled cause a script error and abort the script? instead of running the whole loop at once?

craggy dune
#

from expirence i can tell you: it is running the whole loop at once . . .

still forum
#

You had a couple dozen jobs BI.. A couple dozen!

#

(I'd say "you had ONE job" but BI screwed up way more than one.)

peak plover
#

Well

#

1 job

#

fix the game

lone glade
#

1 job: Make arma great

#

or at least live up to my expectations 😭

zenith edge
#

the spawn puts it into scheduled enviroment doesnt it

errant jasper
#

yes it does

meager heart
#

in code above there is step 1 what for ? if default is 1

lone glade
#

to feel better about it

meager heart
#

rgr

lone glade
#

same reason he added a sleep in a for loop

peak plover
#

Loops are expensive

#

"better use sleep, because that will save it"

still forum
#

To make sure the loop runs by 1 each time and not 1.0000000001

#

Or 0x3F000000

#

I feel kinda bad for knowing that in hex

peak plover
#

How often is sleep checked?

lone glade
#

several times per frame afaik

peak plover
#

Best solution

still forum
#

slaps @lone glade with a rolled newspaper

peak plover
#

WaitUntil loop or perframe EH

lone glade
#

😭

peak plover
#

That you hook all your code into

still forum
#

Once per frame. Just like any other suspended/scheduled scheduled suspendable script that is suspended/schedulended

peak plover
#
waitUntil{
    {
        _x params ["_code",["_unscheduled",false]];
        if (_unscheduled) then {
            isNil {call _code};
        } else {
            call _code;
        };
    }forEach nig_main_scripts;
    !isNil "nig_main_loop_cancel"
}
still forum
#

But be careful not to mix that up with a scheduled unscheduled unsuspendable suspended script with a sleep

#

But with a uiSleep it would be fine

#

@peak plover don't need a nil at end of isNil

lone glade
#

can't be worse than my number that was technically a number but somehow ended up making x + n != x + n

peak plover
#

🤔

still forum
#

Euwwwww... Don't remind me of that

#

Don't even wanna

#

already have tears in my eyes just thinking about it

lone glade
#

a number that wasn't equal to itself.... I have no idea how I produced that

#

probably the worst bug I had to fix in ACE Arsenal

#

now i have to check if I documented the line that fixes it... just in case

#

yep, phew.
_maxLoad = parseNumber (_maxLoad toFixed 2); // Required to avoid an issue where even though the typename returns "SCALAR" it doesn't act as one.
10/10

still forum
#

Want me to make a fake scalar that is actually a string and code where the string doesn't even closely represent what the code does?

lone glade
#

pls, no bulli

still forum
#

gives @lone glade a boulette

grizzled spindle
#

Quick question guys whats better for performance?
For Police lights everytime they are turned on they are remoteExeced to each player and ran in a loop
Which is better?

4 while loops handling individual cars (spawned) or
1 while loop that does all the lights in one big loop

still forum
#

both make no difference

#

if your perf is shit you have 3ms per frame regardless

#

switching between multiple spawned scripts has a tiny overhead. About equivalent to having an array with one element in the script

#

so... 1 while loop is theoretically better. but doesn't really matter

#

So... Whatever is easier for you

lone glade
#

not using loops is better than optimizing one

still forum
#

And if you want the perfect answer. Use a time based animation. Which isn't a script at all

grizzled spindle
#

For lights?

still forum
#

yes?

grizzled spindle
#

How do you mean?

#

for vehicles without lights by default

lone glade
#

doesn't BI have one for the van ?

still forum
#

Make a vehicle with lights by default?

grizzled spindle
#

Im not following, For example we have police lights on our SUVs

still forum
#

Yes.

grizzled spindle
#

How would you go about doing that?

still forum
#

doing what? Making a time based animation in the model.cfg of you custom police lights model?

grizzled spindle
#

Yeah we cant do that as we dont have models, were not a modded server

still forum
#

Well then use a script.

#

As you already do

#

I didn't say you'd have to use a animation. Just said that would be the perfect way

grizzled spindle
#

Yeah I understand that I was just seeing if there was a better way. Just problem is at the moment is when your turn the lights on every single person on the map 'knows' about them

#

Thanks for the help

still forum
#

You can detect if the vehicle is in range.. But that detection requires more processing than just turning on the lights would

grizzled spindle
#

Hmm thanks

#

possibly a trigger could work with triggerattachvehicle

still forum
#

Have an array of all police vehicles and check once every minute which of them are close enough to simulate their lights

#

should work fine if you don't have teleportation

glossy maple
#

Hi ! ✌
A friend of me is making a discharge crane but when the vechicle is attachTo to the magnet the vehicle is laggy. Here's the video to understand the problem : https://plays.tv/video/5a46d29c686504bade/casse Do you know how to make this smoother? Regards

still forum
#

Read wiki

#

Okey that might be a little unfair. It's not really in a place you'd look in

glossy maple
#

was going to say that we had already read from top to bottom

still forum
#

Ah overread it

#

I even overread that part in the note while I read it searching for that

lone glade
#

probably broken sqf

still forum
#

The keyword is yank

lone glade
#

considering this is a vehicle and their update interval is fairly small it should be smooth

#

oh wait

#

it's left floating

#

inb4 it's an object, that would explain it

glossy maple
#

nah, the detach was made 1 sec after the end of the vid'

lone glade
#

then it's yank sqf

#

plus your crane is missing normal mapping

glossy maple
#

the normal map is not the question :p How can this be the sqf if it's the vehicle that yank

lone glade
#

not the vehicle, your code to move stuff around

#

objects will still look "laggy" due to their update interval anyways

#

but for vehicles it should be fine

glossy maple
#

It's a vehicle, that's the problem 😩

lone glade
#

yeah, it's your code

glossy maple
#

Wait, i'll show u

lone glade
#

I don't think i'm preparred for what i'm about to see

glossy maple
#

no, you're not

still forum
#

Or is it maybe what is written on biki about things being yanky?

lone glade
#

yeah, but it's not that terrible

#

you could use ropeCreate as dedmen described in the center

glossy maple
lone glade
#

...

#

you have sleeps everywhere in there

#

also for the love of sqf, use params

still forum
#

Holy shit what is that

#

You know you can use uppercase letters right?

glossy maple
#

it was made in console to try

#

he's not this dumb guy come on

still forum
#

Does it happen with every vehicle?`

#

or only heavy ones?

#

Have you tried if it's the ropeCreate note issue

#

Also.. Someone who doesn't use indentation nor any uppercase letters. I doubt the not dumbness

lone glade
#

the issue isn't in this code anyways

#

I don't see any ropeAttach / attachTo

#

nevermind saw it

still forum
#

attachTo line 34

glossy maple
#

The weight make no sense in attachTo

still forum
#

I'm currently guessing towards the rope

glossy maple
#

is it?

lone glade
#

no rope in there

#

it's probably an animation

still forum
#

rope is in the crane

#

this is the code attaching stuff to the cranes thingy that is attached to the rope

#

wait

glossy maple
#

the rope isn't a "rope"

still forum
#

does the crane have a rope or is it moved by animation`

lone glade
#

animation

glossy maple
#

Animation

lone glade
#

rope model can't be changed

#

so it's super easy to spot

still forum
#

Can you show me the model.cfg part of the animation

glossy maple
#

There's no createRope, only attachTo with 2 memoryPoint

lone glade
#

try to create a tiny as fuck rope between the "attached" object and magnet

#

you'll bypass the issues related to network updates

glossy maple
#

u think ? mmmmh that look weird

lone glade
#

try with a player inside the vehicle

still forum
#

you have a static (cannot move without driver) object attached to another static (also cannot move without driver, theoretically) object. So it sends very few updates which is probably why it's laggy

#

I have an Idea! Just make the crane lift slower

#

Solved!

glossy maple
#

Thx captain x)

#

He's trying with the player

still forum
#

Captain? I'm a Furry Fox Dedmen Kirby Magic Spider. Not a captain

lone glade
#

do you know what's the most intensive simulation type dedmen?

#

ropeX, they eat frames for dinner

still forum
#

I could tell you what's the most simulated simulation type

lone glade
#

thingX?

still forum
#

If my dev drive wouldn't be dead

lone glade
#

SSD ftw 😄

#

even if they die you can still read them

still forum
#

I can also still read that drive.. kinda.. theoretically.. A bit

#

Right now it goes to 100% load and then disconnects after a couple minutes

#

I need a linux magic I guess

lone glade
#

reminds me of my first external HDD ever, shipped dead

#

couldn't power it, I thought it was me having too many usb plugged in

#

nope, just dead

still forum
#

My HDD currently is connected via a connector thingy that I broke out of an external HDD enclosure after I broke the drive out of it and used it as internal drive. The drive belonging to that connector still works

lone glade
#

😄

still forum
#

The best thing on this situation is that I can finally see my GPU's RGB

lone glade
#

I turned it off, it's too annoying :/

still forum
#

I have closed side panel and blue LED fans

#

so.. I have hidden lighting that you only see when you open the side panel

lone glade
#

hahahaha

#

plus those fans are worse than normal ones due to the added LEDs

glossy maple
#

Sooooooo, sorry to cut you but with a player in it, it doesn't lag anymore.

lone glade
#

yeah

#

update rate is too low

still forum
#

On my back exhaust fan all but one LED's are dead now.

lone glade
#

exactly what I thought

still forum
#

As that's like.. 8 years old now

lone glade
#

try to create a tiny rope between the object and the magnet

glossy maple
#

he'll

still forum
#

@glossy maple player in crane or vehicle you pull up?

lone glade
#

in vehicle

still forum
#

both are vehicles :U

lone glade
#

:kappa:

glossy maple
#

Crane isn't a vehicle

lone glade
#

raises fist goddamn discord

still forum
#

Gotta get the newspaper again? 😄

glossy maple
#

kappa

still forum
#

Ouh..

#

If player in crane would work you would be fine because a crane wouldn't lift stuff by itself but...

#

ugh.. ugly

lone glade
#

now i'm not sure if the rope "fix" would work here

#

it's worth a try

still forum
#

Or maybe make the crane a physx vehicle?

lone glade
#

baer can probably go on for days about the fuckery that is vehicle ownership with ropes....

#

nah

#

it's the vehicle being attachedTo that doesn't update fast enuff

glossy maple
#

"physx" Abort mission !

still forum
#

Make a highly advanced Intercept based hack that changes the simulation interval on the fly?

lone glade
#

or abuse how ropeX fucks with them :kappa:

still forum
#

Make a ropeXXX that simulates 10 times a frame instead of once?

#

I'm bored so I'm very happy for you guys to be here and ask question stuffz

#

Everyone feel free to ask stuff!

#

Please no Life shit tho

#

Wait... We are already ... crap

lone glade
#

how 2 make monies in koth

#

pls

errant jasper
#

It's a Dedmen AMA

lone glade
#

DAMA

copper falcon
#

Oh you don't like life roleplay ?

errant jasper
#

(except life)

still forum
#

DAPA?

#

@copper falcon No one does. Except lifers

lone glade
#

I have dabbled in the life

#

out of sheer curiosity

#

and... let's say I was fascinated by how people could write such code

still forum
#

is listening carefully

lone glade
#

you wouldn't believe how little effort some servers put for such amounts of money

#

also, kids, so many kids

copper falcon
#

Depends which server

glossy maple
#

That's why we have FILLLLTEERRRRR

#

aka moderator

lone glade
#

that's why I have a unit to play with

glossy maple
#

:kappa:

still forum
#

Back when I was doing freelance stuff some guy wanted to pay me for a lotto script. I started and finished it in like half an hour. Then he asked me to implement it into their "framework" I gave up. I could make like 3x the money by just selling already detected hacks

lone glade
#

hahahahahhaha

glossy maple
#

nice one

lone glade
#

I still don't get what's the deal with those "mission making" frameworks

still forum
#

I actually didn't know that the hack was detected.. But I'm happy that that guy found out and even payed me for it

lone glade
#

just have a template with 60 units and a properly documented description.ext, poof done

#

am still salty about having to download unsung just to realize that those backpacks have no empty base class

#

12GB

#

600KB/s

glossy maple
#

God bless you

#

🙌

lone glade
#

?

glossy maple
#

"600KB/s" for 12GB

lone glade
#

yeah, takes about half a day

still forum
#

Lifer creates forum thread. He has a config error message. He already searched for hours and didn't find anything.

#

It says found " instead of , in line 69

glossy maple
#

God...

still forum
#

I look at it. Line 69.. "dab_33", "dab_34" "dab_35","dab_36"

#

Humans... Kill them.

lone glade
#

...

#

dedmen

#

the torch please

glossy maple
#

Hum... we have... dab animation on our server... Not my idea oc 😦

still forum
#

Uhhh. That's nice. If the model isn't stolen that is.

lone glade
#

it has shadows and lighting works on it

#

so i'd say maaaybe not

still forum
#

That's probably the most awesome life thing I've ever seen

glossy maple
#

it was a free model oc

lone glade
#

well whomever imported it did a good job

still forum
#

free model from a "free models" website?

lone glade
#

oh god my sides, that pickaxe

glossy maple
#

Don't look at that alganthe

still forum
#

many Lifers using stolen stuff say either it was free or they bought it. In the end they got it from someone who ripped it without telling them

glossy maple
#

Arma isn't perfect for melee weapon 😦

lone glade
#

or didn't read the licenses on them

#

"don't use for comercial purposes"

glossy maple
#

We're not like that

#

don't worry

lone glade
#

well, you put effort in your stuff

still forum
#

@glossy maple You cannot know that's the problem.

lone glade
#

so at least it's a tiiiiiny bit better

still forum
#

If a guy you pay for making a model takes a week to make a model and gives it to you. But in the end he just ripped it and did nothing for the rest of the time. How would you know

lone glade
#

i'd be very, VERY supiscious of someone shitting a model in a week

still forum
#

I made CBA model in a day

lone glade
#

clearly not the same level of complexity 😄

glossy maple
#

It's yours ?!

copper falcon
#

Yeah if for exemple we take a free 3D model in a website we can't be sure if the man who as upload is the author

glossy maple
#

lmao great job

still forum
#

huh? what's who's? 😄

lone glade
#

LESS SHARPENING PLS

glossy maple
#

MORE GLOSSY

lone glade
#

where are the shadows

#

0/10

still forum
#

Glossy enough?

glossy maple
#

no

#

MORE

#

We need more light

copper falcon
#

How download for that ?

still forum
#

Bright enough?

copper falcon
#

how many *

still forum
#

Download for what?

copper falcon
#

for this mod

still forum
#

which?

copper falcon
#

This logo in 3D

still forum
#

Not available

peak plover
#

((((3D))))

#

whoa brah

still forum
#

Gimme a minute I think I have it somewhere

#

It's called "CBA Bricks" in Editor

lone glade
#

you....

glossy maple
#

I'm going to put it on a free 3D model site right now

#

For 0.99$

still forum
#

:U

lone glade
#

wait

#

if it's free

glossy maple
#

chhhhhht

still forum
#

You might get Lego copyright problems

#

The bricks are using original Lego dimensions

lone glade
#

hahahahahaha

#

the best part is that it's actually possible

glossy maple
#

man, i'll make research for that

still forum
#

I wonder why no one is triggered by CBA being GBR instead of RGB

lone glade
#

because nobody cares 😛

austere granite
#

My triggering is reserved for people with stupid ascii names 😦

still forum
#

😧

#

How good that my name is non-ascii

austere granite
#

i know im wrong

#

but i dont know the proper name for it

lone glade
#

UTF-16, GOTCHA

still forum
#

unicode

austere granite
#

thanks base

#

bae

glossy maple
#

It's a veteran, u may respect him

#

like your father

still forum
#

Dude. I'm a fur fox. Get real

lone glade
#

I wonder if the blue would fit my snail better

#

or not

#

imho white looks better

austere granite
#

dedmen are you just larping as furry or are you actually a furry?

lone glade
#

Take a guess.

austere granite
#

well he is german, so probably he's really a furry? 😦

still forum
#

Dunno if I'm a furry. But it luks cute

lone glade
#

pls no bulli

#

y u do dis

austere granite
#

that's my line

#

btw

still forum
#

No It's @lone glade's line. I drew it onto him

austere granite
#

i want to embed 😦

still forum
#

Can we get some scripting questions to get back to topic

#

Just remembered I put noodles in the microwave 20 minutes ago.. oops

lone glade
#

"hmmmm, moist noodles"

peak plover
#

n00dles?

#

not ketogenic

#

🇨 🇺 🇷 🇷 🇪 🇳 🇹 🇾 🇪 🇦 🇷

lone glade
#

I ate a 1KG "bucket" of ice cream yesterday AMA

austere granite
#

we wuz NUTCRAZCKER AND REDMEAT EATERS AND SHITTTT

still forum
#

What kind of ice cream?

lone glade
#

vanilla

peak plover
#

@lone glade count vs forEach

still forum
#

with much milk? Or cheap air icecream?

lone glade
#

foreach

austere granite
#

apply

still forum
#

iforeach3

lone glade
#

yeah, with good amounts of milk

still forum
#

It's faster than count

peak plover
#

getout!

lone glade
#

around a 1000 calories

peak plover
#

Count fater

austere granite
#

if count is so fat, maybe it should do keto too uh

still forum
#

btw foreach could be about 40% faster if BI wouldn't check idiotic stuff at runtime that can be checked at compile time

glossy maple
#

I'm out, see ya guys and thx for the crane-magnet-power-rope-yank-3000

still forum
#

But.. Oh well

lone glade
#

replace foreach by anything else

#

still rings true

still forum
#

I'm like the worst veteran on here. Furry and Unicode crap. Right after ALLCAPS playerunknown and SNAKE_CASE T_D

#

Oh.. I forgot Dscha

austere granite
#

The furry alone will give you first place, don't worry about it

#

Well .dscha is retarded, so it's mean to bully him

#

so there's that

still forum
#

I also dunno why no one is triggered that my avatar is slightly offcenter

lone glade
#

it's not mean, it's inaproriate

peak plover
#

@lone glade

ice creame
nope

#

Sugar and milk/fat

austere granite
#

gotta embrace the unsugared icecream special stuff

#

plus nigel, aren't you gomad?

#

we ontopic noaw

peak plover
#

DEAD
Dozen Eggs A Day

still forum
#

@lone glade What's the state in france on Ice cream made from prepped sirup stuff?

lone glade
#

banned

still forum
#

NEAT

#

So all real ice cream over there?

lone glade
#

corn syrup / sugar is non existent here

peak plover
#

syrup
not honey

lone glade
#

and yes, everything is "real" sugar here

#

afaik corn based syrups are banned in the EU

#

due to the insane amounts of fructose they contain...

still forum
#

Not sure. We have lots of fake "self-made" ice cream in germany

#

Basically people just putting water/milk/air into pre-made sirup and done is the "self-made" icecream

lone glade
#

holy fuck that's slimy

#

also we have limitations on what you can call yogurt here

#

not using one of the authorized bacterias? not a yogurt

still forum
#

What do you pay for a liter of milk?

peak plover
#

Around 1 europe dollar

lone glade
#

thaat's a good question since I buy them in packs of 6

still forum
#

I think in Germany we are under 50cent now

peak plover
#

Whoa

still forum
#

Heard french people pay more for food. So wanna know something I can compare

peak plover
#

Isn't the majority of german lactrose intolerent since the immigrant crysis?

lone glade
#

trying to find muh ticket

#

fuck, didn't buy any this week 😄

still forum
#

about 70cent for a liter 1.5% fat

lone glade
#

around 0.80, 0.85€

still forum
#

So not that different at all

lone glade
#

I live near paris, so it's a bit more expensive

#

prices vary a lot between the north, south, and the "empty" regions

#

also fuck me raclettes are expensive

#

the cheese alone was around 15€ for 4 people T.T

still forum
#

😄 Have one in a box next to me. Two months ago I didn't even know what that is

#

like. a raclette grill in a box

lone glade
#

calories, lots of calories

#

and lots of yummies

#

do you know what a tartiflette is?

still forum
#

no

lone glade
#

search it and thank me later

#

properly done it's probably one of my favorite things to eat

still forum
#

Looks like Kartoffelauflauf with bacon ^^ Sadly I don't have a pan thingy to do that.. Uh.. google translate

lone glade
#

pan? A PAN?

still forum
#

baking dish?

lone glade
#

yes

#

a big one 😄

still forum
#

A glass dish thingy that you put in oven

lone glade
#

yes, those long and deep ones

#

now I wanna port CSE rations or whatever the food module was called 😄

#

we're 4, so we make about 1KG of it everytime

#

i'm surprised 3 of us are still fit and not obese as fuck....

still forum
#

I should've gone to bed 3 hours ago

nocturne iron
#

I typically pay 0.7 to 1 aud per litre of milk

#

Very cheap here

peak plover
nocturne iron
#

yes new year

#

Rename to #milk_market

rotund cypress
#

Hey guys, what would flagOwner be used for? Is it just for setting the locality of the flag to one object?

lone glade
#

unused in arma3 afaik

#

oh wait, no, some RHS vehicles do use that

#

and yes, it's for the locality of the object

rotund cypress
#

So like setOwner then

#

Also, setFlagSide does not really have any use does it?

lone glade
#

:/

#

i'd say test it, i'm not even sure RHS uses the flag commands anymore, it could also be an attachTo

nocturne iron
#

Flag works on most vanilla vehicles

#

RHS used to but they don't anymore

rotund cypress
#

Im more talking about setting flag side on a flag pole

nocturne iron
#

I don't think it works on poles

lone glade
#

considering flags are sideEmpty I doubt it

meager heart
#

flagOwner, setFlagSide all works fine

#

On flagpole setFlagSide will add action also "to take that flag"

#

what would flagOwner be used for?
It will return carrier of the flag
That is like build in CTF game mode system

unreal skiff
#

I need some help with altis life? does anyone know it kind of well?

nocturne iron
#

what sort of help?

unreal skiff
#

im having a problem with the spawn menu

meager heart
unreal skiff
#

i have ported the mission from altis to Elaine County

#

i figured i would ask in the discord, thought it might be faster

meager heart
#

yes they have discord

unreal skiff
#

oh lol

#

i didnt know that

#

thank you

#

no one is responding over there so im going to post it over here too

#

0 Error in expression < displayCtrl 38502),1,0.1,getMarkerPos (_sp select 0)] call life_fnc_setMapPosit>
23:43:00 Error position: <_sp select 0)] call life_fnc_setMapPosit>
23:43:00 Error Undefined variable in expression: _sp
23:43:00 File dialog\function\fn_spawnMenu.sqf [life_fnc_spawnMenu], line 34
23:43:00 "Past Settings Init"

meager heart
#

gl

subtle ore
#

So wait...?

#

Is that so hard to do?

unreal skiff
#

might as well post on both

#

better chance of getting help and fixing it

subtle ore
#

You're likely to get less feedback here

#

Right fully so at that

unreal skiff
#

alrighty then.

#

Cya i guess XD

subtle ore
#

Bye

limber rune
#

@everyone as anyone ever heared of a arma 3 moddder called KangaroO

subtle ore
#

@limber rune No, and the everyone tag is disabled for a reason

limber rune
#

sorry i didnt know

subtle ore
#

@limber rune Why would you want to tag every single person on this discord?

limber rune
#

to see if anyone knows him and why are you being so hostile

subtle ore
#

@limber rune No, tagging everyone in the entire server would do zero good and all the bad

limber rune
#

Dude like chill your being very hostile I'm sorry

little eagle
#

I'm the most important one here, so if I have a question, everyone else has to stop doing what they're doing and pay attention to me.

#

Also, stop being hostile to me.

meager heart
#

Yes feel free to tag 10k people any time and all will run to help you asap...

peak plover
#

@here @everyone should results in instant kickban

jade abyss
#

Starting with you? 😄

little eagle
#

Only blue names should be allowed to use them.

jade abyss
#

Oh god

#

no

#

With Discords name detection lately

#

That could end in a massacre 😂

little eagle
#

I never had problems with that FF or Chrome, Win 7 or 10.

jade abyss
#

what are you talking about?

little eagle
#

"Discord name detection" - I thought you're talking about tagging people and how it always goes wrong for some people.

jade abyss
#

So you use the BrowserVersion, instead of the DesktopClient?

little eagle
#

Yes.

jade abyss
#

urgs

lone glade
#

electron apps -> utter shite

#

i've only installed the desktop app because the web one can't use anything other than my default (wrong) audio device

dusk sage
#

Electron apps are utter shite because..?

lone glade
#

because javascript isn't fucking meant to write desktop apps

#

atom crashes when it tries to open """large files""" aka anything bigger than 5MB

jade abyss
#

🤔 I am wondering, what he is talking about

lone glade
#

who, me ?

jade abyss
#

Yeah

lone glade
#

So you use the BrowserVersion, instead of the DesktopClient?

jade abyss
#

Discord, Slack, etc -> Never crashed on me. No clue why you say "all of them are "utter shite""

lone glade
#

because electron

jade abyss
#

🤦

rotund cypress
#

🤦 electron might not be the best, but ive never had a discord crash. Atom is crashing cause its atom. VSC uses electron and never crashed on me so im not sure what you’re on about

#

@lone glade

#

Also, you say javascript isnt meant for desktop apps, yet you say it was an attempt to implement it in the first arma game 😂😂😂😂

lone glade
#

VSC is using typescript

#

i'm surprised microsoft even made VSC and typescript

#

and yes, web containers are fucking stupid
A goddamn chat app shouldn't be 140+ MB nor take that much ressources

rotund cypress
#

Are you dumb? VSC is built on Electron

lone glade
#

it's less shitty due to typescript

rotund cypress
#

🤦

nocturne iron
#

stability > filesize almost every time

lone glade
#

inb4 we get an OS made by web devs

#

OH WAIT

rotund cypress
#

ChromeOS, which is actually not bad.

#

It has its purpose

#

And it works

lone glade
#

linux distro

#

I was thinking about os.js

#

or the other abominations that were created

errant jasper
#

It's funny because the last 10 years browser engines have been trying to implement and adopt things that are natural for desktop apps. Such as being able to save files on the user's computer. Drawing graphics, canvas and now webgl, and so on.

rotund cypress
#

The internet is changing as we know it, these things will have its purpose one day.

#

All I can say about OS.JS is, must have been a fucking hazzle to write.

lone glade
#

drugs

#

lots of drugs

nocturne iron
#

tbh we're moving inexorably towards OS agnostic applications that are web based

lone glade
#

and I find that incredibly stupid

nocturne iron
#

Nah I like having all my files and most of my applications work on everything

lone glade
#

that doesn't require web based apps

little eagle
#

THIS CHANNEL IS FOR SQF/ARMA. K THX BYE.

lone glade
#

sure, it's harder and you need to learn other languages than js but some do it.

nocturne iron
#

Hahaha

lone glade
#

ROGER COMRADE COMMY, WHY ARE YOU YELLING SHIFTY?

errant jasper
#

Alright commy2. We need an OS in SQF.

little eagle
#

^ this tbh

nocturne iron
#

Buggy and behind schedule OS*

lone glade
#

that's star citizen (sarcasm implied ™)

nocturne iron
#

can't disagree

errant jasper
#

And shell scripts in this new OS will of course be pseudo C++ classes

lone glade
#

everyone knows the best os is templeOS

errant jasper
#

Well, at least one person knows for sure.

nocturne iron
#

stop please

lone glade
#

we were discussing milk prices in europe yesterday

slender halo
#

^^

lone glade
#

so at least there's some improvement, we're talking about software 😄

nocturne iron
#

I was directing it towards the action of spreading the existence of templeOS

lone glade
#

😄

nocturne iron
#

I'm fairly certain it's literal heresy

lone glade
#

those youtube videos (and the language used in them, especially his favorite insult) are gold

errant jasper
#

Didn't you parents tell you to not knock it until you try it

nocturne iron
#

true

#

Zion isn't going to code itself 🤔

lone glade
#

his words "should" feel insulting, but coming from terry it just makes me laugh

nocturne iron
#

HolyC is up there as one of the best puns I've ever witnessed

#

But to go through and actually develop it is artistry

lone glade
#

A PUN?
You must be from the CIA

nocturne iron
#

Hahaha wth

#

Holy see

lone glade
#

oh jesus

#

he has a reddit account

#

i'm about to have a brain aneurysm

nocturne iron
#

He seems like the kind of guy to only trust IRCs

lone glade
#

I have made God's temple. He tells me what to fix. He wants it perfect.

God told me 640x480 16 color. I would have stupidly done higher resolutions. Now, do you see He is supernaturally intelligent?

God says... geometry dully answering stretched smarting txt whatever result reposing changed equally realities ill gosh revolution Sri_Lanka would-be drive PURPOSE chooses infinitely comfort shamelessness poison Windus unholy talkers

#

arma isn't god certified 😄

little eagle
#

Wtf btt.

nocturne iron
#

Televangelism & C++ my friend

peak plover
#

Have you guys ever communicated arma with outside world like webpage?

#

Is it too bad for performance to run a loop that constantly checks for a variable change in DB?

lone glade
#

the community i'm part of has an "armory" system

#

you buy gear on the website and retrieve it via a GUI in game

peak plover
#

So for ex. run a function from a web page?

lone glade
#

ah, nothing like that

peak plover
#

Just read and write from DB?

lone glade
#

yes

#

I didn't make it, so I can't really go into details

dusk sage
#

It depends on how you implement it @peak plover

nocturne iron
#

Db performance etc

peak plover
#

If I want to call in a mortar strike by inserting coords on a page, is it stupid to have a
per frame loop that constantly checks for DB to see if (execute function) has something in it?

dusk sage
#

Naturally, it will affect performance, you'll just have to minimise that

peak plover
#

Okay

dusk sage
#

Yes it is

#

Because you have many frames per second

peak plover
#

What are the alternatives?

#

server only has 50

#

Obviously server only

dusk sage
#

Do you really need to check every frame

lone glade
#

event

peak plover
#

DB change event?

#

Possible?

lone glade
#

I didn't meant on the DB side

#

also, does it have to be on a webpage?

#

why can't it be an in game GUI?

peak plover
#

Just wondering about shit is all

#

Web page works on phone

#

Open phone

#

Call in airstrike

#

or tablet

#

It's like bf4 tablet commander

dusk sage
#

Just think carefully about how often you need to check for the coordinates, you don't need to check every 20ms. Remember that callExt is completely blocking, regardless of its initial context

lone glade
#

do as little callExt as possible

peak plover
#

hmm

dusk sage
#

Using something like extDB3, the communication time is small, so quick and infrequent calls will be almost negligible

peak plover
#

But are there alternatives to constant db variable check?

slender halo
#

socket

little eagle
#

Can't you write the extension in a way where it retrieves the whatever and doesn't block and just returns not ready until it's done with whatever it searches on the web?

dusk sage
#

Depends if you want speed or not

#

You could even fetch the contents of a webpage for it, but it'll be much slower

lone glade
#

you can do it without alt tabbing too

#

glorious steam browser 😄

dusk sage
#

@little eagle Yes, exDB3 has an async API. But you still need to check whether the result is ready with more calls

little eagle
#

Yeah, but that is negligible.

peak plover
#

I could probably do it without DB

slender halo
#

this nodejs extension would let you push event from web server to arma

dusk sage
#

And small results from any of the supported DBs are usually ready instantly

thorn saffron
#
    class faster_movement {
        Init = "["Man", "init", {_this setAnimSpeedCoef 1.15}] call CBA_fnc_addClassEventHandler;";
    };
};```
How to make it work properly? I want all characters to move a little bit faster, even ones that are spawned by scripts and such.
little eagle
#

Escape the quote marks?

#

This looks kinda backwards.

thorn saffron
#

no idea

little eagle
#

sec

lone glade
#

isn't animSpeedCoef for the current anim anyways ?

thorn saffron
#

it works for everything

#

tested ingame using the console

little eagle
#
class Extended_InitPost_EventHandlers {
    class CAManBase {
        class faster_movement {
            Init = "(_this select 0) setAnimSpeedCoef 1.15;";
        };
    };
};
#

InitPost, not PostInit for events for objects.

peak plover
#

DELTE THIS

little eagle
#

CAManBase not Man for people.

#

Unless you want this also for rabbits and sneks.

lone glade
#

Man also has bunnies

#

sanic sneks 😄

peak plover
#

🙀 🙀 🙀 🙀 😼

#

🇵 🇦 🇷 🇦 🇲

#

How could you commy

#

To use select in something as important as an event handler?

little eagle
#

I'm 99% sure this will not work with advanced fatigue from ACE, because adv fatigue overwrites the anim speed coef all the time.

#

Because there are like 100 soldiers in a mission, and 100 select are nothing to worry about perf wise.

peak plover
#

if ((getAnimSpeedCoef _unit) != 1) then {
    _unit setAnimSpeedCoef 1;
};
lone glade
#

param syntax takes longer to write than the select one

#

gotta optimize our time

peak plover
#

That ace 😐

little eagle
#

param [0]

#

is faster to write than

#

_this select 0

#

tho

lone glade
#

might be because of my azerty keyboard but it isn't 😦

little eagle
#

Just make a macro for param [0]

peak plover
#

should be


private _fat = _unit getVariable ["ace_customFat",(missionNamespace getVariable ["ace_customFat",1])];
if ((getAnimSpeedCoef _unit) != 1) then {
    _unit setAnimSpeedCoef _fat;
};
little eagle
#

lol

#

ace_bellySize = 120

peak plover
#

So many small parts like this should have variables in ace

little eagle
#

Make a PR.

lone glade
#

^ this

little eagle
#

*param

lone glade
#

plus if they aren't documented good luck knowing they're here

peak plover
#

I've added my own to aimcoef, jamming and dispersion

#

Makes for good customizability per mission

severe solstice
#

when i gather a helipad with nearestObjects i'll get this response.

127b65600# 1815999: helipadsquare_f.p3d REMOTE

my question now is: i expected an location like this [18444.2,18000.5,0.0000554]
so is "127b65600# 1815999" anything that i can work with?

lone glade
#

that's not a position, it's a location*

little eagle
#

getPosATL ?

peak plover
#

@lone glade CBA settings. I don't really see how they would be "HARD" to document

little eagle
severe solstice
#

but nearestObjects should give me an location isnt it?

little eagle
#

It's called "position". LOCATION is something else.

lone glade
#

locations aren't positions

severe solstice
#

k

#

true

little eagle
#

nearestObjects gives you an ARRAY of OBJECTs

#

And getPosATL gives you an PosATL ARRAY of an OBJECT.

#

Like the example you posted.

#

e.g. [18444.2,18000.5,0.0000554]

severe solstice
#

ye

#
_objPosition = getPosATL nearestObjects [player, ["HeliH"], 200];

would this work then?

little eagle
#

No.

#

You need OBJECT, not ARRAY

#

nearestObjects reports an ARRAY full of OBJECT

#

nearestObject reports one OBJECT

#

(no s)

severe solstice
#
_nObject = nearestObjects [player, ["HeliH"], 200];
_nObject = _nObject select 0;
_objPosition = getPosATL _nObject ;
little eagle
#

Sure.

severe solstice
#

like that?

little eagle
#

Though nearestObjects could report an empty array.

#

And then _nObject is undefined.

#

In case there is no helipad there.

severe solstice
#
_nObject = nearestObjects [player, ["HeliH"], 200];
if(_nObject != undefined) then {
_nObject = _nObject select 0;
_objPosition = getPosATL _nObject ;
}
lone glade
#

undefined doesn't exist

severe solstice
#

how do i check on undefined then

lone glade
#

!= or isEqualTo depending on the type and the need for case sensitivity

little eagle
#
private _nObject = nearestObjects [player, ["HeliH"], 200] param [0, objNull];
private _objPosition = getPosATL _nObject;

Just avoid undefining the variable in the first place by using...

#

PARAM

severe solstice
#

k

errant jasper
#

I hate that I cannot use != with bools.

austere granite
#

!_bool

#

OMG I DID IT

lone glade
#

why the hell would you ever do that muzzleflash

errant jasper
#

If have two boolean variables I want to compare?

lone glade
#

🤦

errant jasper
#

You never compared two boolean variables?

lone glade
#

I have no words

little eagle
#

Is it for an if statement?

austere granite
#

isEqualTo

errant jasper
#

So I regularly check whether to keep a visual effect:
if (_effectIsActive != _effectShouldBeActive) then { //Toggle effect...};

little eagle
#

if (_bool) then {
if !(_bool) then {

#

Either of these ^

#

Using isEqualTo true/false is a shootable offence.

errant jasper
#

Yes, but I don't do that

lone glade
#

but before that you're poked near death by a crowd with pitchforks

austere granite
#

electrom + isEqualTo true masterrace

little eagle
#

Now it's a game.

#
if ([_effectIsActive, _effectShouldBeActive] in [[true,true],[false,false]]) then {

rate

lone glade
#

we can go deeper

errant jasper
#

Lol. Of course I do if (not (_effectIsActive isEqualTo _effectShouldBeActive)). But I still think it is lame I have to do that.

little eagle
#
if (_effectIsActive && _effectShouldBeActive || {!_effectShouldBeActive && !_effectShouldBeActive}) then {
lone glade
#

I think i'm starting to develop dementia

errant jasper
#

I think you are on to something. I mean we can't confirm that anyone who got dementia, did not look at SQF code. Conclusion sqf code causes dementia.

little eagle
#

Hold onto your butts:

#
if ([_effectIsActive, !_effectIsActive] select _effectShouldBeActive) then {
lone glade
#

now wrap than in a ttc

errant jasper
#

That will work. And that is the best thing I can say about it

little eagle
#
if (count (str _effectIsActive + str _effectShouldBeActive) % 2 == 0) then {
errant jasper
#

You making an obfuscator? 😛

lone glade
#

I wouldn't call that obfuscation

little eagle
#

I declared it a game. The dumbest solution wins.

tough abyss
#

modulo

#

damn

lone glade
#

I don't have the mental fortitude for this kind of exercise

little eagle
#

You mean insanity?

errant jasper
#

He was being polite

tough abyss
#

? : should be implemented in sqf

little eagle
#

? is in sqs I believe.

tough abyss
#

sqs 😮

little eagle
#

Yes, sqs.

tough abyss
#

never used it. i thought it was pretty much never use that again?

little eagle
#

It's dead and that's a good thing.

tough abyss
#

good

#

now drop SQF and do C++

#

i dont get why there is a need for SQF

lone glade
#

security

queen cargo
#

pff @lone glade

lone glade
#

laughs are heard in the distance

severe solstice
#

they will do LUA arent they?

tough abyss
#

intercept

lone glade
#

nah, enscript is C like afaik

tough abyss
#

C# im working on a mono implementation

queen cargo
#

@tough abyss games are created with scripting languages because it is faster to develop

little eagle
#

They should just implement intercept tbh.

tough abyss
#

yea

tough abyss
#

right but now that armas pretty much done a lot shouldnt they just go ahead and export their API to C++?

lone glade
#

anyone on dev branch can confirm the game takes significantly longer to "load" ?

queen cargo
#

you want to literally compile against arma your mission/addon each time you create one?

#

you cannot dynamically create missions with static compiled languages

#

unless you compile

lone glade
#

like, the game doesn't start loading instantly after clicking play

#

no mods, it just takes much longer than stable right now

little eagle
#

Maybe they have some unbinned configs on dev.

tough abyss
#

@queen cargo hmm? sorry i dont quiet understand what you mean by that? Compile it once and it should work fine?

queen cargo
#

or, take what is written in the first entry on google for that question that i linked above @tough abyss

#
In games, game logic and configuration are typically contained in script files. These scripts can easily be updated by non-programmers (like the designer) to tweak the gameplay. Script languages are easy and act in a forgiving manner for that purpose.```
lone glade
#

huh, I wonder what happens if I unmount my P drive

tough abyss
#

true

queen cargo
#

designers are not programmers

tough abyss
#

i suppose

queen cargo
#

and that is the full story

lone glade
#

The bike shed issue is real

little eagle
#

Yeah, having a script and a code language is useful, though it's sad that the code part is not accessible as well for modders.

queen cargo
#

^+1

little eagle
#

Aside from dll.

queen cargo
#

one thing is true though: in theory it could be possible to create a scripting language that can be later ported into actual c++ code

peak plover
#

sqf for missions C for mod

little eagle
#

Both for both and the creator chooses.

tough abyss
#

yes

#

perfect

#

also @lone glade System.Security.Permissions < saves a lot of hassle and security concerns

lone glade
#

I have PTSD from windows permissions

tough abyss
#

kappa