• OpenLoad - The first open-source sv_loadingurl framework!
    112 replies, posted
[QUOTE=Svenskunganka;45424764]The steam info fetching works perfectly now after the latest commit to GitHub, right now the only issue is that DarkRP and Pointshop wallets isn't returning properly. Make sure the cache folder is writable if you're on linux. Run this: [B]chmod 0775 cache[/B] inside the openload folder. Also, make sure your Steam API key is working.[/QUOTE] Yeah, using latest git version, cache folder is chmod'd, not really sure how to test the API key, but I doublechecked it on the steam page, and the key is correct?
Take a look at the steamid returned, it's STEAM_0:0:-3.8280598980133E+16, so something's definitely wrong with [URL="https://github.com/Svenskunganka/OpenLoad/blob/master/src/core/openload.class.php#L131-L133"]these lines[/URL] on your installation. Make sure your PHP installation has the [URL="http://php.net/manual/en/function.bcsub.php"]bcsub[/URL] module installed. Anyway, I won't be able to work on OpenLoad this weekend since I'm hosting a Dota 2 The International 4 in-house LAN, so I'll be busy with that.
[QUOTE=Svenskunganka;45428952]Take a look at the steamid returned, it's STEAM_0:0:-3.8280598980133E+16, so something's definitely wrong with [URL="https://github.com/Svenskunganka/OpenLoad/blob/master/src/core/openload.class.php#L131-L133"]these lines[/URL] on your installation. Make sure your PHP installation has the [URL="http://php.net/manual/en/function.bcsub.php"]bcsub[/URL] module installed. Anyway, I won't be able to work on OpenLoad this weekend since I'm hosting a Dota 2 The International 4 in-house LAN, so I'll be busy with that.[/QUOTE] Our old loading screen used nearly the exact same code: [code] <?php $communityid = $_GET["steamid"]; $mapname = $_GET["mapname"]; $authserver = bcsub($communityid, '76561197960265728') & 1; $authid = (bcsub($communityid, '76561197960265728')-$authserver)/2; $steamid = "STEAM_0:$authserver:$authid"; ?> [/code] and that worked perfectly.
How do I change the website url? I have looked everywhere, and can't find it.
[QUOTE=Chibby;45461347]How do I change the website url? I have looked everywhere, and can't find it.[/QUOTE] [URL="https://github.com/Svenskunganka/OpenLoad/blob/master/templates/soil/index.html#L74"]This line[/URL]
Thanks, I didn't scroll down far enough :P
Any word on anything related to my issue?
Could someone help me with the resolution of the soil template? When in windowed 1280x720 the loading screen does not center, and is more towards the bottom. If you could help me out, add me on steam. [url]http://steamcommunity.com/id/Chibby_/[/url]
[QUOTE=smithy285;45466260]Any word on anything related to my issue?[/QUOTE] I'll keep working on it today and see if I can get it working.
Did you fix it yet Sven? really want the soil thing fixed.
[QUOTE=GamesPuff;45548753]Did you fix it yet Sven? really want the soil thing fixed.[/QUOTE] Everything's working as it should, I can't find any problem here.
the resolution is broken want a few screen shots?
[QUOTE=GamesPuff;45548920]the resolution is broken want a few screen shots?[/QUOTE] That's not the issue discussed here though. I can't cover all the 20-30 different resolutions the game has.
Oh ok i see what hes saying but it sorta is towards the bottom for me also
Thanks for this! Such a powerful framework i'm not the most artistic but so far so good :D [url]http://themingebox.com/OpenLoad/?template=soil[/url]
First off hi this template is amazing XD. I have been lurking on FacePunch for a while now and have finally decided to register to try and understand why this is working XD What my problem entails is that I am trying to use the loading screen for multiple servers (config below) [QUOTE]/** * Server configuration (Simplified setup) * * These will be specified in your URL: * e.g index.php?template=soil&sid=1 where sid=1 is the $servers[1] in this configuration */ $servers = array(); // Server 1 - TTT $servers[1]["ip"] = "125.63.61.90"; $servers[1]["port"] = "27015"; // Server 2 - DarkRP $servers[2]["ip"] = "125.63.61.90"; $servers[2]["port"] = "27016"; // Server 3 - Dev TTT $servers[3]["ip"] = "125.63.61.90"; $servers[3]["port"] = "27017";[/QUOTE] but no matter what I try to do to fix it (Quoting ports etc.) it default back onto port 27015 for player number info. I am pretty sure I am doing the links right (see below). [QUOTE]censored.com/openload-master/index.php?template=soil&sid=1 censored.com/openload-master/index.php?template=soil&sid=2 censored.com/openload-master/index.php?template=soil&sid=3[/QUOTE] Do you have any ideas?
[QUOTE=ShenanigansV2;45704702]First off hi this template is amazing XD. I have been lurking on FacePunch for a while now and have finally decided to register to try and understand why this is working XD What my problem entails is that I am trying to use the loading screen for multiple servers (config below) but no matter what I try to do to fix it (Quoting ports etc.) it default back onto port 27015 for player number info. I am pretty sure I am doing the links right (see below). Do you have any ideas?[/QUOTE] Yeah I know what the issue is, and there's another issue with the class aswell that I need to fix. Will commit a new update as soon I get everything working again.
Your work is still amazin Sven, if you wanna i would give you my spare [URL="http://www.dota2.com/store/itemdetails/20296"]Augurs set[/URL] for your work :) hit me up on steam if you are interested (except the ghosts).
Thank you XD I will have to send some pay pal cash your way once I load up my debit again :)
Just patched OpenLoad. [URL="https://github.com/Svenskunganka/OpenLoad/commits/master"]Commits[/URL] [[URL="https://github.com/Svenskunganka/OpenLoad"]GitHub[/URL]] Please read through the updated [URL="https://github.com/Svenskunganka/OpenLoad/wiki/Installation"]Installation Instructions[/URL] page! [B]Bugfixes:[/B] - Fixed Pointshop data not returning from the database. (You have to manually change the [B]uniqueid[/B] column type to be [B]bigint(20)[/B], see below for code to use) - Swapped from MySQLi to PDO when querying the database. - Fixed multiple server setup not working. - Indention and comment improvements. - Minor typo fixes here and there. [B]Pointshop table:[/B] - To change the type of the uniqueid column in your pointshop table, run this SQL query on the database you use: [code]ALTER TABLE `pointshop_data` SET `uniqueid` BIGINT(20);[/code] [B]This is crucial, otherwise Pointshop data won't display.[/B]
Thanks :) keep up the good work
Small update. - Added support for [URL="https://scriptfodder.com/scripts/view/324"]ArcBank[/URL] per request by [URL="http://facepunch.com/member.php?u=478525"]SabresRock16[/URL]. If you want to replace DarkRP Money replace [B]id="darkrp"[/B] to [B]id="arcbank"[/B] in the template's index.html file, e.g on this line for Soil: [url]https://github.com/Svenskunganka/OpenLoad/blob/master/templates/soil/index.html#L41[/url] - You can always add another row if you want to use both DarkRP, Pointshop and ArcBank.
good men [highlight](User was banned for this post ("Crap bump/why reply" - Sgt Doom))[/highlight]
Sorry, you need to Log In to post a reply to this thread.