Server devolped on windows, giving problem on linux host
#1

Okay, I've spent 2 months trying to fix this bug and now it's time to ask for help here.

I decided to host a server with a simple GM. The first month I spent on host elites, where the staff helped, but I abandoned the place as I thought their linux did not go as far as my script.

After that, I went to evolution hosts that, even providing a virtualization of windows for the server, still did not solve my problems.

1) Foreword: The server when I launch it on my pc (windows) works correctly. EVERY SINGLE ASPECT

2) When I launch it on the host, with linux (then with .so after the plugins, and with linux files) the script randomly by viewing problems of: dynamic red checkpoints, 3d house icons, house icons and red checkpoints On the map etc. .. BUT I HAVE NO ERRORS ON THE SERVER LOG, all plugins are loaded correctly, it just doesnt show me some things in game.

e.g: when i create some businesses (red checkpoints), it creates a red checkpoints but when i put on it a score requeired and a price, it doesnt save them. Basically I guess it doesnt write on a .ini file.
But the problem is not the script itself, cause in my PC all works correctly, its when i host the server that these errors show up.

e.g2: when i create a house, i should have a 3d icon in game, and an icon on the map. Well at first it shows me up them when i create them, but after a player goes to buy them, the icon on the map disappear and the 3d too. No need to say that stats like score and price are not saved on a .ini file (i mean, they must be, but they are not)

3) When I launch it with windows virtualization, I get the gamemode unknow (plugins put without .so) and thanks to crashdetect me from these errors:

Код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[13:05:40] 
[13:05:40] Server Plugins
[13:05:40] --------------
[13:05:40]  Loading plugin: crashdetect
[13:05:40]   CrashDetect v4.18.1 is OK.
[13:05:40]   Loaded.
[13:05:40]  Loading plugin: streamer
[13:05:40]   Failed.
[13:05:40]  Loading plugin: MerRandom
[13:05:40] Plugin MerRandom v2.1 - by Cyber_Punk got loaded.
[13:05:40]   Loaded.
[13:05:40]  Loading plugin: sscanf
[13:05:40]   Failed.
[13:05:40]  Loading plugin: PointToPoint
[13:05:40]  PointToPoint Plugin Loaded.
[13:05:40]   Loaded.
[13:05:40]  Loaded 3 plugins.

[13:05:40] 
[13:05:40] Ban list
[13:05:40] --------
[13:05:40]  Loaded: samp.ban
[13:05:40] 
[13:05:40] 
[13:05:40] Filterscripts
[13:05:40] ---------------
[13:05:40]   Loading filterscript 'antiddos.amx'...
[13:05:40]   Loaded 1 filterscripts.

[13:05:40] [debug] Run time error 19: "File or function is not found"
[13:05:40] [debug]  CreateDynamicObject
[13:05:40] [debug]  SSCANF_Init
[13:05:40] [debug]  SSCANF_Join
[13:05:40] [debug]  SSCANF_Leave
[13:05:40] [debug]  CreateDynamic3DTextLabel
[13:05:40] [debug]  CreateDynamicPickup
[13:05:40] [debug]  DestroyDynamicMapIcon
[13:05:40] [debug]  DestroyDynamicCP
[13:05:40] [debug]  CreateDynamicMapIcon
[13:05:40] [debug]  Streamer_SetIntData
[13:05:40] [debug]  Streamer_Update
[13:05:40] [debug]  TogglePlayerAllDynamicCPs
[13:05:40] [debug]  CreateDynamicSphere
[13:05:40] [debug]  Streamer_MaxItems
[13:05:40] [debug]  CreateDynamicCP
[13:05:40] [debug]  CreateDynamicCube
[13:05:40] [debug]  Streamer_SetFloatData
[13:05:40] [debug]  DestroyDynamicObject
[13:05:40] [debug]  SetDynamicObjectPos
[13:05:40] [debug]  SetDynamicObjectRot
[13:05:40] [debug]  sscanf
[13:05:40] [debug]  GetDynamicObjectPos
[13:05:40] [debug]  GetDynamicObjectRot
[13:05:40] [debug]  EditDynamicObject
[13:05:40] [debug]  SetDynamicObjectMaterial
[13:05:40] [debug]  AttachDynamicObjectToVehicle
[13:05:40] [debug]  MoveDynamicObject
[13:05:40] [debug]  DestroyDynamicArea
[13:05:40] [debug]  DestroyDynamic3DTextLabel
[13:05:40] [debug]  DestroyDynamicPickup
[13:05:40] [debug] Run time error 19: "File or function is not found"
[13:05:40] [debug]  CreateDynamicObject
[13:05:40] [debug]  SSCANF_Init
[13:05:40] [debug]  SSCANF_Join
[13:05:40] [debug]  SSCANF_Leave
[13:05:40] [debug]  CreateDynamic3DTextLabel
[13:05:40] [debug]  CreateDynamicPickup
[13:05:40] [debug]  DestroyDynamicMapIcon
[13:05:40] [debug]  DestroyDynamicCP
[13:05:40] [debug]  CreateDynamicMapIcon
[13:05:40] [debug]  Streamer_SetIntData
[13:05:40] [debug]  Streamer_Update
[13:05:40] [debug]  TogglePlayerAllDynamicCPs
[13:05:40] [debug]  CreateDynamicSphere
[13:05:40] [debug]  Streamer_MaxItems
[13:05:40] [debug]  CreateDynamicCP
[13:05:40] [debug]  CreateDynamicCube
[13:05:40] [debug]  Streamer_SetFloatData
[13:05:40] [debug]  DestroyDynamicObject
[13:05:40] [debug]  SetDynamicObjectPos
[13:05:40] [debug]  SetDynamicObjectRot
[13:05:40] [debug]  sscanf
[13:05:40] [debug]  GetDynamicObjectPos
[13:05:40] [debug]  GetDynamicObjectRot
[13:05:40] [debug]  EditDynamicObject
[13:05:40] [debug]  SetDynamicObjectMaterial
[13:05:40] [debug]  AttachDynamicObjectToVehicle
[13:05:40] [debug]  MoveDynamicObject
[13:05:40] [debug]  DestroyDynamicArea
[13:05:40] [debug]  DestroyDynamic3DTextLabel
[13:05:40] [debug]  DestroyDynamicPickup
[13:05:40] Script[gamemodes/RoleplayFreeroam.amx]: Run time error 19: "File or function is not found"
[13:05:40] Number of vehicle models: 0
I do not know what else to try,i set all permissions in different ways but nothing solved till now, please help me.
Reply
#2

Your streamer and sscanf plugins aren't loading up.
make sure to have .so at the end of each plugins in server.cfg (such as streamer.so) and make sure the .so file exists in the plugins folder.
Reply
#3

Quote:
Originally Posted by Debjit
Посмотреть сообщение
Your streamer and sscanf plugins aren't loading up.
make sure to have .so at the end of each plugins in server.cfg (such as streamer.so) and make sure the .so file exists in the plugins folder.
They are not loading when i start up the server with "windows virtualizations", as they do not need the .so at the end.

They just do not load properly, with windows.
Reply
#4

You dont need to remove the .so, but you need the windows .dlls for these plugins instead.
.so is compiled for linux and only works on linux.
Reply
#5

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
You dont need to remove the .so, but you need the windows .dlls for these plugins instead.
.so is compiled for linux and only works on linux.
I have them, please read properly. Only streamer and sscanf are not loaded.

The first part (1) is related to the linux problems, were all plugins are loaded with .so.

The second part (2) shows what happens with plugins dlls, and basically only streamer and sscanf are not loaded. + debug errors.

I'd be happy if i'll have atleast one solution between them.

Summerising: linux loads all properly but doesnt show some items in game.

windows doesnt load 2 plugins, and gives some debugs errors.(maybe due to some missing libraries)
Reply
#6

Bump, any idea?
Reply
#7

Not much to say, use linux and fix your script issues. Ask your hosting provider to install missing libraries and so on.
Reply
#8

Can I really have missing libraries while running the server on Linux OS?
Reply
#9

Had the same problem some minutes ago. Just find the newer version of the linux plugins you are using. In my case I had the latest sscanf .dll for Win, and an old .so. Server didn't want to start until i realized that the sscanf.so I was using wasn't the same version of the sscanf I used to compile the script (I didn't download them at the same time, I had them lying in a folder, probably randomly downloaded someday when i was stoned). Right after dling the latest version, server started.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)