Jump to content

5nine

Member
  • Posts

    82
  • Joined

  • Last visited

Reputation Activity

  1. Like
    5nine got a reaction from computermancer in [Release] Taxi script v0.2   
    yea well, i decided to rewrite the whole script to optimize it some, reuse functions etc and also to make it work for different maps. So stay put for a bit longer please =). Its going to be a bitch to run it with epoch AH though, so i will probably release a version which works with alternative AH first, sry about that epoch devs.. 
  2. Like
    5nine got a reaction from second_coming in [Release] Taxi script v0.2   
    Real life got in the way. But its coming along nicely. I added krypto cost and if you dont pay the driver will jump out and try to shoot you, there is also 2 AI's that spawn in a radius of 200m that tries to back him up. the same thing happens if you try to pay him and dont have any krypto. Im currently messing with what happens when multiple players join the same cab
  3. Like
    5nine got a reaction from stonXer in [Release] Taxi script v0.2   
    Real life got in the way. But its coming along nicely. I added krypto cost and if you dont pay the driver will jump out and try to shoot you, there is also 2 AI's that spawn in a radius of 200m that tries to back him up. the same thing happens if you try to pay him and dont have any krypto. Im currently messing with what happens when multiple players join the same cab
  4. Like
    5nine got a reaction from mgm in [Release] Taxi script v0.2   
    Real life got in the way. But its coming along nicely. I added krypto cost and if you dont pay the driver will jump out and try to shoot you, there is also 2 AI's that spawn in a radius of 200m that tries to back him up. the same thing happens if you try to pay him and dont have any krypto. Im currently messing with what happens when multiple players join the same cab
  5. Like
    5nine got a reaction from IReeceI in [Release] Taxi script v0.2   
    What is it? 
    An AI controlled Taxi. When players enter a main trader, they can call for a cab which then spawns outside the trader and drives up to the trader and waits for the player to get inside. Once the player gets inside he/she can choose from 4 predefined destinations. Once the players choose destination the driver will start driving towards that destination, choosing the shortest path (via roads) to get there.  The player can at anytime choose to stop the cab and get out. However, if he doesn't pay (50 krypto) before he gets out, the driver will exit the cab and arm himself with a pistol and try to kill the player. there is also 2 AI's spawning in a radius of 200m from the driver which will help him. 
     
    Alpha release, why?
    This is not thoroughly tested with a high player count or with more than 3 passengers in the cab at the same time. Also I have not had time to test every possible scenario of player interaction with the driver/cab. Bugs will most likely occur.. I am in no way a seasoned scripter and as this is my first public release, please be gentle =). Currently, this will probably only work with the anti-hack not to be mentioned on this forum. 
     
    Not epoch AH compatible, why?
    When I started with this script using epoch AH I got a lot of autoban kicks and publicvariable filters i couldnt change so I decided it was not worth the time needed to make it work with that AH. So for now it will only work with the alternative AH or no AH at all. 
     
     
    v. 0.2 includes functions as:
    - Taxis cost 50 krypto, if you dont pay, driver and 2 AIs will try to kill you. (cost can be changed in your init.sqf)
    - maximum 3 taxis on the server, 1 per main trader (or location set by server owner)
    - 4 predefined destinations to choose from per taxi. (can be changed by server owner)
    - customizable chat messages from driver to player
    - alot of functions to prevent player exploiting the taxis
    - Spawnpositions set for Altis traders by default (easily changed by server owner)
     
    Install instructions are presented in the Github link below:
     
    https://github.com/5nine/NibbleGaming_Taxis
     
     
    BattleEye Filters:
    in scripts.txt:
    7 "BIS_fnc_" !"call bis_fnc_showNotification" 7 removeAllActions !="RemoveAllActions _cab;" 7 setMarker !"Local" 7 createMarker !"createmarkerlocal" 7 addEventHandler !"GetIn" !"GetOut" 7 deleteMarker !"deletemarkerlocal" in publicvariable.txt
    5 "" !="\"cab1\"" !="\"cab2\"" !="\"cab3\"" Above I have not included line numbers since my filters are not stock epoch. just search for the first text, for instance setMarker, and then add whatever i put after that like !"exceptionword"
     
     
    Here is a short demonstration of how it works. (note: this is from an earlier version with a lot of missing functions)
     

     
     
    Support or questions?
    Post a reply in this topic. Posts posted after release of v0.1 hotfix starts here: 
     
     
    Credits:
    Axeman: for creating the Axebus script, which I used when i first got the idea for this script
    KiloSwiss: for creating #SEM. where i got some ideas for AI functions. 
    The Entire NibbleGaming community: for help with testing, testing and testing. They also helped me alot with testing....
  6. Like
    5nine got a reaction from Tophi in [Release] Taxi script v0.2   
    It does, but im currently reworking unnecesary while and waituntil loops and i want to make ut work on any setup, including those with epoch AH and complete with be filters etc
  7. Like
    5nine reacted to Tricks in [Release] Taxi script v0.2   
    Awesome 5nine!!! That is really cool man, cant wait to see your release!
  8. Like
    5nine got a reaction from computermancer in [Release] Taxi script v0.2   
    Tbh i dont want to yet, i feel its not ready and i have no time to support problems that may occur. I need to make it work with default AH, which does not look easy
  9. Like
    5nine got a reaction from Gen0cide in [Release] Taxi script v0.2   
    adding cryptocost is on my todolist. If possible i will make the player pay before he gets out, else the driver becomes hostile and tries to kill the player
  10. Like
    5nine got a reaction from second_coming in [Release] Taxi script v0.2   
    adding cryptocost is on my todolist. If possible i will make the player pay before he gets out, else the driver becomes hostile and tries to kill the player
  11. Like
    5nine got a reaction from computermancer in [Release] Taxi script v0.2   
    adding cryptocost is on my todolist. If possible i will make the player pay before he gets out, else the driver becomes hostile and tries to kill the player
  12. Like
    5nine got a reaction from San in [Release] Taxi script v0.2   
    What is it? 
    An AI controlled Taxi. When players enter a main trader, they can call for a cab which then spawns outside the trader and drives up to the trader and waits for the player to get inside. Once the player gets inside he/she can choose from 4 predefined destinations. Once the players choose destination the driver will start driving towards that destination, choosing the shortest path (via roads) to get there.  The player can at anytime choose to stop the cab and get out. However, if he doesn't pay (50 krypto) before he gets out, the driver will exit the cab and arm himself with a pistol and try to kill the player. there is also 2 AI's spawning in a radius of 200m from the driver which will help him. 
     
    Alpha release, why?
    This is not thoroughly tested with a high player count or with more than 3 passengers in the cab at the same time. Also I have not had time to test every possible scenario of player interaction with the driver/cab. Bugs will most likely occur.. I am in no way a seasoned scripter and as this is my first public release, please be gentle =). Currently, this will probably only work with the anti-hack not to be mentioned on this forum. 
     
    Not epoch AH compatible, why?
    When I started with this script using epoch AH I got a lot of autoban kicks and publicvariable filters i couldnt change so I decided it was not worth the time needed to make it work with that AH. So for now it will only work with the alternative AH or no AH at all. 
     
     
    v. 0.2 includes functions as:
    - Taxis cost 50 krypto, if you dont pay, driver and 2 AIs will try to kill you. (cost can be changed in your init.sqf)
    - maximum 3 taxis on the server, 1 per main trader (or location set by server owner)
    - 4 predefined destinations to choose from per taxi. (can be changed by server owner)
    - customizable chat messages from driver to player
    - alot of functions to prevent player exploiting the taxis
    - Spawnpositions set for Altis traders by default (easily changed by server owner)
     
    Install instructions are presented in the Github link below:
     
    https://github.com/5nine/NibbleGaming_Taxis
     
     
    BattleEye Filters:
    in scripts.txt:
    7 "BIS_fnc_" !"call bis_fnc_showNotification" 7 removeAllActions !="RemoveAllActions _cab;" 7 setMarker !"Local" 7 createMarker !"createmarkerlocal" 7 addEventHandler !"GetIn" !"GetOut" 7 deleteMarker !"deletemarkerlocal" in publicvariable.txt
    5 "" !="\"cab1\"" !="\"cab2\"" !="\"cab3\"" Above I have not included line numbers since my filters are not stock epoch. just search for the first text, for instance setMarker, and then add whatever i put after that like !"exceptionword"
     
     
    Here is a short demonstration of how it works. (note: this is from an earlier version with a lot of missing functions)
     

     
     
    Support or questions?
    Post a reply in this topic. Posts posted after release of v0.1 hotfix starts here: 
     
     
    Credits:
    Axeman: for creating the Axebus script, which I used when i first got the idea for this script
    KiloSwiss: for creating #SEM. where i got some ideas for AI functions. 
    The Entire NibbleGaming community: for help with testing, testing and testing. They also helped me alot with testing....
  13. Like
    5nine got a reaction from second_coming in [Release] Taxi script v0.2   
    What is it? 
    An AI controlled Taxi. When players enter a main trader, they can call for a cab which then spawns outside the trader and drives up to the trader and waits for the player to get inside. Once the player gets inside he/she can choose from 4 predefined destinations. Once the players choose destination the driver will start driving towards that destination, choosing the shortest path (via roads) to get there.  The player can at anytime choose to stop the cab and get out. However, if he doesn't pay (50 krypto) before he gets out, the driver will exit the cab and arm himself with a pistol and try to kill the player. there is also 2 AI's spawning in a radius of 200m from the driver which will help him. 
     
    Alpha release, why?
    This is not thoroughly tested with a high player count or with more than 3 passengers in the cab at the same time. Also I have not had time to test every possible scenario of player interaction with the driver/cab. Bugs will most likely occur.. I am in no way a seasoned scripter and as this is my first public release, please be gentle =). Currently, this will probably only work with the anti-hack not to be mentioned on this forum. 
     
    Not epoch AH compatible, why?
    When I started with this script using epoch AH I got a lot of autoban kicks and publicvariable filters i couldnt change so I decided it was not worth the time needed to make it work with that AH. So for now it will only work with the alternative AH or no AH at all. 
     
     
    v. 0.2 includes functions as:
    - Taxis cost 50 krypto, if you dont pay, driver and 2 AIs will try to kill you. (cost can be changed in your init.sqf)
    - maximum 3 taxis on the server, 1 per main trader (or location set by server owner)
    - 4 predefined destinations to choose from per taxi. (can be changed by server owner)
    - customizable chat messages from driver to player
    - alot of functions to prevent player exploiting the taxis
    - Spawnpositions set for Altis traders by default (easily changed by server owner)
     
    Install instructions are presented in the Github link below:
     
    https://github.com/5nine/NibbleGaming_Taxis
     
     
    BattleEye Filters:
    in scripts.txt:
    7 "BIS_fnc_" !"call bis_fnc_showNotification" 7 removeAllActions !="RemoveAllActions _cab;" 7 setMarker !"Local" 7 createMarker !"createmarkerlocal" 7 addEventHandler !"GetIn" !"GetOut" 7 deleteMarker !"deletemarkerlocal" in publicvariable.txt
    5 "" !="\"cab1\"" !="\"cab2\"" !="\"cab3\"" Above I have not included line numbers since my filters are not stock epoch. just search for the first text, for instance setMarker, and then add whatever i put after that like !"exceptionword"
     
     
    Here is a short demonstration of how it works. (note: this is from an earlier version with a lot of missing functions)
     

     
     
    Support or questions?
    Post a reply in this topic. Posts posted after release of v0.1 hotfix starts here: 
     
     
    Credits:
    Axeman: for creating the Axebus script, which I used when i first got the idea for this script
    KiloSwiss: for creating #SEM. where i got some ideas for AI functions. 
    The Entire NibbleGaming community: for help with testing, testing and testing. They also helped me alot with testing....
  14. Like
    5nine got a reaction from San in Simple Database backup   
    I created this because i wanted an easier alternative to the log-rotator.cmd included with epoch. I also dont want to rotate my logs everytime i do a database backup. 
     
    This creates a backup of your dump.rdb (your database) and sorts it in a folder named YEAR-MONTH (e.g. 2014-12). the actual filename also gets a date and timestamp like "Epoch-20141230_2205.rdb". So by using this you will get your backups nice and sorted with a folder for every month of the year. 
     
    Step 1:
    create a batch file inside your C:\-arma3 server path-\DB folder (where redis-server.exe is located)and name it backup.cmd. Insert the code below: 
    ::::::::::::::Created by Fivenine @ NibbleGaming.tk:::::::::::::: :::::::::::::: CONFIG :::::::::::::::::: :::: Set your Arma3 Server base installation directory below. set arma3srvpath=C:\YOUR ARMA 3\SERVER FOLDER\HERE :::: Set your Redis Password and IP below (found inside Redis.conf) set Redispass=ChangeMe set RedisIP=127.0.0.1 ::::::::::: ADVANCED CONFIG :::::::::::: :: Don't touch anything below this point unless you know what your doing. :::::::::::::::::::::::::::::::::::::::: :: Set Time and Date SET _CUR_DATE=%DATE% SET _CUR_TIME=%TIME% ::Setting date FOR /F "tokens=1-4 delims=/.- " %%a IN ("%_CUR_DATE%") DO SET MONTH=%%b FOR /F "tokens=1-4 delims=/.- " %%a IN ("%_CUR_DATE%") DO SET DAY=%%c FOR /F "tokens=1-4 delims=/.- " %%a IN ("%_CUR_DATE%") DO SET YEAR=%%a :: Setting Time FOR /F "tokens=1-4 delims=:." %%a IN ("%_CUR_TIME%") DO SET HOUR=%%a FOR /F "tokens=1-4 delims=:." %%a IN ("%_CUR_TIME%") DO SET MINUTE=%%b SET FOLDER_NAME=%YEAR%-%MONTH% SET BACKUP_FILE=Epoch-%YEAR%%MONTH%%DAY%_%HOUR%%MINUTE%.rdb :: Forcesave Redis Database redis-cli -h %RedisIP% -a %Redispass% save ::create folders if exist "%arma3srvpath%\DBbackups" goto createYDfolder mkdir "%arma3srvpath%\DBbackups" :createYDfolder if exist "%arma3srvpath%\DBbackups\%FOLDER_NAME%" goto startbackup mkdir "%arma3srvpath%\DBbackups\%FOLDER_NAME%" :startbackup copy "%arma3srvpath%\DB\dump.rdb" "%arma3srvpath%\DBbackups\%FOLDER_NAME%\%BACKUP_FILE%" :: Done exit step 2:
    Download Redis from here https://raw.github.com/mythz/redis-windows/master/downloads/redis64-latest.zip and copy redis-cli.exe from inside that .zip to your DB folder. 
     
    step 3:
    Done!
     
    Now just run backup.cmd to perform your backup. I include it in my restart procedure using simple batch files. You can also schedule it to run using windows task scheduler or whatever suits you best. 
     
     
     
    Having problems?
    I'm not sure if this works with every time and dateformat. So depending on where you live you might get a weird date and time format on your folders and files. If you do, simply create a batch file, call it timetest.cmd and insert this:
    @echo off echo %DATE% echo %TIME% timeout 120 Run that batch file and then copy paste the output here and i'll help you out. 
×
×
  • Create New...