Raised This Month: $ Target: $400
 0% 

Updater


Post New Thread Reply   
 
Thread Tools Display Modes
Taz30
Member
Join Date: Feb 2012
Old 06-05-2012 , 12:25   Re: Updater
Reply With Quote #141

Thank's
Taz30 is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 06-05-2012 , 15:54   Re: Updater
Reply With Quote #142

Can this update itself?
__________________

DontWannaName is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 06-05-2012 , 16:26   Re: Updater
Reply With Quote #143

Quote:
Originally Posted by DontWannaName View Post
Can this update itself?
Yes.
__________________
Dr. McKay is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 06-12-2012 , 04:05   Re: Updater
Reply With Quote #144

@GoD-Tony
maybe better to use this
Code:
StrContains(kvLatestVersion, sCurrentVersion) == 0
line 169, file filesys.sp

idea: no need to increase version number on gamedata/data file updates
Leonardo is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 06-12-2012 , 04:51   Re: Updater
Reply With Quote #145

Quote:
Originally Posted by Leonardo View Post
@GoD-Tony
maybe better to use this
Code:
StrContains(kvLatestVersion, sCurrentVersion) == 0
line 169, file filesys.sp

idea: no need to increase version number on gamedata/data file updates
Wouldn't that re-download gamedata on every update check?

Considering the small filesize of compiled plugins, it shouldn't be too much trouble to bump the version number when updating gamedata.
__________________
GoD-Tony is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 06-14-2012 , 15:15   Re: Updater
Reply With Quote #146

Awesome!
Merged with my plugin!
__________________
retired
shavit is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 06-14-2012 , 15:38   Re: Updater
Reply With Quote #147

PHP Code:
L 06/14/2012 22:37:55SourceMod error session started
L 06
/14/2012 22:37:55Info (map "bhop_eazy") (file "errors_20120614.log")
L 06/14/2012 22:37:55: [SMNative "GetPluginInfo" reportedCould not read Handle 4d004d (error 3)
L 06/14/2012 22:37:55: [SMDisplaying call stack trace for plugin "updater.smx":
L 06/14/2012 22:37:55: [SM]   [0]  Line 167updater/filesys.sp::ParseUpdateFile()
L 06/14/2012 22:37:55: [SM]   [1]  Line 141updater/download.sp::DownloadEnded()
L 06/14/2012 22:37:55: [SM]   [2]  Line 28updater/download_steamtools.sp::OnSteamHTTPComplete() 
How to fix?
__________________
retired

Last edited by shavit; 06-14-2012 at 15:38.
shavit is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 06-16-2012 , 15:16   Re: Updater
Reply With Quote #148

Quote:
Originally Posted by shavit View Post
How to fix?
Do you know what was happening at the time of the error? Any manual plugin reloading? Any errors in Updater.log?
__________________
GoD-Tony is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 06-16-2012 , 18:27   Re: Updater
Reply With Quote #149

Quote:
Originally Posted by GoD-Tony View Post
Do you know what was happening at the time of the error? Any manual plugin reloading? Any errors in Updater.log?
I fixed that, my updater url was wrong.
__________________
retired
shavit is offline
3D-GRAF
Member
Join Date: Jun 2008
Old 06-18-2012 , 20:44   Re: Updater
Reply With Quote #150

doesn't work under cs:go.
I have plugin whick successfully updates with cs:s, but there are no messages in console and update doesn't happen under cs:go.

UPDATE:
sorry, it works. it was no warking because of server hibernating.

Last edited by 3D-GRAF; 06-18-2012 at 21:22.
3D-GRAF is offline
Reply



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:59.


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