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

Updater


Post New Thread Reply   
 
Thread Tools Display Modes
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-28-2012 , 07:36   Re: Updater
Reply With Quote #231

Quote:
Originally Posted by DanK. View Post
Will do. Couldn't a plugin or an extension maybe conflict with it though? Ill supply you with them if needed.
Ok, what's happened here is that when you've updated the files the FTP server on the host has locked them, then, due to the massive delay on most file operations committing on Windows, you've started the server too quickly and deadlocked it.

Your best bet is to shut the server down for a few minutes then try again.
__________________
asherkin is offline
DanK.
oink oink oink >:|
Join Date: Sep 2011
Location: Phoenix AZ
Old 10-28-2012 , 18:27   Re: Updater
Reply With Quote #232

Quote:
Originally Posted by asherkin View Post
Ok, what's happened here is that when you've updated the files the FTP server on the host has locked them, then, due to the massive delay on most file operations committing on Windows, you've started the server too quickly and deadlocked it.

Your best bet is to shut the server down for a few minutes then try again.
Still nothing. Contacting them.
DanK. is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 11-08-2012 , 07:59   Re: Updater
Reply With Quote #233

I've just added this into my AFK manager plugin.

Question though, if I call Updater_ForceUpdate() does it still use Updater_OnPluginChecking() so I can stop it still?

Answer from GoD-Tony is Yes.

Last edited by Rothgar; 11-08-2012 at 08:08.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Bittersweet
Veteran Member
Join Date: May 2012
Old 11-12-2012 , 20:26   Re: Updater
Reply With Quote #234

Since:

Your server must be running at least one of the following extensions:
cURL
Socket
SteamTools (0.8.1+)

I was wondering if the plugin could be coded so that we don't see this kind of thing:

[11] <FAILED> file "steamtools.ext.dll": The specified module could not be found.
[12] <FAILED> file "curl.ext.dll": The specified module could not be found.
[13] Socket (3.0.1): Socket extension for SourceMod

I've heard the "just ignore that" before, but tracking down other errors is much more difficult in that case. What if something else actually does depend on one of those other 2 extensions?
__________________
Thank you in advance for your help

My plugins:
[CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
Awesome & Crucial plugins by other people:
[CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
Bittersweet is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-12-2012 , 20:36   Re: Updater
Reply With Quote #235

Quote:
Originally Posted by Bittersweet View Post
What if something else actually does depend on one of those other 2 extensions?
Then that "something" would be marked as failed as well.

You can also just pay attention to the error logs, missing module errors aren't logged for optional dependencies.
__________________

Last edited by asherkin; 11-12-2012 at 20:37.
asherkin is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 11-12-2012 , 20:40   Re: Updater
Reply With Quote #236

If a plugin really needs an extension you don't have you can usually find an error about that in your logs.
If not, here is an example.
Code:
] sm plugins list
  18 <Failed> "New unnamed plugin" (0.1.0) by Impact
So i go ahead and see why it failed.
Code:
] sm plugins info 18
  Load error: Required extension "SteamTools" file("steamtools.ext") not running
Hope this helps.

Yours sincerely
Impact
__________________

Last edited by Impact123; 11-12-2012 at 20:41.
Impact123 is offline
Bittersweet
Veteran Member
Join Date: May 2012
Old 11-12-2012 , 21:16   Re: Updater
Reply With Quote #237

Yes, I see what you guys mean. But when you are starting from a hard crash of SRCDS and working backwards, it just seems natural to look at things that say "Error" next to them. I guess you really can't do that with the extensions listing.
__________________
Thank you in advance for your help

My plugins:
[CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
Awesome & Crucial plugins by other people:
[CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
Bittersweet is offline
ragnarox13
Junior Member
Join Date: Sep 2012
Old 12-22-2012 , 22:15   Re: Updater
Reply With Quote #238

Hi, I have installed the plugin but when i type the command sm_updater_status, it only told me that the plugin monitored is updater.smx. May I know where did it go wrong?


There are also no log file created when i type sm_updater_check :/

Last edited by ragnarox13; 12-22-2012 at 22:16.
ragnarox13 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 12-22-2012 , 22:16   Re: Updater
Reply With Quote #239

Quote:
Originally Posted by ragnarox13 View Post
Hi, I have installed the plugin but when i type the command sm_updater_status, it only told me that the plugin monitored is updater.smx. May I know where did it go wrong?
Updater only monitors plugins that have had Updater integrated by their authors.
__________________
Dr. McKay is offline
KiRRA
Senior Member
Join Date: Nov 2012
Old 12-22-2012 , 22:45   Re: Updater
Reply With Quote #240

I had the same issue a few nights ago and if I remember correctly it was a simple fix. I believe the issue I had was the CVAR was not in place and without the CVAR it just didn't seem to pick up any of the additional plugins that it should be watching.

All the simple questions always seem like the dumb ones but....do you have the CVAR as stated in OP added to your config file?
KiRRA 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 23:46.


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