Jump to content

CptGooch

Members
  • Content Count

    292
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by CptGooch

  1. CptGooch

    [Tutorial] Gang Bank Exploit Fix

    How to Stop the Gang Bank Duplication Exploit Author: CptGooch Author Website: www.abeloth.com Short description: I got tired of seeing so many servers and even the framework with this exploit. Downloads: fn_gangDeposit.sqf & fn_gangWithdraw.sqf Installation Steps: Replace your fn_gangWithdraw.sqf and fn_gangDeposit.sqf found in dialog\function\ with the downloads provided Add the following to your core/configuration.sqf life_gang_bank_time = 0; Open your stringtable.xml and search (crtl+f) for STR_ATM_DepositInUseG Update the original text to <Original>Reconnecting to bank server. Please wait 10 seconds to deposit into your gang's bank account.</Original> Now find STR_ATM_WithdrawInUseG and update the original text to <Original>Reconnecting to bank server. Please wait 10 seconds to withdraw from your gang's bank account.</Original> Next, open up \dialog\bank.hpp Change your GangWithdraw button action to onButtonClick = "[] spawn {sleep (random 0.5);[] call life_fnc_gangWithdraw};"; And change your GangDeposit action to onButtonClick = "[] spawn {sleep (random 0.5);[] call life_fnc_gangDeposit};"; All done! No more Gang Bank Duping for those #%!#*^.
  2. CptGooch

    You dont need to request medic

    kindness removed
  3. CptGooch

    Free Vehicles as Admin?

    Piece of cake. Put this in fn_vehicleShopLBChange.sqf if (FETCH_CONST(life_adminlevel) > 0) then { _buyMultiplier = 0; _rentMultiplier = 0; };
  4. CptGooch

    Free Vehicles as Admin?

    other than a license I recommend just using your admin level to allow access to the shop.
  5. CptGooch

    You dont need to request medic

    Yes there is.
  6. CptGooch

    [Tutorial] New Spawn & Garage Menus

    @Repentz may have something to say about you posting trailer park graphics without asking.
  7. SOURCE: http://www.armaholic.com/page.php?id=20465 Fockers Arma3 Scripting Guide Author: Mikie boy Author Website: http://fockers.moonfruit.com Version: 3.0 Short description: This is an old but useful guide from 2013. Chapter 1, 2 and 3 of Fockers Arma3 Scripting Guide Download Link: Fockers_Arma_Scripting_guide_v30.7z Features: The first chapter covers the basics of: Setting up a file, showscripterrors, and window mode Variables, assignment, initialization, and variable types. Init.sqf, interactions between the game world and the scripts. Alignment of code, bracket usage and setting out code. If/else statement, nested if/else statements. While, and both for-loops types. Commands - player, waituntil, getpos, createvehicle, createunit, hint, format, sleep and a few other bits. And a lot of reference on using BIS forums and the Wiki. The second chapter covers the basics of: Part 1: Basic Arrays Selecting elements Subtracting Addition forEach command Part 2: Basic Functions Local and global call Spawn Part 3: Making a basic Patrol function. Few other commands have been thrown in The third chapter covers the basics of: Part 1: Eventhandlers adding removing use of scope and exitwith command example usage and creation of eject and mine functions Part 2: Get and set Variable handle variables Create a driving licence system using eventhandlers and get/set variables to control access to vehicles Few other commands have been thrown in.
  8. CptGooch

    Medic Lights

    Have you updated your case 38 if conditions to include the new vehicle class names? \core\functions\fn_keyHandler.sqf You should also make sure you have added all new vehicle class names to life_server\Functions\Systems\fn_spawnVehicle.sqf. Look for the following code around line 180. if ((_vInfo select 1) isEqualTo "cop" && ((_vInfo select 2)) in ["C_Offroad_01_F","C_SUV_01_F","I_C_Offroad_02_unarmed_F","C_Offroad_02_unarmed_F","C_Hatchback_01_sport_F","B_MRAP_01_F","I_MRAP_03_F","O_MRAP_02_F","B_Heli_Light_01_F","O_Heli_Light_02_unarmed_F","I_Heli_light_03_unarmed_F","C_Boat_Civil_01_police_F"]) then { [_vehicle,"cop_offroad",true] remoteExecCall ["life_fnc_vehicleAnimate",_unit]; }; if ((_vInfo select 1) isEqualTo "med" && ((_vInfo select 2)) in ["C_Offroad_01_F","C_SUV_01_F","I_C_Offroad_02_unarmed_F","C_Offroad_02_unarmed_F","C_Hatchback_01_sport_F","B_MRAP_01_F","I_MRAP_03_F","O_MRAP_02_F","B_Heli_Light_01_F","O_Heli_Light_02_unarmed_F","I_Heli_light_03_unarmed_F","C_Boat_Civil_01_police_F"]) then { [_vehicle,"med_offroad",true] remoteExecCall ["life_fnc_vehicleAnimate",_unit]; };
  9. CptGooch

    'Call extension 'extDB2' could not be found'

    The short answer is extDB2 is not compatible with x64.
  10. CptGooch

    [Tutorial] Gang Bank Exploit Fix

    That isn't a bad idea. The reason I wanted to do it this was is so it will better with the gang rank system I am working on.
  11. CptGooch

    [Tutorial] Gang Bank Exploit Fix

    Nope... I messed up the tutorial, and forgot to tell you to put life_gang_bank_time = 0; in your configuration.sqf
  12. CptGooch

    ESCAPE respawn button

    "People" What side? All Sides?
  13. CptGooch

    [Tutorial] Gang Bank Exploit Fix

    I didn't see your comment, but if you are getting an error I am not, I am happy to help fix it. This will work for 4.4+. Please verify that you have followed my instructions.
  14. CptGooch

    Revive problems

    1 yes, change the side conditions of revive in your action key handler. 2 you have an issue with your load and save dead gear. Get some fresh copies from the framework. I'm pretty sure that works by default.
  15. CptGooch

    Hexagon Visibility Range

    The difficulty setting on your server controls this. Check out this. https://community.bistudio.com/wiki/server.armaprofile
  16. CptGooch

    My Tazers Kills

    I'm not sure the reason, but if you use your admin powers to spawn the taser and ammunition it will not trigger right in handle damage. Regardless if it is the correct class.
  17. CptGooch

    [TUTORIAL] Database Backups

    MySQL Auto-Backup Summary: This tutorial will show you step by step how to setup automated backups of your MySQL DB every 6 hours on a Windows Server. I will assume your are using MySQL 5.7x64 and Workbench 6.3, but you can adapt this guide to MariaDB and Heidi with the same code. Tutorial: Login to your dedicated server. Download my SQL Backup Zip MySQLBackups.zip Extract the zip file to C:\ Open MySQL Workbench, and login as root. Click on users and privileges: Create a new user called backupadmin: Click on administrative roles, and give our newly created backupadmin user the BackupAdmin role: Now open the MySQLBackups folder you extracted to C:\ Edit mysqlbackup.bat in your preferred editing program. Line 43: Change the password to the password you gave backupadmin. Save and Close. Press windows key and R to bring up the run prompt and type Taskschd.msc. Click create task: End a title and for the task: Go to the trigger tab, and select new. Select a start time of your choosing,and set the repeat to 6 hours:. Go to the actions tab and brows to C:\MySQLBackups\mysqlbackup.bat: All Done! Now your DB will backup every 6 hours, and keep those backups for 7 days.
  18. CptGooch

    [TUTORIAL] Database Backups

    I do not have this issue. What did you change in my script?
  19. CptGooch

    Need Developers For RealRP.co.uk

    If you can describe your issue and any logs we are happy to help.
  20. CptGooch

    DynamicMarket is not displayed in Y menu

    Please post your player_inv.hpp on hastebin.com and link it here.
  21. CptGooch

    View distance bug

    Take a look in your core/configuration.Sqf. I am not at my PC, but think default values are set here.
  22. CptGooch

    [TUTORIAL] Database Backups

    Fixed
  23. CptGooch

    Car blowing up since arma update 1.68

    Are you 100% sure is not a hacker? Hackers like to blow up random cars.
  24. CptGooch

    Spawn in you have a blur effect

    hastebin these 3 files please. "scripts\DynWeather.sqf" "scripts\fn_statusBar.sqf" "intro\fn_introtext.sqf"
  25. CptGooch

    Auto Server Restarts

    Go into your life_server and in the root make a new file called restart.sqf, paste the following: sleep 10800; //3 hours "commandpasswordhere" serverCommand "#restartserver"; Now in your life_server init.sqf add [] execVM "restart.sqf" Simplest way to do it.
×