Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Badspot

Pages: 1 2 3 [4] 5 6 7 8 9 ... 434
Development / Re: 2020/05/20 - Blockland r2023-r2024
« on: May 20, 2020, 06:56:22 AM »
Not being able to play Blockland for these past few weeks has really sucked.

What happened to 17189?

Development / Re: 2020/05/20 - Blockland r2023-r2024
« on: May 20, 2020, 06:33:04 AM »
so i'm having a problem with hosting:
my server does auth properly but whenever webcom_postserver(); is called, it says "must provide steamTicket or dToken" even though i did provide the right dToken

Try now.

Development / Re: 2020/05/20 - Blockland r2023-r2024
« on: May 20, 2020, 06:30:38 AM »

Development / Re: 2020/05/20 - Blockland r2023-r2024
« on: May 20, 2020, 06:09:22 AM »
I can still change my name


Development / Re: 2020/05/20 - Blockland r2023-r2024
« on: May 20, 2020, 06:08:59 AM »
To launch Blockland, i need to downgrade to revision 1997.
Atleast i can play singleplayer.

How about loving explaining your problem. 

Development / Re: 2020/05/20 - Blockland r2023
« on: May 20, 2020, 05:11:39 AM »
what happened to revisions 2020-2022

The version number increases every time I check something into version control.


Frequent name changing is a major source of friendry.

make it possible to transfer a bl account from my steam alt to my main

Allowing that would also allow people to pass around BLIDs in gay discord ops.  Why do you even have a "steam alt"? 

Development / 2020/05/20 - Blockland r2023-r2031
« on: May 20, 2020, 04:16:50 AM »
Blockland r2023
  • The Blockland client now requires Steam to join internet games.  LAN and single player are unrestricted.
  • You can still use the launcher or a portable installation, you just need to have Steam running in the background.
  • Dedicated servers do not use Steam, but must have a login token in order to post the to the master server (details below)
  • Multiple BLIDs can be linked to one Steam account.
  • You can no longer change your username.  One BLID = one name.
  • Everyone with the default "Blockhead" name has had their name cleared and will be able to set a new name when they log in.
  • My BLID has changed from 0 to 1.
  • Joining a server now more complicated than before.  I would advise that add-ons should avoid direct creation or manipulation of GameConnection objects.  Just use the default ConnectToServer(%address, %password, %useDirect, %useArranged) script function if you have your own server browser/join gui.

There are many code changes involved here so if you see any bugs with names, joining, hosting, etc, don't hesitate to report them.

Blockland r2024
  • Added getKeyNumID() back in for add-on compatibility.

Blockland r2025
  • I meant getNumKeyID()
  • Added isUnlocked() for backwards compatibility, always returns true.

Blockland r2026
  • Fixed server list bug
  • Compiled without control flow guard

Blockland r2029
  • Renamed parts of default joinServerGui in an attempt to avoid add-on interference
  • Fixed joining passworded servers
  • Fixed passworded servers not showing up as orange
  • Fixed server filters
  • Fixed server list mixing up as pings come in
  • Added %client.bl_id back in for add-on compatibility
  • Fixed main.cs syntax error/unterminated string
  • Added steam_appid.txt to support using steam from launcher/portable install

Blockland r2030
  • Fixed eval error on colorGui
  • Improved error message when joining a server using old arguments, now immediately gets "Bad connection arguments" instead of going ahead with auth and getting "invalid blid"
  • More join dialog renaming in attempt to avoid mystery add-ons

Blockland r2031
  • Fixed server list not pinging more than 10 servers
  • Selected blid is now remembered in a $pref and automatically applied
  • Can now multi-client on a server without auth failing

Convert your game to Steam:

You can link Blockland IDs to your Steam account using your original purchase email.  Other methods of conversion will be added based on feedback, but this is the most sure-fire.
  • If you do not already use Steam, create a new account
  • Choose the purchase email method, forum email method, or key method and log in with Steam
  • You will be redirected to the Steam site to log in, and then redirected back to  The page uses openID, your login credentials never leave the Steam site.
  • Enter the email address you used to purchase Blockland.
  • A list of Blockland IDs purchased from that email will be displayed.  Select the ones that you wish to link to your Steam account.
  • Click "Request Email Link".  A confirmation email will be sent to you.
  • Open the email and click the confirmation link within 1 hour.

Hosting a dedicated server:
  • Connect your Blockand ID to Steam (see above)
  • Go to the Dedicated Server Token Management page.
    • A list of your BLIDs will be displayed
    • Click "Regen" to get a dToken for each BLID you want to host a dedicated server with
    • Copy the token and add it to your dedicated server command line arguments like so:
Code: [Select]
-dtoken 5716e25fa0c81149e2c24b977aa20f3e

    It's basically a password that allows a dedicated server to post to the master server in your name.  They can be regenerated at any time, so there is reduced risk in using them on a third party hosting provider.  However, you are still responsible for what is done with your login tokens, protect them accordingly. 

    You'll also need to log in to your BLID on the client at least once to set the username. 

    Development / Re: 2020/05/03 - Blockland r2005-r2012
    « on: May 18, 2020, 01:52:12 PM »
    Things are taking a bit longer than I expected due to some questionable functionality of the steam API and forgetting a few things.  I'm closing in on everything working, though.



    freezing on datablocks

    I don't have a repro case for this.  I've only had it happen occasionally while running my CDN bot.

    removal of enabling and disabling downloading stuff (personal thing but god damn i hate it when i gotta tell people to enable stuff and restart their game, they almost never do it)

    So you want to be able to force people to spend 3 hours downloading hundreds of unnecessary music files from you at near dial-up speeds?  No thanks.  Everything that is on the CDN is downloaded regardless of user settings, though.  I could allow user uploads to the CDN but that would probably be abused immediately. 

    Development / Re: 2020/05/03 - Blockland r2005-r2012
    « on: May 10, 2020, 04:52:51 PM »
    Progress report:


    - Game client auth
    - Name/blid selection gui
    - Client auth back end

    To do:

    - Game server auth
    - Test server auth back end
    - Rewrite steamRedeem page

    does any of this affect the ability for developers to query the auth system outside the game, as some of us already do with authQuery.php ?

    The new system will no longer use IP addresses, it will just handle registration of BLIDs and names to SteamIDs.  So if you're using it to authenticate people, you will probably want to move to using Steam's openID. 

    Is there an update available for the Mac version too? Whenever I launch BlocklandLauncher it doesn't download any files and doesn't update. It still says version r2001 and I was actually able to play on a server without any issue.

    Blockland now requires Steam.  Steam does not run on whatever version of OSX I have on my mac mini.  The latest OSX does not run on my mac mini.  Apple has deprecated openGL, which Blockland relies on.  At some point in the future they will yank openGL support entirely.  They're constantly changing their stupid platform api.  It's just not worth it. 

    Development / Re: 2020/05/03 - Blockland r2005-r2012
    « on: May 08, 2020, 02:56:28 PM »
    Quick progress report, so far I have:
    - Designed a new auth database
    - Written and tested scripts for converting old data into new database
    - Researched steam auth on dedicated servers
    - Written new auth server and master server backend

    Still need to:
    - Update game client/server auth
    - Create new name/blid selection gui
    - Test all the backend stuff
    - Rewrite steamRedeem page

    Development / Re: 2020/05/03 - Blockland r2005-r2012
    « on: May 08, 2020, 12:56:58 PM »
    is it just me or does the captcha for this fail every single time

    Sometime in mid March, google changed the way their captcha response was formatted which broke the parsing.  I already fixed it for the forum a while back but I forgot about that page.  Fixed now.

    Development / Re: 2020/05/03 - Blockland r2005-r2011
    « on: May 07, 2020, 05:34:58 PM »
    I'm getting one about SteamUserStats instead of SteamUtils, I dont really wanna make the exe non-read only because then blockland loader will break

    You are using the old Blockland.exe with the new version of steam_api.dll

    There are RCE exploits in the wild and you're sitting there sabotaging the updater. 

    Help / Re: Server Hosting Experience
    « on: May 07, 2020, 01:30:09 AM »
    The relevant code from game.cs is:
    Code: [Select]
    function GameConnection::ResetVehicles(%client)
          if(getBuildString() !$= "Ship")
             Error("ERROR: GameConnection::ResetVehicles() - MissionCleanUp group not found!");
       //cycle through mission cleanup and look for vehicles that belong to this client's brick group
       %ourBrickGroup = %client.brickGroup;
       %count = MissionCleanUp.getCount();
       for(%i = 0; %i < %count; %i++)
          %obj = MissionCleanup.getObject(%i);

          if(!(%obj.getType() & ($TypeMasks::VehicleObjectType | $TypeMasks::PlayerObjectType)))
          if(%obj.spawnBrick.getGroup() != %ourBrickGroup)

          %obj.spawnBrick.schedule(10, spawnVehicle);

    The error is that the %obj retrieved from MissionCleanup.getObject is invalid, which should not happen.  Internally getobject retrieves from a vector and will print a different error message if you make an out of range request. 

    The first error of relevance is this:
    Code: [Select]
    base/server/scripts/game.cs (1376): Unable to find object: '540024883' attempting to call function 'getType'
    BackTrace: ->GameConnection::onDrop->[BuilderMode]GameConnection::onClientLeaveGame->[DefaultMiniGame]GameConnection::onClientLeaveGame->[Event_Minigame]MiniGameSO::removeMember->MiniGameSO::removeMember->GameConnection::resetVehicles

    Does this happen every time someone quits?  If so, type trace(1); in console, have them quit, then close out and post the log.

    Development / Re: 2020/05/03 - Blockland r2005-r2007
    « on: May 06, 2020, 05:45:39 AM »
    What cpu do you have?  I'm assuming it's not actually a pentium 3

    Development / Re: 2020/05/03 - Blockland r2005-r2007
    « on: May 06, 2020, 04:59:09 AM »
    Updated OP.

    Blockland still crashes when I try to start it up on steam

    Are you running any kind of dll injector?

    Pages: 1 2 3 [4] 5 6 7 8 9 ... 434