SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 26/04/2015, 10:34 AM   #1
sidney123
Big Clucker
 
Join Date: Sep 2011
Posts: 103
Reputation: 19
Default [SOLVED] SSCANF Plugin VPS problems

Hello there,

I'm having a kind of a problem here and I've done everything to fix it, and searched the whole internet for an answer, though every answer given doesn't work.

My problem is that the "sscanf" plugin fails to load. I recently bought a windows 7 VPS (Windows 7 Enterprise, x64), and transferred my server files to the VPS. I faced a problem where any plugin couldn't load, because the Microsoft Visual C++ weren't installed. I fixed those and now all the plugins, except for SSCANF are loading.

Steps I've done:
- Installed "Microsoft Visual C++ Redestributable" 2008, 2010, 2012, 2013 x86 and x64 versions.
- Installed .NET Framework 4.5.
- Updated .NET Framework 4.5 to 4.5.2.
- Applied Windows Update.
- Moved "msvrc100.dll, msvrc110.dll and msvrc120.dll" from System23 to the "SysWOW64" folder.
- Added "nativechecker" plugin and posted it at last to be loaded on my plugin line in server.cfg.
- Updated the sscanf plugin to the latest version.
- Recompiled the script with this latest plugin version (v2.8.2).
- Added "msvcp120.dll and msvrc120.dll" to the root folder where samp-server.exe is.

I really don't know what to do anymore, and any help is appreciated.

Server log:
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-RC4-2, (C)2005-2015 SA-MP Team

[06:19:22] filterscripts = ""  (string)
[06:19:22] 
[06:19:22] Server Plugins
[06:19:22] --------------
[06:19:22]  Loading plugin: Whirlpool.dll
[06:19:22]  
[06:19:22]  ==================
[06:19:22]  
[06:19:22]   Whirlpool loaded
[06:19:22]  
[06:19:22]  ==================
[06:19:22]  
[06:19:22]   Loaded.
[06:19:22]  Loading plugin: sscanf
[06:19:22]   Failed.
[06:19:22]  Loading plugin: mysql.dll
[06:19:22]  >> plugin.mysql: R39-3 successfully loaded.
[06:19:22]   Loaded.
[06:19:22]  Loading plugin: streamer.dll
[06:19:22] 

*** Streamer Plugin v2.7.5.2 by Incognito loaded ***

[06:19:22]   Loaded.
[06:19:22]  Loading plugin: dns.dll
[06:19:22] 

*** DNS Plugin v2.4 by Incognito loaded ***

[06:19:22]   Loaded.
[06:19:22]  Loading plugin: nativechecker.dll
[06:19:22]   Loaded.
[06:19:22]  Loaded 5 plugins.

[06:19:22] 
[06:19:22] Ban list
[06:19:22] --------
[06:19:22]  Loaded: samp.ban
[06:19:22] 
[06:19:22] 
[06:19:22] Filterscripts
[06:19:22] ---------------
[06:19:22]   Loaded 0 filterscripts.

[06:19:22]    Error: Function not registered: 'SSCANF_Init'
[06:19:22]    Error: Function not registered: 'SSCANF_Join'
[06:19:22]    Error: Function not registered: 'SSCANF_Leave'
[06:19:22]    Error: Function not registered: 'sscanf'
[06:19:22] Script[gamemodes/ORP.amx]: Run time error 19: "File or function is not found"
[06:19:22] Number of vehicle models: 0
My plugins line:
Code:
plugins Whirlpool.dll sscanf.dll mysql.dll streamer.dll dns.dll nativechecker.dll
Screenshot of installed programs:


I really did update the sscanf plugin, and it's included as "sscanf2" in my script.

Once again, any help is appreciated!

Thanks in advance,
Sidney.

Last edited by sidney123; 26/04/2015 at 01:54 PM.
sidney123 is offline   Reply With Quote
Old 26/04/2015, 10:48 AM   #2
iGetty
High-roller
 
iGetty's Avatar
 
Join Date: Sep 2010
Location: Falkirk, Scotland
Posts: 1,753
Reputation: 224
Default Re: SSCANF Plugin VPS problems

Try this: http://puu.sh/hriq6/7062f61ced.rar

Re-compile your script with that include and use the plugin.
iGetty is offline   Reply With Quote
Old 26/04/2015, 10:49 AM   #3
sidney123
Big Clucker
 
Join Date: Sep 2011
Posts: 103
Reputation: 19
Default Re: SSCANF Plugin VPS problems

Thanks for the fast reply. I'll download and try that one, and edit this message with the result afterwards

EDIT:
Nope, still experiencing the same problems. Should I contact my VPS' support regarding this?
sidney123 is offline   Reply With Quote
Old 26/04/2015, 10:55 AM   #4
iGetty
High-roller
 
iGetty's Avatar
 
Join Date: Sep 2010
Location: Falkirk, Scotland
Posts: 1,753
Reputation: 224
Default Re: SSCANF Plugin VPS problems

I would try so if I were you, as ****** has left and I don't use Windows VPS; I've done a search and you have all the required libraries. So, just try with the hosting provider! Good luck.
iGetty is offline   Reply With Quote
Old 26/04/2015, 11:06 AM   #5
sidney123
Big Clucker
 
Join Date: Sep 2011
Posts: 103
Reputation: 19
Default Re: SSCANF Plugin VPS problems

I am contacting them now. Just one question: I've seen in other threads that they've installed .NET Framework 4.5 and 4.5.2. When I downgrade to 4.5 and install 4.5.2, it updates automatically and 4.5 gets removed, right?

EDIT:
Support said that they can't do anything with it and it's out of their support boundaries. Now I'll just have to wait for someone to come with a working solution.
sidney123 is offline   Reply With Quote
Old 26/04/2015, 11:19 AM   #6
iGetty
High-roller
 
iGetty's Avatar
 
Join Date: Sep 2010
Location: Falkirk, Scotland
Posts: 1,753
Reputation: 224
Default Re: SSCANF Plugin VPS problems

You'd have to check through your system files, and make sure otherwise they could quite possibly conflict with each other.

If your host support is saying that they can't assist you with a small issue, then you're better off moving to a better host with much better support.
iGetty is offline   Reply With Quote
Old 26/04/2015, 01:54 PM   #7
sidney123
Big Clucker
 
Join Date: Sep 2011
Posts: 103
Reputation: 19
Default Re: SSCANF Plugin VPS problems

I fixed it, needed to install service packs for Microsoft Visual C++. Thanks for the help though!
sidney123 is offline   Reply With Quote
Old 10/10/2015, 06:06 PM   #8
DjPinball
Little Clucker
 
Join Date: Oct 2012
Posts: 15
Reputation: 0
Default Re: SSCANF Plugin VPS problems

Ok so i have this same problem only my sscanf will not work at all which is causing my server to not load due to it, which one did you install so that i may possibly fix mine also cause i have done everything you have done also but no success as of yet.
DjPinball is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Não lê o plugin sscanf Skiinner Português/Portuguese 3 27/09/2014 07:03 PM
sscanf plugin Nicholas. Scripting Help 3 04/12/2012 05:34 PM
Help me with the sscanf plugin Pro_Drifter Scripting Help 3 03/10/2012 09:25 AM
[Ajuda] plugin sscanf Bruninho_step Português/Portuguese 5 24/09/2012 02:51 AM
Some problems with plugin raven.yz Plugin Development 19 21/10/2009 01:41 PM


All times are GMT. The time now is 08:57 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.