Notices tagged with and
-
!freegaming !rbadev !gamedev I've just played a bit with notabug.org because I want to host a mirror repo of #RBA there.
Now I've found a easy way to check if the local version of the game is the same as the last official release by checking a file in a git repo.
def check_version():
#this function compares the release_number from version.py whit a number that from the https://notabug.org/themightyglider/themightyglider.notabug.org/raw/master/index.html
#and returns: 'This version is up to date', 'Old version!!! Please update.', 'Can't reach server!'
try:
f = urlopen('https://notabug.org/themightyglider/themightyglider.notabug.org/raw/master/index.html')
vers_test = int(f.read())
if release_number == vers_test:
return 'This version is up to date.'
else:
return 'Old version!!! Please update.'
except:
return 'Can\'t reach server!' -
!freegaming !rbadev !gamedev I've just played a bit with notabug.org because I want to host a mirror repo of #RBA there.
Now I've found a easy way to check if the local version of the game is the same as the last official release by checking a file in a git repo.
def check_version():
#this function compares the release_number from version.py whit a number that from the https://notabug.org/themightyglider/themightyglider.notabug.org/raw/master/index.html
#and returns: 'This version is up to date', 'Old version!!! Please update.', 'Can't reach server!'
try:
f = urlopen('https://notabug.org/themightyglider/themightyglider.notabug.org/raw/master/index.html')
vers_test = int(f.read())
if release_number == vers_test:
return 'This version is up to date.'
else:
return 'Old version!!! Please update.'
except:
return 'Can\'t reach server!' -
@techdisk42 #Why #And #Truck WAT
-
PONIES, PONIES EVERYWHERE #overused #don'tcare #hashtags #are #delicious #and #very #easily #abused #ponies #rdn #twilightlicious #derp #biteme
Tuesday, 19-Jun-12 01:36:45 UTC from web -
@zach121k #super #duper #beautiful #blinding #loud #ice #cold #burning #hot #red #green #blue #yellow #orange #black #brown #white #PINK #purple #pretty #loving #lovable #crystal #clear #healing #explosion #free #time #consuming #end #of #time #bright #dim #harry #potter #pokemon #rock #hard #cotton #soft #wet #mega #extreme #empty #full #of #life #chocolate #chip #underused #overused #shining #scribblenautical #haunted #ghostly #awesome #Kisses #and #smooches #rich #bonus #long #long #short #oxymoron #fluttershy #lover #right #left #up #down !ninja !romance !snuggle !muffin !love !hug