Progamerz Giants Foundry CLI Tutorial

-alloy1[metal=adamantite;item=scimitar;amount=10;] -alloy2[metal=runite;item=scimitar;amount=5;] -break[every=(10,30);for=(5,15);] -worldhop[player=(2,5);minutes=(30,45);] -stop[cond=(1,20);]

Explanation:

  • -alloy1 -> is used to set the alloy that the script should get first, equivalent to "Alloy item 1" section in the GUI. metal accepts a value of any of the following: bronze, iron, steel, mithril, adamantite, runite and item accepts a value of the following: bar, dagger, axe, mace, medium helm, sword, wire, scimitar, spear, longsword, full helm, sq shield, warhammer, battleaxe, chainbody, kiteshield, claws, two-handed sword, platelegs, plateskirt, platebody.
  • -alloy2 -> is used to set the alloy that the script should get first, equivalent to "Alloy item 2" section in the GUI. metal accepts a value of any of the following: bronze, iron, steel, mithril, adamantite, runite and item accepts a value of the following: bar, dagger, axe, mace, medium helm, sword, wire, scimitar, spear, longsword, full helm, sq shield, warhammer, battleaxe, chainbody, kiteshield, claws, two-handed sword, platelegs, plateskirt, platebody. This is optional.
  • -worldhop -> is used to enable the worldhopping functionality in the script. The player=(2,5); value in the above example would mean we would automatically world hop when the player count is between a random number generated between 2 and 5. The minutes=(30,45); value in the above example would mean we would automatically world hop when the minutes since last worldhop is between a random number generated between 30 and 45. In the case of having both of the options, if any of the 2 conditions is positive worldhop event will be executed. This is optional.
  • -break -> is used to set the break times, where every contains the range in which the script should run breaks(i.e. every 10-30 minutes randomly) and for is for how long the bot should take break(i.e. 5-15 mins randomly). This is optional.
  • -stop -> is used to set the condition for when the script should stop. In the example, since we are using (1,20) it would mean that we want the script to stop after 1 hour and 20 minutes. To set a level condition, you simply use -stop[cond=50;] in which would mean that the script will stop at level 50 smithing. This is optional.

Now you might be asking, where should I place all this? the answer is you will have to create a .txt file in C:\Users\<YourUser>\OSBot\Data\Progamerz Giants Foundry\Configs and remember the file name, in my case lets say I saved it as acc1.txt.

Now you will have to specify the file name in the cli params, so I would do the following

-script 1192:acc1.txt

where 1192 is the script id and acc1.txt is the .txt file that contains the script settings.

Running latest settings used in GUI

If you ran the script through GUI after v0.21, it will automatically save the settings in the same directory as latest.txt so you will be able to make the script use latest setting by passing in the file name as latest.txt.

Edit
Pub: 11 Aug 2023 20:24 UTC
Edit: 22 Mar 2024 13:34 UTC
Views: 174