Jump to content
Korean Random

scyorkie

User
  • Content Count

    381
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by scyorkie

  1. I had one battle where it looks like the HP bar of a teamkiller glitched out right at the end. Replay and logs (from watching the replay) attached. Video clip below: If you watch the replay without XVM, the glitch does not show up. If you watch it with XVM, it shows up every time. 20170605_2050_china-Ch02_Type62_86_himmelsdorf_winter.wotreplay python.log xvm.log
  2. Will using latest nightly cause issues in ranked mode?
  3. Every other circle represents certainty of a particular event: - render range: you will see nothing beyond the circle - max view range: enemies cannot see you if they are outside the circle - your view range: you cannot see enemies if they are outside the circle What OP proposes does not fit with what the other circles can do. What use is a circle that is not 100% reliable in any way? If it's only as good as guessing, then you might as well guess it yourself.
  4. [ 1 ] I created a "def" section at the top of the PP file: "def": { "wn8color": "{{player?{{c:wn8}}|{{wn8>899?{{c:wn8}}|{{wn8<300?{{c:wn8}}|#D3D3D3}}}}}}" } What doesn't work: i. <font color='{{.def.wn8color}}'> doesn't work. I don't think it can ever work, based on sirmax's explanation here. ii. <font color='{{.playersPanel.def.wn8color}}'> doesn't work. I think this is because @xvm.xc points ".playersPanel" past the "def" section and directly to the "playersPanel" section in the middle of the file. What works: a. <font color='{{.playersPanel.def.wn8color}}'> will work if "def" is created in playersPanel.xc > playersPanel section. b. <font color='{{.texts.def.wn8color}}'> works if "def" is created under texts.xc > texts. c. Creating "def" in a new .xc file and referencing that in @xvm.xc works but I prefer not to, because I always overwrite that when I update XVM. d. Creating "def" in a new .xc file and referencing that in playersPanel.xc only works if the reference is made in playersPanel.xc > playersPanel section. That new file is "inserted" into playersPanel.xc at the point of reference, and becomes part of it. The syntax is similar to method (a) above. However, the problem with the 4 methods above is that changes made to this "def" section are not reflected by "autoReloadConfig" function. By comparison, if I use the general definition method ("format": ${"def.WN8name"}) for the entire "format" field, changes will be reflected by "autoReloadConfig". Any fix for this? ----- ----- ----- ----- ----- ----- ----- ----- [ 2 ] I also looked at your example that you linked, and cannot understand this part in blue (comments translated with Google): // macro to add to your game nick in his own name {{._my._i.{{name}}}} "_i": { "Duv21": " *Илья", "Duv21_RU": " *Илья" }, // macro to insert player name {{._my._name}} "_name": "<font color='{{clannb=VO_SP?#FFCC66|{{player?#FFB964}}}}'>{{clan?{{name%.14s~..}}|{{name}}}}{{._my._i.{{name}}}}</font>", I can see that it is to add " *Илья" behind player name, if player is Duv21 (or Duv21_RU). But how do the "_i" definition and the {{._my._i.{{name}}}} macro work exactly? I've not seen a similar example in these forums before. ----- ----- ----- ----- ----- ----- ----- ----- [ 3 ] The use of <textformat> in your statisticForm relates to this other question I had here. If I follow your example, using: "formatLeftNick": "<textformat leading='-15'><font size='12' color='#555555'>{{clannb}}</font>\n</textformat><textformat leftMargin='39'><font size='12'>{{name}}</font></textformat>", "formatRightNick": "<textformat leading='-15'><font size='12' color='#555555'>{{clannb}}</font>\n</textformat><textformat rightMargin='39'><font size='12'>{{name}}</font></textformat>", I can achieve this: http://i.imgur.com/yvDEhNZ.jpg However, how do I (without using monospace fonts) make allies' clan names alight to the right so that they are nearer to player names (like so: http://i.imgur.com/mDzsoI4.jpg), and enemy clan names similarly align to the left?
  5. I generally understand how to create definitions. See: https://koreanrandom.com/forum/topic/37932-is-it-possible-to-consolidate-items-in-markers-files/ But I need help with something specific. I have a PP extraField that goes like this: "format": "<font color='#D3D3D3'><font color='{{player?{{c:wn8}}|{{wn8>899?{{c:wn8}}|{{wn8<300?{{c:wn8}}|#D3D3D3}}}}}}'>{{name%.10s~..}}</font></font>" The entire blue part can go into a definition section under "WN8name", and that entire line above can be changed to: "format": ${"def.WN8name"} However, what if I only want to create a definition for the orange part? "format": "<font color='#D3D3D3'><font color='{{player?{{c:wn8}}|{{wn8>899?{{c:wn8}}|{{wn8<300?{{c:wn8}}|#D3D3D3}}}}}}'>{{name%.10s~..}}</font></font>" Is it possible? I've tried some permutations of the usual way of making definitions and they didn't work.
  6. To update, my methods above produced syntax errors in xvm.log. To avoid these errors, this line for example: {{v.xpToEliteLeft>10000?{{py:math.div({{v.xpToEliteLeft}},1000)%-2d~k}}|{{v.xpToEliteLeft>1000?{{py:math.div({{v.xpToEliteLeft}},1000)%-2.1f~k}}|{{v.xpToEliteLeft}}}}}} has to be edited to look like this: {{v.xpToEliteLeft>10000?{{py:math.div({{v.xpToEliteLeft|1}},1000)%-2d~k}}|{{v.xpToEliteLeft>1000?{{py:math.div({{v.xpToEliteLeft|1}},1000)%-2.1f~k}}|{{v.xpToEliteLeft}}}}}} to avoid null values for tanks that have been elited. And this is how my XP bars look like in the carousel at the moment: http://i.imgur.com/er4cbz8.jpg
  7. Thanks, I fixed the syntax issues, and will upload new logs if I encounter this again.
  8. I just ended a battle where nothing loaded from XVM, except for my markers. Everything else was from vanilla client. (However, everything was fine when I went back to watch the replay.) Screenshots and logs attached (logs were taken before watching replay). python.log xvm.log
  9. I updated from 7581 to 7588, and each time I start WOT, I get a small popup that says "IT'S ATTACH TIME" which I have to dismiss before I can login. What is this for? I thought I got some spyware on my PC. This is definitely due to 7588. I have rolled back to 7581 for the time being.
  10. damageLog.xc > damageLog > enabled = false battleLabelsTemplates.xc > def > hitlog / hitlogHeader / hitlogBody > set all enabled = false battleLabelsTemplates.xc > def > totalEfficiency > enabled = false
  11. I have set hangar.xc > "defaultBoughtForCredits" = true However, this hasn't worked for me in 9.19 -- every time I change to a premium consumable it defaults to gold. Anyone else with the same problem? Also, hitLog.xc > enabled = false seems to do nothing; you still have to disable hitLog from battleLabelsTemplates.xc
  12. Does v.type={{l10n:LT}}? or v.type=LT? etc no longer work? I just went back to try what I posted above, and my macros don't produce the intended results anymore. Update: Nvm it's my own fault -- the macro relies on texts.xc and I forgot that I had edited mine.
  13. https://koreanrandom.com/forum/topic/13434-wn8-рейтинг-формула-и-обсуждение/page-36
  14. If in markers.xc you have set enabled = true, then XVM overrides your game client OTM (over tank markers) settings. In that case, check the other 4 markers*.xc for all instances of "levelIcon" and ensure that they are enabled in the appropriate case.
  15. Using {{clan?{{clan%7s}}| }} does resolve issue (i). This is the result: http://i.imgur.com/1JE6XXU.jpg However, issue (ii) remains. - This is the result when XVM stats are disabled: http://i.imgur.com/UmQJc8s.jpg - This is so even if I reduce "formatRightNick" to just this: "formatRightNick": "<font size='12'>{{xvm-stat?{{name%.10s~..}}|{{name}}}}</font> <font size='12' face='Consolas' alpha='#A0'>{{clan?{{clan%-7s}}| }}</font>",
  16. I wouldn't call them cumulative -- they don't add up -- but yes they are (in the cases I've seen) incremental. "formatLeftNick" is easy since the text goes from left to right, and the reference point for tabstops is at the left edge of the field. However, for "formatRightNick", I can't figure out where the reference point is, and that's why I tried 79,0. Trust me I've also tried 0,79 100,200 and even negative values (those crash the client) etc. ----- ----- ----- Update: I figured out a different method: "formatLeftNick": "{{xvm-stat?<img src='xvm://res/icons/flags/{{flag|default}}.png' width='16' height='13' vspace='-2'> <img src='xvm://res/icons/xvm/xvm-user-{{xvm-user}}.png'> }}<font size='12' face='Consolas' alpha='#A0'>{{clannb%5s}}</font> <font size='12'>{{xvm-stat?{{name%.10s~..}}|{{name}}}}</font>", "formatRightNick": "<font size='12'>{{xvm-stat?{{name%.10s~..}}|{{name}}}}</font> <font size='12' face='Consolas' alpha='#A0'>{{clannb%-5s}}</font>{{xvm-stat? <img src='xvm://res/icons/xvm/xvm-user-{{xvm-user}}.png'> <img src='xvm://res/icons/flags/{{flag|default}}.png' width='16' height='13' vspace='-2'>}}", This is the result: http://i.imgur.com/THWy5TE.jpg However, there are limitations: (i) Only {{clannb}} works; {{clan}} doesn't. If I use {{clan%7s}} (to account for the extra [ ] brackets), the player names without clans will get misaligned: http://i.imgur.com/LxIaH45.jpg (ii) The right side gets misaligned if XVM stats are disabled: http://i.imgur.com/n6LJeNY.jpg Any idea how to deal with situation (ii) above? This is related to my posts in this thread.
  17. Have tried both, and also multiple tabstops, eg: "formatRightNick": "<textformat tabstops='[79,0]'><tab><font size='12'>{{xvm-stat?{{name%.10s~..}}|{{name}}}}</font><tab>{{clan?<font> </font>}}<font size='12' alpha='#A0'>{{clan}}</font>{{xvm-stat? <img src='xvm://res/icons/xvm/xvm-user-{{xvm-user}}.png'> <img src='xvm://res/icons/flags/{{flag|default}}.png' width='16' height='13' vspace='-2'>}}</textformat>", None of them helps with breaking "formatRightNick" into more columns.
  18. So I was tinkering with the player name displays, and wanted to try giving {{name}} and {{clan}} their own columns in PP and SF. I managed to get my playersPanel to look like this: http://i.imgur.com/Wub4LTf.jpg Then I wanted to achieve a similar effect in statisticForm with the "formatLeftNick" and "formatRightNick" fields. The left side was easily achieved with tabstops, and the result looked like this: http://i.imgur.com/MuC9TAJ.jpg This was how I did it: "formatLeftNick": "<textformat tabstops='[79]'>{{xvm-stat?<img src='xvm://res/icons/flags/{{flag|default}}.png' width='16' height='13' vspace='-2'> <img src='xvm://res/icons/xvm/xvm-user-{{xvm-user}}.png'> }}<font size='12' alpha='#A0'>{{clan}}</font>{{clan?<font> </font>}}<tab><font size='12'>{{xvm-stat?{{name%.10s~..}}|{{name}}}}</font></textformat>", However, I couldn't do it with the same method in "formatRightNick". Any ideas? Update: Images also attached to post.
  19. So assume you want Tank Name (row 1) above Player Name (row 2): - get the Y coordinates for rows 1 and 2 - Y1 and Y2 - your Tank Name definition needs conditional Y position - if squad, Y = Y1 - else, Y = Y2 - alpha is constant 100 - your Player Name definition needs conditional alpha - if squad, alpha = 100 - else, alpha = 0 - Y positioning is constant, Y2 This conditional stuff is the same as what you see in the minimap files. (If you want Player Name over Tank Name, then you simply give Player Name a conditional alpha macro.) As for the above also working for clanmates, IDK if {{clan=clanname?}} works? ----- ----- ----- Update 1: {{clan=clanname?}} does not work -- the macro cannot read / compare the name of the clan. The only way I know is to use {{clanicon?}} and make sure that only your clan has clan icons. To achieve this, go to your modxvm.com settings, and ensure that the "Top clans counted" slider at the bottom is at 0. Then set your own clanicons in \res_mods\mods\shared_resources\xvm\res\clanicons\[server]\clan If you combine this with what I've posted above, your Tank Name Y-position macro will look like this: "y": "{{squad?-50|{{clanicon?-50|-36}}}}" and your Player Name alpha macro will look like this: "alpha": "{{squad?100|{{clanicon?100|0}}}}" (values are from my own config) ----- ----- ----- Update 2: vlad's suggestion below to use {{my-clan}} should work. Accordingly, the macros using my method will be "y": "{{squad?-50|{{my-clan?-50|-36}}}}" and "alpha": "{{squad?100|{{my-clan?100|0}}}}"
  20. Your Y values for "vehicleSpotted" and "nickSpottedCompany" are both at -3 if it's not a squad mate, hence the overlap.
  21. For macros such as {{battletype?}} and {{squad?}}, you are first testing to see if there is a value, before going on to do A or B (not sure if I'm using the correct/best terms). If you go to texts.xc, you will see that only certain battletypes will return a value -- e.g. training, company, tournament, clan, but not regular, tutorial, sandbox. So the macro {{battletype?ResultA|ResultB}} will give you ResultA for training, company, tournament, and clan etc battletypes, and ResultB for the battletypes that have no values. Another example: "alpha": "{{xvm-user?60|0}}" (something I was experimenting with recently). In texts.xc, "xvmuser" has values for "on" and "off", and is only null for "none". Thus, "alpha": "{{xvm-user?60|0}}" gives you 60 alpha if the player has XVM stats enabled, and also if the player has XVM stats disabled. It only gives you 0 alpha if the player is not even an XVM user in the first place. ----- ----- ----- My own question: what do the "mouseEvents" under "damageLog" and "lastHit" in battleLabelsTemplates.xc do? Also see https://koreanrandom.com/forum/topic/36347-moving-damage-log-with-mouse/
  22. If you want it in the top left and right corners [example pic], attach your playersPanel.xc If you want it when you press tab [example pic], attach your statisticForm.xc
  23. Where do you want it shown? (I don't know if you will find it all that useful since per-tank stats = smaller sample size, and not as good a gauge of performance as overall stats.)
  24. It already is possible, if you so wish. See macros.txt > statistic macros > middle of that table [screenshot here]
×
×
  • Create New...