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

Updater


Post New Thread Reply   
 
Thread Tools Display Modes
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 07-26-2015 , 21:41   Re: Updater
Reply With Quote #521

Quote:
Originally Posted by ZASTRELIS View Post
I installed all four extensions, but have get error when compiling updater
Code:
updater/download_curl.sp(38) : error 178: cannot coerce char[] to any[]; storage classes differ
are you using an updated curl include file? As this isn't coding in sm1.7+ syntax
__________________
versatile_bfg is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 07-26-2015 , 23:45   Re: Updater
Reply With Quote #522

Quote:
Originally Posted by versatile_bfg View Post
are you using an updated curl include file? As this isn't coding in sm1.7+ syntax
I dont know. I heve been downloaded latest updater and latest sm.
ZASTRELIS is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-25-2015 , 16:58   Re: Updater
Reply With Quote #523

Quote:
Originally Posted by versatile_bfg View Post
are you using an updated curl include file? As this isn't coding in sm1.7+ syntax
SourceMod 1.8 no longer allows you to pass String variables... or arrays at all... to functions expecting an any argument.

Technically, this is a bug in cURL.inc, but since the maintainer for the cURL extension hasn't updated it in 4 years, I doubt this will be fixed.

Edit:

For reference, this is the buggy definition in cURL.inc:

Code:
native bool:curl_easy_setopt_string(Handle:hndl, CURLoption:opt, const any:buffer[]);
Speaking of which, I'm surprised Updater is still supporting socket. Personally, I'd love to toss support for it just so we can use HTTPS urls.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-25-2015 at 17:00.
Powerlord is offline
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 09-02-2015 , 20:30   Re: Updater
Reply With Quote #524

I am getting this error in my logs:
Quote:
L 09/02/2015 - 09:01:13: Error log file session closed.
L 09/02/2015 - 180:10: SourceMod error session started
L 09/02/2015 - 180:10: Info (map "") (file "errors_20150902.log")
L 09/02/2015 - 180:10: [SM] Unable to load extension "updater.ext": The specified module could not be found.
Am I missing something?

I have cURL installed and have the updater.smx in plugins folder.
Doulos is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 09-03-2015 , 01:05   Re: Updater
Reply With Quote #525

Quote:
Originally Posted by Doulos View Post
I am getting this error in my logs:
Am I missing something?

I have cURL installed and have the updater.smx in plugins folder.
you will find that the updater.ext is apart of the sourcemod installation itself. It is an extension and not a plugin.

The updater.smx is a plugin.

To fix the issue I'd look at your addons/sourcemod/extensions folder for updater.ext.so (linux) or updater.ext.dll (windows) and if it is not there then you may have to update/re-upload sourcemod.

Again this error isn't apart of this plugin.
__________________
versatile_bfg is offline
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 09-07-2015 , 01:01   Re: Updater
Reply With Quote #526

Thank-you, that was it. Don't know how that happened, but glad to get the errors to stop.
Doulos is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 11-03-2015 , 07:24   Re: Updater
Reply With Quote #527

Hello there!

Would it be possible to define versions or whatever could work for gamedata separately from plugin.
Currently we have to bump plugin version when updating gamedata to be consistent with update file, this work but is far from ideal.

Maybe we could just check for gamedata last modification date on local file system and update them if necessary.

What do you think?
h3bus is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 11-03-2015 , 12:34   Re: Updater
Reply With Quote #528

Quote:
Originally Posted by h3bus View Post
Would it be possible to define versions or whatever could work for gamedata separately from plugin.
Currently we have to bump plugin version when updating gamedata to be consistent with update file, this work but is far from ideal.
A while ago someone suggested using CRC32/MD5 checks for the updated files (or at least gamedata). I do think it'd be a decent addition, but unfortunately I haven't had the time to work on it.
__________________
GoD-Tony is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 11-12-2015 , 19:36   Re: Updater
Reply With Quote #529

Some time ago (or maybe they never did from the start, didn't pay attention) Github stopped serving its Github Pages domains (*.github.io) over HTTPS, which means that you can now use Github Pages to host your Updater stuff for free.

Instructions are somewhat different from the Bitbucket ones Dr. McKay has up:
* Create a new repository
* Go to Settings and scroll down to the "Github Pages" section
* Click "Launch automatic page generator"
* It doesn't matter at all what content you choose to be displayed, or what theme you use. Just make sure that after you finish Github tells you that you now have a Github Page.
* Verify that you do your repo does in fact have a page by going to http://yourusername.github.io/your-repository (for example: http://50dkp.github.io/FF2-Official). You may need to wait a few minutes for it to show up.
* Upload all the Updater stuff to the gh-pages branch, and you should be good to go.
__________________
~Wliu

Last edited by Wliu; 11-12-2015 at 19:50.
Wliu is offline
sojan
Junior Member
Join Date: Oct 2015
Old 12-11-2015 , 13:30   Re: Updater
Reply With Quote #530

Hello guys, I'm having this issue where updater is only checking himself.
I'm running the server on Linux server.
Extension "updater.ext.so" is placed in "addons/sourcemod/extensions".
Here's my sourcemod version:


Any idea?
sojan is offline
Reply


Thread Tools
Display Modes

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 07:50.


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