-
Posts
4,591 -
Joined
-
Last visited
-
Days Won
57
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Services
Downloads Plus Support
DOWNLOADS EXTRA
Everything posted by imthenewguy
-
- 1,519 comments
-
- #leveling
- #progression
- (and 19 more)
-
The team removal does not work with clans. It says that in the config. "Allow players to stay in a team when they join the event? [set to true if using any sort of clans or team management plugin]" There are no APIs for me to call to disable or bypass friendly fire for clans, so there isn't much that can be done.
- 222 comments
-
- 222 comments
-
- 1,519 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,519 comments
-
- #leveling
- #progression
- (and 19 more)
-
My plugin should be having not be affecting velocity for any rockets fired, excluding ones fired by players with the Rocket_Velocity buff. void OnRocketLaunched(BasePlayer player, TimedExplosive entity) => HandleRocket(player, entity); void HandleRocket(BasePlayer player, TimedExplosive timedExplosive) { if (!GetBuffDetails(player.userID, out var bd)) return; if (bd.GetBuff(Buff.Rocket_Velocity, out var value)) { if (!timedExplosive.TryGetComponent<ServerProjectile>(out var projectile)) return; projectile.CurrentVelocity += (projectile.CurrentVelocity * value); } if (bd.GetBuff(Buff.Explosion_Radius, out value) && !config.buff_settings.raid_perk_settings.Explosion_Radius_settings.blacklist.Contains(timedExplosive.ShortPrefabName) && PassRaidableBasesCheck(timedExplosive, Buff.Explosion_Radius)) { timedExplosive.explosionRadius += timedExplosive.explosionRadius * value; if (config.buff_settings.raid_perk_settings.Explosion_Radius_settings.add_to_minimum) timedExplosive.minExplosionRadius += timedExplosive.minExplosionRadius * value; } }
- 1,519 comments
-
- #leveling
- #progression
- (and 19 more)
-
No plans to do that myself but there is a HookMethod that someone can use to get the player info. [HookMethod("GetSkillTreeData")] public object GetSkillTreeData() { var sTStats = new Dictionary<ulong, (string Name, double XP, int PrestigeLevel, int CurrentLevel, double XPDebt)>(); var dataFiles = Directory.GetFiles(NewDirectory, "*.json", SearchOption.TopDirectoryOnly); foreach (var file in dataFiles) { try { var playerId = Path.GetFileNameWithoutExtension(file); if (!ulong.TryParse(playerId, out ulong playerID)) { continue; } var playerInfo = LoadPlayerData(playerId); if (playerInfo != null) { sTStats[playerID] = ( playerInfo.name, playerInfo.xp, playerInfo.prestige_level, playerInfo.current_level, playerInfo.xp_debt ); } } catch (Exception ex) { PrintWarning($"Exception while processing file {file}: {ex.Message}"); } } return sTStats; }
- 1,519 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 91 comments
-
- #recycler
- #monetization
- (and 5 more)
-
- 1,519 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 43 comments
-
- #skilltree
- #event
-
(and 4 more)
Tagged with:
-
- 1,519 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 1,519 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,519 comments
-
- #leveling
- #progression
- (and 19 more)
