April 02, 2020, 11:35:33 AM

Author Topic: Getting Steam to work  (Read 180 times)

Offline statto

  • Jr. Member
  • **
  • Posts: 14
Getting Steam to work
« on: March 13, 2020, 07:02:11 PM »
I'm using steam.mod out of the box but I keep getting an error at the second of these lines:

Code: [Select]
bmx_SteamAPI_ISteamUserStats_GetGlobalStatHistory0%(inst@*,statName$,data!*,count|)="bmx_SteamAPI_ISteamUserStats_GetGlobalStatHistory0"
bmx_SteamAPI_ISteamUserStats_GetLeaderboardDisplayType/ELeaderboardDisplayType(inst@*,leaderboardHandle||)="bmx_SteamAPI_ISteamUserStats_GetLeaderboardDisplayType"
bmx_SteamAPI_ISteamUserStats_GetLeaderboardEntryCount%(inst@*,leaderboardHandle||)="bmx_SteamAPI_ISteamUserStats_GetLeaderboardEntryCount"

"Error: expecting '='."

I'm baffled - does anyone have any clue what's going on here?

Note - I'm also having a conflicting types with bbGCCollect issue after upgrading MaxIDE to v0.105, but that's a separate issue. Going to go ahead and launch without any Steam support.

Also BlitzMaxNG is fantastic and thank you to those who have continued to support it.

Offline Brucey

  • Full Member
  • ***
  • Posts: 118
Re: Getting Steam to work
« Reply #1 on: March 14, 2020, 09:04:30 PM »
Hi !
Thanks for trying the steam module.

What version of BlitzMax NG do you have? You will need a "fairly" recent version. The second line mentions an Enum, which wouldn't work on older versions.

Offline statto

  • Jr. Member
  • **
  • Posts: 14
Re: Getting Steam to work
« Reply #2 on: March 16, 2020, 12:44:54 AM »
I've been using 0.99, which may just be old enough to not understand the Enums, so that makes sense.

As noted I can't get 0.105 to compile my software, though. I did copy over a bunch of mods, so I'll check to make sure that's the issue. Here's the error if anyone has any ideas:
Code: [Select]
In file included from C:/Users/found_and_replaced/Documents/AFC2018/AFC2018_v050/AFC2018/.bmx/AFC2019.bmx.gui.release.win32.x64.h:4,
                 from C:/Users/found_and_replaced/Documents/AFC2018/AFC2018_v050/AFC2018/.bmx/AFC2019.bmx.gui.release.win32.x64.c:1:
C:/Users/found_and_replaced/Downloads/BlitzMax_win32_0.105.3.35/BlitzMax/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.release.win32.x64.h:223:14: error: conflicting types for 'bbGCCollect'
 extern BBINT bbGCCollect();
              ^~~~~~~~~~~
In file included from C:/Users/found_and_replaced/Downloads/BlitzMax_win32_0.105.3.35/BlitzMax/mod/brl.mod/blitz.mod/blitz.h:30,
                 from C:/Users/found_and_replaced/Downloads/BlitzMax_win32_0.105.3.35/BlitzMax/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.release.win32.x64.h:4,
                 from C:/Users/found_and_replaced/Documents/AFC2018/AFC2018_v050/AFC2018/.bmx/AFC2019.bmx.gui.release.win32.x64.h:4,
                 from C:/Users/found_and_replaced/Documents/AFC2018/AFC2018_v050/AFC2018/.bmx/AFC2019.bmx.gui.release.win32.x64.c:1:
C:/Users/found_and_replaced/Downloads/BlitzMax_win32_0.105.3.35/BlitzMax/mod/brl.mod/blitz.mod/blitz_gc.h:55:9: note: previous declaration of 'bbGCCollect' was here
 size_t  bbGCCollect();
         ^~~~~~~~~~~
In file included from C:/Users/found_and_replaced/Documents/AFC2018/AFC2018_v050/AFC2018/.bmx/AFC2019.bmx.gui.release.win32.x64.h:4,
                 from C:/Users/found_and_replaced/Documents/AFC2018/AFC2018_v050/AFC2018/.bmx/AFC2019.bmx.gui.release.win32.x64.c:1:
C:/Users/found_and_replaced/Downloads/BlitzMax_win32_0.105.3.35/BlitzMax/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.release.win32.x64.h:225:14: error: conflicting types for 'bbGCMemAlloced'
 extern BBINT bbGCMemAlloced();
              ^~~~~~~~~~~~~~
In file included from C:/Users/found_and_replaced/Downloads/BlitzMax_win32_0.105.3.35/BlitzMax/mod/brl.mod/blitz.mod/blitz.h:30,
                 from C:/Users/found_and_replaced/Downloads/BlitzMax_win32_0.105.3.35/BlitzMax/mod/brl.mod/blitz.mod/.bmx/blitz.bmx.release.win32.x64.h:4,
                 from C:/Users/found_and_replaced/Documents/AFC2018/AFC2018_v050/AFC2018/.bmx/AFC2019.bmx.gui.release.win32.x64.h:4,
                 from C:/Users/found_and_replaced/Documents/AFC2018/AFC2018_v050/AFC2018/.bmx/AFC2019.bmx.gui.release.win32.x64.c:1:
C:/Users/found_and_replaced/Downloads/BlitzMax_win32_0.105.3.35/BlitzMax/mod/brl.mod/blitz.mod/blitz_gc.h:54:9: note: previous declaration of 'bbGCMemAlloced' was here
 size_t  bbGCMemAlloced();

Also Brucey is there a donate button anywhere for you?

Offline Derron

  • Hero Member
  • *****
  • Posts: 2818
Re: Getting Steam to work
« Reply #3 on: March 16, 2020, 06:39:10 AM »
There are new downloads for Windows available - please do not just copy over other modules you use. Make sure to rebuild all these modules then (else it mixes up their precompiled stuff / reuses their .bmx folder).


Donations: if you are github user then you can add a sponsorship (and github for now doubles what you give to Brucey).
On Brucey's older and private site you can find a link to his "paypal donate" site:
https://brucey.net/programming/blitz/index.php


bye
Ron

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal