Runtime Error
#1

Hey there! a little help would be appreciated.I'm mapping some stuff for my clan's server and I'm using a basic freeroam script with some filterscripts.It all works fine.The problem arose when I changed my code to CreateDynamicObject since I needed to load some heavy maps.I installed the streamer plugin in proper directories and did all that stuff.The script compiled without any errors but when I run the samp_server.exe it gives me the Run time error.I've tried several fixes including downloading many Runtime Libraries and .net frameworks but nothing helped me.... so this is my last hope.

Log:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[21:44:55]
[21:44:55] Server Plugins
[21:44:55] --------------
[21:44:55] Loading plugin: streamer.dll
[21:44:55] Failed.

[21:44:55]
[21:44:55] Filterscripts
[21:44:55] ---------------
[21:44:55] Loading filterscript 'adminmenu.amx'...
[21:44:55] *** Admin Menu Script by Elyks loaded ***
[21:44:55] Loading filterscript 'TeleSystem.amx'...
[21:44:55]
########################################
[21:44:55] # V2: Preparing teleports.... #
[21:44:55] # #
[21:44:55] # Teleports prepared! by Thomas_Conroy #
[21:44:55] ########################################

[21:44:55] Loading filterscript 'save.amx'...
[21:44:55] Loading filterscript 'car.amx'...
[21:44:55] Loading filterscript 'weapons.amx'...
[21:44:55]
--------------------------------------
[21:44:55] Weapon Spawner by FusiouS loaded
[21:44:55] Version: 1.0, Release 1
[21:44:55] --------------------------------------
[21:44:55] Loading filterscript 'anims.amx'...
[21:44:55]
--------------------------------------

cfg file:
echo Executing Server Config...
lanmode 0
rcon_password *****
maxplayers 100
port 7777
hostname Task Force 141-Training Server
plugins streamer.dll
gamemode0 FreeRoam 1
filterscripts adminmenu TeleSystem save car weapons anims
announce 0
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]

I hope that you guys can help me get out of this problem, Thanks in advance!
Reply
#2

I don't see a Runtime Error in that log. Either way, try this. if your script is set up in a way that you can temporarily cut out parts of it, do that. Disable as many plugins and filterscripts as you can, until your server starts properly. Then, re-introduce each piece you disabled one by one until you get the error.
Reply
#3

my bad, I pasted the incomplete log...

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

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[21:44:55]
[21:44:55] Server Plugins
[21:44:55] --------------
[21:44:55] Loading plugin: streamer.dll
[21:44:55] Failed.
[21:44:55] Loaded 0 plugins.

[21:44:55]
[21:44:55] Filterscripts
[21:44:55] ---------------
[21:44:55] Loading filterscript 'adminmenu.amx'...
[21:44:55] *** Admin Menu Script by Elyks loaded ***
[21:44:55] Loading filterscript 'TeleSystem.amx'...
[21:44:55]
########################################
[21:44:55] # V2: Preparing teleports.... #
[21:44:55] # #
[21:44:55] # Teleports prepared! by Thomas_Conroy #
[21:44:55] ########################################

[21:44:55] Loading filterscript 'save.amx'...
[21:44:55] Loading filterscript 'car.amx'...
[21:44:55] Loading filterscript 'weapons.amx'...
[21:44:55]
--------------------------------------
[21:44:55] Weapon Spawner by FusiouS loaded
[21:44:55] Version: 1.0, Release 1
[21:44:55] --------------------------------------
[21:44:55] Loading filterscript 'anims.amx'...
[21:44:55]
--------------------------------------
[21:44:55] Anim System by: Jake Hunter
[21:44:55] --------------------------------------

[21:44:55] Loaded 6 filterscripts.

[21:44:55] Script[gamemodes/FreeRoam.amx]: Run time error 19: "File or function is not found"
[21:44:55] Number of vehicle models: 0

and I know the problem is not with filterscripts because they worked before I switched my CreateObject codes to CreateDynamicObject
Reply
#4

Same suggestion, try to consolidate the issue. Also, try fixing the streamer plugin failure. "Loading plugin: streamer.dll
[21:44:55] Failed."
Reply
#5

"plugins streamer.dll" , if you run it on the windows machine you don't need to put .dll extension in server.cfg and make sure that you have it in plugins folder
Reply
#6

Quote:
Originally Posted by Banditul18
Посмотреть сообщение
"plugins streamer.dll" , if you run it on the windows machine you don't need to put .dll extension in server.cfg and make sure that you have it in plugins folder
Putting .dll or not wouldn't affect anything at all incase of using Windows.


Код:
[21:44:55] Loading plugin: streamer.dll
[21:44:55] Failed.
^ Failing to load it shows that you don't have streamer in your plugins directory and that resulted in the runtime error.
Download streamer: https://github.com/samp-incognito/sa...ugin-2.8.2.zip

Replace the .inc in your pawno/include and put the .dll in your plugins directory then recompile all the scripts associated with Streamer.

Should work.
Reply
#7

Quote:
Originally Posted by Variable™
Посмотреть сообщение
Putting .dll or not wouldn't affect anything at all incase of using Windows.
It does... You only include the extension when you are using Linux.

Код:
[08:24:19]  Loading plugin: streamer
[08:24:19] 

*** Streamer Plugin v2.8.1 by Incognito loaded ***
Reply
#8

.dll doesn't matter if you're on windows, I've tried both ways.

I've the plugin and the include in the correct folders.I've also installed various runtime libraries as suggested in other topics, nothing works
Reply
#9

It does matter... Don't use the extension.


What runtimes have you installed, and how have you installed them? And have you followed the instructions regarding installing the x86 versions as well as the x64 if you are on x64, as if you don't, they still won't work.

I really hope you haven't simply copied random dll files into your servers folder.
Reply
#10

I haven't copied random dll files, I downloaded the complete packages from the microsoft website and installed both x64 and x86 versions of 2005,2008,2010,2012 and 2015 runtime libraries....still no luck
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)