Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

AutoUpdate | Example


Best Answer Inspired , 17 November 2015 - 10:57

This is supposed to be an example on how to autoupdate your script, you need it hosted on github together with a version file next to it. The actual autoupdate function is in Inspired.lua. Go to the full post »


  • Please log in to reply
22 replies to this topic

#1
Inspired

Inspired

    Took the red pill.

  • Ex-Core Dev
  • PipPipPip
  • 723 posts
  • LocationWonderland
Link: https://github.com/I.../AutoUpdate.lua
VersionFile: https://github.com/I...oUpdate.version
  • 0

#2
ButterSmooth

ButterSmooth

    Advanced Member

  • Members
  • 710 posts
First. Thanks Kappa
  • 0

#3
Darkness

Darkness

    GoSDB's manager

  • Banned
  • PipPipPip
  • 1,137 posts

this is... more like a lib, isnt it? :fappa:


  • 0

#4
pleb

pleb

    still not banned :K

  • Donator
  • 426 posts
  • Locationlithuania

this is... more like a lib, isnt it? :fappa:

no its more of a this is how you do it and should be moved into developer talk tbh


  • 0

#5
ButterSmooth

ButterSmooth

    Advanced Member

  • Members
  • 710 posts

this is... more like a lib, isnt it? :fappa:

Like a tut :fappa:
  • 0

#6
Darkness

Darkness

    GoSDB's manager

  • Banned
  • PipPipPip
  • 1,137 posts

no its more of a this is how you do it and should be moved into developer talk tbh

 

 

Like a tut :fappa:

so i dont need to add it into gosdb? Kappa


  • 0

#7
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

so i dont need to add it into gosdb? Kappa

no :fappa: and you can stop post farming Kappa


  • 0

#8
Auxide

Auxide

    Advanced Member

  • Contributor
  • 295 posts

so i dont need to add it into gosdb? Kappa

no  :fappa: and you can stop post farming  Kappa


  • 0

#9
L4BZz

L4BZz

    Advanced Member

  • Members
  • 107 posts
  • LocationNowhere, near the dog courage.

what the actual hell is this .


  • 0

#10
Darkness

Darkness

    GoSDB's manager

  • Banned
  • PipPipPip
  • 1,137 posts

no :fappa: and you can stop post farming Kappa

said deftsu Kappa


  • 0

#11
filippe999

filippe999

    Advanced Member

  • Members
  • 49 posts

Maybe make it a class and have autoupdate as a function, given path and filename


  • 0

#12
zSoninho

zSoninho

    Advanced Member

  • Members
  • 186 posts

Inspired have error =/ 15/11 look ! 1QKw6L5.jpg


  • 0

#13
zSoninho

zSoninho

    Advanced Member

  • Members
  • 186 posts

this happens when I go combo !


  • 0

#14
Inspired

Inspired

    Took the red pill.

  • Ex-Core Dev
  • PipPipPip
  • 723 posts
  • LocationWonderland
✓  Best Answer
This is supposed to be an example on how to autoupdate your script, you need it hosted on github together with a version file next to it. The actual autoupdate function is in Inspired.lua.
  • 0

#15
Feretorix

Feretorix

    Administrator

  • Administrators
  • 3,016 posts
This should go into the developers section i think.
  • 0

#16
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

This should go into the developers section i think.

ya....why here....it's not api at all :fappa:


  • 0

#17
Inspired

Inspired

    Took the red pill.

  • Ex-Core Dev
  • PipPipPip
  • 723 posts
  • LocationWonderland
who the f*ck moved this to api changelog... wtf? :fappa:

i dont have rights in this forum: can't move it away.
  • 0

#18
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

who the f*ck moved this to api changelog... wtf? :fappa:

i dont have rights in this forum: can't move it away.

#AskForRed Kappa


  • 0

#19
Inspired

Inspired

    Took the red pill.

  • Ex-Core Dev
  • PipPipPip
  • 723 posts
  • LocationWonderland

#AskForRed Kappa

I asked for full mod rights and got ignored :fappa:
  • 0

#20
MaintoRudo

MaintoRudo

    Advanced Member

  • Contributor
  • 167 posts
  • LocationAnimeLandz ^.^

"LocalVersion" must < "WebVersion" to AutoUpdate? after Updated, "LocalVersion" will = "WebVersion" to stop AutoUpdate? And we only change WebVersion, script will autoupdate if LocalVersion < WebVersion?

 

Sorry for my bad.... :ph34r:


  • 0




26 user(s) are reading this topic

0 members, 26 guests, 0 anonymous users