Jump to content

se7en

Member
  • Posts

    47
  • Joined

  • Last visited

Posts posted by se7en

  1. Hi

    What am i doing wrong ?

    _inventory = items player;
    _count = count _inventory;
     
    for "_i" from 0 to (_count -1) do
    {
    _item = _inventory select _i;
    _showitem = _showitem + _item + "\n";
    };
     
    hintSilent format ["%1", _showitem];
    
    

    EDIT:

    t/c

    { _showitem = _showitem + _x + "\n"; }foreach (magazines player); hintSilent format ["%1", _showitem];
    

    works ;D

  2. I tried this on a clean install and it still persists. It's not a huge deal but I've had people land and get out of their heli and can't get back in. They detach the lifted vehicle and it pops back up above ground and blows up.

     

    Any fix on this?

    It happens to me as well, even on clean install too.

     

    Actually thats pretty sad that if people go on missions with heli lifting truck lifted, so when they land without dropping truck first, they cant use it, then they must wait to server restart to move truck to previous position and so on...

     

    Or maybe any idea to deny player changing seat/leaving heli WHEN object is lifted?

  3. [RELEASE] Vehicle Key Changer - For making Masterkey - V 1.5.4 (Updated 26/10/2014)

    Changes: Debugging (heli distance menu appears) I'm sorry. Was my fault.

    Have Fun!

    Best regards

    hellraver

    Hint: This is a unofficial version and is not from Otternas3!!!

     

     

    Im using that version but there is a problem.

    When i start using it, whenever ANY player joins a game he gets like 5-10seconds freeze...

    When i disable this addons, all works fine - no freezes.

     

    What could be solution of that?

    RPTs client/server are clean.

  4. Oh, i will use the same topic, because my next problem is very similar.

     

    I got atm in my variables.sqf something like: vips = [12345,12345,12345];

    and its working great, but i would like to make it in another file.

     

    For example lets say i got file named viplist.sqf with this line above

    Tried using #include custom\viplist.sqf in variables.sqf but its not working (more likely none variables in variables.sqf are working when i put this #include)

     

    How can i make some variables in another files?

  5. Wrote simple Menu option to show but i keep getting errors (but it is working)

     

    I pasted in fn_selfActions.sqf

    if ((speed player <= 1) && _canDo) then {
    if (s_player_walk < 0) then {
        s_player_walk = player addaction [("<t color=""#ffa500"">" + ("Auto") + "<t color=""#ffffff"">" + (" Walk") + "</t>"),"custom\tools\automove.sqf","",5,false,true,"",""];
                    };
            } else {
            player removeAction s_player_walk;
            s_player_walk = -1;
        };
    
    

    IT works, but keep spamming in client's RPT:

    Error in expression <peed player <= 1) && _canDo) then {
    if (s_player_walk < 0) then {
    s_player_w>
      Error position: <s_player_walk < 0) then {
    s_player_w>
      Error Undefined variable (in sentence i guess): s_player_walk
    File mpmissions\__CUR_MP.Chernarus\custom\fn_selfActions.sqf, line 19
    
     
    Why these errors are kinda bugged and why they are even there?
  6. For anyone that use AdminEpochTools - to add custom option to menu:

     

    First Edit: Epoch\MPMissions\DayZ_Epoch_11.Chernarus\admintools\AdminToolsMain.sqf

     

    Add:

    ["Admin Skin",[],"", -5, [["expression", format[_EXECscript1,"adminskin.sqf"]]], "1", "1"],
    

    somewhere u want this menu to appear.

     

    Create adminskin.sqf in Epoch\MPMissions\DayZ_Epoch_11.Chernarus\admintools\tools\ folder and Paste this in:

    PVOZ_adminSkin  =  [player , "gui\admin.jpg" ]; // (or color , "#(argb,1,1,1)color(0,0,0,1)" )
    publicVariable "PVOZ_adminSkin";
    player setObjectTexture [0, "gui\admin.jpg"]; // (to also see it yourself)
    player setVariable["adminated",1,true];
    

    Dont forget to change "gui\admin.jpg" to point location of ur Admin Texture.

     

    ;)

  7. Hi there!

    I would like to give my players ability to press option menu and start autorunning with ability to stop running while press 'V' or even by just pressing movement key?

    _action = _this select 0;
    player playMoveNow _action;
     
    cutText["Press V to cancel movement","PLAIN DOWN"];
    
    

    So what action to make it autowalk?

    Or maybe other way to do it?

     

    :)

  8. uh this looks awesome! Very nice work :)

     

    I didn't see any big mistakes yet, will review the code a bit later, got some work to do atm.

     

    wish that was true but i SEE my mistakes and i know there are mistakes.

    For example propably the custom\laser\mark.sqf is more like fcked up for real. 

    While laser_init.sqf can be good actually because i dont see mistakes in there.

     

    @DangerRuss: Ok, but nope, still need what im doing ;D

    And i believe that would be useful for some other players as well.

    Imagine group of players (5-6) where 1 is sniper with laser designator and there are for example some rocketmans so sniper can mark positions of the marked targets to others.

    Obviously that would be nice if there will be mark like "shift clicking" is making mark.

  9. Are u sure BEC is running?

    Try using BEC.exe while server is running to check if there are no error messages.

     

    And comparing ur sheduler to mine i see some differences.

    Not sure if its gonna help you cause im newbie:

     

    Your Task:

    <job id="4">
    <day>1,2,3,4,5,6,7</day>
    <start>025800</start>
    <runtime>030000</runtime>
    <loop>-1</loop>
    <cmd> say -1 Server Restart in 2 Mins LOG OFF NOW!</cmd>
    </job>
    

    My Task:

    <job id='39'>
    <day>1,2,3,4,5,6,7</day>
    <start>02:59:00</start>
    <runtime>000000</runtime>
    <loop>0</loop>
    <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd>
    </job>
    

    Hope this can help u somehow

  10. Ok ill try this topic to make some my thoughts.

    If any of you will notice any my BIG mistake, please correct me.

     

    laser_init.sqf:

    _hasLaser = false;
     
    while {true} do {
    private ["_hasLaser","_inventory","_currentWeapon"];
     
    _inventory = items player;
    _currentWeapon = primaryWeapon player;
    _hasLaser = false;
     
    if ((_currentWeapon == "LaserDesignator") || ("LaserDesignator" in _inventory)) then {
    _hasLaser=true; //
    }; 
     
     
    if (_hasLaser && _typeOfCursorTarget in MarkableTargets && s_marking < 0) then {
    s_mark = player addaction [("<t color=""#0074E8"">" + ("Mark Target") +"</t>"),"custom\laser\mark.sqf","_cursorTarget",1,true,true,"",""]; 
    } else {
    player removeAction s_mark;
    s_marking = -1;
    };
    sleep 5;
    
    And my custom\laser\mark.sqf:
    private["_targetPosition","_targetVehicle"];
     
    VehicleToMark = _this select 1;
     
    
    _targetPosition = getPosATL VehicleToMark;
    _targetVehicle = VehicleToMark;
    _vehicleName = gettext (configFile >> "CfgVehicles" >> (typeof _targetVehicle) >> "displayName");
     
    _Marker = "vehicleMarker" + (str _i);
    
    _vehicleMarker = createMarkerLocal [_Marker,[(_targetPosition select 0),(_targetPosition select 1)]];
    _vehicleMarker setMarkerShapeLocal "ICON";
    _vehicleMarker setMarkerTypeLocal "DOT";
    _vehicleMarker setMarkerColorLocal ColorOrange;
    _vehicleMarker setMarkerSizeLocal [1.0, 1.0];
    _vehicleMarker setMarkerTextLocal format [" %1: %2 spotted!",name player,_vehicleName];
    
    
     
    
     
    variables.sqf:
    MarkableTargets = [
        "Kamaz"
        ];
    
     
    So basically i know i made there MANY mistakes.
    I hope you can help me with this as this is goin to be my first script, and/or if someone want to make it - feel free.
    And the marker is displayed Locally - just for guy who marks, dont know how to make a mark on group channel...
  11. Yes it is!

    Almost everything is possible via scripting!

     

    It will take you some time - but if you like scripting, you should like it :)

    Here's a quick tip :)

     

    1. use AddAction command

    or

    2. use maca's right click script, so that you can add a right click option when players have the item in their inventory!

    xBowBii

     

    Im actually very very beginner but thats what i already know.

    I dont think just addaction would do the job.

     

    First of all i should got a function thats more like

    "If Player got Laser Designator Equipped"

    and

    "What player aims on and get params of it like location and stuff"

     

    Then i should just use the same script thats in any "Vehicle Locator" script to show this on map

    And something like "Write to chat" function.

    If any of you can help me with these functions i can try to write it myself. ;)

  12. Lol....

     

    the disrespect, support ? u can't imagine how many people PM me, skype me, for support : ) it's crazy. And the maker doesn't get anything in return most of the times. So where is the obligation to give away all your time for something you made and u are so kind enough to share.

     

     

    I'll tell you how to fix it, since u have a server and let us say: if u host a server, u should support it and know how to ^^

    Set your colors on vehicle client-sided on login depending on the 2 variables which are attached on the colored vehicles.

    Thats your solution, GL ^^

     

    Ill tell u what.

    I cant believe NOONE donated u by paypal.

    Im 100% sure that u had some donations already, so thats what u get for sharing.

    Im also sure that if u would release broken scripts (because i feel that about this script) and u would not help others installing it (if its not broken but ppl cant install it), that wouldnt make u get ANY donations.

     

    Actually when i get some cash ill donate u as well because ur scripts are kinda awesome (ill forget ur too general solution).

     

    And back to topic.

    Everything is reading good, wrote simple script that would show the database colors, its reading/showing them properly.

    I dont know HOW TO make it work on a car so i cant edit it but for me its not working.

  13. You should appreciate that I released this script for the public.

    Anyways, I can't ensure that this addon works on any custumised server/mission pbo.

    It has been tested on a vanilla epoch server and works without any errors.

     

    Thus I recommed to check both .RPT files (server/client) to figure out an error.

    Just saying the script is broken cause you are not able to get it work on your server, does not help anyone.

     

    Told ya whats wrong and what doesnt work for me mate.

    No errors, all looks fine.

    Even saving to database.

    Nothing in RPT on client/server side just after message "vehicle has been painted".

     

    Looks like nothing is wrong but somehow car stay the same car as it were before.

    Maybe list of mods will help you?

    Wrote only mods that CAN have some connections to it.

     

    Admin Epoch Tools

    VASP (vehicle and skin preview)

    Zupa's Single Currency (ZSC)

    Logistic (reworked Tow/Lift)

    Service Points (refuel/repair ...)

     

    and that would be actually all that might have some connection.

     

    Do you know, or maybe do u have an idea at least what CAN BE wrong?

     

    P.s. and Yes, i do appreciate and admire that u released script, but my opinion is - if u share script to public, u should support it as well, am i right ? :)

  14. Btw, if user stopped writing that he has problem with not working script, it propably means that a ) he somehow solved it (not so likely) b ) he abandoned script.

     

    So...

    Im having the same problem as some guys earlier.

    Did EVERYTHING as the install notes say.

    Got the menu of painting and stuff, but when there is info that soon textures gonna change, nothing happens.

     

    Dont tell me that im insulting script, but i have full rights to say this script is broken OR author didnt say all in install notes.

     

    If someone want to help me, would be really glad ;)

     5:49:46 "VEHICLE PAINT: Player se7en (xxxxxxxxxxxxxx) has painted a Hatchback!"

    So logging is fine.

    [353,[3956.12,8397.64,8.545e-04],"1,1,0,1","1,0,1,1"]
    

    Looks like SQL saving is fine but 1-1-0-1 is a bit general.

    Shouldn't it be like 1/255 * x ?

     

    and in logs i saw for the first time now:

    5:50:18 Error: Bone leftshoulder doesn't exist in some skeleton 
     5:50:18 Error: Bone rightshoulder doesn't exist in some skeleton 
    

    On the second try it's from logs: 

     6:12:39 HiveExt(0): [Information] Method: 305 Params: 429:[356,[3944.35,8387.96,1.221e-04],0.271326,1,0.441276,1,0.214675,1,0.172933,1]:0.999:
    

    So i guess its saving fair now (i guess it was save to database)

    and it went to base fine this time as well:

    [356,[3944.35,8387.96,1.221e-04],"0.271326,1,0.441276,1","0.214675,1,0.172933,1"]
    

    Yes, full green with some random reds/blues

  15. I believe its not about launching script because it already launches.

    Got same line above for other menu option with other .sqf script and it WORKS.

    this means the error is in the sqf script of that one.

     

    You do think that this is good script?:

     

    _action = _this select 0;
    player playMoveNow _action;
     
    cutText["Press V to cancel movement","PLAIN DOWN"];
    
×
×
  • Create New...