Giter Club home page Giter Club logo

simc-addon's Introduction

SimulationCraft Addon

This addon collects information about your character and presents a text version suitable for running in Simc

Usage

Type /simc in-game to display text input that you can copy/paste to SimulationCraft.

/simc nobags will only output character on your gear, not items in your bags.

/simc minimap will toggle the minimap icon.

/simc [Item Link] can be used to add additional items to the output. For example, type /simc, add a space, then shift left-click an item (from chat, a recent boss drop, or an item from a vendor) and that item will be added as a comment below bag items in the text. WoW chat does have a character limit so the output may only contain the first 2-3 items that you link.

FAQ

Why are some item names missing from the comments?

First, this warning does not impact the sim in any way - it only makes it a bit harder to know which line is for which item for people reading the input.

Some addons that do big database updates can unintentionally cause problems for others. Usually it's completionist or transmog addons (All The Things, Can I Mog It, etc) that need to do a bunch of work on login and that can sometimes prevent the SimulationCraft addon from being able to show item names.

If you run /simc again a bit later once the database updates are done, it should resolve the issue and show the item names in comments. You may need to run /simc a couple of times for the info to be available.

Maintainers

  • navv
  • seriallos
  • aethys
  • Theck (retired)

simc-addon's People

Contributors

gastank avatar geheur avatar ghr74 avatar kitsunekyo avatar kutikuti avatar melekus avatar navv1234 avatar pewtro avatar reglohpri avatar saeldur avatar seriallos avatar thaodan avatar theckhd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simc-addon's Issues

Empty gear slots

When I try uploading it to sim my main, it says it's loading with empty gear slots.

emptyslots

[Request] API to extend the generated output?

Hi, I have a use-case where I use an addon to manage my talents, meaning I only store one build in the official Blizzard manager and instead use a separate storage source for all my actual builds.

This has the unfortunate downside that /simc doesn't pick up any of my builds. Is there somewhere I can hook in to extend the generated simc string with my own talent export strings? If not, would it be possible to add that as a public API that other addons could use to add to the output string?

Retribution Paladin

Describe the bug
When I type "/simc" in chat, I can't click enter. I can't click on the minimap icon either. I'm not getting any input. Other Retri players that I know don't have the problem. If I switch to Prot or Heal, simulationcraft works. Simc also works with other classes. Only Retri Pala does not work.

Expected behavior
If I type "/simc" in the chat, I can click enter. Then a new window appears where I can copy the content. But I can't even click enter.

To Reproduce
see up.

Additional information
I'm up-to-date. I testing since 3 Version from simulationcraft (now 10.0.7-3)

[Feature Request] Parse item links passed to the simc commad

It would be awesome if we could pass a item link to the simc command

/simc ITEMLINK

and have it output the string for the item, either into a box that could be copied from or to the chatbox. Would make determining if items that have dropped and titanforged were upgrades or not.

Elvui (13.32) seems to block SimC (10.1.0-04) from exporting Great Vault items

When using ElvUI 13.32, opening the Great Vault and running /simc, the addon generates a warning message "Warning: SimC was unable to retrieve an item name from your Great Vault, try again". GV items are not present in the simc output.

When I then disable ElvUI, the warning message is not shown and SimC correctly exports GV items.

Apparently, this has been the case for a while, since I never had GV items in my SimC output and I have been using ElvUI for a long time.

Sim wwill not open

5x Simulationcraft\core.lua:5: Cannot find a library instance of "LibRealmInfo".
[string "=[C]"]: in function error' [string "@ElvUI\Libraries\Ace3\LibStub\LibStub.lua"]:23: in function LibStub'
[string "@simulationcraft\core.lua"]:5: in main chunk

Locals:
(*temporary) = "Cannot find a library instance of "LibRealmInfo"."

Add Project ID to TOC file

Hello, could the following line be added to the TOC file? It allows 3rd party addon managers to download and update the addon by pulling from CurseForge. The ID in the line is the project ID on Curseforge.
## X-Curse-Project-ID: 82745

Can't open ingame simc output

Hello,
need an advice, this is the 2nd day when im trying to figure out such a bizare problem, the point is when im trying to open simcraft output on my prot paladin its not working, but when i switch to a diferent spec on same char it works normaly, i tried to disable all addons expect simcraft, tried to reinstall it, deleted variables, checked game data for repair, tried to unequiped gear slots, nothing. Any clue what to do? I will apreciate your help.

/simc [item] from Place Order window

When doing /simc [item] with the previewed item from the Place Crafting Order NPCs, the output string does not contain any data apart from bonus_id=3524 and crafting quality.

Place Order window and item preview
image
Addon command with previewed item
image
Output string

### Linked gear
#
# Torc of Passed Time
# neck=,id=201759,bonus_id=3524,crafting_quality=1

Looking at some of the item dumps, when the preview item is linked, whether it's a fresh craft or recraft, it only has the 3524 bonus, +stats bonuses, crafting quality and flavor text - a flavor text that would normally be added from the Spark bonus ID.
Possible solution: Look for the flavor text in the item link (206959) and add the Spark bonus ID to the string?

Items in bank assigned to wrong slot

Items in the bank (while the bank window is open) are being assigned to the wrong slot.

eg:

# Swoglet Stompers (372)
# neck=,id=193770,bonus_id=7977/40/8814/1594/8767
#
# Ohn'ahran Falconer's Grips (366)
# neck=,id=191999,bonus_id=6652/1468/5865/8766
#
# Gnollish Chewtoy Launcher (369)
# neck=,id=200266,bonus_id=6652/1472/5864/8766
#
# Ohn'ahran Falconer's Coif (366)
# neck=,id=192000,bonus_id=6652/7937/1468/5865/8766

Stompers are feet. grips are hands, launcher is a weapon, coif is head, ...

icon missing

missing the minimap icon in the latest update 10.1

Latest alpha throws errors in BfA

Latest alpha v9.0.1-alpha-1 throws errors upon login on Retail.
Getting 4 of this on every login/reload. Only addons enabled are BugGrabber, BugSack and Simulationcraft.

96x Couldn't find inherited node: BackdropTemplate

"/simc" Broken

Version: 9.0.1-02
Issue: /simc results in

Type /help for a listing of a few commands

simc addon minimap button to be removable by (right) click

Upon installation of simc addon, it defaults to visible minimap button.

We have a ton of buttons around the minimap and simc is not used very often and most likely not used at all during combat/raids/dungeons, where time and quick clicks are of the essence.

The simc minimap button very annoyingly cannot be clicked on to "hide". Instead the user must type "/simc minimap", which is patronising at the very best. One should always be able to interact with GUI components.

Looking at the code this section defaults it to shown:

function Simulationcraft:OnInitialize()
  -- init databroker
  self.db = LibStub("AceDB-3.0"):New("SimulationCraftDB", {
    profile = {
      minimap = {
        hide = false,
      },
    },
  });
  LibDBIcon:Register("SimulationCraft", SimcLDB, self.db.profile.minimap)
  Simulationcraft:UpdateMinimapButton()

  Simulationcraft:RegisterChatCommand('simc', 'HandleChatCommand')
end

I think it should default to
hide = true,
since the button is not interact-able otherwise.

Many thanks

Host the addon outside of CurseForge

As CurseForge is locking out everyone except Overwolf's own addon manager (source: https://www.wowhead.com/news/ads-revenue-and-api-wowup-and-overwolf-split-over-addon-development-325912), please host this addon elsewhere than CurseForge (at least co-host it elsewhere). Options include:

  • Hosting a .zip file of the addon here in the GitHub repository (this allows WowUp to pull it down)
  • Hosting it on WowUpHub website
  • Hosting it on wago.io (allows monetization to continue, if that is a concern)
  • Hosting it on TukUI
  • Hosting it on WowInterface

I am personally using WowUp to update addons, and while I very much respect that some addon creators want their work monetized, and believe that they should have the option, I do not support the Overwolf lock-out simply because they want everyone to use their app. If monetization is a priority, I suggest using wago.io as addon hosting, as it allows for monetization of addons, also while using WowUp; which shows they're willing to find solutions, rather than the Overwolf approach of refusing to cooperate.
I don't mind anyone hosting their addons on CurseForge, but please, please, please host it outside of CurseForge as well, for those of us who would like to cut ties with CurseForge, but still use your amazing addon ❤️

attempt to call global 'GetSpecialization' (a nil value)

When trying to open simc in LK Classic:

Date: 2022-09-30 14:27:32
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\Simulationcraft\core.lua line 750:
attempt to call global 'GetSpecialization' (a nil value)
Debug:
[string "=[C]"]: GetSpecialization()
[string "@simulationcraft\core.lua"]:750: PrintSimcProfile()
[string "@simulationcraft\core.lua"]:16: OnClick()
[string "@atlas\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua"]:144:
...ce\AddOns\Atlas\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:142
Locals:

AddOns:
Swatter, v3.4.6817 (SwimmingSeadragon)
WowheadLooter, v30400
Ace3, vr1292
AdvancedInterfaceOptions, v1.7.2-2-g3742126
AlreadyKnown, v1.46
Altoholic, v2.5.008
Atlas, vv1.51.06
AtlasBurningCrusade, vv1.51.02
AtlasClassicWoW, vv1.51.02
AtlasDungeonLocs, vv1.51.07
AtlasTransportation, vv1.51.08
AtlasWrathoftheLichKing, vv1.51.02
AtlasLootClassic, vv3.0.3
AtlasLootClassicData, vv3.0.3
AtlasLootClassicDungeonsAndRaids, vv3.0.3
AtlasQuest, v4.13.02
AucAdvanced, v3.4.6831 (SwimmingSeadragon)
AucFilterBasic, v3.4.6803 (SwimmingSeadragon)
AucScanData, v3.4.6804 (SwimmingSeadragon)
AucStatiLevel, v3.4.6809 (SwimmingSeadragon)
AucStatPurchased, v3.4.6806 (SwimmingSeadragon)
AucStatSimple, v3.4.6807 (SwimmingSeadragon)
AucStatStdDev, v3.4.6808 (SwimmingSeadragon)
AucUtilFixAH, v3.4.6810 (SwimmingSeadragon)
BeanCounter, v3.4.6811 (SwimmingSeadragon)
ChatBarClassic, v3.22a-WotLK
ClassicCastbars, vv1.5.1
ClassicCastbarsOptions, vv1.5.1
ClassicProfessionFilter, v1.0.8-beta
DataStore, v2022.06.05
DataStoreAgenda, v2.5.008
DataStoreAuctions, v2.5.008
DataStoreCharacters, v2022.06.05
DataStoreContainers, v2.5.008
DataStoreCrafts, v2.5.008
DataStoreInventory, v2.5.008
DataStoreMails, v2022.06.05
DataStoreQuests, v2.5.008
DataStoreReputations, v2.5.008
DataStoreSpells, v2022.06.05
DataStoreTalents, v2.5.008
DBMCore, vb953898
DBMStatusBarTimers, vb953898
DBMVPVEM, v1b93adf
Decursive, v2.7.8.9
Dominos, v9.3.5
DominosCast, v
DominosEncounter, v
DominosProgress, v
DominosRoll, v
GatherMate2, v1.46.3-classic
HandyNotes, vv1.6.8
HandyNotesDungeonLocationsClassic, v1.06a-classic
HandyNotesHigherLearning, v1.09
HandyNotesNPCsClassic, v1.30a
HandyNotesTravelGuide, vv1.2
HealBot, v3.4.0.0.b8
HealBotData, v2.5.4.20
HealBotOptions, v3.4.0.0
HealBotPluginCombatProt, v3.4.0.0
HealBotTips, v3.4.0.0
HealerProtection, v1.0.4
Informant, v3.4.6814 (SwimmingSeadragon)
LeatrixMaps, v3.0.11
LeatrixPlus, v3.0.13
MikScrollingBattleText, v5.7.153
ModernTargetFrame, v1.11
Molinari, v90207.84-Release
Pawn, v2.7.1
PLG, v2.5
Postal, vv3.8.2
Prat30, v3.9.2
Prat30Libraries, v
ProfessionAssistance, v4.0.3
Questie, v7.2.4
QuestXP, v0.8.1
SexyMap, vv9.2.11
Simulationcraft, v10.0.0-alpha-05
SmexyMats, vClassic + TBC
SpellActivationOverlay, v0.6.4
Stubby, v3.4.6816 (SwimmingSeadragon)
TellMeWhen, v9.2.6
TomTom, vv3.1.4
VendorPrice, v1.6.0
WhatsTraining, v4.0.3
WIM, v3.9.6-5-g9a39dc0
ZPerl, v6.3.4
ZPerlArcaneBar, v
ZPerlParty, v
ZPerlPlayer, v
ZPerlPlayerBuffs, v
ZPerlPlayerPet, v
ZPerlRaidFrames, v
ZPerlTarget, v
BlizRuntimeLib_ruRU v3.4.0.30400
(ck=aab)

Wrong Bonus Id for ilvl 200 Tree-Scaler's Britches

Describe the bug

/simc is giving the "Scales with level" bonus_id instead of the ilvl 200 bonus_id for Tree-Scaler's Britches:

legs=,id=184753,bonus_id=7240,drop_level=60

Expected behavior

Upon running /simc, the legs line should be:

legs=,id=184753,bonus_id=1587,drop_level=60

To Reproduce

Buy the ilvl 200 Tree-Scaler's Britches from either Wild Hunt Quartermaster and equip them. Then run simc.

Additional information

  • SimulationCraft Version
    9.0.2-15

Slash command "/simc" no longer works? (Possible conflict with ElvUI?)

When attempting to use the slash command, it does nothing and does not get entered into the chat. Instead it throws the following error:

12x Simulationcraft\core.lua:88: attempt to compare number with table
Simulationcraft\core.lua:88: in function <Simulationcraft\core.lua:85>
Simulationcraft\core.lua:119: in function <Simulationcraft\core.lua:100>
Simulationcraft\core.lua:611: in function `PrintSimcProfile'
Simulationcraft\core.lua:65: in function `?'
...ns\ElvUI\Libraries\AceConsole-3.0\AceConsole-3.0-7.lua:94: in function `?'
FrameXML\ChatFrame.lua:4547: in function `ChatEdit_ParseText'
FrameXML\ChatFrame.lua:4215: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:4251: in function <FrameXML\ChatFrame.lua:4247>
[C]: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
[C]: ?

Locals:
char = TestButton {
 0 = <userdata>
 Text = TestButtonText {
 }
 Right = <unnamed> {
 }
 Middle = <unnamed> {
 }
 Left = <unnamed> {
 }
}
(*temporary) = nil
(*temporary) = "attempt to compare number with table"

Error

writing /simc gives me this:
Latest version, started today, tried to update and reinstall.
It is connected to some other addon since error goes away if i disable all addons besides simc.

Message: Interface/AddOns/Simulationcraft/core.lua:462: invalid value (nil) at index 1 in table for 'concat'
Time: Sat Mar 11 16:43:43 2023
Count: 1
Stack: Interface/AddOns/Simulationcraft/core.lua:462: invalid value (nil) at index 1 in table for 'concat'
[string "=[tsm error check]"]:1: in main chunk
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function concat' [string "@Interface/AddOns/Simulationcraft/core.lua"]:462: in function <Interface/AddOns/Simulationcraft/core.lua:422> [string "@Interface/AddOns/Simulationcraft/core.lua"]:532: in function GetItemStrings'
[string "@Interface/AddOns/Simulationcraft/core.lua"]:893: in function PrintSimcProfile' [string "@Interface/AddOns/Simulationcraft/core.lua"]:149: in function ?'
[string "@Interface/AddOns/Ace3/AceConsole-3.0/AceConsole-3.0.lua"]:90: in function ?' [string "@Interface/FrameXML/ChatFrame.lua"]:5229: in function <Interface/FrameXML/ChatFrame.lua:5175> [string "=[C]"]: ? [string "=[C]"]: in function ChatEdit_ParseText'
[string "@Interface/FrameXML/ChatFrame.lua"]:4893: in function ChatEdit_SendText' [string "@Interface/FrameXML/ChatFrame.lua"]:4929: in function ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:127_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:127_OnEnterPressed"]:1>

Locals:

Wrong Bonus Id for ilvl 200 Tree-Scaler's Britches

Describe the bug

/simc is giving the "Scales with level" instead of the ilvl 200 for Tree-Scaler's Britches:

legs=,id=184753,bonus_id=7240,drop_level=60

Expected behavior

Upon running /simc, the legs line should be:

legs=,id=184753,bonus_id=1587,drop_level=60

To Reproduce

Buy the ilvl 200 Tree-Scaler's Britches from either Wild Hunt Quartermaster and equip them. Then run simc.

Additional information

  • SimulationCraft Version
    9.0.2-15

No License

License file is missing so please add one.
Also there's no license header on each file.

Failing to import data from Addon

SimulationCraft encountered an error!

  • Category: Simulation setup error
  • Error: Unknown option 'artifact' with value '32:0:0:0:0:1102:1:1103:4:1104:4:1105:4:1106:4:1107:4:1108:4:1109:4:1110:4:1111:4:1112:1:1113:1:1114:1:1115:1:1116:1:1117:1:1352:1:1389:1:1597:4:1598:1:1599:1:1600:7:1693:1'

log.txt

/simc minimap doesnt work

It seems the minimap button doesn`t work in Dragonflight patch 10.1. Even not with chat command "/simc minimap". Only "/simc" works.
... cant delete this here but:
I typed "/simc minimap" more then 2 times and reloaded the game ... then it worked for me

"/simc" doesn't work

Cloned from this repo in World of Warcraft_retail_\Interface\AddOns\Simulationcraft.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.