Jump to content

blues_barry

Members
  • Posts

    16
  • Joined

Posts posted by blues_barry

  1. Hi Alloc,

     

    The icons on my server map do not display.

     

    Here is an error message that I find at console and I am not sure if this relates.

     

    
    2015-12-20T09:40:17 11726.755 INF Error in Web.HandleRequest(): System.ArgumentException: An element with the same key already exists in the dictionary. at System.Collections.Generic.Dictionary`2[system.String,System.Byte[]].Add (System.String key, System.Byte[] value) [0x00000] in :0 at AllocsFixes.NetConnections.Servers.Web.Handlers.ItemIconHandler.LoadIcons () [0x00000] in :0 at AllocsFixes.NetConnections.Servers.Web.Handlers.ItemIconHandler.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in :0 at AllocsFixes.NetConnections.Servers.Web.Web.HandleRequest (IAsyncResult result) [0x00000] in :0
    2015-12-20T09:40:17 11726.791 INF Error in Web.HandleRequest(): System.ArgumentException: An element with the same key already exists in the dictionary. at System.Collections.Generic.Dictionary`2[system.String,System.Byte[]].Add (System.String key, System.Byte[] value) [0x00000] in :0 at 
    
    
    

     

     

     

     

     

     

     

     

    1.jpg.b9c07a66f818f3089f2403bd1bf5b124.jpg

  2. I'm working on a fork of Alloc's great work here and thought I'd fix the custom and tinted icons issues. Anyone know the formula for the color blending during tint? I've tried so, so many variations to get items to tint correctly but they're slightly off every time.

     

    [ATTACH=CONFIG]11109[/ATTACH]

     

    Anyone have ideas on the exact method used to blend the icon's tint?

     

    (full sized image: dtd_blend_test.png)

     

    Hi psouza4, there is a method to do it which is by Photoshop. (I have a Photoshop CS6 OSX Version)

     

    ----------------------------------------------------------------------------------------

     

    Open the icon image, then click "Add a layer style" -> "Color Overlay".

     

    Select "Multiply" in Blend Mode and it will give you the same tint as you put in game.

  3. The shirts and tank tops are a good example.

     

    <item id="708" name="plaidShirtRed">
           <property name="Meshfile" value="Items/Crafting/leather" />
           <property name="Material" value="cloth" />
           <property name="HoldType" value="21" />
           <property name="Stacknumber" value="1" />
           <property name="RepairTools" value="cloth" />
           <property name="EquipSlot" value="Chest" />
           <property name="FuelValue" value="3" />
           <property name="Weight" value="3" />
           [b]<property name="[color="#FFFFFF"]CustomIcon[/color]" value="plaidShirt" />
           <property name="[color="#FFFFFF"]CustomIconTint[/color]" value="AD0000" />[/b]

     

    nuzVbWa.png

     

    There is a solution to this. Please open the below link and check #229.

     

    https://7daystodie.com/forums/showthread.php?14482-Inventory-item-Atlas-index-editor&p=274307&viewfull=1#post274307

     

    Basically you just have to use some graphic software to create icons (.png) then drag into the folder Mods\ItemIconTest\ItemIcons

     

     

    Here is an example

     

    2.jpg.ea03bb0aaa9b0ecf0bfb2c43171d5732.jpg

    1.jpg.4e0ef563593f35fda4da436e75a66f46.jpg

  4. Hi Alloc, so after I type following two commands at console,

     

    webpermission add web.map 2000

     

    webpermission add webapi.getstats 1000

     

    The map is open for the public. However, my players told me they cannot view the player movement, player online, land claim block and all other players static stuff after login with the steam account. When i login in with my account, the player static works for me. I assume that works for me only. Am I missing some steps?

×
×
  • Create New...