Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Luis_Labarca on Oct 15, 2022, 03:09 AM

Title: help problem Hostin server
Post by: Luis_Labarca on Oct 15, 2022, 03:09 AM
 hosting Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64)


how to solve this error and check the name of the plugins and they are the same as in the .cfg configuration?


Console


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

Loaded plugin: squirrel04rel64

Loaded plugin: xmlconf04rel64

Loaded plugin: announce04rel64

Loaded plugin: sockets04rel64

Loaded plugin: hashing04rel64

Loaded plugin: sqlite04rel64

.so: cannot open shared object file: No such file or directory
Failed to load plugin: mysql04rel64

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


[MODULE] Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
'WARNING] Could not load script 'scripts/main.nut
[WARNING] cannot open the file
[ERROR] No Squirrel gamemode was specified.
[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
announcer: Ready to announce to masterlist(s)

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

[MODULE] Loaded SQLite3 for VC:MP by Stormeus.



I tried giving permission 0777 to them and nothing does not work
if i remove plugin: squirrel04rel64 from .cfg
it says that the announce04rel64 plugin has the same error


what is the problem


winSCP images
1
(https://i.ibb.co/XSJGR3Z/1.png)
2
(https://i.ibb.co/m4YMTn1/2.png)
https://ibb.co/5Lzf4Qt
3
(https://i.ibb.co/xhS0h21/3.png)
https://ibb.co/tBMtBHq
4
(https://i.ibb.co/q1sdtqZ/4.png)
https://ibb.co/8850Wvh
5
(https://i.ibb.co/CHB9Gpj/5.png)
https://ibb.co/gRyWKb0




Title: Re: help problem Hostin server
Post by: DizzasTeR on Oct 16, 2022, 06:37 AM
Change line endings to UNIX when uploading to your host (Search about it, its easy to do)
Title: Re: help problem Hostin server
Post by: Luis_Labarca on Oct 16, 2022, 08:05 PM
Quote from: DizzasTeR on Oct 16, 2022, 06:37 AMChange line endings to UNIX when uploading to your host (Search about it, its easy to do)
thanks bro but could you give me the example I don't understand much
Title: Re: help problem Hostin server
Post by: gta5 on Oct 20, 2022, 12:14 PM
sudo apt-get install dos2unix

then run dos2unix on whatever files are not loading

for example

dos2unix -b main.nut

After everything is working, use notepad++ on your windows PC instead of regular notepad. It will preserve the files in UNIX.
Title: Re: help problem Hostin server
Post by: Luis_Labarca on Nov 05, 2022, 11:39 PM
Quote from: gta5 on Oct 20, 2022, 12:14 PMsudo apt-get install dos2unix

then run dos2unix on whatever files are not loading

for example

dos2unix -b main.nut

After everything is working, use notepad++ on your windows PC instead of regular notepad. It will preserve the files in UNIX.

I place the complete server of sebby in my hosting and the error of -- .so: cannot open shared object file: No such file or directory
Failed to load plugin: squirrel04rel64
and if I remove the plugin squirrel04rel64 it says that it is the  announce04rel64

usage cmd sudo apt-get install dos2unix

I enter password and I get this error

vcrpcom is not in the sudoers file.  This incident will be reported.


what am I doing wrong friend?

link server seby usage - https://forum.vc-mp.org/?topic=33.0
Title: Re: help problem Hostin server
Post by: Luis_Labarca on Nov 06, 2022, 12:14 AM
solution >:(

 If anybody having the problem, install Notepad++.
Then go to
Edit->EOL Conversion->Unix(LF)

This will make the script work on Linux systems.