Blockland Browser Re-releaseI've decided to again work on the original concept of Blockland Browser, in the future planning to add more feature support.
Code based off of BLBrowser^2 by Metario
With this release there's a new installer tool to help simplify installation and make updates easier.
Downloads can be found in the links section.
PicturesInstallation tool, select your Blockland installation folder then select the targeted version. By default the latest build should be selected.
After selection with a valid Blockland directory it'll check the hash of your files to the files on the server, if it doesn't match it'll be marked to install.
Server SupportThe most noticeable change in this release is that the texture doesn't automatically get bound by default.
Instead the server can use commandToClient(%client, 'BLB_bindToTexture', "queryString"); to tell the client what texture to bind to.
An example usage below
commandToClient(%client, 'BLB_bindToTexture', "Add-ons/Print_Cinema/Prints/Screen");
If the client successfully binds to the texture through this method it'll send to the server BLB_bindCallback with a true value, otherwise it'll send false.
Additionally when the URL changes on a client it'll send to the server the change, making it possible to sync pages to all clients.
It does this via
function BLB_OnUrlRequest(%url){if(!$BLB::DoNotSendUrls)commandToServer('BLB_UrlRequest', %url);}
This version supports and translates all previous functions that BLBrowser^2 uses and includes its own.
The URL has changed from previous version of the DLL for the youtube player, you should now use
https://pah1023.github.io/index-old.html?videoid=<VideoID>&start=<StartOffset>
Planned features- Custom class for browser objects, allowing GUI support
- Interfacing CEF's V8 engine with Torque, allowing callbacks to be able to be sent to the server, making it possible to have webpages interact with the server. Similar concept to the OK/Cancel dialogs.
Updates- (Beta) Initial release
- (Beta) Fixed autoplay issue.
Links