Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Mr.nobOdy on February 11th, 2019, 04:18 PM

Title: Error Occuring.on server start.
Post by: Mr.nobOdy on February 11th, 2019, 04:18 PM
AN ERROR HAS OCCURED [the index 'ConnectSQL' does not exist]

CALLSTACK
*FUNCTION [onScriptLoad()] scripts/main.nut line [131]

LOCALS
[this] TABLE
[WARNING] onScriptLoad failed to execute -- check the console for more details.
Please help me i am having this problem.
Title: Re: Error Occuring.on server start.
Post by: MatheuS on February 11th, 2019, 07:11 PM
Maybe you aren't loading or having the sqlite plugin on your plugins folder
Title: Re: Error Occuring.on server start.
Post by: umar4911 on February 12th, 2019, 09:48 AM
This error mostly comes when you don't have/load the sqlite plugin. Download the plugin and paste it the plugins folder. Then edit server.cfg and edit the line having plugins and add your plugin name wothout extension.
Title: Re: Error Occuring.on server start.
Post by: Mr.nobOdy on February 12th, 2019, 11:15 AM
Quote from umar4911 on February 12th, 09:48 AM
This error only comes when you don't have/load the sqlite plugin. Download the plugin and paste it the plugins folder. Then edit server.cfg and edit the line having plugins and add your plugin name wothout extension.
I do this but still giving this problem.
Title: Re: Error Occuring.on server start.
Post by: Mr.nobOdy on February 12th, 2019, 11:15 AM
Is there is no any other way?
Title: Re: Error Occuring.on server start.
Post by: umar4911 on February 12th, 2019, 11:39 AM
What is written in your server.cfg? And also the line where you used ConnectSQL
Title: Re: Error Occuring.on server start.
Post by: Athanatos on February 12th, 2019, 01:21 PM
I don't know, but I heard that the squireill plugin should be loaded the last.
Title: Re: Error Occuring.on server start.
Post by: Mr.nobOdy on February 12th, 2019, 03:39 PM
Quote from umar4911 on February 12th, 11:39 AM
What is written in your server.cfg? And also the line where you used ConnectSQL
Plugin error >> LoadLibrary() 'plugins/sqlite04rel32.dll' failed: Code 126
Failed to load plugin: sqlite04rel32
and server cfg
gamemode Default
plugins squirrel04rel32 xmlconf04rel32 announce04rel32 sockets04rel32 hashing04rel32 mysql04rel32 sqlite04rel32
port 8192
sqgamemode scripts/main.nut
maxplayers 100
Title: Re: Error Occuring.on server start.
Post by: Athanatos on February 13th, 2019, 05:40 PM
Quote from Athanatos on February 12th, 01:21 PM
I don't know, but I heard that the squireill plugin should be loaded the last.
Quote from Mr.nobOdy on February 12th, 03:39 PM
Quote from umar4911 on February 12th, 11:39 AM
What is written in your server.cfg? And also the line where you used ConnectSQL
Plugin error >> LoadLibrary() 'plugins/sqlite04rel32.dll' failed: Code 126
Failed to load plugin: sqlite04rel32
and server cfg
gamemode Default
plugins squirrel04rel32 xmlconf04rel32 announce04rel32 sockets04rel32 hashing04rel32 mysql04rel32 sqlite04rel32
port 8192
sqgamemode scripts/main.nut
maxplayers 100
AAAAND I WAS RIGHT. Load the squireill function after the mysql function is loaded.

Use this for the configuration file:
Code: [Select]
gamemode Default
plugins xmlconf04rel32 announce04rel32 sockets04rel32 hashing04rel32 mysql04rel32 sqlite04rel32 squirrel04rel32
port 8192
sqgamemode scripts/main.nut
maxplayers 100
Title: Re: Error Occuring.on server start.
Post by: Mr.nobOdy on February 16th, 2019, 05:52 PM
Quote from Athanatos on February 13th, 05:40 PM
Quote from Athanatos on February 12th, 01:21 PM
I don't know, but I heard that the squireill plugin should be loaded the last.
Quote from Mr.nobOdy on February 12th, 03:39 PM
Quote from umar4911 on February 12th, 11:39 AM
What is written in your server.cfg? And also the line where you used ConnectSQL
Plugin error >> LoadLibrary() 'plugins/sqlite04rel32.dll' failed: Code 126
Failed to load plugin: sqlite04rel32
and server cfg
gamemode Default
plugins squirrel04rel32 xmlconf04rel32 announce04rel32 sockets04rel32 hashing04rel32 mysql04rel32 sqlite04rel32
port 8192
sqgamemode scripts/main.nut
maxplayers 100
AAAAND I WAS RIGHT. Load the squireill function after the mysql function is loaded.

Use this for the configuration file:
Code: [Select]
gamemode Default
plugins xmlconf04rel32 announce04rel32 sockets04rel32 hashing04rel32 mysql04rel32 sqlite04rel32 squirrel04rel32
port 8192
sqgamemode scripts/main.nut
maxplayers 100
Still this:


 Vice City Multiplayer Server
 -------------------------------
 v0.4, (c) 2007-2014 VC:MP Team

Loaded plugin: xmlconf04rel32

Loaded plugin: announce04rel32

Loaded plugin: sockets04rel32

Loaded plugin: hashing04rel32

Loaded plugin: mysql04rel32

Plugin error >> LoadLibrary() 'plugins/sqlite04rel32.dll' failed: Code 126
Failed to load plugin: sqlite04rel32

Loaded plugin: squirrel04rel32

[WEAPONS] No custom weapons to load.
[VEHICLEMODELS] No custom vehicle models to load.
** Started VC:MP 0.4 Server **
 Port: 8192
 Max players: 100

[MODULE]  Loaded server.conf Loader for 0.4 by Stormeus
[MODULE]     >> Loaded server.conf for parsing
[MODULE]     >> Applied settings
[WARNING] Please define a colour for your class. (See docs)
[MODULE]     >> Loaded classes
[WARNING] Please define a world for your vehicle. (See docs)
[MODULE]     >> Loaded vehicles
[MODULE]     >> Loaded pickups
[MODULE]  Loaded server.conf successfully

[MODULE]  Loaded sq_sockets for VC:MP by the LU Dev Team (ported by Stormeus).

[MODULE]  Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
[SCRIPT]  Echo Script Loaded
[SCRIPT]   |================================================================|
[SCRIPT]   |                     IRC Multi Bot - Dany                       |
[SCRIPT]   |================================================================|

AN ERROR HAS OCCURED [the index 'ConnectSQL' does not exist]

CALLSTACK
*FUNCTION [onScriptLoad()] scripts/main.nut line [131]

LOCALS
[this] TABLE
[WARNING] onScriptLoad failed to execute -- check the console for more details.
[SCRIPT]  Confirming Bot1's details...
[SCRIPT]  Bot details confirmed!
[SCRIPT]  Confirming Bot2's details...
[SCRIPT]  Bot details confirmed!
Title: Re: Error Occuring.on server start.
Post by: luchgox1 on February 16th, 2019, 08:25 PM
Need Update
Title: Re: Error Occuring.on server start.
Post by: DarkRaZoR^ on February 17th, 2019, 04:04 AM
You're using a 32bit PC, right?
Title: Re: Error Occuring.on server start.
Post by: Mr.nobOdy on February 17th, 2019, 06:10 AM
Quote from DarkRaZoR^ on February 17th, 04:04 AM
You're using a 32bit PC, right?
no am using 64bit
i also do the samething on 64 bit but can't
Title: Re: Error Occuring.on server start.
Post by: DarkRaZoR^ on February 21st, 2019, 12:47 PM
Quote from Mr.nobOdy on February 17th, 06:10 AM
Quote from DarkRaZoR^ on February 17th, 04:04 AM
You're using a 32bit PC, right?
no am using 64bit
i also do the samething on 64 bit but can't
You need to use the 64bit plugins if you're using a 64bit OS.
Title: Re: Error Occuring.on server start.
Post by: Mr.nobOdy on February 22nd, 2019, 10:02 AM
Quote from DarkRaZoR^ on February 21st, 12:47 PM
Quote from Mr.nobOdy on February 17th, 06:10 AM
Quote from DarkRaZoR^ on February 17th, 04:04 AM
You're using a 32bit PC, right?
no am using 64bit
i also do the samething on 64 bit but can't
You need to use the 64bit plugins if you're using a 64bit OS.
Solved!