Notices tagged with and

  1. !freegaming !rbadev !gamedev I've just played a bit with notabug.org because I want to host a mirror repo of # 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():
    # 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
    # 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!'

    about 6 days ago from gnusocial.de Repeated by taknamay
  2. !freegaming !rbadev !gamedev I've just played a bit with notabug.org because I want to host a mirror repo of # 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():
    # 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
    # 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!'

    about 6 days ago from gnusocial.de
  3. @humanbean # # # #

    Friday, 15-Feb-13 03:53:07 UTC from web in context
  4. @mushi # sandels

    Friday, 03-Aug-12 16:22:42 UTC from web in context
  5. @techdisk42 # # # WAT

    Sunday, 15-Jul-12 03:10:36 UTC from MuSTArDroid in context
  6. PONIES, PONIES EVERYWHERE # #'tcare # # # # # # # # # # # #

    Tuesday, 19-Jun-12 01:36:45 UTC from web
  7. @nimbusbuster @macpony55 # # # # # # # # # #! # # # # # #

    Sunday, 20-Nov-11 05:52:16 UTC from web in context
  8. @zach121k # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # !ninja !romance !snuggle !muffin !love !hug

    Thursday, 15-Sep-11 22:17:47 UTC from web in context
  9. @derpy # # # # # # # # #

    Friday, 12-Aug-11 04:13:46 UTC from web in context

Affiliates

Fluttershy.org Brony Aerospace Bronies UK PonySquare
Cornify