Script Free Fire

0 views
Skip to first unread message

Lane Stefano

unread,
Aug 4, 2024, 9:38:41 PM8/4/24
to ofuhwrapof
Thisalso causes issues when building the level in my case - because of the way adding component works though, so you may be able to just block the construction script from firing over and over this way.

Hi All - I am on 7.6.1.3 and have escalation that executes an action launchpoint automation script that updates a workorder. I have coded the setValue to noaction(see below). I do not have a save() on mboset but records are saved and updated without that and all is working good - except other workorder automation scripts that have save launchpoints are also executing and I don't want that. I thought the noaction would prevent other scripts from executing ? Any insight one what I am doing wrong?


There are two things to consider, for a given Object / Attribute etc you should only have a single script that owns the launch point. If you want to break your script up into multiple scripts, do so and then call those scripts from the one that owns the launch point. This way you have control over which scripts fire and what order the execute in.


This lets you have an entry point within the script from which you can exit. So anywhere in the process you can call return and stop execution without worrying about falling through and executing something unexpected.


So I put down a fire mission waypoint in the editor and used commands on it to figure out how they work. Turns out they're scripted waypoints and the attached script is "A3\functions_f\waypoints\fn_wpArtillery.sqf". I want to make one of these waypoints dynamically in my mission and I've posted the code I'm using below to try and achieve this. The units spawn in alright, but then they don't seem to fire anything. Anybody have experience with this?


Ah, didn't think that it could be the attach which is breaking it. Thanks for the reply, will try removing that to confirm it fixes it. If that's the case I can just write my own script to account for it and use that I suppose.


How do I start a process (another Python script, for example) from a Python script so the "child" process is completely detached from the "parent", so the parent can a) continue on its merry way without waiting for child to finish and b) can be terminated without terminating the child process?


As I explained in the comments both processes parent.py and child.py are still on the same process group and therefore the terminal will forward signals (like Ctrl-C) to all process in the foreground process group so both will get killed when you Ctrl-C. So if you don't want that you can force child.py to be in a new process group with the following:


I am using two scripts that fire at the same time. They seem to cause a conflict. The question I have is how can I get one to fire a half a second to a second after the other fires? I think that might solve the issue I am having.


Note I did not post the scripts here a they are irreverent. I just need to know how to delay one from firing until the other has. Also the one I want to fire last is at the bottom of the HTML the other is in the head. Also the two scripts are completely unrelated to each other in what they do.


EDIT This question stems from another question i posted. Here - Javascript/Fancybox Error? - I thought about it and would like to try to add a delay but I am also curious as how to add the delay anyway that is not related to the issue I am having.


Two scripts cannot fire at the same time. Javascript is single threaded and no two scripts ever run at the same time. One will run to completion, then the next one will run. If there is a conflict between the two, then it has to do with how the scripts are written and we could only help you solve that problem by seeing the scripts and the context that causes them to run.


Also, it may be relevant that anything you attempt to run in the head tag when the script is loaded cannot manipulate the browser DOM because it is not in place yet. It would have to be delayed until the DOM is successfully loaded and ready for manipulation.


I am not sure how totally unrelated scripts can affect each other, may be these un related scripts are affecting global properties which they use and hence go bonkers. There is a concept in JS that let you run two JS scripts in parallel, this is known as web workers. John Resig, the jquery guy, have published an article long ago and I found it using Google. -workers/. Using web worker you can start your 2nd script after one second or any time. I am not a JS ninja but I think it may help you. But still, w/out you posting your code it is hard for others to suggest you something. After looking at your edit, I can suggest you to explore settimeout in JS. Another link from same article -javascript-timers-work/


I tried your code and it solved the problem! I think it was counting the dryad herself as the possessor of the dryad bark, so it would fire as soon as the module loaded. Thank you so much. It was driving me crazy lol


The script removes all of the amazon apps, and loads google play, and other google services. It installs nova launcher, to replace the firelauncher, and loads launcher hijacker so you can use it.

next it installs Fully Kiosk browser so you can set actiontiles as the home screen.

Lannouncer lets you use the tablet as an endpoint in smartthings for announcements.


Your tablet should be on Fire OS 5.4.0.0 to enable ALL the features of this script, however, you can use it with other OS versions or even other android tablets. It will not be able to remove the amazon apps from a tablet that is above 5.4.0.0, however other functions should work fine.


Any configuration changes that this makes are not permanent, and will not brick your device.

To restore to factory, you can hook up and run the reboot to recovery option, and just factory reset the fire, or do it through the Fire OS settings menu.


Here is a link to it, I would appreciate feedback, but I can not take credit for all of the work. a good majority of this, including the section that removes apps comes from the guys over at XDADevelopers.


Usage Instructions

Assuming a brand new fire, that has not been unboxed yet. - If you have 5.4.0.0 as the OS version, I would NOT let it update and would run option 1 to block OTA updates (or e for everything).

Unbox Device.

Turn it on, choose your language.

Attempt to join a network but use a bad password!

After using a bad password, hit cancel and skip connecting wifi.

Go into settings, about device, and then you need to tap on the serial number about 10 times to enable developer options.

Enable usb ADB.

Plug into a windows computer, and allow it to connect to the fire (security popup on tablet)

Extract the folder above to your desktop, for example: desktop\fire utility

Inside the folder, run the FileUtility.bat program.

You do no need to run as an administrator.

Choose what you want to do from inside the utility.


Swing back here and let me know you used it, and if there are any improvements I can make. Looking at adding in a fully config file that would just require you to login to action tiles, (and/or dakboard).


BETA VERSION

Here is a beta version of the script, with some updates. Still not clearing out some apps due to the security put in on tablets in later firmwares, but it has some new features, and is a much smaller download now. Please comment bugs, suggestions, etc.


In the past few days I manually did two HD8s: Play Store, Fully, Lannouncer and more. Takes about a half hour per device using the XDADeveloper instructions, not including setting all the Fully options.

3a8082e126
Reply all
Reply to author
Forward
0 new messages