This topic was marked solved by its starter, on February 22nd, 10:02 AM
Error Occuring.on server start.

Mr.nobOdy

  • Newbie
  • Posts: 26
Error Occuring.on server start.
«  »
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

  • Wiki Contributor
  • LBR | Co-Leader & Brasil Real RPG | Developer
  • Posts: 445
Code: [Select]
if( !sucess ) tryAgain();

umar4911

  • Sr. Member
  • Creating own server!
  • Posts: 472
Re: Error Occuring.on server start.
« Reply #2,  »Last edited
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.
I am gamer, programmer and hacker. Try to find me!
xD

Mr.nobOdy

  • Newbie
  • Posts: 26
Re: Error Occuring.on server start.
« Reply #3,  »
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.

umar4911

  • Sr. Member
  • Creating own server!
  • Posts: 472
I am gamer, programmer and hacker. Try to find me!
xD

Athanatos

  • Hero Member
  • Romania Cops N Robbers Lead Developer
  • Posts: 795

Mr.nobOdy

  • Newbie
  • Posts: 26
Re: Error Occuring.on server start.
« Reply #7,  »
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

Athanatos

  • Hero Member
  • Romania Cops N Robbers Lead Developer
  • Posts: 795
Re: Error Occuring.on server start.
« Reply #8,  »
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

Mr.nobOdy

  • Newbie
  • Posts: 26
Re: Error Occuring.on server start.
« Reply #9,  »
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!

luchgox1

  • Newbie
  • Posts: 6

DarkRaZoR^

  • Full Member
  • VC:MP Battlefield Head Developer/KF Leader
  • Posts: 208

Mr.nobOdy

  • Newbie
  • Posts: 26

DarkRaZoR^

  • Full Member
  • VC:MP Battlefield Head Developer/KF Leader
  • Posts: 208

Mr.nobOdy

  • Newbie
  • Posts: 26