Error Occuring.on server start.

Started by Mr.nobOdy, Feb 11, 2019, 04:18 PM

Previous topic - Next topic

Mr.nobOdy

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.

MatheuS

Maybe you aren't loading or having the sqlite plugin on your plugins folder
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

umar4911

#2
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.
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

Mr.nobOdy

Quote from: umar4911 on Feb 12, 2019, 09:48 AMThis 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.

Mr.nobOdy


umar4911

What is written in your server.cfg? And also the line where you used ConnectSQL
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

NicusorN5

I don't know, but I heard that the squireill plugin should be loaded the last.

Mr.nobOdy

Quote from: umar4911 on Feb 12, 2019, 11:39 AMWhat 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

NicusorN5

Quote from: Athanatos on Feb 12, 2019, 01:21 PMI don't know, but I heard that the squireill plugin should be loaded the last.
Quote from: Mr.nobOdy on Feb 12, 2019, 03:39 PM
Quote from: umar4911 on Feb 12, 2019, 11:39 AMWhat 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:
gamemode Default
plugins xmlconf04rel32 announce04rel32 sockets04rel32 hashing04rel32 mysql04rel32 sqlite04rel32 squirrel04rel32
port 8192
sqgamemode scripts/main.nut
maxplayers 100

Mr.nobOdy

Quote from: Athanatos on Feb 13, 2019, 05:40 PM
Quote from: Athanatos on Feb 12, 2019, 01:21 PMI don't know, but I heard that the squireill plugin should be loaded the last.
Quote from: Mr.nobOdy on Feb 12, 2019, 03:39 PM
Quote from: umar4911 on Feb 12, 2019, 11:39 AMWhat 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:
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!

fortune


D4rkR420R

You're using a 32bit PC, right?

Mr.nobOdy

Quote from: DarkRaZoR^ on Feb 17, 2019, 04:04 AMYou're using a 32bit PC, right?
no am using 64bit
i also do the samething on 64 bit but can't

D4rkR420R

Quote from: Mr.nobOdy on Feb 17, 2019, 06:10 AM
Quote from: DarkRaZoR^ on Feb 17, 2019, 04:04 AMYou'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.

Mr.nobOdy

Quote from: DarkRaZoR^ on Feb 21, 2019, 12:47 PM
Quote from: Mr.nobOdy on Feb 17, 2019, 06:10 AM
Quote from: DarkRaZoR^ on Feb 17, 2019, 04:04 AMYou'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!