Jump to content

Skaronator

Developer
  • Posts

    122
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    Skaronator reacted to second_coming in Admin menu .3.0.1   
    Both your examples have typos TATERx
    try:

    adminMenu_Owner[] = {{"7656xxxxxxxxxxx","TATER"}};
  2. Like
    Skaronator got a reaction from computermancer in ca\weapons\zasleh1_proxy.p3d   
    already fixed in next patch
  3. Like
    Skaronator reacted to B4ND1T in players getting kicked from my server with no message   
    Arma 3 players are mongs and lazy, which means they dont know how to install a mod or use google, or read a game name.
     
    You could have a server name like
     
    "EPOCH MOD DOWNLOAD HERE (LINK) AIATP (DOWNLOAD HERE (LINK) FOLLOW THESE INSTRUCTIONS TO INSTALL MOD"
     
    And they would still get it wrong.
     
    They probably have not got epoch installed.
     
     
    Edit in before the hulk smash offended crew cruise in and get all bent out of shape from my comments. Relax brosef's, I'm not meaning to offend your sensative side. You know it's true ;)
  4. Like
    Skaronator got a reaction from nedfox in SetVariable error   
    looks like CBA and Task Force Radio
  5. Like
    Skaronator got a reaction from TheVampire in ca\weapons\zasleh1_proxy.p3d   
    already fixed in next patch
  6. Like
    Skaronator got a reaction from nedfox in Help with Marker and Triggers   
    createMarker name must be unique
    https://community.bistudio.com/wiki/createMarker
  7. Like
    Skaronator got a reaction from MGT in Arma 3 Epoch-White Screen   
    Verify your game data and/or try to join a non infistar server
  8. Like
    Skaronator reacted to Richie in Teleport spawn won't work!!!   
    and the other people in the petrol station were thinking 'WTF is that oddball doing taking pictures of the ground' :lol:
  9. Like
    Skaronator reacted to FastPoint Gaming in Redis in PHP - Guide and Examples + Requests   
    Hi Everyone,

    As there is not a great deal of option when it comes to managing your redis data (Hence why we are building a custom database management panel - as well as a few other people) I'm going to show you how to both get information from your redis database and manipulate it.

    This will be helpful for those who wish to build a unique managment system for their servers. Be that very simple or very complex.

    I will also be taking request and offering help to people who wish to get certain results from their queries.


    ===================================

    Requirments:
    PHP capable enviroment (I suggest MAMP/Xampp/Wamp to create a local web server)
    Redis PHP Client (I will be using TinyRedisClient as it is very lightweight)
    General knowledge of PHP language as well as good arithmetic
    Redis Database

    ===================================

    Example One - Get the total amount of players
    function uniqueUsers() { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->GET( 'PLAYERS:YourPort' ); $object = json_decode($value, true); $number = count($object); return $number; } Breakdown

    Declare a fucntion and name it uniqueUsers
    function uniqueUsers() { } Connect to Redis Database
    function uniqueUsers() { $client = new TinyRedisClient( 'YourIP:YourPort' ); } Perform a GET request for the Key Called YourIP:Port
    function uniqueUsers() { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->GET( 'PLAYERS:YourPort' ); } This will return a JSON string. We now need to decode this using the json_decode() function like so
    function uniqueUsers() { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->GET( 'PLAYERS:YourPort' ); $object = json_decode($value, true); } This will seperate the JSON string into an array called $object. Now we count how many items are in the $objects array to get the total amount of players
    function uniqueUsers() { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->GET( 'PLAYERS:YourPort' ); $object = json_decode($value, true); $number = count($object); } Now all that is left to do is return the value of $number to a variable that we stored the returned value from the function in.
    function uniqueUsers() { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->GET( 'PLAYERS:YourPort' ); $object = json_decode($value, true); $number = count($object); return $number; } NOTE: To assign the returned value to a variable you must declare the variable and call the function like so:
    $uniquePlayers = uniqueUsers(); ===================================

    Example Two - Get Most Common Vehicle (Class Name)
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); for ($x = 0; $x <= $number; $x++) { $value = $client->GET( 'Vehicle:YourPort:'.$x ); if ($value != '') { $vehicle = json_decode($value, true); if (isset($vehicle[0])) { $vehicles[$x] = $vehicle[0]; } } } $counted = array_count_values($vehicles); arsort($counted); return(key($counted)); } Breakdown
     
      Declare mostPopularVehicle function
    function mostPopularVehicle () { } Connect to Redis database
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); } Get all KEYS that match the pattern "Vehicle:YourPort:"
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); } Count the result to get the total amount of vehicles
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); } Loop for the number of vehicles
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); for ($x = 0; $x <= $number; $x++) { } } GET the vehicle number $x (For each number in the total number of cars)
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); for ($x = 0; $x <= $number; $x++) { $value = $client->GET( 'Vehicle:YourPort:'.$x ); } } Check if the car value is not blank
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); for ($x = 0; $x <= $number; $x++) { $value = $client->GET( 'Vehicle:YourPort:'.$x ); if ($value != '') { } } } Decode the JSON string
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); for ($x = 0; $x <= $number; $x++) { $value = $client->GET( 'Vehicle:YourPort:'.$x ); if ($value != '') { $vehicle = json_decode($value, true); } } } Check if the decoded JSON string Index 0 is set
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); for ($x = 0; $x <= $number; $x++) { $value = $client->GET( 'Vehicle:YourPort:'.$x ); if ($value != '') { $vehicle = json_decode($value, true); if (isset($vehicle[0])) { } } } } If the index is set, vehicles index of $x variables (Each car for the total of cars) = the vehicle class name (Index 0 of the JSON string)
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); for ($x = 0; $x <= $number; $x++) { $value = $client->GET( 'Vehicle:YourPort:'.$x ); if ($value != '') { $vehicle = json_decode($value, true); if (isset($vehicle[0])) { $vehicles[$x] = $vehicle[0]; } } } } Count all the values in the $vehicles array
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); for ($x = 0; $x <= $number; $x++) { $value = $client->GET( 'Vehicle:YourPort:'.$x ); if ($value != '') { $vehicle = json_decode($value, true); if (isset($vehicle[0])) { $vehicles[$x] = $vehicle[0]; } } } $counted = array_count_values($vehicles); } Sort the counted array but maintain index association 
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); for ($x = 0; $x <= $number; $x++) { $value = $client->GET( 'Vehicle:YourPort:'.$x ); if ($value != '') { $vehicle = json_decode($value, true); if (isset($vehicle[0])) { $vehicles[$x] = $vehicle[0]; } } } $counted = array_count_values($vehicles); arsort($counted); } Return the value, in this case is the most frequent occurring vehicle in the databse
    function mostPopularVehicle () { $client = new TinyRedisClient( 'YourIP:YourPort' ); $value = $client->KEYS( 'Vehicle:YourPort*' ); $number = count($value); for ($x = 0; $x <= $number; $x++) { $value = $client->GET( 'Vehicle:YourPort:'.$x ); if ($value != '') { $vehicle = json_decode($value, true); if (isset($vehicle[0])) { $vehicles[$x] = $vehicle[0]; } } } $counted = array_count_values($vehicles); arsort($counted); return(key($counted)); } ===================================
     
    More coming Soon
  10. Like
    Skaronator got a reaction from L3uX in Select Gender is missing!   
    You can just select your gender once till you switch your profil or delete it.
     
     
    I like your sign btw ;)
  11. Like
    Skaronator got a reaction from esham in Free Roam Admin Cam   
    Press L
  12. Like
    Skaronator got a reaction from San in What is skaro.sqf?   
    Its just the admin debug. It happen if you press F5 as admin, the game try to execute the skaro.sqf which doesn't exist on your PC.
  13. Like
    Skaronator got a reaction from Markokil321 in Addon 'A3_epoch_server' requires addon 'A3_epoch_config'   
    You need to install the Epoch Mod on the server as well. (@Epoch Folder from your Client)
  14. Like
    Skaronator reacted to Tigah in Altis map Sucks   
    Altis is new and something people just need to get used to IMO. Although large, you can have a different adventure in different parts of Altis each time you log on. Chernarus is over-played and predictable but who knows what Chernarus+ would bring to the table? I can't wait for more vehicles as well, as I'm sure people would feel better about the experience they are having if they had a faster way of getting around the map. I personally don't mind running through the fields but that's just me maybe? :)
  15. Like
    Skaronator reacted to GasT in Low height drops insta-killing ?   
    ARMA is ARMA.. Epoch has already raised the health which I don´t like.
     
    I hit a guy with the Vannad and jumped out shot him twice with a 6.5 then He turned around and one shot killed Me with a .50. ARMA is not fair and I dont think it ever will be : /
     
    Don´t matter ARMA still rules.. lol
  16. Like
    Skaronator reacted to vbawol in Discussion: Official Server Files Release Date!   
    LoL, Only the leaked/hacked server files used that method. We use our own custom solution.
  17. Like
    Skaronator reacted to raymix in What's the point of building when people can destroy your base with c4   
    edit: nvm I should probably avoid this discussion
  18. Like
    Skaronator reacted to Kadajin in Building without a frequency jammer is not good for the mod.   
    As the title sais. I think alowing players to build without first making their jammer is not good.
    Players should only be able to build tents / shelvs / campfire and not every noob with an axe can fill the server limit trying to learn how to build. In Arma 2 epoch you needed a plote pole down before you started building and it workend out great.
     
    Like this you always have to wait for other people's shit to despawn or go destroy all the useless walls and floors everywhere.
    That is another problem on it's own. My group and I tryed to blow up some walls found by placeing them next to a gas station and blowing it up. After restart the walls where still there even though they blew up before. We have to waste our own explosives or cars to make room on the server to build our bases. It's not fun.. at all :( ( Edit* walls blown up with cars come back after restart :( )
     
    I know it's hard to build a jammer because scrap metal is so rare but this will prevent a lot of server lag and keep the build limit in check better.
  19. Like
    Skaronator reacted to Capwned in 80 player on a server - workaround?   
    Pls dont throw out statements like that. This is a working system for Arma 3. Some screens from 5 secs ago on the skaronator server. Nearly 66 player. Same fps with 80. Pls dont leed this thread into  a hardware bashing. 
    Fps with my favorite pvp graphics

  20. Like
    Skaronator reacted to ToejaM in Is there anyway for the dev's to remove advange flying.   
    I can see this being akin to first person/third person and that many servers will have to have the bambi mode to be popular, which is a shame. BIS should never have made it optional.
     
    Sigh.
  21. Like
    Skaronator got a reaction from Bushwick in Lockbox bugging when filled with too much content   
    Fixed in the next patch
  22. Like
    Skaronator got a reaction from NeutralisatorMAN in problem setting up player   
    Login issues should be fixed now.
  23. Like
    Skaronator reacted to Shadow Moses in Is it just me?   
    Can I get the server files? 
  24. Like
    Skaronator got a reaction from donelehon in World limit reached - How to resolve this issue once it arises.   
    Default limit is currently 1000. I raised up to 2500 on my server but with the next patch come a maintain system which delete old/non maintained bases.
  25. Like
    Skaronator got a reaction from jayjo in Extortion and the joys of ARMA: Update v2   
    We can confirm that BI fixed this issue for the upcoming 1.32 patch, which should hit stable early next week. Thanks to everyone that upvoted the issue on the feedback tracker.
×
×
  • Create New...