Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -498,11 +498,6 @@ public void onFriendRichPresenceUpdate(SteamID steamIDFriend, int appID) {
public void onGameRichPresenceJoinRequested(SteamID steamIDFriend, String connect) {
//do nothing
}

@Override
public void onGameServerChangeRequested(String server, String password) {
//do nothing
}
};

@Getter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import com.codedisaster.steamworks.SteamFriends;
import com.codedisaster.steamworks.SteamID;
import com.codedisaster.steamworks.SteamLeaderboardHandle;
import com.codedisaster.steamworks.SteamLibraryLoader;
import com.codedisaster.steamworks.SteamPublishedFileID;
import com.codedisaster.steamworks.SteamPublishedFileUpdateHandle;
import com.codedisaster.steamworks.SteamRemoteStorage;
Expand Down Expand Up @@ -159,7 +160,7 @@ public void init() {
this.renewSteam_appid();
try {
LOGGER.debug("[steam]Load native libraries ...");
SteamAPI.loadLibraries();
SteamAPI.loadLibraries(SteamLibraryLoader.Default);
if (!SteamAPI.init()) {
try (StringWriter stringWriter = new StringWriter();
WriterOutputStream writerOutputStream = new WriterOutputStream(
Expand Down Expand Up @@ -394,7 +395,9 @@ protected void processInput(String input) {
}
}
} else if ("stats request".equals(input)) {
getSteamUserStats().requestCurrentStats();
// requestCurrentStats() is removed in steamworks4j 1.10.0
// Stats are now automatically requested during initialization
LOGGER.debug("Stats request is now automatic in steamworks4j 1.10.0+");
} else if ("stats store".equals(input)) {
getSteamUserStats().storeStats();
} else if (input.startsWith("achievement set ")) {
Expand Down
2 changes: 1 addition & 1 deletion src/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<log4j.version>2.25.3</log4j.version>
<lwjgl.version>3.3.6</lwjgl.version>
<slf4j.version>2.0.17</slf4j.version>
<steamworks4j.version>1.8.0</steamworks4j.version>
<steamworks4j.version>1.10.0</steamworks4j.version>
<JXInput.version>1.0.1</JXInput.version>
<Jamepad.version>1.3.2</Jamepad.version>
<lombok.version>1.18.42</lombok.version>
Expand Down
Loading