• Warhammer Online Addons
  • Warhammer Online
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

SNT Info

 
Project Updated:
Files Updated: Sat, Feb 28 2009
Supports Game Version: 1.1.1
Category: Auction & Economy, and Artwork
Tags:

[Edit Tags]

Project Manager: DonKaban
Additional Authors: No additional authors
Current Version: SNT Info 1.3.2
License: Public Domain
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 7
Downloads Total: 11,732
Favorites: 105
Comments: 211
  • Contests
  • About SNT Info
  •  

About

Minimalistic Lego-Block Information Bars (SNT BAR Reborn - Now with skinning ability)

Important!

  • If you use the old version of SNT_BAR delete its folder from your Addons folder.
  • If you have ANY problems with game performance or with using skins -TELL ME PLEASE.
  • If you want any new features or fixes - Use comments, Curse messages or Curseforge Tickets.

SNT WAR UI Project

Similar Addons

If you don't want to move a billion small windows use of one these:

For this reason I will not block them together or anything like that. Use which is more comfortable for you.

Standard Plugins (v 1.3)

  • FPS Meter (4s approx FPS Meter)
  • Location (Coordinates xx.yy WoW style with Zone name in Tooltip)
  • Experience
  • Renown
  • Guild (with guild rank, XP in Tooltip)
  • Guild XP
  • Money
  • Friends
  • Bags
  • Clock
  • Influence (Left mouse click opens Tome Entry, Right toggles EA Influence Window)
  • Tome Titan Toggle
  • Settings
  • Game Menu

Fonts development

I'm using bitmapped monospace (Bit bad) fonts, painted by me. If you want to help me with painting various fonts (Historical, Artistic, Cultural), please send me your fontname.dds files. I will add you to Addon contributors and give lots of respect. :)


  • Downloads (6)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  SNT Info SNT BAR 1.9 Release Beta 3.0 2,805 11/9/2008
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • kuznechik said

    Any plans to overtake this project and name it a bit different?
    Or there is already successor out there? Like EzCraftX succeeded EzCraft...

    Reply Report Permalink
  • Twixle said

    Thank you so much Sihirbaz for the backpack .lua info, that needed to be changed for the 1.3 patch. It worked great!!

    Reply Report Permalink
  • Sihirbaz said

    To extend backpack info with support for the currency and crafting backpacks, replace the content in addons\SNT_INFO\modules\bag_module\bag_module.lua with following.
    Right clicking on the SNT backpack info will switch between backpacks.

    -- begin new code
    snt_info.bag_module = {}

    local totalNormalItems = 0
    local normalItems = 0
    local questItems = 0
    local currencyItems = 0
    local totalCurrencyItems = 0
    local craftingItems = 0
    local totalCraftingItems = 0
    local SHOWITEMS = 1
    local SHOWCURRENCY = 2
    local SHOWCRAFTINGMODE = 3
    local SHOWMODE_LAST = 3
    local showmode = SHOWITEMS

    local function get_num_items(bag)
    local count = 0
    local itemsTable = EA_Window_Backpack.GetItemsFromBackpack(bag)
    for slotNum, itemData in pairs(itemsTable) do
    if (EA_Window_Backpack.ValidItem(itemData)) then count = count + 1 end
    end
    return count, #itemsTable
    end

    function snt_info.bag_module.update()
    normalItems, totalNormalItems = get_num_items(EA_Window_Backpack.TYPE_INVENTORY)
    questItems = get_num_items(EA_Window_Backpack.TYPE_QUEST)
    currencyItems, totalCurrencyItems = get_num_items(EA_Window_Backpack.TYPE_CURRENCY)
    craftingItems, totalCraftingItems = get_num_items(EA_Window_Backpack.TYPE_CRAFTING)
    local items = 0
    local totals = 0
    if showmode == SHOWCURRENCY then
    items, totals = currencyItems, totalCurrencyItems
    elseif showmode == SHOWCRAFTINGMODE then
    items, totals = craftingItems, totalCraftingItems
    else
    items, totals = normalItems, totalNormalItems
    end
    i_bag:set_gradient(items, totals, 0)
    i_bag:set_text(string.format("%02d/%02d", items, totals))
    end

    function snt_info.bag_module.click()
    EA_Window_Backpack.ToggleShowing()
    end

    function snt_info.bag_module.rclick()
    showmode = showmode + 1
    if showmode > SHOWMODE_LAST then showmode = 1 end
    snt_info.bag_module.update()
    end

    local TT = Tooltips.SetTooltipText
    local TC = Tooltips.SetTooltipColor

    function snt_info.bag_module.tooltip()
    Tooltips.CreateTextOnlyTooltip(i_bag.wname.."_icon",nil)
    Tooltips.AnchorTooltip(Tooltips.ANCHOR_WINDOW_BOTTOM)

    local total = normalItems + questItems + currencyItems + craftingItems

    TC(1,1,200,255,200) TT(1,1,L"Bags Info")
    TC(2,1,255,255,000) TT(2,1,L"---------------------------------------")
    TC(3,1,050,200,050) TT(3,1,L"Total") TC(3,2,050,200,050) TT(3,2,towstring(total))
    TC(4,1,050,200,050) TT(4,1,L"Items") TC(4,2,050,200,050) TT(4,2,towstring(normalItems))
    TC(5,1,050,200,050) TT(5,1,L"Currency Items") TC(5,2,050,200,050) TT(5,2,towstring(currencyItems))
    TC(6,1,050,200,050) TT(6,1,L"Crafting Items") TC(6,2,050,200,050) TT(6,2,towstring(craftingItems))
    TC(7,1,050,200,050) TT(7,1,L"Quest Items") TC(7,2,050,200,050) TT(7,2,towstring(questItems))

    Tooltips.Finalize()
    end

    function snt_info.bag_module.entry_point()
    RegisterEventHandler(SystemData.Events.PLAYER_INVENTORY_SLOT_UPDATED, "snt_info.bag_module.update")
    RegisterEventHandler(SystemData.Events.PLAYER_QUEST_ITEM_SLOT_UPDATED, "snt_info.bag_module.update")
    RegisterEventHandler(SystemData.Events.PLAYER_CURRENCY_SLOT_UPDATED, "snt_info.bag_module.update")
    RegisterEventHandler(SystemData.Events.PLAYER_CRAFTING_SLOT_UPDATED, "snt_info.bag_module.update")
    i_bag = snt_info.informer:new("i_bag", 5, 7, "snt_info.bag_module.tooltip", "snt_info.bag_module.click", "snt_info.bag_module.rclick")
    snt_info.bag_module.update()
    end
    -- end new code

    Reply Report Permalink
  • Sihirbaz said

    To fix the backpack info, replace lines 21 to 50 in the file addons\SNT_INFO\modules\bag_module\bag_module.lua with following:

    -- begin code here
    local function get_num_items(bag)
    local count = 0
    local itemsTable = EA_Window_Backpack.GetItemsFromBackpack(bag)
    for slotNum, itemData in pairs( itemsTable ) do
    if (EA_Window_Backpack.ValidItem(itemData)) then count = count + 1 end
    end
    return count, #itemsTable
    end

    function snt_info.bag_module.update()
    items,total = get_num_items(2)
    q_items = get_num_items(1)
    i_bag:set_gradient(items,total,0)
    i_bag:set_text(string.format("%02d/%02d",items,total,q_items))
    end
    -- end code here

    Reply Report Permalink
  • mayikurd said

    the layout editor option under the snt info menu doesnt work, u click on it and nothing happens (as of 1.3)

    Reply Report Permalink
  • wardfan said

    Also the backpack doesn't work with the new backpack changes.

    Reply Report Permalink
  • wardfan said

    Anyone help me make it show 12 hour time instead of 24 hour time? Please!!

    Reply Report Permalink
  • syryna said

    To have the open Party function again in the Menu Bar I replaced the follwoing line:

    function snt_info.menu_module.click7() WindowUtils.ToggleShowing("Guild Window") end

    with

    function snt_info.menu_module.click7() WindowUtils.ToggleShowing("EA_Window_OpenParty") end

    in the file menu_module.lua

    This results that the Guild Icon will now open the OpenParty Window. I choosed this one because to open the Guild window there are more ways, like pressing G or clikcing on the guidl YP in the Bar.

    Reply Report Permalink
  • MitchoSoA said

    Hello, i would like to know if there is a way i can fix the money part, once you get over 1000 gold, it cuts the last number off so it would look like 100 gold, any fix or chance someone could tell me how to fix this? love this mod btw and i dont want to replace it =(

    Reply Report Permalink
  • wardfan said

    Not sure if this will work, but give it a shot. Open your cash_module.lua file in the interface/sntinfo/modules/cash directory and change the line all the way near the bottom keep it all the same, but make the 3,17 to read 4,17 like below.

    i_cash1 = snt_info.informer:new("i_cash1",4,17

    Reply Report Permalink
  • estoric said

    Wadfan it seems to work if you use...

    i_cash1 = snt_info.informer:new("i_cash1",4,17,nil,nil,nil)
    and edit
    i_cash1:set_text(SF("%03d",g)) to i_cash1:set_text(SF("%04d",g))
    for the formatting.

    if you have more then 10k gold you need to change to a 5 instead of 4

    I haven't so much gold to say if the gold shows up right but somebody who has maby can try and give us feedback?

    Reply Report Permalink
  • MitchoSoA said

    iv got 6k gold, and wardfan has fixed the problem for me, i have it set to 5 because 4 cuts the end really close to the number

    Reply Report Permalink
  • wardfan said

    you could actually set it to 4.5 also, it cuts that blank area to the right down a lot.

    Reply Report Permalink
  • amilleon said

    Is the author missing so someone else could take charge of this?

    Reply Report Permalink
  • I will answer this once again. I haven't heard jack from DonKaban in like MONTHS. Yeah, since March. In his last message (His English is horrible. :D) he said he was hospitalized and had to go. I can't do anything due to the license used and the terms we had for me to work on this project. Quote: "Everything will be written under my name, and nothing will be written without my knowledge.". Since I cannot inform him, and moreover, I cannot get an answer from him, if it's a yes or no, I can't do anything. Sorry!

    Reply Report Permalink
  • wardfan said

    From what I heard, he has some "stuff" going on right now and doesn't have time or availability for the add-ons. But nothing needs to be "taken over" the add-on doesn't need updating and everything works fine(for the SNT Bag error see my post below).

    Reply Report Permalink
  • sccb4u said

    Apparently it isn't just an easy fix. I'm not that experienced with programming. While the time does change to 12hr setting, it randomly flashes the 24hr clock time in the HR column....not sure what else in the code I'm missing.

    Anyone else out there with more knowledge care to lend a hand? I don't see what I'm missing.

    Reply Report Permalink
  • sccb4u said

    wardfan,

    Open your Warhammer directory. Go into the Interface\AddOns\SNT_INFO\modules\time_module folder and open the time_module.lua in Notepad or Wordpad.

    Find this section...
    else
    cur_s = cur_s + elapsed
    while (cur_s >= 60) do cur_m = cur_m+1; cur_s = cur_s-60; end
    while (cur_s >= 60) do cur_h = cur_h+1; cur_m = cur_m-60; end
    if(cur_h >= 24) then cur_h = (cur_h % 24) end
    end

    In the last line where it says if(cur_h >= 24) then cur_h = (cur_h % 24) change 24 where it occurs both times to 12. So when you're done it should look like this...

    if(cur_h >= 12) then cur_h = (cur_h % 12)

    That should help.

    I Hope DonKaban doesn't mind me posting this, but I've found this addon very helpful and that was also one of the things that nagged me about it. The 24hr setting for the Time Module. Easy fix though.

    Reply Report Permalink
  • wardfan said

    Any way to change the time to show a.m. and p.m. instead of "military time"? And get rid of the seconds?

    Reply Report Permalink
  • wardfan said

    The SNT Bag gives an error with the addon manager saying it's incompatible every time I load the game, even though it is disabled in my addon manager. Started with 1.2.1, everything else works just fine.

    Reply Report Permalink
  • Similar Addons
  •  

Average downloads per day

  1. 42 Tidy Roll Auction & Economy, and Bags...
  2. 30 Group Icons Artwork, and Unit Frames
  3. 25 WaaaghBar Auction & Economy, and Bags...
  4. 17 Motion Professions, Auction & Economy...
  5. 15 Auction Stats Auction & Economy