Donnovan Posted December 6, 2015 Report Share Posted December 6, 2015 This is how i make no-lobby after death: Files to change: 1 - Client side: compile\player_death.sqf use this custom player_death.sqf: https://www.dropbox.com/s/4yaijzuj1ieegiq/player_death.sqf?dl=0 2 - Client side: description.ext (on the root of the mission file) Change this: respawndelay = 5; to this: respawndelay = 0; 3 - Server side: compile\server_playerSetup.sqf Look for this line: _playerObj addMPEventHandler ["MPHit", {_this spawn fnc_plyrHit;}]; Add above it, this line: _playerObj removeAllMPEventHandlers "MPHit"; Create new file: 1 - Put this file in the root of the mission: https://www.dropbox.com/s/omb7n23bxcky2gl/player_monitor.fsm?dl=0 It's a custom player_monitor.fsm to run everytime the player dies. 2 - Create reinit.sqf, in root of the mission file, and add inside it this content: dayz_originalPlayer = player; _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; if (isServer) then { waitUntil{dayz_preloadFinished}; }; mtdr_reinitOk = false; _id = [] execFSM "player_monitor.fsm"; waitUntil {mtdr_reinitOk}; //If you use ESS, uncomment the line bellow: //sorry, i dont know the start line for it //If you use ESS2, uncomment the line bellow: //execVM "spawn\start.sqf"; Anti Hack Problems I believe antihack kill the player if he goes to the debug area (respawn_west marker set in mission.sqm) after first respawn, so if you use antihack, the player will enter in a die/respawn/die/respaw cicle and probabily crash the game. Without antihack, it seens to work ok, but tell me if you find a problem. Thankyou. RiMMON, Linux, Zoranth and 1 other 4 Link to comment Share on other sites More sharing options...
xandinfjg Posted December 8, 2015 Report Share Posted December 8, 2015 how can I get player_death.sqf without removing it terminate dayz_musicH; terminate dayz_slowCheck; terminate dayz_animalCheck; terminate dayz_monitor1; terminate dayz_medicalH; terminate dayz_gui; r_player_dead = true; if(TakeClothesScript)then{ call compile preprocessFileLineNumbers "scripts\TakeClothes\Recoverskin.sqf"; }; "dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [4]; "dynamicBlur" ppEffectCommit 0.2; by infistar permission? Link to comment Share on other sites More sharing options...
Tweety060286 Posted December 8, 2015 Report Share Posted December 8, 2015 . Link to comment Share on other sites More sharing options...
Donnovan Posted December 9, 2015 Author Report Share Posted December 9, 2015 Post updated. player_monitor.fsm is not a file to change, but a new file to be added on the root of the mission file. Link to comment Share on other sites More sharing options...
creativv Posted December 14, 2015 Report Share Posted December 14, 2015 Interesting to see where this will go Donnovan . Think from most people on arma 2 forum part you are the one most active trying to improve it still . Link to comment Share on other sites More sharing options...
Donnovan Posted December 15, 2015 Author Report Share Posted December 15, 2015 Thankyou, If someone tried it, please post a feedback, i can try to help if you had a problem. xandinfjg, is you having problem to create a custom player_death.sqf? Link to comment Share on other sites More sharing options...
creativv Posted December 16, 2015 Report Share Posted December 16, 2015 I can run on test server if i can find some time , i have a busy job . If i find some time i will run it on test server with some friends without infistar . Link to comment Share on other sites More sharing options...
kelso000 Posted December 16, 2015 Report Share Posted December 16, 2015 I saw you posting about this a while back and have been waiting to see where it went. I'll this out today and will report back with how it runs with my current mission. I'll also see if I can't figure out a way to get it to run with infistar Link to comment Share on other sites More sharing options...
getwastedgaming1 Posted December 20, 2015 Report Share Posted December 20, 2015 Hi i have trying to get this to work for a day or so. So far i have found a number of things infistar dose to make this impossible and resolved most of them 1. detects player TP kills. (Can be fixed by turning of TP detection but also by adding exception to debug.) 2. Detects player still has more than 0 blood in debug and kills / logs. (Can remove this part, as i have for testing purposes) 3. Detects godmode in debug kills and kicks. (Removed this section of code for testing) 4. lobby's for no dam reason. After fixing the first 3 and testing time and time again with both a admin account and player account i found consistently that admins can still re-spawn without any issue. However players can now respawn and if your quick you end up back in the map bounds with ESS gear and para into the map. However within 10-15 seconds of all of this process it lobby the player accounts anyway. I cant find anything in infistar related to endmission or missionfail etc that can account for a sudden kick to lobby. Pretty much polluting my days and nights. I am in no way a master coder but i am good with logic and trial and error. Anyone know of a setting / section of the infistar code that deals with lobby kicks ? so i can at least just disable / remove it for testing. Zoranth 1 Link to comment Share on other sites More sharing options...
Donnovan Posted December 20, 2015 Author Report Share Posted December 20, 2015 getwastedgaming, thankyou VERY much for your effort. For admins it work ok to you? Have not noticed any strange behavior. Link to comment Share on other sites More sharing options...
getwastedgaming1 Posted December 21, 2015 Report Share Posted December 21, 2015 It works mostly without issue as a admin (so exception to all the rules of infistar). I have noticed that sometimes if the death and re spawn is too quick that the GUI sometimes didn't update right. I had a character that was stuck with the broken legs GUI image despite re-spawning 4x. This has not repeated however. If i can get past this last issue with the forced lobby kick 10-15s after respawn i will get me crew to respawn over and over and test every possible combination until we find any issue or exploit. But for now any suggestions on how i can stop infistar for force lobby kicking would be great Link to comment Share on other sites More sharing options...
Joshyy Posted December 26, 2015 Report Share Posted December 26, 2015 I have implemented this addon in a test server but it still takes people to the lobby, and says that they combat log when dying? Link to comment Share on other sites More sharing options...
getwastedgaming1 Posted January 1, 2016 Report Share Posted January 1, 2016 Still no luck. Been trying to get past this final lobby kick that takes place 10-15s after re-spawn. If your on as a admin it works perfectly but without it will still lobby kick 10-15s after you have spawned. This happens if you leave debug or sit in debug and don't choose a spawn or kit etc. I get the same issue without the ESS. Will keep working on a solution. This would really help for my server as its high military and pvp so a lot of death and action. (lots of re-spawning) lol Link to comment Share on other sites More sharing options...
Linux Posted February 23, 2016 Report Share Posted February 23, 2016 On 01.01.2016 at 6:09 PM, getwastedgaming1 said: Still no luck. Been trying to get past this final lobby kick that takes place 10-15s after re-spawn. If your on as a admin it works perfectly but without it will still lobby kick 10-15s after you have spawned. This happens if you leave debug or sit in debug and don't choose a spawn or kit etc. I get the same issue without the ESS. Will keep working on a solution. This would really help for my server as its high military and pvp so a lot of death and action. (lots of re-spawning) lol i find this theme with fast reSpawn players, without waiting Link to comment Share on other sites More sharing options...
Linux Posted February 28, 2016 Report Share Posted February 28, 2016 Get it working, but infiStar killing player all the time, without infi is working nice Donnovan 1 Link to comment Share on other sites More sharing options...
Donnovan Posted February 28, 2016 Author Report Share Posted February 28, 2016 I would love to have only the Admin Tools of infiStar. Linux 1 Link to comment Share on other sites More sharing options...
Linux Posted February 29, 2016 Report Share Posted February 29, 2016 2 method's no lobby respawn nice working without infiStar) Link to comment Share on other sites More sharing options...
ckto Posted March 30, 2016 Report Share Posted March 30, 2016 Could not make it work in my server even with no anti hack, problems: black screens sometimes (10~15sec) no zombie aggro after respawn sometimes players break their legs when spawning via hallo sometimes players dies 2 times in a row for some reason (this is not a big deal) If anyone could fix this i would be very glad.Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now