Jump to content

JohnyMST

Member
  • Posts

    208
  • Joined

  • Last visited

Posts posted by JohnyMST

  1. Hi all,

    I found a big problem with my Tow/Lift script. It basically allows players to Tow and Lift everything that is available. Was able to Lift another Heli yesterday...

     

    It seems like my code in arma2_CO_objects.sqf is all correct...

     

    http://pastebin.com/NisKtmRw

     

    This is my code. As far as I can see, according to my code I should only be able to lift the following vehicles:
                "AN2_DZ",
                "C130J_US_EP1",
                "GNT_C185U",
                "GNT_C185",
                "GNT_C185R",
                "GNT_C185C"

     

    So that would be fine with me as these are planes.. But how do I disable all the other liftable vehicles that are NOT on the list?

  2. I don't use tow & lift as I think it takes too much away from the game and makes things just to easy. The people who play on my server enjoy having to work for things a bit more

     

    So I guess I can't really comment on much T&L, but script kicks are usually easy to fix by just looking at the relevant BE file.

     

    IE if you getting attachto kicks then look at your "attachto.txt" BE file on the stated line.

    (pls note that things commented out "//" etc will throw the numbering off and these lines can just be removed anyway)

     

    IE if your attachto.txt has a line like this 

    5 "Ikarus"
    

    then it is going to kick you for attaching it to an SUV

     

     

    So basically I just need to change 5 to 1 on each line in the attachTo.txt  to avoid being kicked for something?

  3. Well I thought you would already have some entries in that file so just do it as the others, but here you go:

    R3F_LOG_CFG_objets_heliportables = R3F_LOG_CFG_objets_heliportables +
    [
    	"C130J_US_EP1"
    ];
    

    And if you really don't have ANY entries in that file it won't work, as a reference I will upload my config so you can see how it might look: http://pastebin.com/wu6JyDRX (external link because it is a quite big list)

    That is my complete arma2_CO_objects.sqf so cargo truck can tow smaller cars and helicopters can lift cars, cargo trucks, and planes! :)

     

    Edit: updated my config to the changed Epoch class names for vehicles without ammo.. dang :D

     

    OK Hero... My server is due to restart soon so will upload the file with your code :D lets see if it all works! :D Great stuff :) Thank you!

  4. Hi,

    Is there some hotfix to get rid of all of the errors and kicks from server?

    So far I found many issues while attaching for example a Bus to SUV - I got kicked with restriction #12

    Then my buddy tried to lift a boat with heli, he got kicked with restriction #10...

     

    2 questions:
    How can I completely remove Lift option from my server.

    How can I fix the errors while towing specific vehicles (such as my example above with the bus)

     

    Most vehicles are OK but there are still some that players get kicked for...

     

    I have also changed my code in battleye setpos.txt from "5" to "1" - fixed some of them but still some left.

    Thanks for help!

  5.  

    I like this a lot however I will not be using this on my server. Too much control and I want to keep it to minimum to avoid abusive admins (including myself).

     

     

    So I have found the server_traders.sqf and made the following SQL code for Metal Panel Kit.

    INSERT INTO traders_data (`item`, `qty`, `buy`, `sell`, `tid`, `afile`) VALUES ('["Metal_Panel_Kit",1]', 50, '[4,"ItemGoldBar",1]', '[2,"ItemGoldBar",1]', 530, 'trade_items');
    INSERT INTO traders_data (`item`, `qty`, `buy`, `sell`, `tid`, `afile`) VALUES ('["Metal_Panel_Kit",1]', 50, '[4,"ItemGoldBar",1]', '[2,"ItemGoldBar",1]', 662, 'trade_items');
    INSERT INTO traders_data (`item`, `qty`, `buy`, `sell`, `tid`, `afile`) VALUES ('["Metal_Panel_Kit",1]', 50, '[4,"ItemGoldBar",1]', '[2,"ItemGoldBar",1]', 508, 'trade_items');
    

    Any Errors?

    Please let me know if that will work in all traders where Building Supplies are available.

     

  6. Is there any specific TID or afile number for this or can I use the template below and just change the item name:

     

    INSERT INTO traders_data (`item`, `qty`, `buy`, `sell`, `tid`, `afile`) VALUES ('["ItemComboLock",1]', 10, '[6,"ItemGoldBar",1]', '[3,"ItemGoldBar",1]', 662, 'trade_items'),('["ItemComboLock",1]', 10, '[6,"ItemGoldBar",1]', '[3,"ItemGoldBar",1]', 530, 'trade_items'),('["ItemComboLock",1]', 10, '[6,"ItemGoldBar",1]', '[3,"ItemGoldBar",1]', 508, 'trade_items');
    

    ?

    Thanks :)

  7. By "Between the []." Do you mean literally between the two [ and ] ? Or Between 2 []; ?

     

    Can you show me how the code looks with added vehicle to tow in the way you're describing it here?

     

    From what I'm reading here I would think to put it like this:

    R3F_LOG_CFG_objets_heliportables = R3F_LOG_CFG_objets_heliportables +
    C130J_US_EP1
    [];
    

    Is that correct?

     

    Thanks

  8. LOL how can a plane lift objects? That only works for helis because you have to be slow enough I think. :)

    Anyway if you've already got the R3F_ARTY_AND_LOG mod working it's easy, just add the vehicles you like to lift to the config file "R3F_ARTY_AND_LOG\R3F_LOG\addons_config\arma2_CO_objects.sqf"  in the section R3F_LOG_CFG_objets_heliportables add "C130J_US_EP1" like the other entries.

     

    I'm in that file and I see the line you're talking about... but, where do I put the C130J code ?

     

    My code is like that:

     

    R3F_LOG_CFG_objets_heliportables = R3F_LOG_CFG_objets_heliportables +
    [];
    

    Is it after the + sign or after the []; ?

     

    THanks

  9. Hi guys,

    I had some trouble with BattlEye when UN-Lifting Cars from Helis and when taking clothes from dead bodies.

    Players were getting kicked with the below error:
    "BattlEye setpos restriction #0"

     

    With some help on the forums I found a solution to this:

    Stop the server...

    1. Go to your Battleye folder on your server.

    2. Find a file called "setpos.txt"

    3. Open up the Editor and in the first line you will see a long code starting with a number (5 in my case it was).

    4. Change the 5 to 1.

    5. Save and Run the server again.

     

    You should no longer be getting kicked for this restriction.

  10. Reminds me of myself a month ago ^^

     

    First, become friends with admin

    Second, moan about how sad you are about the limit

    Third, tell admin how to do it [above posts] :D

     

    Worked for me! was 150 and it's 300 now :) Don't push it, say 300 is standard :D

  11. Wow, why would you want so much humanity per zombie kill? if i am a fresh spawn in your server it only takes me 125 zombiekills and i would gain 2500 humanity and be a hero.

    Only because bugged humanity in Dayz.

    Most of players where I play are bandits with -20k (including myself) because we protect ourselves.

    Never open fire on anyone unless we get shot at.

     

    There has to be some balance to this...

     

    Thanks LimpNoodle. I'm away Today however feel free to PM me or Skype me. I'll get the messages

  12. OK, thanks for the info.

    I did not have eventKill.sqf file but I now created one with the code from Github.

    So I placed this local_eventKill.sqf in directory: dayz_code\compile

    Changed the humanity to +20 as I wanted
    Copied the file and pasted into my main directory "Missions" > "Epoch.Chernarus" where mission.sqf & mission.sqm & init.sqf files are located (I am with VIlayer, they don't have PBO's ) .

     

    Now I am stuck with the last part of your post: "you'll also need to call a compile for this file so it'll do its work."

    Can you please explain this?

     

    Thanks !

×
×
  • Create New...