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

Updater


Post New Thread Reply   
 
Thread Tools Display Modes
canadianjeff
BANNED
Join Date: Sep 2016
Old 09-14-2016 , 09:35   Re: Updater
Reply With Quote #571

in my logs I get

Code:
L 09/14/2016 - 06:18:15: Update available for "Updater" (updater.smx). Current: 1.2.2 - Latest:
using updater.smx from OP

Code:
File: updater.smx
Size: 21.4 KB (22,011 bytes)
CRC-32: a22e2ec4
MD4: 0cc237b4ac989820df15b37cd50c4512
MD5: 4e15d3cc16c3caaceed20918ecd126c9
SHA-1: e050829e8aef08f75135d22fc585bb3b09ec34ee
canadianjeff is offline
Lucky_luck
AlliedModders Donor
Join Date: May 2011
Location: Germany
Old 09-14-2016 , 12:58   Re: Updater
Reply With Quote #572

i have this in my log

Code:
L 09/14/2016 - 18:57:03: SMC parsing error on line 0
L 09/14/2016 - 18:57:03:   [0]  URL: http://godtony.mooo.com/updater/updater.txt
L 09/14/2016 - 18:57:03:   [1]  ERROR: Line contained too many invalid tokens
Lucky_luck is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 09-15-2016 , 07:08   Re: Updater
Reply With Quote #573

Quote:
Originally Posted by GoD-Tony View Post
It's just a matter of my web server being temporarily offline. Updater will continue to function and you can safety ignore that error.
Answer you're looking for a few posts back.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
jballou
Member
Join Date: Jul 2013
Old 10-07-2016 , 13:20   Re: Updater
Reply With Quote #574

After moving to 1.8 I had a lot of warnings/errors in my updater plugin. So I went through and converted and updated everything I could to remove all warnings.
I also changed cURL to follow redirects (301|302) to fetch files.
I also added a "BaseURL" setting to "Information", that lets one name the base URL from which to pull files. So, all my files live in addons/sourcemod/updater-data, but I use BaseURL to point to addons/sourcemod for pulling files.

https://github.com/jaredballou/insur...rcemod#updater - feel free to copy/merge anything from there, lmk if anyone wants me to make a PR to send the changes upstream.
jballou is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 10-07-2016 , 21:37   Re: Updater
Reply With Quote #575

Quote:
Originally Posted by jballou View Post
After moving to 1.8 I had a lot of warnings/errors in my updater plugin. So I went through and converted and updated everything I could to remove all warnings.
I also changed cURL to follow redirects (301|302) to fetch files.
I also added a "BaseURL" setting to "Information", that lets one name the base URL from which to pull files. So, all my files live in addons/sourcemod/updater-data, but I use BaseURL to point to addons/sourcemod for pulling files.

https://github.com/jaredballou/insur...rcemod#updater - feel free to copy/merge anything from there, lmk if anyone wants me to make a PR to send the changes upstream.
awesome! I think it'd be worth doing a PR and see what GoD-Tony thinks about
__________________
nikooo777 is offline
stickz
Senior Member
Join Date: Oct 2012
Location: Ontario, Canada
Old 12-06-2016 , 21:58   Re: Updater
Reply With Quote #576

Is there any chance this plugin could be made a little bit more abstract to handle nuisances?

When plugin x fails to load because of an error like this, it also fails to update to fix the problem.

Code:
[SM] Unable to load plugin "nd_deadweights.smx": Native "GetCommanderTeam" was not found
[SM] Native "GetFunctionByName" reported: Plugin handle d7281c6b is invalid (error 1)
[SM] Displaying call stack trace for plugin "updater.smx":
[SM]   [0]  Line 63, /home/travis/build/stickz/Redstone/addons/sourcemod/scripting/updater/api.sp::Fwd_OnPluginChecking()
[SM]   [1]  Line 235, /home/travis/build/stickz/Redstone/addons/sourcemod/scripting/updater.sp::Updater_Check()
[SM]   [2]  Line 145, /home/travis/build/stickz/Redstone/addons/sourcemod/scripting/updater.sp::Timer_CheckUpdates()
p.s Nothing is really changed, I just got ticked off it took an hour to update things.

Last edited by stickz; 12-06-2016 at 22:00.
stickz is offline
BReeZ
AlliedModders Donor
Join Date: Feb 2013
Location: Denmark
Old 12-09-2016 , 06:32   Re: Updater
Reply With Quote #577

Also got:

L 12/09/2016 - 12:28:55: SMC parsing error on line 0
L 12/09/2016 - 12:28:55: [0] URL: http://godtony.mooo.com/updater/updater.txt
L 12/09/2016 - 12:28:55: [1] ERROR: Line contained too many invalid tokens
BReeZ is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 12-12-2016 , 07:07   Re: Updater
Reply With Quote #578

Just for anyone else, when running Steamtools and shutting down the Server- It crashes
The Solution:Install Steamworks Ext and this compactibility Plugin, uninstall Steamtools
Quote:
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

Last edited by DJPlaya; 12-12-2016 at 07:57.
DJPlaya is offline
Send a message via Skype™ to DJPlaya
hadesownage
AlliedModders Donor
Join Date: Jun 2013
Location: Romania, Iași
Old 12-15-2016 , 14:30   Re: Updater
Reply With Quote #579

Is not working anymore after last csgo update.
hadesownage is offline
Send a message via Yahoo to hadesownage Send a message via Skype™ to hadesownage
dubbeh
Senior Member
Join Date: Jul 2007
Old 01-04-2017 , 05:33   Re: Updater
Reply With Quote #580

Forgot to post this xD. Here's a converted updater.inc for new style decals.

Update 1:
100% compatible with "#pragma newdecls required"

Update 2:
Fixed a problem with SetNTVOptional()
Attached Files
File Type: inc updater.inc (2.4 KB, 467 views)
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 08-17-2017 at 11:37.
dubbeh 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 09:12.


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