Skip to content

Comments

Implement TF2 GetPlayerItems#44

Merged
lpradel merged 5 commits intolpradel:masterfrom
MihajloNesic:feature/tf2-player-items
Mar 14, 2025
Merged

Implement TF2 GetPlayerItems#44
lpradel merged 5 commits intolpradel:masterfrom
MihajloNesic:feature/tf2-player-items

Conversation

@MihajloNesic
Copy link
Contributor

I needed TF2 items so I Implemented IEconItems_440/GetPlayerItems

https://wiki.teamfortress.com/wiki/WebAPI/GetPlayerItems

@MihajloNesic
Copy link
Contributor Author

Also, I had hard time setting local dev environment. You might want to revisit that section (if you want and have free time) :)

@lpradel
Copy link
Owner

lpradel commented Mar 1, 2025

@MihajloNesic Thanks a lot for your contribution! I will try to review more in-depth asap.

MihajloNesic and others added 2 commits March 1, 2025 19:30
Co-authored-by: Lukas Pradel <lukas.pradel@googlemail.com>
@coveralls
Copy link
Collaborator

coveralls commented Mar 2, 2025

Coverage Status

coverage: 97.747% (-0.06%) from 97.809%
when pulling a031c61 on MihajloNesic:feature/tf2-player-items
into 7f77abf on lpradel:master.

Copy link
Owner

@lpradel lpradel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think where not actually needed we should use integer over number which gets mapped to Long instead of Double for better performance (see https://github.com/lpradel/steam-web-api-java/blob/master/pom.xml#L149 ). Hope you agree?

@lpradel
Copy link
Owner

lpradel commented Mar 9, 2025

@MihajloNesic also could you maybe explain in a little more detail what exactly gave you trouble getting it to build locally? What issues did you run into? Would very much like to add an info section about this as you suggested!

@lpradel lpradel self-assigned this Mar 9, 2025
Co-authored-by: Lukas Pradel <lukas.pradel@googlemail.com>
@MihajloNesic
Copy link
Contributor Author

@MihajloNesic also could you maybe explain in a little more detail what exactly gave you trouble getting it to build locally? What issues did you run into? Would very much like to add an info section about this as you suggested!

I couldn't get the test suite to work. Maybe it was just me cause I have some 'weird' maven profiles setup.

Try to setup a clean env on your machine (or vm or container) and try it out. If it doesn't give you troubles, then please ignore my request :)

lpradel
lpradel previously approved these changes Mar 10, 2025
@lpradel
Copy link
Owner

lpradel commented Mar 10, 2025

@MihajloNesic also could you maybe explain in a little more detail what exactly gave you trouble getting it to build locally? What issues did you run into? Would very much like to add an info section about this as you suggested!

I couldn't get the test suite to work. Maybe it was just me cause I have some 'weird' maven profiles setup.

Try to setup a clean env on your machine (or vm or container) and try it out. If it doesn't give you troubles, then please ignore my request :)

Hmmm interesting 🤔 I will give it a try, however I would assume that the Github workflow builds should be similar to clean environment. Can you recall the errors / logs you got?

@lpradel
Copy link
Owner

lpradel commented Mar 10, 2025

@MihajloNesic Also one more small thing. Due to considerable work you put into this change I think it is more than deserved that you are mentioned among contributors here: https://github.com/lpradel/steam-web-api-java/blob/master/README.md?plain=1#L237
Feel free to add yourself or I will do it for you.

Again thanks a lot for this!

@MihajloNesic
Copy link
Contributor Author

Hmmm interesting 🤔 I will give it a try, however I would assume that the Github workflow builds should be similar to clean environment. Can you recall the errors / logs you got?

I got this when trying to run the test (using Java 11)

java.lang.reflect.InaccessibleObjectException: Unable to make public void com.lukaspradel.steamapi.BaseTest.initMocks() accessible: module com.lukaspradel.steamapi does not "exports com.lukaspradel.steamapi" to unnamed module @44c2862d

The way I tested the app was building the jar and trying it out on a mini-project.

@MihajloNesic
Copy link
Contributor Author

@MihajloNesic Also one more small thing. Due to considerable work you put into this change I think it is more than deserved that you are mentioned among contributors here: https://github.com/lpradel/steam-web-api-java/blob/master/README.md?plain=1#L237 Feel free to add yourself or I will do it for you.

Again thanks a lot for this!

Cheers 🎉

@lpradel lpradel merged commit 425cbc4 into lpradel:master Mar 14, 2025
1 of 2 checks passed
@MihajloNesic MihajloNesic deleted the feature/tf2-player-items branch March 15, 2025 18:39
@lpradel
Copy link
Owner

lpradel commented Mar 16, 2025

@MihajloNesic I have made a new release 1.10.0 with the new interface should be available on Maven central within the next 24 hours. Thanks!

@lpradel
Copy link
Owner

lpradel commented Jun 24, 2025

@MihajloNesic also could you maybe explain in a little more detail what exactly gave you trouble getting it to build locally? What issues did you run into? Would very much like to add an info section about this as you suggested!

I couldn't get the test suite to work. Maybe it was just me cause I have some 'weird' maven profiles setup.

Try to setup a clean env on your machine (or vm or container) and try it out. If it doesn't give you troubles, then please ignore my request :)

@MihajloNesic I hope that I have fixed the issue, could you give it a try with the most recent main branch?

@MihajloNesic
Copy link
Contributor Author

MihajloNesic commented Jun 24, 2025

@lpradel Awesome, works now. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants