One scripts worst case scenario can be another scripts best case scenario. You can try, and you can gather data and claim things based on statistics, but you will always be hindered by the fact that your tests are always influenced by the environment (and I am 100% certain I can create an environment in which the tutorial script earns more money/hacking exp per second (I can do so quite easily actually)). It's not a big deal though, both scripts still perform in O(1) (that is for the inside of the while loop, it would be O(n), where n is the amount of iterations if you include the while loop itself in the equation).Īnd just in case you try to argue that you can measure the performance of a script based on the amount of money/hacking exp a script earns per seconds, the answer is: no you can't. This is because you have four math operations inside of your while loop, which is four more than the tutorial script, and these all require CPU. I could ask you the very same thing: did you compare the two scripts?īecause if you want to start about performance, you should realise your script will perform worse. Originally posted by L41N:yes there is a difference and the difference shows up in the performance. Perhaps THE simplest thing to write would be a script that starts the tutorial script with a given target on all servers and writing another script that does a killall on all servers and then using those manualy from the terminal when you want to switch targets. The simplest approach I can think of would be to make a master script that determines when to switch targets, kills the running tutorial scripts and restarts them with the next target.Īnother approach with a master script would be to write the target to a file, copy the file to all servers, and let the tutorial script read the target from the file. Any way to get arround this? also any links to useful scripts? Unfortunately all running scripts will attempt to hack the server at the same time, obliterating its stored money and making it very hard to grow it back up afterwards. It weakens and grows the server until it reached a threshold and it hacks it. MasterHack.Originally posted by Warbeast:i am using the tutorial's script for hacking joesguns. You can also use wget to download these to the game servers: Here are all the necessary files on Pastebin. TL DR: scrip gud, munny and hack exp go brrrr. If you have any questions regarding the usage or the code itself that might not be answered in the code, feel free to drop a comment. This will hack 'joesguns' and use the RAM of the private server 's1' This will hack 'joesguns' and use it's own RAM Follow the tutorial, hack n00dles a few times and you should have enough to buy one server. Even the total amount of all server is only around 3000 GB RAM, I haven’t checked if this is randomized.Ī 128 GB server only costs around $7m. The available RAM on the servers that you can hack in the beginning is really limited. Also this doesn’t buy the necessary *.exe files for port opening, so you have to do this manually.Įven when just starting out, I highly recommend purchasing servers for hacking. You need to have all 5 script files on ‘home’ or the server you’re starting it from. When starting out you can also use the RAM of the hacked servers. I mentioned this in the comments in the code as well, but I recommend running the script on ‘home’ and using purchased servers to run the worker tasks on for maximum RAM. I will focus on purchased servers, so it’ll be up to 25 servers hacking the same server. The next plan is to implement the functionality to hack the same server from as many different servers as the sleepTime allows. In my testing, the amount of hack threads did not change. The size was reduced by roughly 3 GB, so it now requires 6.5 GB to run instead of the 9.55 GB previously. It is awesome from start to finish from what Im seeing. I wanted to make a quick update, since I’ve converted the initial version to a lighter and simpler version using the batch method, as suggested by ICU大师 in the comments. THE best hack script I havent seen this program here on steam discussions so I want to share it. It took a hot minute to make, because neither am I a programmer, nor do I know any JavaScript. Not only does it generate a lot of money in the least possible time, but it also generates a lot of hacking exp. This is my idea of the ultimate hacking script. This is the best hacking script that I could come up with.įully optimized, works with parallel tasks, minimal runtime.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |