Difference between revisions of "User talk:Randomname90001"

From Team Fortress Wiki
Jump to: navigation, search
m (Adding welcome message to new user's talk page)
 
 
(13 intermediate revisions by 4 users not shown)
Line 23: Line 23:
  
 
-- [[User:WelcomeBOT|WelcomeBOT]] ([[User talk:WelcomeBOT|talk]]) 05:12, 27 February 2024 (UTC)
 
-- [[User:WelcomeBOT|WelcomeBOT]] ([[User talk:WelcomeBOT|talk]]) 05:12, 27 February 2024 (UTC)
 +
 +
== Code edits ==
 +
 +
Hi there,
 +
 +
Do you happen to know where the code for attributes is stored?<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 18:23, 11 June 2024 (UTC)
 +
 +
 +
The code for attributes isn't really in one place, "game/shared/econ/attribute_manager.cpp" has information about how they are applied, specifically at line 580, but most are found in weapon and player code, along with their functionality. "game/shared/tf/tf_weaponbase.cpp" has most of the non-weapon class specific attributes, like-wise "game/shared/tf/tf_player_shared.cpp" has a lot of the player attributes. <br>[[User:Randomname90001|Randomname90001]] ([[User talk:Randomname90001|talk]]) 18:36, 11 June 2024 (UTC)
 +
 +
:Thank you, I noticed for some weapons they're in the .cpp for the base weapon, but when I looked for the boost-on-kill attribute for the Big Earner it wasn't present in the knife .cpp. I'll take a look in those files.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 18:47, 11 June 2024 (UTC)
 +
 +
== Unusual percentage ==
 +
 +
Hey, currently the [[Unusual]] page says that there is a ''less than 1%'' chance of obtaining an Unusual quality item through crates and cases. With the tooltip saying it's roughly 0.66% or 1/150. Would it be possible to verify the actual chance of an unusual via the source code? The source given for the 0.66% chance is an analysis of unboxings from 2013. Would be nice to have an actual concrete source if possible. You seem pretty good at digging through the code so I figured I'd ask you. [[User:Mediarch|<font color="ec5c69">'''Mediarch'''</font>]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[User talk:Mediarch|<font color="ec5c69">'''Talk'''</font>]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[Special:Contributions/Mediarch|<font color="ec5c69">'''My Edits'''</font>]] 13:40, 2 July 2024 (UTC)
 +
 +
:It is not, this code is not included in the 2020 leak.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 13:40, 2 July 2024 (UTC)
 +
 +
:: Darn [[User:Mediarch|<font color="ec5c69">'''Mediarch'''</font>]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[User talk:Mediarch|<font color="ec5c69">'''Talk'''</font>]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[Special:Contributions/Mediarch|<font color="ec5c69">'''My Edits'''</font>]] 13:43, 2 July 2024 (UTC)
 +
 +
I see you added a section in your sandbox but I am stupid and can't see where you're getting the 1 in 215 from. The comment only says one out of this many and I don't see anything in the schema relating to the mentioned crates that would give information about unusual rates. [[User:Jh34ghu43gu|Jh34ghu43gu]] ([[User talk:Jh34ghu43gu|talk]]) 10:43, 10 July 2024 (UTC)
 +
 +
: First thing, I put the wrong crate, should've been Director's Cut Reel, not Audition Reel, my apologies. I probably should've specified what lines they are found at in the schema in my original edit, but they are found at line 184420 for the Mann Co. Stockpile Crate, and 184718 for the Mann Co. Director's Cut Reel. The comment says that the chance is one out of the attribute's ("random drop line item unusual chance") value, so that's where I got that from, with the attribute's value being 215 in the item schema. [[User:Randomname90001|Randomname90001]] ([[User talk:Randomname90001|talk]]) 18:21, 10 July 2024 (UTC)
 +
 +
== Endless mode MvM ==
 +
 +
Hi there,
 +
 +
Does this mode still function when enabled?<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 11:54, 11 July 2024 (UTC)
 +
 +
: Yes, <s>but it can't be enabled normally through the developer console</s> and has to be done with SourceMod or the SetValue() function in VScript. Scratch what I said about it not being possible through dev console, use the command <code>script Convars.SetValue("tf_mvm_endless_force_on", 1)</code> in the console and it should work.
 +
[[User:Randomname90001|Randomname90001]] ([[User talk:Randomname90001|talk]]) 17:55, 11 July 2024 (UTC)
 +
 +
::Alright, thank you. Though trying it just now in my own game didn't work. Do you think you could show a video on an unmodded server that allows this to work?<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 18:12, 11 July 2024 (UTC)
 +
 +
::: Here's the video: https://youtu.be/3H9edEw_N8M ; the start shows me setting it up and playing through the first and second wave (first wave is the mission's normal wave.) From testing, it doesn't appear that the random attributes work, but I don't know if this is caused by not having the file the code references for those upgrades, or if the functionality has just been removed.[[User:Randomname90001|Randomname90001]] ([[User talk:Randomname90001|talk]]) 18:39, 11 July 2024 (UTC)

Latest revision as of 18:40, 11 July 2024

Hello, Randomname90001!

Welcome to the Official Team Fortress Wiki!

Here are a few links to get you started:

  • If you're not too familiar with editing wikis, you might like to start with Help:Editing.
  • If you already are familiar with wikiediting, you might want to try Help:Style guide.
  • Recent Changes will let you see others' contributions as they happen.
    • To make Recent Changes more useful for all users, remember to provide an edit summary in the "Summary" field before you save your changes.
    • You can set the wiki to prompt you for a summary in your preferences.
  • When posting on an article's Talk page you should add four tilde symbols or ~~~~ onto the end.
    • This will add a signature and timestamp to your comment so others can easily tell who posted it.
    • Any new sections on an article's Talk page should be added to the bottom of the page and not to the top.
    • When editing normal article pages, don't sign your contributions.
    • You can use the Signature Icon.png button in the editing toolbar to quickly add a signature.
  • If you have any questions or need any help, please feel free to leave a message for a staff member.
  • If you have trouble with anything on the wiki or you're not sure about a specific topic, feel free to join the IRC.
  • You can also customize your user page if you like.
    • When uploading images for use on your user page, please add the prefix User Randomname90001 to the file's name.
    • Additionally, if you would like to add any self-made content to the wiki, please do so by adding the prefix User:Randomname90001/ to the page title when you create the page.

Once again, welcome to the Team Fortress Wiki!


-- WelcomeBOT (talk) 05:12, 27 February 2024 (UTC)

Code edits

Hi there,

Do you happen to know where the code for attributes is stored?
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 18:23, 11 June 2024 (UTC)


The code for attributes isn't really in one place, "game/shared/econ/attribute_manager.cpp" has information about how they are applied, specifically at line 580, but most are found in weapon and player code, along with their functionality. "game/shared/tf/tf_weaponbase.cpp" has most of the non-weapon class specific attributes, like-wise "game/shared/tf/tf_player_shared.cpp" has a lot of the player attributes.
Randomname90001 (talk) 18:36, 11 June 2024 (UTC)

Thank you, I noticed for some weapons they're in the .cpp for the base weapon, but when I looked for the boost-on-kill attribute for the Big Earner it wasn't present in the knife .cpp. I'll take a look in those files.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 18:47, 11 June 2024 (UTC)

Unusual percentage

Hey, currently the Unusual page says that there is a less than 1% chance of obtaining an Unusual quality item through crates and cases. With the tooltip saying it's roughly 0.66% or 1/150. Would it be possible to verify the actual chance of an unusual via the source code? The source given for the 0.66% chance is an analysis of unboxings from 2013. Would be nice to have an actual concrete source if possible. You seem pretty good at digging through the code so I figured I'd ask you. Mediarch User Mediarch PFP.pngTalkMy Edits 13:40, 2 July 2024 (UTC)

It is not, this code is not included in the 2020 leak.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 13:40, 2 July 2024 (UTC)
Darn Mediarch User Mediarch PFP.pngTalkMy Edits 13:43, 2 July 2024 (UTC)

I see you added a section in your sandbox but I am stupid and can't see where you're getting the 1 in 215 from. The comment only says one out of this many and I don't see anything in the schema relating to the mentioned crates that would give information about unusual rates. Jh34ghu43gu (talk) 10:43, 10 July 2024 (UTC)

First thing, I put the wrong crate, should've been Director's Cut Reel, not Audition Reel, my apologies. I probably should've specified what lines they are found at in the schema in my original edit, but they are found at line 184420 for the Mann Co. Stockpile Crate, and 184718 for the Mann Co. Director's Cut Reel. The comment says that the chance is one out of the attribute's ("random drop line item unusual chance") value, so that's where I got that from, with the attribute's value being 215 in the item schema. Randomname90001 (talk) 18:21, 10 July 2024 (UTC)

Endless mode MvM

Hi there,

Does this mode still function when enabled?
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 11:54, 11 July 2024 (UTC)

Yes, but it can't be enabled normally through the developer console and has to be done with SourceMod or the SetValue() function in VScript. Scratch what I said about it not being possible through dev console, use the command script Convars.SetValue("tf_mvm_endless_force_on", 1) in the console and it should work.
Randomname90001 (talk) 17:55, 11 July 2024 (UTC)
Alright, thank you. Though trying it just now in my own game didn't work. Do you think you could show a video on an unmodded server that allows this to work?
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 18:12, 11 July 2024 (UTC)
Here's the video: https://youtu.be/3H9edEw_N8M ; the start shows me setting it up and playing through the first and second wave (first wave is the mission's normal wave.) From testing, it doesn't appear that the random attributes work, but I don't know if this is caused by not having the file the code references for those upgrades, or if the functionality has just been removed.Randomname90001 (talk) 18:39, 11 July 2024 (UTC)