MrCopyright
Member-
Content Count
235 -
Joined
-
Last visited
-
Medals
Everything posted by MrCopyright
-
call iniDB_read not reading
MrCopyright replied to LoOni3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Are you sure you aren't calling the iniDB functions from the client in a multiplayer environment? If the version is displayed in the Eden editor but not a hosted server, it seems very likely that locality is your issue.- 70 replies
-
- inidb_read
- inidb
-
(and 2 more)
Tagged with:
-
call iniDB_read not reading
MrCopyright replied to LoOni3r's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Have you checked the .ini file manually to see if the UID is saved properly? If it has saved, ensure that _datenbaseplayer is defined in the same file that you call iniDB_read from.- 70 replies
-
- inidb_read
- inidb
-
(and 2 more)
Tagged with:
-
When a display is closed, are its added event handlers removed?
MrCopyright replied to Leopard20's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You're welcome.- 5 replies
-
- event handler
- display
-
(and 1 more)
Tagged with:
-
Custom side chat of life server
MrCopyright replied to IGS Karma's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You can also create your own "radio channels" with the radioChannelCreate command. You are free to change the colour, label and call-sign. This method would be far easier than creating your own chat system.- 3 replies
-
- 1
-
- life server
- custom
-
(and 1 more)
Tagged with:
-
When a display is closed, are its added event handlers removed?
MrCopyright replied to Leopard20's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yes.- 5 replies
-
- event handler
- display
-
(and 1 more)
Tagged with:
-
When a display is closed, are its added event handlers removed?
MrCopyright replied to Leopard20's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If the display is completely closed, then you will need to re-assign the event handlers when the display is re-created.- 5 replies
-
- 1
-
- event handler
- display
-
(and 1 more)
Tagged with:
-
Setting listbox item background
MrCopyright replied to chronicsilence's topic in ARMA 3 - MISSION EDITING & SCRIPTING
In the configs, the default inventory ListBox uses the itemBackground[] and itemSpacing properties. However, when the ListBox is populated with the lbAdd command, it doesn't utilise those properties. This leads me to believe that Bohemia do not use a publicly available command to create their inventory menu. -
I started using the dev branch, as of yesterday, to utilise the new DLC assets. However, this code simply does not work anymore: ["interactionMenu", "onEachFrame", { hint "Test"; }] call BIS_fnc_addStackedEventHandler; I had code inside the event handler that was not executing, so I put a hint in there which still won't execute. The change log mentioned that the BIS_fnc_addStackedEventHandler was 'fixed'. Am I missing something?
-
You guys are being hypercritical of the ambulance model. Sure, it's not perfection but it's not awful either. I had not even noticed the majority of the imperfections until you had pointed them out. I'm sure the vast majority of players will not notice those details nor will they be affected by them. I would happily pay the current price if the models were half as decent; the sheer amount of content being added in this DLC is remarkable for the price.
-
Problem SetObjectTexture + slider
MrCopyright replied to xjoker_'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
Have you tried adding a delay between each setObjectTexture command? Perhaps a 0.01 second sleep would resolve this issue. -
arma 3 altis life why i will be kicked out if i'm buying a magazine
MrCopyright replied to capper20698's topic in ARMA 3 - MULTIPLAYER
I believe it's to do with the BattlEye script filters. Make sure they are compatible with your version of Altis Life. -
On the default Arma 3 inventory dialog, each listbox element has the main text (the item name) and text on the right hand side (the quantity). I do not believe that this was achieved via text formatting as I have found attributes in the config file that refer to the colour of the right hand text (colorTextRight[]). How can I go about adding this to my own listbox? I have been unable to find any attributes directly setting the right hand text nor have I been able to find any engine based commands.
-
Thanks @killzone_kid. Also, is there a reason why commands such as lbSetTextRight are omitted from the Arma 3 commands section?
-
Removing whitespace script release
MrCopyright replied to das attorney's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I currently send over 30+ functions from the server to the client when they connect. I haven't noticed any performance hit as this process takes less than a few seconds but this can only improve network traffic. Thank you @das attorney.- 11 replies
-
- remove
- whitespace
-
(and 5 more)
Tagged with:
-
Removing whitespace script release
MrCopyright replied to das attorney's topic in ARMA 3 - MISSION EDITING & SCRIPTING
So the only difference is the size of the variable being transferred across the network? How much of a performance impact does this have?- 11 replies
-
- remove
- whitespace
-
(and 5 more)
Tagged with:
-
Unable to add event handlers to RscPicture
MrCopyright posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I have been unable to add any event handlers to RscPicture controls. The base defines were created via Arma 3's GUI editor. _ctrl = (findDisplay 700) displayCtrl 1200; _ctrl ctrlAddEventHandler ["MouseButtonDown", "_this call fnc_test"]; I can assure you that the IDD and the IDC in the .hpp file are correct. I've never tried adding event handlers to pictures until today. -
Unable to add event handlers to RscPicture
MrCopyright replied to MrCopyright's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I found the solution to the problem, use RscActivePicture instead of RscPicture. -
Persistent Vehicle Saving
MrCopyright replied to Revixy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I was going to refrain from posting again, because you're not worth the time, but I had to point out your lack of intellect. You proclaim to not be using profileNamespace yet your function very clearly uses profileNamespace. You cannot realistically save and load data without using a database or profileNamespace. You don't even understand the function that you "figured out on [your] own" which leads me to believe you copy and pasted that code from somewhere. I hope everyone else realises that helping you is fruitless, you can't even help yourself. Have fun. -
Persistent Vehicle Saving
MrCopyright replied to Revixy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@Revixy, if anyone is being an ass, it's you. I have taken time out of my day to help you, yet you refuse to help yourself. You are not willing to accept help unless it involves someone writing the code for you. I have offered you a real alternative. It genuinely isn't difficult to set up iniDB. As I have stated before, you put the addon in your directory, you run the addon, you add a line to your init.sqf file. If that simple procedure is beyond you, you're an absolute lost cause. You threw your toys out of the pram and now you will have to enjoy no assistance. -
Persistent Vehicle Saving
MrCopyright replied to Revixy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If you're asking for someone to write your save system for you, I doubt there will be anyone forthcoming. You want to use profileNamespace which involves you passing a few parameters to it, it's not that difficult. If you are unable to do that, you need to read up on the SQF syntax more. -
Persistent Vehicle Saving
MrCopyright replied to Revixy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If you put your mind to it, iniDB really isn't that hard to implement. You run the addon, you add a line to your init.sqf file and then you are free to use the write/read functions. The hardest part is separating the locality of the server and the clients. Ensure that you have the x64 version of iniDBi if you are using the x64 version of Arma 3. -
Persistent Vehicle Saving
MrCopyright replied to Revixy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Can you provide your fn_savestat function? I need to be able to see what parameters the function takes before I can write the code. -
Persistent Vehicle Saving
MrCopyright replied to Revixy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Why are you so opposed to using database mods? There must be a reason for it. They are robust and the benefits far outweigh the negatives. -
Script errors in debug console's immediate evaluation lines
MrCopyright replied to JB47394's topic in ARMA 3 - MISSION EDITING & SCRIPTING
The benefits of having script errors far outweigh your need of having a "clean" log file. If it is really that much of an issue, you can always do as @beno_83au said. -
Persistent Vehicle Saving
MrCopyright replied to Revixy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@FireWalker you can always use profileNamespace if you wish to keep things unmodded.