Jump to content

WAE

Member
  • Posts

    60
  • Joined

  • Last visited

Posts posted by WAE

  1. I saw this problem with another guy I was helping, BEC wasn't able to connect to the server at all. You could maybe implement a script that will put text in the center of the screen saying when restarts are, then shutdown server, if possible. Just to check, do you have a BEServer.cfg file with the following:

    RConPassword password_here
    

    Otherwise, it won't work. I presume you already do since Axle went through and crossed out all the possibilities.

  2. BEC uses BattlEye to send Global messages. There is no way of changing this as you cannot change BattlEye settings such as color, etc, without a struggle. If it is possible, it's probably really hard, just remember also, that this is only IF IT IS POSSIBLE, which I don't think it is.

  3. Oh and another thing, spawning in vehicles as admins isn't exactly going to drive players into your server, it'll do a better job of making them go away. But it's up to you, your server, your rules. Just a handy bit of advice from me. :)

  4. You can find scripts on admin tools that let you spawn them as permanent vehicles, but as for the vehicles getting deleted, here:

     

    In the init.sqf file, find the following:

    //anti Hack
    [] execVM "\z\addons\dayz_code\system\antihack.sqf";
    

    Replace it with:

    //anti Hack
    if !((getPlayerUID player) in ["0","0","0"]) then {
        [] execVM "\z\addons\dayz_code\system\antihack.sqf";
    };
    

    Obviously you would need to replace the "0"s with the Player UIDs you want to disable the anti-hack for, this would be the administrators only, or anyone with access to the admin tools.

     

    You can also make use of Arrays from other files, like this:

    if ( !((getPlayerUID player) in AdminList) && !((getPlayerUID player) in ModList) && !((getPlayerUID player) in tempList)) then 
    {
        [] execVM "\z\addons\dayz_code\system\antihack.sqf";
    };
    

    This is an example from the admin tools on the forums: 

     

    That should solve your problem with the vehicles blowing up when you spawn them in.

    One more thing, if you use a custom anti-hack, like infiSTAR's admin tools, then you can completely remove this line anyway but make sure before you do this that your custom anti-hacks are working properly. They will probably say to do this in their installation instructions if needed.

     

    P.S. I think these admin tools that I mentioned earlier have a Permanment Vehicle Spawn script in them, but I wouldn't know because I use infiSTAR, but here's the link for you to look at:

    https://github.com/gregariousjb/Epoch-Admin-Tools

  5. you are replaceing the fn_selfaction.sqf, you need to merge the two.

     

    As he said, you may need to confirm that you haven't replaced the fn_selfactions.sqf file. What do you mean by "disable"? Do you mean that the script won't work or that it doesn't pop up on your action menu (scroll menu)?

  6. I'm pretty sure if I'm not mistaken you can do this from the database. Go to traders_data then increase the qty column of each trader. As of right now, I haven't looked thoroughly, so I don't know if there's a way of having infinite stock, maybe you could have a scheduled event in the database to update the stock in each trader every 2 days or something, but I don't know.

  7. You can whitelist actions and stuff in infistar's antihacks so you will have full support for all of your scripts.A lot of them are already whitelisted so you should be good. If not just look up the name of the script and put infistar after it and it should show what you have to whitelist.

  8. Hey guys, can someone possibly find/code a script that lets you do something similar to Arma 3 Breaking Point's Group System or Wasteland's Group System. I want my players to be able to invite others to a group and then have the hexagon show up as Arma 2 does with groups so you can see where your clan members are. It'd be a cool feature and I've seen it implemented before. 

     

    Before anyone says, I have searched and have not found anything relating to the code behind it, there may be something out there though.

     

    Any help is appreciated,

    Cheers.

  9. a) Using 5.5.9 - Is it a bad thing? You mentioned that you hope it isn't this version. Oh god, what have I fucked up now :D

    B)

    13-Mar-2014 19:57:18 Europe/Berlin] PHP Notice:  Trying to get property of non-object in C:\Users\DS\Desktop\Xampp\htdocs\epochtraders\include\function\prices.func.php on line 135
    
    16-Mar-2014 21:19:12 Europe/Berlin] PHP Notice:  Trying to get property of non-object in C:\Users\DS\Desktop\Xampp\htdocs\epochtraders\include\function\prices.func.php on line 135
    
    20-Mar-2014 18:53:27 Europe/Berlin] PHP Fatal error:  Class 'COM' not found in C:\Users\DS\Desktop\Xampp\htdocs\control\index.php on line 125
    
    20-Mar-2014 18:58:10 Europe/Berlin] PHP Fatal error:  Class 'COM' not found in C:\Users\Desktop\Xampp\htdocs\control\index.php on line 125
    

    That is the contents of my php_error_log file. The top two have nothing to do with this, but the bottom two do. I think (correct me if I'm wrong btw) that they are nothing to do with this at the moment. When I first installed this, I forgot to make the changes to the php.ini file, I then went ahead and made the changes after seeing the error on the page and the page loaded correctly. Now, whenever I click the buttons nothing happens. The text pops up where it says something about the server being ready in 60 seconds time, but the batch files do not open on the other computer. Plus, I've clicked the button more than twice, so surely they can't be what's wrong with it at the moment.

    192.168.0.49 - - [20/Mar/2014:17:51:44 +0000] "GET /control HTTP/1.1" 301 337 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:51:44 +0000] "GET /control/ HTTP/1.1" 200 607 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:51:45 +0000] "GET /favicon.ico HTTP/1.1" 404 1055 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:51:49 +0000] "POST /control/ HTTP/1.1" 200 1335 "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:51:50 +0000] "GET /control/img/danger.jpg HTTP/1.1" 200 2846 "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:53:21 +0000] "POST /control/ HTTP/1.1" 200 1336 "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:53:21 +0000] "GET /control/img/danger.jpg HTTP/1.1" 304 - "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:53:27 +0000] "POST /control/index.php HTTP/1.1" 200 136 "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:58:10 +0000] "POST /control/index.php HTTP/1.1" 200 136 "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:58:29 +0000] "GET /control HTTP/1.1" 301 337 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:58:29 +0000] "GET /control/ HTTP/1.1" 200 1336 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:58:31 +0000] "POST /control/index.php HTTP/1.1" 200 1493 "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:58:37 +0000] "GET /control/index.php HTTP/1.1" 200 1336 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:58:37 +0000] "GET /control/img/danger.jpg HTTP/1.1" 304 - "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:17:59:53 +0000] "POST /control/index.php HTTP/1.1" 200 1336 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:00:31 +0000] "POST /control/index.php HTTP/1.1" 200 1336 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:00:31 +0000] "GET /control/img/danger.jpg HTTP/1.1" 304 - "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:00:44 +0000] "POST /control/index.php HTTP/1.1" 200 1493 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:00:50 +0000] "GET /control/index.php HTTP/1.1" 200 1336 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:00:50 +0000] "GET /control/img/danger.jpg HTTP/1.1" 304 - "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:03:17 +0000] "POST /control/index.php HTTP/1.1" 200 1566 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:03:23 +0000] "GET /control/index.php HTTP/1.1" 200 1336 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:03:23 +0000] "GET /control/img/danger.jpg HTTP/1.1" 304 - "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:04:16 +0000] "GET /control/index.php HTTP/1.1" 200 1335 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:04:16 +0000] "GET /control/img/danger.jpg HTTP/1.1" 304 - "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:04:18 +0000] "POST /control/index.php HTTP/1.1" 200 1565 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:04:23 +0000] "GET /control/index.php HTTP/1.1" 200 1335 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:04:24 +0000] "GET /control/img/danger.jpg HTTP/1.1" 304 - "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:05:46 +0000] "GET /control/index.php HTTP/1.1" 200 1336 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:05:50 +0000] "POST /control/index.php HTTP/1.1" 200 1493 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:05:55 +0000] "GET /control/index.php HTTP/1.1" 200 1336 "http://192.168.0.17/control/index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    192.168.0.49 - - [20/Mar/2014:18:05:55 +0000] "GET /control/img/danger.jpg HTTP/1.1" 304 - "http://192.168.0.17/control/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36"
    
    

    That is the apache access log from today only, to include the whole thing from previous dates would make this post never ending. It doesn't look like anything's wrong in there, then again, I may be wrong :)

     

    c) Windows 7 Professional is currently being used on the computer hosting the Xampp server and Windows 8.1 is being used on my main computer where I clicked the start server button from.

    d) I have no idea if it worked before I renamed the bats because I didn't try it. I renamed them because the batch file "Stoper" was annoying the hell out of me, but I made the appropriate changes in the index.php file for it to work.

    e) Personally, I've had a bad experience with Wamp, things like not being able to get it to work in certain situations, and I use a FileZilla server so I thought, why the fuck not get them all in 1 :)

  10. Lol I know, double posts are old, but on installing this, I cannot get this to execute the batch files. Any idea what this could be? I enabled the COM extension and enabled short tags in php.ini, what else? I can't think of what could be the problem. I have changed the names of the batch files but I have updated them in the script so they point to the right files and also the directory is correct. I'll post my files here:

     

    config.php

    <?php
        // Secure this page with user / pass
        // Add login/password pairs below, separated by commas
        // NOTE: all rows except last must have comma "," at the end of the line.
        $LOGIN_INFORMATION = array(
        'admin' => 'No password for you :P'
        };
    
        //Name of your arma2oaserver.exe
        $armaservname = "arma2oaserver.exe";
    
        //Path to .bat files
        $serverfolder = "d:\\users\\ds\\desktop\\xampp\\htdocs\\control\\bats";
    ?>
    

    index.php

    (Uploaded to pastebin as it'd be messy here)

    http://pastebin.com/2xRsS6AV

     

    Also my starter.bat out of interest

    @echo off
    echo Stopping game server...
    taskkill /F /IM arma2oaserver.exe
    ping 127.0.0.1 -n 1 >NUL
    echo.
    echo Stopping BEC...
    taskkill /F /IM Bec.exe
    ping 127.0.0.1 -n 1 >NUL
    echo.
    echo Starting server...
    cd /D "D:\Steam\Steamapps\Common\Arma 2 Operation Arrowhead"
    start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"
    ping 127.0.0.1 -n 3 >NUL
    echo.
    echo Starting BEC...
    cd /D "D:\BEC"
    rem start Bec.exe -f config.cfg
    rem ping 127.0.0.1 -n 1 >NUL
    exit
    

    Appreciate any help given,

    Thanks.

×
×
  • Create New...