Tamaster Posted August 24, 2016 Share Posted August 24, 2016 @Gumballz It's always the damn brackets Thank you very much! Link to comment Share on other sites More sharing options...
Gumballz Posted August 28, 2016 Share Posted August 28, 2016 @GreatApe Missing commas between (set),(set) Link to comment Share on other sites More sharing options...
Gumballz Posted August 28, 2016 Share Posted August 28, 2016 On 06/06/2016 at 4:20 PM, Gumballz said: /* Closing Bracket For SET1 */ ) /* Multiple SETS must be separated by a comma */ , /* SET2 */ /* Each SET must be contained within its own bracket */ ( @GreatApe Noted and changed Link to comment Share on other sites More sharing options...
Gumballz Posted August 31, 2016 Share Posted August 31, 2016 @GreatApe In retrospect, saddles was a bad example for that section. Resources may have made it clearer. in that example, it would pick 1 of the four saddles with saddle1 having the highest chance of being picked and saddle4 the lowest. in the example below you would get between 50 and 100 resources. Mostly stone, some thatch and wood and a little metal. (EntryWeight=0.10, ItemClassStrings=( "stone", "thatch", "wood", "metal"), ItemsWeights=( 0.50, 0.25, 0.20, 0.05), MinQuantity=50.0, MaxQuantity=100.0, MinQuality=1.0, MaxQuality=1.0, bForceBlueprint=false, ChanceToBeBlueprintOverride=0.0), Hope that makes it a little clearer ? Even with single quantities you could use the entry/item weights in different methods. Eg, you want A,B,C,D,E saddles to have a chance of dropping, but only blueprints for saddles A,C and E. you could have entry1 weight 0.8 for the item, then entry2 0.2 weight for the BP's. On a side note... give me a few more hours and I'll have a code generator up and running which will help with the syntax errors and eye squinting Link to comment Share on other sites More sharing options...
Gumballz Posted August 31, 2016 Share Posted August 31, 2016 Loot Crate Code Builder is up and running. Currently formatted correctly for browsers > 1200 pixels (workin on smaller as we speak ) For Weights of Sets/Entries/Items use a number range of 1...10,000. Setting 1 entry at 10,000 and the rest of the entries totalling no more than 100 (within that set) will give your first entry a 99.7% of being chosen. (same for sets & items) http://lootcrate.sarkarium.com/ The code generated is 100% correct, you may still get errors with your loot crate if you put in incorrect values ( maxnumset = 10 and only define 5 sets for example). More functionality will be added at a later date ( save / edit loot crates, basic error checking of code, item databases) Link to comment Share on other sites More sharing options...
Gumballz Posted September 4, 2016 Share Posted September 4, 2016 Please be aware .... It appears the arbitrary quality for .. SupplyCrate_Level15_Double_C SupplyCrate_Level35_Double_C has been increased from MinQuality=1 and MaxQuality=1 to ..... MinQuality=2 MaxQuality=2.5 The MaxQuality of all other Double_C crates has also increased from 2 to 2.5 Edit : Thanx to @Qowyn for extracting those numbers Link to comment Share on other sites More sharing options...
Ttred Posted September 5, 2016 Share Posted September 5, 2016 Hey all, Thanks for all the awesome info. Here with the last patch from the first we've been getting these in our logs... [2016.09.02-23.46.01:855][ 0]Warning: ImportText (ItemSets): Missing opening parenthesis: [2016.09.02-23.46.01:855][ 0]ImportText(ConfigOverrideSupplyCrateItems): Not enough closing parenthesis in: There is so much text from the loot drops I don't want to post here but what would be an example of what it's wanting me to fix? Thanks in advance. Link to comment Share on other sites More sharing options...
Teah Posted September 5, 2016 Share Posted September 5, 2016 Would you look this over its not functioning. [My Loot Crates- White Normal] ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="SupplyCrate_Level03_C",MinItemSets=1,MaxItemSets=3,NumItemSetsPower=1.0,bSetsRandomWithoutReplacement=true, ItemSets=( (MinNumItems=1,MaxNumItems=3,NumItemsPower=1.0,SetWeight=.9,bSetsRandomWithoutReplacement=true, ItemEntries=( (EntryWeight=.8,ItemClassStrings==("PrimalItem_WeaponMetalHatchet_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=2.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.2), (EntryWeight=.8,ItemClassStrings=("PrimalItem_WeaponMetalPick_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=2.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.2), (EntryWeight=.8,ItemClassStrings=("PrimalItem_WeaponWhip_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=2.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.2), (EntryWeight=.8,ItemClassStrings=("PrimalItem_WeaponBoomerang_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=2.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.2))), (MinNumItems=2,MaxNumItems=3,NumItemsPower=1.0,SetWeight=.8,bSetsRandomWithoutReplacement=true, ItemEntries=( (EntryWeight=1.0,ItemClassStrings=("PrimalItem_WeaponBow_C"),ItemsWeights=(1.0),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=2.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.2), (EntryWeight=.6,ItemClassStrings==("PrimalItemAmmo_ArrowStone_C"),ItemsWeights=(1.0),MinQuantity=10.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0), (EntryWeight=.8,ItemClassStrings==("PrimalItemAmmo_ArrowTranq_C"),ItemsWeights=(1.0),MinQuantity=10.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0), (EntryWeight=.8,ItemClassStrings==("PrimalItemAmmo_ArrowFlame_C"),ItemsWeights=(1.0),MinQuantity=10.0,MaxQuantity=10.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0))), (MinNumItems=1,MaxNumItems=2,NumItemsPower=1.0,SetWeight=.5,bSetsRandomWithoutReplacement=true, ItemEntries=( (EntryWeight=1.0,ItemClassStrings==("PrimalItemStructure_WaterWell_C"),ItemsWeights=(.4),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0), (EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_Soup_CalienSoup_C"),ItemsWeights=(1.0),MinQuantity=2.0,MaxQuantity=5.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0), (EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_Soup_EnduroStew_C"),ItemsWeights=(.5),MinQuantity=2.0,MaxQuantity=5.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0), (EntryWeight=1.0,ItemClassStrings=("PrimalItemConsumable_WaterJarRefill_C"),ItemsWeights=(.6),MinQuantity=1.0,MaxQuantity=1.0,MinQuality=1.0,MaxQuality=1.0,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.0))) )) Link to comment Share on other sites More sharing options...
Gumballz Posted September 5, 2016 Share Posted September 5, 2016 apart from it being split across multiple lines it looks fine. Was that generated from the http://lootcrate.sarkarium.com/ utility ? Edit: just spotted the double == in a few places Link to comment Share on other sites More sharing options...
Teah Posted September 6, 2016 Share Posted September 6, 2016 that link is not working its sending me to a page that says " Place Holder ..... Info Coming Soon Hit the <\> code symbol to start NB: Currently only formatted for browser > 800 pixels. Working on smaller sizes as we speak. Enjoy Coming Soon...... Screen Formatting For Lower Resolutions Hints/Tips/Guides Save/Load/Edit Loot Crates Items Database" Link to comment Share on other sites More sharing options...
Gumballz Posted September 6, 2016 Share Posted September 6, 2016 8 minutes ago, Teah said: Hit the <\> code symbol to start Hit the </> symbol on the top menu..... Link to comment Share on other sites More sharing options...
Teah Posted September 6, 2016 Share Posted September 6, 2016 ok im retarded bless you my good sir Link to comment Share on other sites More sharing options...
Gumballz Posted September 6, 2016 Share Posted September 6, 2016 : ) My fault. haven't had time to set a proper landing page, what the the joys of SE and all that brings. Link to comment Share on other sites More sharing options...
Teah Posted September 6, 2016 Share Posted September 6, 2016 For item name in fill in the blank you want PrimalItem_WeaponBow not PrimalItem_WeaponBow_C correct? Link to comment Share on other sites More sharing options...
Teah Posted September 6, 2016 Share Posted September 6, 2016 % Question: Yes ive read the forum but it wasn't actually confirmed.. Each Entry in a set has to total up to 100% Each Set in a crate has to equal up to 100% Or can multiple entries and sets = 100 % inside a crate"? Link to comment Share on other sites More sharing options...
Gumballz Posted September 7, 2016 Share Posted September 7, 2016 The Chance for BP % The % chance you want items in that entry to be a blueprint. 20 = 20%chance to your hide gloves (for example) to be a hide glove blueprint. You maybe thinking about weight ? If you was writing the code yourself I would say yes... so you know where your up to. In the tool yo can put any weight between 1 and 10,000. If you have say 4 sets and you have min 1 max 3.... but you ALWAYS want 1 particular SET. You would set that weight to 10k, and have the other weights down at like 100 or less. This wont guarantee the set with 10k, but wil give it something in the region of a 99.9% chance of being picked. Same can be applied to Entries... and also Items Again sorry for not putting a plash page up with a full walk through... soon as server is stable and stuff.. ill get on it. EDIT ... If your writing your code by hand, don't use weight=10000, or you will get some weird anomalies happening. Quick Overview Of The Variables....Crate Name = Name of the Loot CrateMinimun Sets = Minimum Number Of Sets To Be ChosenMaximum Sets = Maximum Number Of Sets To Be ChosenCrate Power = Leave That At 1Dont Duplicate Sets = Leave Ticked If You Dont Want A Set To Be Picked TwiceMinumum Entries = Minumim Number of Entries To Be Chosen (If That Set Is Picked)Maxumum Entries = Maxumim Number of Entries To Be Chosen (If That Set Is Picked)Set Weight = Range between 1 and 10,000 : Your Preference To That Set Being Chosen When Compared To The Weight Of All Other Sets (higher is better)Entry Power = Leave At 1Dont Duplicate Entries = Leave Ticked If You Dont Want An Entry To Be Picked Twice (Within that Set)Entry WEight = Range between 1 and 10,000 : Your Preference To That Entry Being Chosen When Compared To The Weight Of All Other Entries Within THAT Set (higher is better)Min Quantity = Minimum Number Of Items To be Picked. { If You Have A List Of Items And A Quantity Higher Than 1}Max Quantity = Minimum Number Of Items To be Picked. { You Will Get A Mixture Of Random Items Up To Max Quantity}Min Quality =Minimum Quality Of Items To Be PickedMax Quality = Maximum Quality Of Items To Be PickedChance for BP % = The % Chance Items Picked Will Be A BluePrint Ans Not AN ItemAlways Be A BP = Check If You Always Want Items Picked To Be A BLue PrintItem Name = Name Of The Item(s) To Be Chosen From Within That Entry ( _C is automatically Added)Item WEight = Range between 1 and 10,000 : Your Preference To That Item Being Chosen When Compared To The Weight Of All Other Item Within That Entry (higher is better) Link to comment Share on other sites More sharing options...
Teah Posted September 7, 2016 Share Posted September 7, 2016 thanks yah my first post was all hand coded, was just wondering why I was getting launch errors even with outh the double == in it. I appricate the help Link to comment Share on other sites More sharing options...
Teah Posted September 7, 2016 Share Posted September 7, 2016 ConfigOverrideSupplyCrateItems=(SupplyCrateClassString="White Normal",MinItemSets=2,MaxItemSets=5,NumItemSetsPower=1,bSetsRandomWithoutReplacement=true,ItemSets=((MinNumItems=2,MaxNumItems=3,NumItemsPower=1,SetWeight=0.5,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=0.0001,ItemClassStrings=("PrimalItem_WeaponBow"),ItemsWeights=(0.5),MinQuantity=1,MaxQuantity=1,MinQuality=1,MaxQuality=5,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.2),(EntryWeight=0.0001,ItemClassStrings=("PrimalItemAmmo_ArrowStone"),ItemsWeights=(0.25),MinQuantity=25,MaxQuantity=50,MinQuality=1,MaxQuality=1,bForceBlueprint=false,ChanceToBeBlueprintOverride=0),(EntryWeight=0.0001,ItemClassStrings=("PrimalItemAmmo_ArrowTranq"),ItemsWeights=(0.25),MinQuantity=25,MaxQuantity=50,MinQuality=1,MaxQuality=1,bForceBlueprint=false,ChanceToBeBlueprintOverride=0),(EntryWeight=0.0001,ItemClassStrings=("PrimalItemAmmo_ArrowFlame"),ItemsWeights=(0.25),MinQuantity=25,MaxQuantity=50,MinQuality=1,MaxQuality=1,bForceBlueprint=false,ChanceToBeBlueprintOverride=0))),(MinNumItems=1,MaxNumItems=2,NumItemsPower=1,SetWeight=0.5,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=0.0001,ItemClassStrings=("PrimalItem_WeaponMetalHatchet"),ItemsWeights=(0.25),MinQuantity=1,MaxQuantity=1,MinQuality=1,MaxQuality=5,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.2),(EntryWeight=0.0001,ItemClassStrings=("PrimalItem_WeaponMetalPick"),ItemsWeights=(0.25),MinQuantity=1,MaxQuantity=1,MinQuality=1,MaxQuality=5,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.2),(EntryWeight=0.0001,ItemClassStrings=("PrimalItem_WeaponWhip"),ItemsWeights=(0.25),MinQuantity=1,MaxQuantity=1,MinQuality=1,MaxQuality=5,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.2),(EntryWeight=0.0001,ItemClassStrings=("PrimalItem_WeaponBoomerang"),ItemsWeights=(0.25),MinQuantity=1,MaxQuantity=1,MinQuality=1,MaxQuality=5,bForceBlueprint=false,ChanceToBeBlueprintOverride=0.2))),(MinNumItems=2,MaxNumItems=3,NumItemsPower=1,SetWeight=0.5,bItemsRandomWithoutReplacement=true,ItemEntries=((EntryWeight=0.0001,ItemClassStrings=("PrimalItemConsumable_Soup_CalienSoup"),ItemsWeights=(0.5),MinQuantity=2,MaxQuantity=5,MinQuality=1,MaxQuality=1,bForceBlueprint=false,ChanceToBeBlueprintOverride=0),(EntryWeight=0.0001,ItemClassStrings=("PrimalItemStructure_WaterWell"),ItemsWeights=(0.25),MinQuantity=1,MaxQuantity=1,MinQuality=1,MaxQuality=1,bForceBlueprint=false,ChanceToBeBlueprintOverride=0),(EntryWeight=0.0001,ItemClassStrings=("PrimalItemConsumable_Soup_EnduroStew"),ItemsWeights=(0.25),MinQuantity=1,MaxQuantity=1,MinQuality=1,MaxQuality=1,bForceBlueprint=false,ChanceToBeBlueprintOverride=0),(EntryWeight=0.0001,ItemClassStrings=("PrimalItemConsumable_WaterJarRefill"),ItemsWeights=(0.25),MinQuantity=1,MaxQuantity=1,MinQuality=1,MaxQuality=1,bForceBlueprint=false,ChanceToBeBlueprintOverride=0))))) Doestn auto add the _C to the items Link to comment Share on other sites More sharing options...
Gumballz Posted September 7, 2016 Share Posted September 7, 2016 18 minutes ago, Teah said: Doestn auto add the _C to the items Does Now. Link to comment Share on other sites More sharing options...
Teah Posted September 7, 2016 Share Posted September 7, 2016 coolio thanks ill try again. New data looks good too Link to comment Share on other sites More sharing options...
Teah Posted September 7, 2016 Share Posted September 7, 2016 mabey a drop down for Supply crate name Link to comment Share on other sites More sharing options...
Gumballz Posted September 7, 2016 Share Posted September 7, 2016 /nods will do....... eventually...... Link to comment Share on other sites More sharing options...
Teah Posted September 21, 2016 Share Posted September 21, 2016 gum you have done absolutely amazing with your site Drops Completed for SE as of 22 Sept 16 SE Drops 22SEP16.txt SE Drops 22SEP16.txt Link to comment Share on other sites More sharing options...
Teah Posted September 22, 2016 Share Posted September 22, 2016 Gum the only thing I would ask is make the weight tighter instead of a range of 10000 where 1 is .0000001 make 1 = .01 (1-100) like a % to make it more comprehensive Link to comment Share on other sites More sharing options...
Gumballz Posted September 22, 2016 Share Posted September 22, 2016 6 hours ago, Teah said: Gum the only thing I would ask is make the weight tighter instead of a range of 10000 where 1 is .0000001 make 1 = .01 (1-100) like a % to make it more comprehensive you don't have to use the full range of the spread. you can stay within 1 .. 100 or 1 to 10 if yo wish. Each weight is compared to the weight of others. In one example you could have 1 item 10,000 and an item 5000. In Another you could have 1 item weight 10 and the other 5. Both would equate to the same probability as the other. as each weight is compared to the weight of the others. 10,000 was the lowest reasonable number you could use to try and have an item always be picked (99.01% chance.. as long as the total of all other sets/entries it is being compared to <=100) . Glad It Helps out though Its still a bit cumbersome.... I'm trying to make time to rework it to be more user friendly, but at least it works Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.