Scheint mit anderen mods das problem zu haben das der server crashed und die persistance aufgehoben wird !
Bin momentan auf einem Server der das problem hatte und die Mod wurde entfernt , aber das war erst gestern wir schauen nun ob es wirklich diese Mod war oder etwas anderes .
Ich habe nur die ersten 5 zeilen der stamina mit 0 geändert , eventuell liegts an dem das du die anderen sachen auch geändert hast !
Probier mal die orginal werte der anderen sachen wieder einzufügen und nur die ersten 5 zeilen auf 0 zu setzten !
Sollte dann so ausschauen :
Code
// unit = currently percent (stamina max is 100)
const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 0; //in units (how much sprint depletes stamina)
const int STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC = 0; //in units (how much sprint in crouch depletes stamina)
const int STAMINA_DRAIN_PRONE_SPRINT_PER_SEC = 0; //in units (how much sprint in prone depletes stamina)
const int STAMINA_DRAIN_SWIM_FAST_PER_SEC = 0; //in units (how much fast swimming depletes stamina)
const int STAMINA_DRAIN_LADDER_FAST_PER_SEC = 0; //in units (how much fast ladder climb depletes stamina)
const float STAMINA_DRAIN_HOLD_BREATH = 0.2; //in units (how much holding breath depletes stamina)
const float STAMINA_DRAIN_JUMP = 20; // in units (how much jumping depletes stamina)
const float STAMINA_DRAIN_MELEE_LIGHT = 5; //in units (how much light melee punch depletes stamina)
const float STAMINA_DRAIN_MELEE_HEAVY = 25; //in units (how much heavy melee punch depletes stamina)
const float STAMINA_DRAIN_MELEE_EVADE = 8; // in units (how much evade depletes stamina)
const int STAMINA_GAIN_JOG_PER_SEC = 2; //in units (how much of stamina units is gained while jogging)
const int STAMINA_GAIN_WALK_PER_SEC = 4; //in units (how much of stamina units is gained while walking)
const int STAMINA_GAIN_IDLE_PER_SEC = 5; //in units (how much of stamina units is gained while iddling)
const int STAMINA_GAIN_SWIM_PER_SEC = 1; //in units (how much of stamina units is gained while slowly swim)
const int STAMINA_GAIN_LADDER_PER_SEC = 1; //in units (how much of stamina units is gained while slowly swim)
const float STAMINA_GAIN_BONUS_CAP = 3.0; //in units (tells how much extra units can be added at best to stamina regain)
const float STAMINA_KG_TO_STAMINAPERCENT_PENALTY = 1.75; //in units (by how many units is max stamina bar reduced for each 1 kg of load weight)
const float STAMINA_MIN_CAP = 5; //in units (overload won't reduce max stamina bar under this value)
const float STAMINA_SPRINT_THRESHOLD = 25; //in units (how many units of stamina you need regained in order to be able to start sprinting)
const float STAMINA_HOLD_BREATH_THRESHOLD = 10; // in units
const float STAMINA_JUMP_THRESHOLD = 20; // in units
const float STAMINA_MELEE_HEAVY_THRESHOLD = STAMINA_DRAIN_MELEE_HEAVY; // in units (how many units we need to make a heavy hit in melee)
const float STAMINA_MELEE_EVADE_THRESHOLD = 8; // in units
const float STAMINA_REGEN_COOLDOWN_DEPLETION = 0.45; // in secs (how much time we will spend in cooldown before the stamina will starts with regeneration)
const float STAMINA_REGEN_COOLDOWN_EXHAUSTION = 0.5;
const float STAMINA_WEIGHT_LIMIT_THRESHOLD = 6000; //! in grams (weight where the player is not penalized by stamina)
const float STAMINA_KG_TO_GRAMS = 1000; //for kg to g conversion
const float STAMINA_SYNC_RATE = 1; //in secs
const float STAMINA_MAX = 100;
Sollte funktionieren , da ich nach dem kleine update vor 2 Tagen das problem hatte das mein server automatisch das update gemacht hatte und ich es ingame erst bemerkt habe das die stamina runter geht . Darauf hin raus aus dem spiel , server gestopt , datei runtergeladen , geändert und wieder hochgeladen !
Server neu gestartet eund wieder rein in das Spiel und sie da , es hat wieder funktioniert !
Schau nochmal nach ob du irgendwo einen fehler drin hast , anders kann ich mir das nicht erklären !
In deinem Dayz Server ordner findest du einen Ordner "dta" dort gehst du rein und holst dir die datei scripts.pbo , die entpackst du dann mit dem Pbo manager ! Danach soltest du einen ordner mit Scrpits bekommen , darin findest du den Ordner " 3_Game " da gehst du rein .
Nun die datei " constants.c " mit Notepad öffnen !
Dann in zeile 344 - 348 die werte auf 0 setzten :
Code
const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 0; //in units (how much sprint depletes stamina)
const int STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC = 0; //in units (how much sprint in crouch depletes stamina)
const int STAMINA_DRAIN_PRONE_SPRINT_PER_SEC = 0; //in units (how much sprint in prone depletes stamina)
const int STAMINA_DRAIN_SWIM_FAST_PER_SEC = 0; //in units (how much fast swimming depletes stamina)
const int STAMINA_DRAIN_LADDER_FAST_PER_SEC = 0; //in units (how much fast ladder climb depletes stamina)
Speichern und das alles dann wieder mit dem Pbo Manager in eine datei " scripts.pbo " packen !
Auf deinen Server hochladen (vorher natürlich die alte scripts.pbo löschen) !
Hi bin seit einiger Zeit auch am lesen und rum probieren und hatte irgendwo als ich zu test zwecken nen server propiert hatte eine Login spawnzeit von 5 -1 Sekunde !
Hab was gelesen von dem hier !
Glaube der befehl war :
m_LogInTimerLength = 1;
oder
LogInTimerLength = 1; // Login zeit 1 Sekunde
in server.cfg oder in der init.c !
Habs selbst noch nicht weiter ausprobiert , werde dies aber morgen mal testen !