Jump to content

ItemStatClamps


vass

Recommended Posts

ItemStatClamps

Hello has anyone got more info on this as the wiki is a bit vague 

 

ItemStatClamps

NOTE: The command line argument ClampItemStats need to be set to true for the clamping to be enabled on your server. See Command Line Syntax.

ItemStatClamps[<attribute>]=<value>

Arguments:

attributeinteger

0: Generic Quality 
1: Armor 
2: Max Durability 
3: Weapon Damage Percent 
4: Weapon Clip Ammo 
5: Hypothermal Insulation 
6: Weight 
7: Hyperthermal Insulation

valueintegerThe algorithm used appears to be the following:

<Initial Value Constant> + ((<ItemStatClamps[<attribute>]> * <State Modifier Scale>) * (<Randomizer Range Multiplier> * <Initial Value Constant>))

Each items have their own specific data which can be found in the Dev Kit.

For example, here are the values needed to have the same clamping as official servers for Armor and Weapon Damage Percent:

ItemStatClamps[1]=19800 ItemStatClamps[3]=19800

This would clamp Saddles to 124.0 armor (74.5 for the 'tank' creatures such as Doedicurus, Rock Elemental, etc.), Flak Armor pieces to 496.0 armor, Longneck Rifle to 298.0% damage, etc.

 

Now how this clamp will affect bps and actual items ?

for example iit says saddles will clamp at 124 armor is that for bp or an item ?

and also if anyone could explain the formula used where do you get them figures for all the atriibutes in there and multipliers ?

 

Thanks

Link to comment
Share on other sites

  • Replies 53
  • Created
  • Last Reply
  • Volunteer Moderator
11 minutes ago, vass said:

Hello has anyone got more info on this as the wiki is a bit vague

I'm actually the one that added that information to the wiki after digging the information into the server binaries and test calculations until I found the algorithm. ?

12 minutes ago, vass said:

Now how this clamp will affect bps and actual items ?

for example iit says saddles will clamp at 124 armor is that for bp or an item ?

Both crafted items and blueprints gets clamped. The clamp happens when the items are loaded whether from the world save when the server starts or from being downloaded from the cluster files via an obelisk/transmitter. For example, it is possible that your players find or craft items with higher stat that they can use until the next reboot.

14 minutes ago, vass said:

and also if anyone could explain the formula used where do you get them figures for all the atriibutes in there and multipliers ?

In the devkit. Search for "ItemStatInfo" in a blueprint. For example, here are the values of a Longneck damage:

GWjHGUJ.png

So with a clamp of 19800 damage we would get the following result:

100 + ((19800 * 0.001)) * (0.1 * 100) = 298.0

A 0.0 initial value constant is the equivalence of 100%.

Link to comment
Share on other sites

  • Volunteer Moderator
33 minutes ago, vass said:

ok thanks for taking the time to answer but let’s say you get a weapon bp with let’s say 250 dmg and you craft it with a chat that has all points in crafting skill and maybe will be able to get 350+ dmg item out of it will that cap the item to 298 too ?

Yes.

Link to comment
Share on other sites

  • 1 month later...

 

On 8/9/2019 at 11:49 AM, invincibleqc said:

I'm actually the one that added that information to the wiki after digging the information into the server binaries and test calculations until I found the algorithm. ?

Both crafted items and blueprints gets clamped. The clamp happens when the items are loaded whether from the world save when the server starts or from being downloaded from the cluster files via an obelisk/transmitter. For example, it is possible that your players find or craft items with higher stat that they can use until the next reboot.

In the devkit. Search for "ItemStatInfo" in a blueprint. For example, here are the values of a Longneck damage:

GWjHGUJ.png

So with a clamp of 19800 damage we would get the following result:


100 + ((19800 * 0.001)) * (0.1 * 100) = 298.0

A 0.0 initial value constant is the equivalence of 100%.

I tried using this on my server:

ClampItemStats=True

ItemStatClamps[1]=19800

ItemStatClamps[3]=19800

 

In game.ini file. Does not seem to work for me. Any ideas What could work?

Also is the formula same for durability, etc.?

Literally can't find more to read about this other then the article from you on ark wiki and this this one.

Link to comment
Share on other sites

  • Volunteer Moderator
8 hours ago, Ratrios said:

I tried using this on my server:

ClampItemStats=True

ItemStatClamps[1]=19800

ItemStatClamps[3]=19800

 

In game.ini file. Does not seem to work for me. Any ideas What could work?

GameUserSettings.ini

[ServerSettings]
ClampItemStats=True

Game.ini

[/Script/ShooterGame.ShooterGameMode]
ItemStatClamps[1]=19800
ItemStatClamps[3]=19800

 

8 hours ago, Ratrios said:

Also is the formula same for durability, etc.?

Yes, it is the same calculation for the 8 categories enumerated on the wiki. 

Link to comment
Share on other sites

  • 3 months later...

Hi, I have tried everything you have said above. I cannot get it to clamp the items stats. Any other reason it might not be working? 

I have the line in game user settings under server settings

I have added the other two lines in the game.ini

Tried them at the start of game.ini middle and end. Same with the user settings part.

Link to comment
Share on other sites

On 12/30/2019 at 7:42 AM, MillionDollarMinx said:

Hi, I have tried everything you have said above. I cannot get it to clamp the items stats. Any other reason it might not be working? 

I have the line in game user settings under server settings

I have added the other two lines in the game.ini

Tried them at the start of game.ini middle and end. Same with the user settings part.

Did u get it to work I did

Link to comment
Share on other sites

  • 3 weeks later...
  • Volunteer Moderator
1 hour ago, RougeHero said:

i cant get it to work im using gportal

If you shutdown your server, manually edit these files and then reboot you should be good to go:

On 9/23/2019 at 10:25 PM, invincibleqc said:

GameUserSettings.ini


[ServerSettings]
ClampItemStats=True

Game.ini


[/Script/ShooterGame.ShooterGameMode]
ItemStatClamps[1]=19800
ItemStatClamps[3]=19800

 

Link to comment
Share on other sites

On 1/29/2020 at 8:42 PM, Vyvin said:

I set itemclamping to false, rebooted my server and the crafted items still get clamped...do I just need to set it to true and just make a rediculous number for the itemstatclamps[]?

So, I don't think this is actually working. 

Setting 

[ServerSettings] ClampItemStats=False

 things still get clamped (asc pickaxe dmg capped to 755.3% and durability capped to 695)

Setting

 [ServerSettings]

ClampItemStats=True

 and 

[/Script/ShooterGame.ShooterGameMode]

ItemStatClamps[0]=999999999
ItemStatClamps[1]=999999999
ItemStatClamps[2]=999999999
ItemStatClamps[3]=999999999
ItemStatClamps[4]=999999999
ItemStatClamps[5]=999999999
ItemStatClamps[6]=999999999
ItemStatClamps[7]=999999999

same results with the pickaxe capped at 755.3 and 695

Link to comment
Share on other sites

  • 6 months later...

Hi i have tried everything listed above my problem is that i only have 2 clamp options on my GUS file. the "clampitemstats=true" is not there
File Location : C:\ArkServers\TheIsland\ShooterGame\Saved\Config\WindowsServer
 

Spoiler

ShowMapPlayerLocation=False
AllowThirdPersonPlayer=True
ServerCrosshair=True
RCONPort=32330
TheMaxStructuresInRange=10500.000000
StructurePreventResourceRadiusMultiplier=1.000000
TribeNameChangeCooldown=15
PlatformSaddleBuildAreaBoundsMultiplier=1.000000
StructurePickupTimeAfterPlacement=30.000000
StructurePickupHoldDuration=0.500000
AllowIntegratedSPlusStructures=True
AllowHideDamageSourceFromLogs=False
AutoSavePeriodMinutes=15.000000
ListenServerTetherDistanceMultiplier=1.000000
MaxTamedDinos=4000
RCONServerGameLogBuffer=600
AllowHitMarkers=True
AllowCrateSpawnsOnTopOfStructures=True
ServerPassword=
ServerAdminPassword=Admin9372!
SpectatorPassword=
RCONEnabled=False
AdminLogging=False
ActiveMods=924619115,731604991,849372965
TribeLogDestroyedEnemyStructures=True
ServerHardcore=False
ServerPVE=False
AllowCaveBuildingPvE=False
EnableExtraStructurePreventionVolumes=False
NoTributeDownloads=False
PreventUploadSurvivors=False
PreventUploadItems=False
PreventUploadDinos=False
CrossARKAllowForeignDinoDownloads=False
PreventOfflinePvP=False
PreventTribeAlliances=False
PreventDiseases=False
NonPermanentDiseases=False
PreventSpawnAnimations=False
AllowTekSuitPowersInGenesis=False
EnableCryoSicknessPVE=False
globalVoiceChat=False
proximityChat=False
alwaysNotifyPlayerLeft=False
alwaysNotifyPlayerJoined=False
ServerForceNoHud=False
EnablePVPGamma=False
DisablePvEGamma=False
ShowFloatingDamageText=False
AllowFlyerCarryPVE=False
AllowRaidDinoFeeding=False
DisableDinoDecayPvE=False
PvPDinoDecay=False
AutoDestroyDecayedDinos=False
MaxPersonalTamedDinos=40.000000
PersonalTamedDinosSaddleStructureCost=19
DisableImprintDinoBuff=False
AllowAnyoneBabyImprintCuddle=True
UseOptimizedHarvestingHealth=False
ClampResourceHarvestDamage=False
ClampItemSpoilingTimes=False
PvPStructureDecay=False
DisableStructureDecayPVE=True
ForceAllStructureLocking=False
OnlyAutoDestroyCoreStructures=False
OnlyDecayUnsnappedCoreStructures=False
FastDecayUnsnappedCoreStructures=False
DestroyUnconnectedWaterPipes=False
AlwaysAllowStructurePickup=False
PreventDownloadSurvivors=False
PreventDownloadItems=False
PreventDownloadDinos=False
KickIdlePlayersPeriod=3600

 

 

ANY IDEAS?

Link to comment
Share on other sites

11 minutes ago, Pumpszera said:

Where can i find  launch command ?

Launch command is the command itself you usually put into a script (.bat file in windows) to boot the server.

One example I had from when I used Windows for my test servers:
 

start ShooterGameServer.exe TheIsland?QueryPort=27015?SessionName=Island?MaxPlayers=2?listen?RCONEnabled=True
?RCONPort=32330?ServerPassword=aaa?ServerAdminPassword=TEST?AllowThirdPersonPlayer=True?ShowFloatingDamageText=true
?EnablePvPGamma=true?MapPlayerLocation?ServerPVE?OverrideOfficialDifficulty=5.0 -nosteamclient -game -server -log 
-automanagedmods -allowansel -allcores -culture=en -servergamelog -UseBattlEye

You can add any option you could also add in the config files as ?[option]

 

Link to comment
Share on other sites

  • Volunteer Moderator
1 hour ago, Pumpszera said:

NoTransferFromFiltering -UseBattlEye -servergamelog -servergamelogincludetribelogs -ServerRCONOutputTribeLogs -NotifyAdminCommandsInChat -useallavailablecores -usecache -crossplay -PublicIPForEpic=62.232.73.245 -nosteamclient -game -server -log -ClampItemStats=True

correct?

No, it would need to be:

?ClampItemStats=True

More info about the launch command: https://ark.gamepedia.com/Server_Configuration#Command_Line_Syntax

Link to comment
Share on other sites

  • 5 months later...

Hey everyone! Im new to all of this, so, i followed those steps to set clamp to my server for damage and armor. I did that:

 

GameUserSettings.ini

[ServerSettings]
ClampItemStats=True

Game.ini

[/Script/ShooterGame.ShooterGameMode]
ItemStatClamps[1]=19800
ItemStatClamps[3]=19800

So now, how can i see if its working right? Because i log into the game as a ADM and spawned the item to test the clamp, but i dont know if its gonna work. I need to play as a player and drop from the game and se if it working or what? Thank you!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...