Jump to content

AekaGSR

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by AekaGSR

  1. I am kind of eyeball deep working on my server atm, however if will try to take a look at your init today and clean it up if you can be patient.

    I had a friend who does sqf coding look at the init file, I think we have that part sorted, but it still isnt working.  Hopefully computermancer find the problem.  But here is the revised init file anyway:

    // Welcome Credits by Gr8
    [] execVM "custom\welcome.sqf";
    // Spawn Image
    [] execVM "custom\debugpic.sqf";
     
    //simple epoch missions
    diag_log "#SEM: Initialize Simple Epoch Missions";
    if(hasInterface)then{
    execVM "semClient.sqf"};
     
    //status bar
    [] execVM "addons\Status_Bar\init_statusBar.sqf"};
     
    //attach explosives
    if(!isDedicated and hasInterface) then {
    while {true} do {
    waitUntil {alive vehicle player};
    Sleep 30;
    [] execVM "addons\etv\EtV.sqf";
    waitUntil {!isNil "EtVInitialized"};
    [player] call EtV_Actions;
     
    waitUntil {!alive player};
    Sleep 30;
    [] execVM "addons\etv\EtV.sqf";
    waitUntil {!isNil "EtVInitialized"};
    [player] call EtV_Actions; 
    };
    };
     
    //cmEARPLUGS
    diag_log "#Initialize cmEearplugs";
    call compile preProcessFileLineNumbers "cmEarplugs\config.sqf";
    

  2. The problem is I don't know the nuance of the syntax.  I've put all of it inside and then nothing inside works.  I don't know which lines get a ";" or properly placing "{}"

     

    but I thank you

    here is my attempt:

     

    // Welcome Credits by Gr8

    [] execVM "custom\welcome.sqf";
    // Spawn Image
    [] execVM "custom\debugpic.sqf";
    //simple epoch missions
    diag_log "#SEM: Initialize Simple Epoch Missions";
    if(hasInterface)then{
    execVM "semClient.sqf"};
    //status bar
    [] execVM "addons\Status_Bar\init_statusBar.sqf"};
    //attach explosives
    while {true} do
    {
    waitUntil {alive vehicle player};
    Sleep 30;
    [] execVM "addons\etv\EtV.sqf";
    waitUntil {!isNil "EtVInitialized"};
    [player] call EtV_Actions;
     
    waitUntil {!alive player};
    Sleep 30;
    [] execVM "addons\etv\EtV.sqf";
    waitUntil {!isNil "EtVInitialized"};
    [player] call EtV_Actions;
     
     
    };
    };
     
    //cmEARPLUGS
    diag_log "#Initialize cmEearplugs";
    call compile preProcessFileLineNumbers "cmEarplugs\config.sqf";
    }

     
    earplugs still dont work.
  3. I've been trying for hours to get this to work.  I'm using infstar but I've made the relative changes shown above.

    I think it just isn't loading. Possibly due to my horrible syntax in my init file as there are errors for another addon thats not working.

     

    init

    //simple epoch missions
    diag_log "#SEM: Initialize Simple Epoch Missions";
    if(hasInterface)then{execVM "semClient.sqf"
    };
     
    //Status Bar
    if(hasInterface) then{[] execVM "addons\Status_Bar\init_statusBar.sqf"
    };
     
     
     
    // Welcome Credits by Gr8
    [] execVM "custom\welcome.sqf";
     
     
     
     
    // Spawn Image
    [] execVM "custom\debugpic.sqf";
    ;
    //cmEARPLUGS
    diag_log "#Initialize cmEearplugs";
    call compile preProcessFileLineNumbers "cmEarplugs\config.sqf"
    //attach explosives
    diag_log "Initialize attach expl";
    if (hasInterface) then 
    {
    while {true} do
    {
    waitUntil {alive vehicle player};
    Sleep 30;
    [] execVM "addons\etv\EtV.sqf";
    waitUntil {!isNil "EtVInitialized"};
    [player] call EtV_Actions;
     
    waitUntil {!alive player};
    Sleep 30;
    [] execVM "addons\etv\EtV.sqf";
    waitUntil {!isNil "EtVInitialized"};
    [player] call EtV_Actions;
     
     
    };
    };

     
    and my rpt with the relavent areas

    10:12:08 Error in expression <ileLineNumbers "cmEarplugs\config.sqf"

     
    diag_log "Initialize attach expl";
    if (h>
    10:12:08   Error position: <diag_log "Initialize attach expl";
    if (h>
    10:12:08   Error Missing ;
    10:12:08 File mpmissions\epoch.Altis\init.sqf, line 27
    10:12:08 "#SEM: Initialize Simple Epoch Missions"
    10:12:08 Error in expression <ileLineNumbers "cmEarplugs\config.sqf"
     
    diag_log "Initialize attach expl";
    if (h>
    10:12:08   Error position: <diag_log "Initialize attach expl";
    if (h>
    10:12:08   Error Missing ;
    10:12:08 File mpmissions\epoch.Altis\init.sqf, line 27

  4. i need rpt errors to be able to help you, what you are saying sounds to me like you did not install it correctly.

     

    and btw, your entire mission is in use when you start the server ...

    Ok I looked at the logs, i had them turned off (d'oh). I fixed my issue, It is now "working" but I get a "cannot load texture" error when loading in game.  The file is there, it's even reflected as a larger mission file download.  Is there a size limitation or specific dimensions?  I thought the dimensions were supposed to be 800x800.

  5. It's probably blocking the addAction.  The upcoming AntiHack version should fix this.  

    So why are some admins able to get the scroll options to show and others arent?  I don't see a scroll option, earplugs never worked on my server either.  I guess what I'm asking if this is actually the AH or is it something else, how do I get around it?

  6. I can't unencrypt the missions file as I can't find the dlls for the Mikero tools, which also means I haven't been able to repack PBO files as the "other" PBO tool will only unpack.    I've only had a server for two weeks, its been quite difficult figuring out some of this stuff since I don't know all of the nomenclature, I also have been figuring out script syntax by trial and error as a lot of the code around here isn't always hand holding.   But you guys are doing the lord's work and any help is appreciated.

×
×
  • Create New...