Jump to content

#SEM - Simple Epoch Missions v0.8.1 + 0.8.3 test


KiloSwiss

Recommended Posts

  On 1/31/2015 at 8:57 PM, Moody said:

 

In script.txt add !"_this select 0 addMagazines [_this select 5, 1];"

line starting with addMagazine

Must be line 25 or somewhere near

my looks like this:

1 addMagazine !="_this select 0 addMagazines [_this select 5, 1];" !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;"
Link to comment
Share on other sites

  On 1/31/2015 at 9:05 PM, SadBoy1981 said:

 

In script.txt add !"_this select 0 addMagazines [_this select 5, 1];"

line starting with addMagazine

Must be line 25 or somewhere near

my looks like this:

1 addMagazine !="_this select 0 addMagazines [_this select 5, 1];" !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;"

Now i get script restriction #28 lol! 

Link to comment
Share on other sites

  On 1/31/2015 at 9:12 PM, Moody said:

 

7 removeAllWeapons !"removeAllWeapons _this;"
7 removeAllItems !"removeAllItemsWithMagazines  _ai5;" !"removeAllItems _this;"
7 removeBackpack !="removeBackpackGlobal _unit;" !"removeBackpackGlobal _ai5;" !"removeBackpackGlobal _this;"

add all 3 lines around 28 29 30

Link to comment
Share on other sites

  On 1/31/2015 at 9:16 PM, SadBoy1981 said:
7 removeAllWeapons !"removeAllWeapons _this;"
7 removeAllItems !"removeAllItemsWithMagazines  _ai5;" !"removeAllItems _this;"
7 removeBackpack !="removeBackpackGlobal _unit;" !"removeBackpackGlobal _ai5;" !"removeBackpackGlobal _this;"

add all 3 lines around 28 29 30

 

Now i get #40

 

Wtf is this? xD

scripts.txt

Link to comment
Share on other sites

  On 1/31/2015 at 9:21 PM, Moody said:

Now i get #40

 

Wtf is this? xD

Here is my script.txt you can check restriction lines and find out all what u need.

Working with this mission, with blckeagls' missions and VEMF, also with blckeagls' Real Zombies

 

  Reveal hidden contents

Link to comment
Share on other sites

Hey, thanks for that! I managed to enter my server without any script restrictions now.

 

I editted the mission timer and number of people online for multiple missions to spawn, repacked and uploaded.

 

So far nothing has happend(and it should, given the time server has been up now). Also, my statusbar got removed after updating the new SEM files :P

Link to comment
Share on other sites

  On 1/31/2015 at 10:17 PM, Moody said:

Hey, thanks for that! I managed to enter my server without any script restrictions now.

 

I editted the mission timer and number of people online for multiple missions to spawn, repacked and uploaded.

 

So far nothing has happend(and it should, given the time server has been up now). Also, my statusbar got removed after updating the new SEM files :P

Sam  dont have multiple misions for now also try to run statusbar before u run misson 

My init.sqf

  Reveal hidden contents

Link to comment
Share on other sites

  On 1/31/2015 at 10:45 PM, KiloSwiss said:

Don't use old versions and remove old code before You add the new one.

Your script restrictions are clearly from code of an old SEM version and should not be fixed by adding filters, but by cleaning up the mess in Your init.sqf by Yourself!

Greez KiloSwiss

if(hasInterface)then{execVM "semClient.sqf"};

 

is in my init.sqf file

 

But i think the problem is in the script.txt. ill take another look

Link to comment
Share on other sites

seems like im getting close!

 

Still got one problem to solve:

 

Restriction #100!? wtf? :P

 

EDIT, i can add that i have changed the SEM_AIdisableSniperDamage = false; // Set to false to allow sniper damage from any distance. to FALSE.

 

Line #100 in my scripts.txt says the following:

 

7 playableunits !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]); !="FPS: %1 | PLAYERS: %2 | DAMAGE: %3 | KRYPTO: %4 | HUNGER: %5 | THIRST: %6 | SOILED: %7 | GRIDREF: %8", round diag_fps, count playableUnits, damage player, EPOCH_playerCrypto, EPOCH_playerHunger, EPOCH_playerThirst, EPOCH_playerSoiled, mapGridPosition player, _counter""

 

What should i edit or put in there to make it work with my SEM_AIdisableSniperDamage = false; // Set to false to allow sniper damage from any distance

 

Im guessing thats the problem right there or is line #100 in my script.txt something else?

scripts.txt

Edited by Moody
Link to comment
Share on other sites

  On 2/1/2015 at 10:30 AM, Moody said:

Can anyone help me with this? I have been up all night trying to figure it out, but i have no idea what command to put in line #98 to make it work =(

Moody, you shouldn't have to put anything in line 98. After looking at your files, something isn't right. You need to be using the current server version scripts.txt file. I'm not sure what happened to yours, but their is stuff in their that shouldn't be.

 

I attached my scripts.txt file for you to see the difference I am talking about. I currently run blckeagls missions, VEMF, and SEM together without problems.

scripts.txt

Link to comment
Share on other sites

Yeah, but they didn't want you to add this, did they?

 

7 allowDamage !="player allowDamage true;vehicle player allowDamage true;" !="SEM_AIsniperDamageDistance)then[{if(!isPlayer _x)then{_x allowDamage false};

 

on line 100.

 

Edit..

 

I would use a clean fresh copy of my scripts.txt file, and start over from scratch. It might be a pain, but you better get used to it, as there will be LOTS, of starting over, and redoing files as this mod progresses.

 

Also this part can be a problem too:

 

7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\" !="execVM \"\MPMissions\epoch.altis\scripts\fn_statusBar.sqf\""

 

It's like you created another exec line at the bottom. You already have one by default on line 22

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...