Raised This Month: $51 Target: $400
 12% 

MàJ auto


  
 
 
Thread Tools Display Modes
Author Message
teol
Veteran Member
Join Date: Oct 2009
Location: Marbella
Old 11-26-2011 , 06:27   MàJ auto
#1

Bonjour,

J'aimerais savoir si les systèmes de mises à jour auto étaient possibles sous amxmodx.

Pour le moment, pour vérifier si le plugin est à jour, le plugin envoie un paquet udp à un serveur externe, et le serveur lui répond la dernière version. Si la dernière version est plus grande que celle installée sur le serveur, alors la version installée est "outdated".

Mais je me demandais s'il était possible de faire uploader un plugin, tout en désactivant le plugin qu'on met à jour, puis activer le plugin téléchargé.

Si c'est possible, comment s'y prendre ?

Merci d'avance

Last edited by teol; 11-26-2011 at 06:28.
teol is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-26-2011 , 11:32   Re: MàJ auto
#2

Oui c'est possible, si tu regardes le plugin longjump de NumB en post-it sur xtrem jump y'a cette feature.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
teol
Veteran Member
Join Date: Oct 2009
Location: Marbella
Old 11-26-2011 , 11:33   Re: MàJ auto
#3

ok merci
teol is offline
teol
Veteran Member
Join Date: Oct 2009
Location: Marbella
Old 12-02-2011 , 17:20   Re: MàJ auto
#4

http://xtreme-jumps.eu/e107_plugins/...opic.php?52082

Les liens sont morts
teol is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-03-2011 , 06:23   Re: MàJ auto
#5

NumB est hors ligne, je lui demanderai s'il peut maj les liens plus tard.
Sinon y'a FFAC de Hackzinner qui peut faire télécharger une map d'un site vers le ftp du serveur je crois, donc tu peux reprendre ça et ajouter un check de version via mysql non ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
teol
Veteran Member
Join Date: Oct 2009
Location: Marbella
Old 12-03-2011 , 06:40   Re: MàJ auto
#6

Ok merci .

Je vais voir le plugin de hackziner, pour le check de version mysql c'est trop lourd, et pour un plugin publique c'est pas top :S. Udp
teol is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-09-2011 , 02:50   Re: MàJ auto
#7

Voila ce qu'il en est :

Quote:
.:::}»Thè°Ñûmß«{:::.: what it basically did was used bentskis httpdl plugin
.:::}»Thè°Ñûmß«{:::.: to download ljstats .amxx
.:::}»Thè°Ñûmß«{:::.: first downloaded a txt file at map start checking version
.:::}»Thè°Ñûmß«{:::.: and checked ljstats version
ConnorMcLeod -disp0: and how were you checking if an update was needed ?
ConnorMcLeod -disp0: oh
.:::}»Thè°Ñûmß«{:::.: if was different, downloaded .amxx
ConnorMcLeod -disp0: isn't this a poor way ?
.:::}»Thè°Ñûmß«{:::.: any better ideas?
ConnorMcLeod -disp0: no, that's why i'm asking
.:::}»Thè°Ñûmß«{:::.: though bentskis httpdl is unstable
.:::}»Thè°Ñûmß«{:::.: I modified it, so it'd be much more stable
.:::}»Thè°Ñûmß«{:::.: though it uses a nice amount of CPU power
ConnorMcLeod -disp0: ok thanks
.:::}»Thè°Ñûmß«{:::.: socket natives use much CPU
.:::}»Thè°Ñûmß«{:::.: that's for sure
.:::}»Thè°Ñûmß«{:::.: one check in 0.5sec of socket timeout and socket retrieve lags like hell
ConnorMcLeod -disp0: hope you don't mind if i copy/paste our conversation to the asking guy
.:::}»Thè°Ñûmß«{:::.: tested the natives in stand alone plugin - really lagy
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
teol
Veteran Member
Join Date: Oct 2009
Location: Marbella
Old 12-09-2011 , 03:18   Re: MàJ auto
#8

Socket, ok, mais quel protocol? Ftp, udp, tcp, http?
Car le TCP c'est effectivement très lourd surtout si ca timeout, mais l'UDP c'est léger.

Je vais voir pour la technique du .txt, chose àlaquelle javais déjà pensé mais du coté de mon serveur dédié, après que le serveur de jeu ai demandé la version.

Tu pourrais demander une confirmation pour le TCP stp savoir ce qu'il utilise ?
teol is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode