Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-05-10 17:46:50

capasha
Member
Joined: 2015-02-21
Posts: 4,066

getting newest version doesn't work

I use http://pastebin.com/r2t7xnH6 and now does it only getting 191 and not 192. I hope they fix this soon.

Offline

#2 2015-05-10 17:54:34

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: getting newest version doesn't work

I personally use

string serverVersion = (roomCode.StartsWith("BW") ? "Beta" : "Everybodyedits") + userClient.BigDB.Load("config", "config")["version"];

Where roomCode is the... Roomcode (surprise surprice).
The first part "(roomCode.StartsWith("BW") ? "Beta" : "Everybodyedits")" checks if it's beta or not. The second part "userClient.BigDB.Load("config", "config")["version"]" gets the current version.

I like single liners.

Offline

#3 2015-05-10 17:56:54

lrussell
Member
From: Saturn's Titan
Joined: 2015-02-15
Posts: 843
Website

Re: getting newest version doesn't work

Processor told me it's a problem with EE, you have to add one to it for now.
It should be fixed within twenty-four hours.

Offline

#4 2015-05-10 18:13:13

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: getting newest version doesn't work

den3107 wrote:

I personally use

string serverVersion = (roomCode.StartsWith("BW") ? "Beta" : "Everybodyedits") + userClient.BigDB.Load("config", "config")["version"];

Where roomCode is the... Roomcode (surprise surprice).
The first part "(roomCode.StartsWith("BW") ? "Beta" : "Everybodyedits")" checks if it's beta or not. The second part "userClient.BigDB.Load("config", "config")["version"]" gets the current version.

I like single liners.

I use something similar, but was too lazy to paste it.

Offline

capasha1431277993503318

Board footer

Powered by FluxBB

[ Started around 1732476652.3274 - Generated in 0.027 seconds, 11 queries executed - Memory usage: 1.4 MiB (Peak: 1.51 MiB) ]