aimacak
Member-
Posts
382 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by aimacak
-
@iLakSkiL i changed 12 to 2 and all works fine private void OnMlrsRocketFired(MLRS ent, ServerProjectile serverProjectile) { if ((ent.RocketAmmoCount + rocketsFired) > _config.defsettings.rocketAmount) { ent.RocketAmmoCount = (_config.defsettings.rocketAmount - rocketsFired); } if (ent.RocketAmmoCount > 2) { ent.nextRocketIndex = (int)((ent.RocketAmmoCount % 2) + 1); rocketsFired++; return; } else { ent.nextRocketIndex = ent.RocketAmmoCount - 1; rocketsFired++; return; } } private object OnMlrsFire(MLRS ent, BasePlayer owner) { ent.SetFlag(BaseEntity.Flags.Reserved6, true, false, true); ent.radiusModIndex = 0; if (ent.RocketAmmoCount > 2) { ent.nextRocketIndex = (int)((ent.RocketAmmoCount % 2) + 1); } else ent.nextRocketIndex = ent.RocketAmmoCount - 1; ent.rocketOwnerRef.Set(owner); ent.InvokeRepeating(new Action(ent.FireNextRocket), 0f, _config.defsettings.launchTime); Interface.CallHook("OnMlrsFired", ent, owner); return true; }
-
@iLakSkiL 1) 24 2) 48 3) yes, player had only 35 rocket both issues and i check it myself after that
-
@iLakSkiL hi, this happens when they try to launch an odd number of missiles in MLRS (35, 37, etc.) MLRS.Entity itself breaks, you have to delete it ent kill to stop the flood (I haven’t tried restarting the server, but I think it doesn’t matter).
-
Unfortunately, I encountered this once, and I also cannot repeat it but I believe that this is due to the updates that appeared in 1.4.0, because for about a year of continuous operation of the server, I did not encounter this error.
-
{ "MLRS Settings": { "MLRS Damage Modifier": 1.0, "Allow Damage to Player Built Bases": false, "Allow Damage to Players": false, "Allow Damage to Raidable and Abandoned Bases": true, "Allow Damage to NPCs": true, "MLRS Cooldown time (in minutes)": 2.5, "Total Rockets for MLRS to fire": 48, "Rocket Launch Interval (in seconds)": 0.5, "Requires Aiming Module": true } } and you didn’t upload 1.5.0, I tried incognito, another browser, 1.4.0 is always downloaded
-
hello, @iLakSkiL, have any ideas why i can get this flood? I’ve been using the plugin for a long time, never had any problems, thanks a lot for this pdoruct it was after the update, as I understand it, MLRS froze and tried to shoot (it was FIRING on the monitor), but for some reason it didn’t shoot, and every attempt to fire a rocket displayed a message in the console, unloading and rebooting plugins did not affect the flood in any way.. thanks IndexOutOfRangeException: Index was outside the bounds of the array. IndexOutOfRangeException: Index was outside the bounds of the array. at MLRS.FireNextRocket () [0x0005e] in <08999e34374f48d19390fa37537b5752>:0 at InvokeHandlerBase`1[T].DoTick () [0x00109] in <2568dd734f9b44aeb1eb636644ede180>:0 at InvokeHandlerBase`1[T].LateUpdate () [0x0000c] in <2568dd734f9b44aeb1eb636644ede180>:0
-
- 31 comments
-
- #underwear
- #skin
-
(and 1 more)
Tagged with: