|
10 | 10 | //3.#.#-release for release |
11 | 11 | //this ensures that each version of the script is counted as different |
12 | 12 |
|
13 | | -// @version 3.3.0-pre2 |
| 13 | +// @version 3.3.0-pre3 |
14 | 14 |
|
15 | 15 | // @match *://shellshock.io/* |
16 | 16 | // @match *://algebra.best/* |
|
75 | 75 | (function () { |
76 | 76 | //script info |
77 | 77 | const name="StateFarm Client"; |
78 | | - const version="3.3.0-pre2"; |
| 78 | + const version="3.3.0-pre3"; |
79 | 79 | //startup sequence |
80 | 80 | const startUp=function () { |
81 | 81 | mainLoop() |
|
315 | 315 | initModule({ location: tp.aimbotFolder, title: "1 Kill", storeAs: "oneKill", bindLocation: tp.combatTab.pages[1],}); |
316 | 316 | initModule({ location: tp.aimbotFolder, title: "Prediction", storeAs: "prediction", bindLocation: tp.combatTab.pages[1],}); |
317 | 317 | initModule({ location: tp.aimbotFolder, title: "Antisnap", storeAs: "aimbotAntiSnap", bindLocation: tp.combatTab.pages[1], slider: {min: 0, max: 0.99, step: 0.01}, defaultValue: 0,}); |
318 | | - initModule({ location: tp.aimbotFolder, title: "Antisneak", storeAs: "antiSneak", bindLocation: tp.combatTab.pages[1], slider: {min: 0, max: 5, step: 0.2}, defaultValue: 0,}); |
| 318 | + initModule({ location: tp.aimbotFolder, title: "AntiSneak", storeAs: "antiSneak", bindLocation: tp.combatTab.pages[1], slider: {min: 0, max: 5, step: 0.2}, defaultValue: 0,}); |
319 | 319 | initModule({ location: tp.aimbotFolder, title: "ESPColor", storeAs: "aimbotColor", defaultValue: "#0000ff"}); |
320 | 320 | initModule({ location: tp.combatTab.pages[0], title: "Auto Refill", storeAs: "autoRefill", bindLocation: tp.combatTab.pages[1],}); |
321 | 321 | initModule({ location: tp.combatTab.pages[0], title: "Auto Fire", storeAs: "enableAutoFire", bindLocation: tp.combatTab.pages[1],}); |
322 | | - initModule({ location: tp.combatTab.pages[0], title: "AutoFireType", storeAs: "autoFireType", bindLocation: tp.combatTab.pages[1], dropdown: [{text: "While Holding LMB", value: "leftMouse"}, {text: "While Aimbotting", value: "whileAimbot"}, {text: "Always", value: "always"}], defaultValue: "leftMouse"}); |
| 322 | + initModule({ location: tp.combatTab.pages[0], title: "AutoFireType", storeAs: "autoFireType", bindLocation: tp.combatTab.pages[1], dropdown: [{text: "While Holding LMB", value: "leftMouse"}, {text: "Line-Of-Sight", value: "lineOfSight"}, {text: "While Aimbotting", value: "whileAimbot"}, {text: "Always", value: "always"}], defaultValue: "leftMouse"}); |
323 | 323 | initModule({ location: tp.combatTab.pages[0], title: "GrenadeMAX", storeAs: "grenadeMax", bindLocation: tp.combatTab.pages[1],}); |
324 | 324 | //RENDER MODULES |
325 | 325 | initFolder({ location: tp.pane, title: "Render", storeAs: "renderFolder",}); |
|
1733 | 1733 | params=params+"mockMode%3E"+JSON.stringify(extract("botMock"))+"," |
1734 | 1734 | params=params+"autoRespawn%3E"+JSON.stringify(extract("botRespawn"))+"," |
1735 | 1735 | params=params+"enableAutoFire%3E"+JSON.stringify(extract("botAutoShoot"))+"," |
1736 | | - params=params+"autoFireType%3E"+JSON.stringify(2)+"," |
| 1736 | + params=params+"autoFireType%3E"+JSON.stringify(1)+"," |
1737 | 1737 | params=params+"enableSeizureX%3E"+JSON.stringify(extract("botSeizure"))+"," |
1738 | 1738 | params=params+"enableSeizureY%3E"+JSON.stringify(extract("botSeizure"))+"," |
1739 | 1739 |
|
|
1746 | 1746 | params=params+"grenadeMax%3E"+JSON.stringify(true)+"," |
1747 | 1747 | params=params+"enableSeizureX%3E"+JSON.stringify(false)+"," |
1748 | 1748 | params=params+"enableSeizureY%3E"+JSON.stringify(false)+"," |
| 1749 | + params=params+"antiSneak%3E"+JSON.stringify(1.4)+"," |
| 1750 | + params=params+"autoRefill%3E"+JSON.stringify(true)+"," |
1749 | 1751 | }; |
1750 | 1752 |
|
1751 | 1753 | if (extract("botAutoMove")) { |
|
2057 | 2059 | if (extract("debug")) { |
2058 | 2060 | globalPlayer=ss; |
2059 | 2061 | }; |
2060 | | - let reticle |
| 2062 | + let isLineOfSight=false; |
2061 | 2063 | if (extract("showLOS")) { |
2062 | 2064 | const player=currentlyTargeting||playerLookingAt||undefined |
2063 | 2065 | if (player) { |
2064 | | - reticle=getLineOfSight(ss,player) |
| 2066 | + isLineOfSight=getLineOfSight(ss,player); |
2065 | 2067 | }; |
2066 | | - } |
2067 | | - highlightCrossHairReticleDot(ss,reticle); |
| 2068 | + }; |
| 2069 | + highlightCrossHairReticleDot(ss,isLineOfSight); |
2068 | 2070 | if ( extract("chatHighlight") ) { |
2069 | 2071 | document.getElementById("chatOut").style.userSelect="text" |
2070 | 2072 | }; |
|
2232 | 2234 | doAutoFire=true; |
2233 | 2235 | } else if (autoFireType=="whileAimbot" && didAimbot) { |
2234 | 2236 | doAutoFire=true; |
| 2237 | + } else if (autoFireType=="lineOfSight" && isLineOfSight) { |
| 2238 | + doAutoFire=true; |
2235 | 2239 | }; |
2236 | 2240 | if (doAutoFire) { |
2237 | 2241 | if ((ammo.rounds>0)||(ammo.store>0)) { |
|
0 commit comments