SA-MP Forums Archive
Help me sort this out please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me sort this out please (/showthread.php?tid=652692)



Help me sort this out please - TitoRayne - 17.04.2018

inside the pawno script.
Код:
#include <a_samp>
#undef MAX_PLAYERS
#define MAX_PLAYERS 150
#include <a_zones>
#include <nex-ac>
#include <a_mysql>
#include <streamer>
#include <foreach>
#include <progress>
#include <Pawn.CMD>
//#include <gangzones>
#include <YSI/y_timers>
#include <yom_buttons>
#include <sscanf2>
#include <weapon-config>
#include <crashdetect>
#include <incgo_streamer_custom_fix>
#include <MenuStore>
#include <selection>
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[11:01:23] 
[11:01:23] Server Plugins
[11:01:23] --------------
[11:01:23]  Loading plugin: pawncmd.so
[11:01:23] Pawn.CMD plugin v3.1.4 by urShadow loaded
[11:01:23]   Loaded.
[11:01:23]  Loading plugin: mysql.so
[11:01:23]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[11:01:23]  Loading plugin: audio.so
[11:01:23] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[11:01:23]   Loaded.
[11:01:23]  Loading plugin: whirlpool.so
[11:01:23]  
[11:01:23]  ==================
[11:01:23]  
[11:01:23]   Whirlpool loaded
[11:01:23]  
[11:01:23]  ==================
[11:01:23]  
[11:01:23]   Loaded.
[11:01:23]  Loading plugin: crashdetect.so
[11:01:23]   CrashDetect v4.12 is OK.
[11:01:23]   Loaded.
[11:01:23]  Loading plugin: sscanf.so
[11:01:23] 

[11:01:23]  ===============================

[11:01:23]       sscanf plugin loaded.     

[11:01:23]          Version:  2.8.1        

[11:01:23]    © 2012 Alex "******" Cole  

[11:01:23]  ===============================

[11:01:23]   Loaded.
[11:01:23]  Loading plugin: streamer.so
[11:01:23] 

*** Streamer Plugin v2.9.3 by Incognito loaded ***

[11:01:23]   Loaded.
[11:01:23]  Loading plugin: mysql_static.so
[11:01:23] 

  > MySQL plugin R5 successfully loaded.

[11:01:23]   Loaded.
[11:01:23]  Loading plugin: regex.so
[11:01:23]   Failed (plugins/regex.so: cannot open shared object file: No such file or directory)
[11:01:23]  Loaded 7 plugins.

[11:01:23] 
[11:01:23] Filterscripts
[11:01:23] ---------------
[11:01:23]   Loading filterscript 'anims.amx'...
[11:01:23]   Unable to load filterscript 'anims.amx'.
[11:01:23]   Loading filterscript 'zmapping.amx'...
[11:01:23]   Unable to load filterscript 'zmapping.amx'.
[11:01:23]   Loading filterscript 'yom_buttons.amx'...
[11:01:23]   Unable to load filterscript 'yom_buttons.amx'.
[11:01:23]   Loading filterscript 'house.amx'...
[11:01:23]   Unable to load filterscript 'house.amx'.
[11:01:23]   Loading filterscript 'DJ.amx'...
[11:01:23]   Unable to load filterscript 'DJ.amx'.
[11:01:23]   Loading filterscript 'cage.amx'...
[11:01:23]   Unable to load filterscript 'cage.amx'.
[11:01:23]   Loading filterscript 'elevator.amx'...
[11:01:23]   Unable to load filterscript 'elevator.amx'.
[11:01:23]   Loading filterscript 'neons.amx'...
[11:01:23]   Unable to load filterscript 'neons.amx'.
[11:01:23]   Loading filterscript 'join.amx'...
[11:01:23]   Unable to load filterscript 'join.amx'.
[11:01:23]   Loading filterscript 'owners.amx'...
[11:01:23]   Unable to load filterscript 'owners.amx'.
[11:01:23]   Loading filterscript 'Callsign.amx'...
[11:01:23]   Unable to load filterscript 'Callsign.amx'.
[11:01:23]   Loaded 0 filterscripts.

[11:01:23] [debug] Run time error 19: "File or function is not found"
[11:01:23] [debug]  cache_get_row_count
[11:01:23] [debug]  FreezeSyncData
[11:01:23] [debug]  SetFakeFacingAngle
[11:01:23] [debug]  SendLastSyncData
[11:01:23] [debug]  ClearAnimationsForPlayer
[11:01:23] [debug]  SetKnifeSync
[11:01:23] [debug]  SetFakeHealth
[11:01:23] [debug]  SetFakeArmour
[11:01:23] [debug]  PlayerTextDrawSetPosition
[11:01:23] [debug]  SpawnPlayerForWorld
[11:01:23] [debug]  cache_get_value_name_int
[11:01:23] [debug]  cache_get_value_name_float
[11:01:23] [debug]  cache_get_value_index_int
[11:01:23] [debug]  mysql_format
[11:01:23] [debug]  mysql_tquery
[11:01:23] [debug]  SetDisableSyncBugs
[11:01:23] [debug]  mysql_init_options
[11:01:23] [debug]  mysql_set_option
[11:01:23] [debug]  cache_insert_id
[11:01:23] [debug]  cache_get_value_name
[11:01:23] [debug] Run time error 19: "File or function is not found"
[11:01:23] [debug]  cache_get_row_count
[11:01:23] [debug]  FreezeSyncData
[11:01:23] [debug]  SetFakeFacingAngle
[11:01:23] [debug]  SendLastSyncData
[11:01:23] [debug]  ClearAnimationsForPlayer
[11:01:23] [debug]  SetKnifeSync
[11:01:23] [debug]  SetFakeHealth
[11:01:23] [debug]  SetFakeArmour
[11:01:23] [debug]  PlayerTextDrawSetPosition
[11:01:23] [debug]  SpawnPlayerForWorld
[11:01:23] [debug]  cache_get_value_name_int
[11:01:23] [debug]  cache_get_value_name_float
[11:01:23] [debug]  cache_get_value_index_int
[11:01:23] [debug]  mysql_format
[11:01:23] [debug]  mysql_tquery
[11:01:23] [debug]  SetDisableSyncBugs
[11:01:23] [debug]  mysql_init_options
[11:01:23] [debug]  mysql_set_option
[11:01:23] [debug]  cache_insert_id
[11:01:23] [debug]  cache_get_value_name
[11:01:23] Script[gamemodes/rrphz.amx]: Run time error 19: "File or function is not found"
[11:01:23] Number of vehicle models: 0
[11:01:23] New version of CrashDetect is available for download (4.13)
help me sort this out please, i really really need help i think i mess a include file please help! +1 rep


Re: Help me sort this out please. +1 REP - TitoRayne - 17.04.2018

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[11:07:43] 
[11:07:43] Server Plugins
[11:07:43] --------------
[11:07:43]  Loading plugin: audio.so
[11:07:43] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[11:07:43]   Loaded.
[11:07:43]  Loading plugin: mysql_static.so
[11:07:43] 

  > MySQL plugin R5 successfully loaded.

[11:07:43]   Loaded.
[11:07:43]  Loading plugin: whirlpool.so
[11:07:43]  
[11:07:43]  ==================
[11:07:43]  
[11:07:43]   Whirlpool loaded
[11:07:43]  
[11:07:43]  ==================
[11:07:43]  
[11:07:43]   Loaded.
[11:07:43]  Loading plugin: crashdetect.so
[11:07:43]   CrashDetect v4.12 is OK.
[11:07:43]   Loaded.
[11:07:43]  Loading plugin: sscanf.so
[11:07:43] 

[11:07:43]  ===============================

[11:07:43]       sscanf plugin loaded.     

[11:07:43]          Version:  2.8.1        

[11:07:43]    © 2012 Alex "******" Cole  

[11:07:43]  ===============================

[11:07:43]   Loaded.
[11:07:43]  Loading plugin: streamer.so
[11:07:43] 

*** Streamer Plugin v2.9.3 by Incognito loaded ***

[11:07:43]   Loaded.
[11:07:43]  Loading plugin: pawncmd.so
[11:07:43] Pawn.CMD plugin v3.1.4 by urShadow loaded
[11:07:43]   Loaded.
[11:07:43]  Loaded 7 plugins.

[11:07:43] 
[11:07:43] Filterscripts
[11:07:43] ---------------
[11:07:43]   Loading filterscript 'anims.amx'...
[11:07:43]   Unable to load filterscript 'anims.amx'.
[11:07:43]   Loading filterscript 'zmapping.amx'...
[11:07:43]   Unable to load filterscript 'zmapping.amx'.
[11:07:43]   Loading filterscript 'yom_buttons.amx'...
[11:07:43]   Unable to load filterscript 'yom_buttons.amx'.
[11:07:43]   Loading filterscript 'wh.amx'...
[11:07:43]   Loaded 1 filterscripts.

[11:07:44] [debug] Run time error 19: "File or function is not found"
[11:07:44] [debug]  cache_get_row_count
[11:07:44] [debug]  FreezeSyncData
[11:07:44] [debug]  SetFakeFacingAngle
[11:07:44] [debug]  SendLastSyncData
[11:07:44] [debug]  ClearAnimationsForPlayer
[11:07:44] [debug]  SetKnifeSync
[11:07:44] [debug]  SetFakeHealth
[11:07:44] [debug]  SetFakeArmour
[11:07:44] [debug]  PlayerTextDrawSetPosition
[11:07:44] [debug]  SpawnPlayerForWorld
[11:07:44] [debug]  cache_get_value_name_int
[11:07:44] [debug]  cache_get_value_name_float
[11:07:44] [debug]  cache_get_value_index_int
[11:07:44] [debug]  mysql_format
[11:07:44] [debug]  mysql_tquery
[11:07:44] [debug]  SetDisableSyncBugs
[11:07:44] [debug]  mysql_init_options
[11:07:44] [debug]  mysql_set_option
[11:07:44] [debug]  cache_insert_id
[11:07:44] [debug]  cache_get_value_name
[11:07:44] [debug] Run time error 19: "File or function is not found"
[11:07:44] [debug]  cache_get_row_count
[11:07:44] [debug]  FreezeSyncData
[11:07:44] [debug]  SetFakeFacingAngle
[11:07:44] [debug]  SendLastSyncData
[11:07:44] [debug]  ClearAnimationsForPlayer
[11:07:44] [debug]  SetKnifeSync
[11:07:44] [debug]  SetFakeHealth
[11:07:44] [debug]  SetFakeArmour
[11:07:44] [debug]  PlayerTextDrawSetPosition
[11:07:44] [debug]  SpawnPlayerForWorld
[11:07:44] [debug]  cache_get_value_name_int
[11:07:44] [debug]  cache_get_value_name_float
[11:07:44] [debug]  cache_get_value_index_int
[11:07:44] [debug]  mysql_format
[11:07:44] [debug]  mysql_tquery
[11:07:44] [debug]  SetDisableSyncBugs
[11:07:44] [debug]  mysql_init_options
[11:07:44] [debug]  mysql_set_option
[11:07:44] [debug]  cache_insert_id
[11:07:44] [debug]  cache_get_value_name
[11:07:44] Script[gamemodes/rrphz.amx]: Run time error 19: "File or function is not found"
[11:07:44] Number of vehicle models: 0
[11:07:44] New version of CrashDetect is available for download (4.13)
help me please!


Re: Help me sort this out please. +1 REP - Uproar - 17.04.2018

Show server.cfg


Re: Help me sort this out please. +1 REP - TitoRayne - 17.04.2018

Quote:
Originally Posted by Uproar
Посмотреть сообщение
Show server.cfg
Код:
echo Executing Server Config...
lanmode 0
rcon_password requesting a help
maxplayers 100
port 7777
hostname Atrax Roleplay
gamemode0 rrphz 1
filterscripts anims zmapping yom_buttons wh
plugins audio.so mysql_static.so whirlpool.so crashdetect.so sscanf.so streamer.so pawncmd.so
announce 1
query 1
chatlogging 1
weburl Coming soon
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English



Re: Help me sort this out please. +1 REP - JesterlJoker - 17.04.2018

Are you running this on the server already or dedicated samp server?

if you are then we won't be able to help you here. You should ask the owner or someone in the help desk for this, you might be using a non MySQL service or maybe a new VPS without the dependencies and packages properly installed

if you are using a VPS or on your own Linux machine then you'll need to download a lib something on your machine, use ****** since I can't give you a good conclusion for an answer. Just copy paste the error and there will be a lot of fixes out there.


Re: Help me sort this out please. +1 REP - TitoRayne - 17.04.2018

Quote:
Originally Posted by JesterlJoker
Посмотреть сообщение
Are you running this on the server already or dedicated samp server?

if you are then we won't be able to help you here. You should ask the owner or someone in the help desk for this, you might be using a non MySQL service or maybe a new VPS without the dependencies and packages properly installed

if you are using a VPS or on your own Linux machine then you'll need to download a lib something on your machine, use ****** since I can't give you a good conclusion for an answer. Just copy paste the error and there will be a lot of fixes out there.
Yes i asked him, but he said he won't give me the fullfiles only the gamemode and "Go find its plugins and includes to use it"
Код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[11:57:45] 
[11:57:45] Server Plugins
[11:57:45] --------------
[11:57:45]  Loading plugin: audio.so
[11:57:45] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[11:57:45]   Loaded.
[11:57:45]  Loading plugin: mysql_static.so
[11:57:45] 

  > MySQL plugin R5 successfully loaded.

[11:57:45]   Loaded.
[11:57:45]  Loading plugin: whirlpool.so
[11:57:45]  
[11:57:45]  ==================
[11:57:45]  
[11:57:45]   Whirlpool loaded
[11:57:45]  
[11:57:45]  ==================
[11:57:45]  
[11:57:45]   Loaded.
[11:57:45]  Loading plugin: crashdetect.so
[11:57:45]   CrashDetect v4.12 is OK.
[11:57:45]   Loaded.
[11:57:45]  Loading plugin: sscanf.so
[11:57:45] 

[11:57:45]  ===============================

[11:57:45]       sscanf plugin loaded.     

[11:57:45]          Version:  2.8.1        

[11:57:45]    © 2012 Alex "******" Cole  

[11:57:45]  ===============================

[11:57:45]   Loaded.
[11:57:45]  Loading plugin: streamer.so
[11:57:45] 

*** Streamer Plugin v2.9.3 by Incognito loaded ***

[11:57:45]   Loaded.
[11:57:45]  Loading plugin: pawncmd.so
[11:57:45] Pawn.CMD plugin v3.1.4 by urShadow loaded
[11:57:45]   Loaded.
[11:57:45]  Loaded 7 plugins.

[11:57:45] 
[11:57:45] Filterscripts
[11:57:45] ---------------
[11:57:45]   Loading filterscript 'anims.amx'...
[11:57:45]   Unable to load filterscript 'anims.amx'.
[11:57:45]   Loading filterscript 'zmapping.amx'...
[11:57:45]   Unable to load filterscript 'zmapping.amx'.
[11:57:45]   Loading filterscript 'yom_buttons.amx'...
[11:57:45]   Unable to load filterscript 'yom_buttons.amx'.
[11:57:45]   Loading filterscript 'wh.amx'...
[11:57:45]   Loaded 1 filterscripts.

[11:57:46] [debug] Run time error 19: "File or function is not found"
[11:57:46] [debug]  cache_get_row_count
[11:57:46] [debug]  FreezeSyncData
[11:57:46] [debug]  SetFakeFacingAngle
[11:57:46] [debug]  SendLastSyncData
[11:57:46] [debug]  ClearAnimationsForPlayer
[11:57:46] [debug]  SetKnifeSync
[11:57:46] [debug]  SetFakeHealth
[11:57:46] [debug]  SetFakeArmour
[11:57:46] [debug]  PlayerTextDrawSetPosition
[11:57:46] [debug]  SpawnPlayerForWorld
[11:57:46] [debug]  cache_get_value_name_int
[11:57:46] [debug]  cache_get_value_name_float
[11:57:46] [debug]  cache_get_value_index_int
[11:57:46] [debug]  mysql_format
[11:57:46] [debug]  mysql_tquery
[11:57:46] [debug]  SetDisableSyncBugs
[11:57:46] [debug]  mysql_init_options
[11:57:46] [debug]  mysql_set_option
[11:57:46] [debug]  cache_insert_id
[11:57:46] [debug]  cache_get_value_name
[11:57:46] [debug] Run time error 19: "File or function is not found"
[11:57:46] [debug]  cache_get_row_count
[11:57:46] [debug]  FreezeSyncData
[11:57:46] [debug]  SetFakeFacingAngle
[11:57:46] [debug]  SendLastSyncData
[11:57:46] [debug]  ClearAnimationsForPlayer
[11:57:46] [debug]  SetKnifeSync
[11:57:46] [debug]  SetFakeHealth
[11:57:46] [debug]  SetFakeArmour
[11:57:46] [debug]  PlayerTextDrawSetPosition
[11:57:46] [debug]  SpawnPlayerForWorld
[11:57:46] [debug]  cache_get_value_name_int
[11:57:46] [debug]  cache_get_value_name_float
[11:57:46] [debug]  cache_get_value_index_int
[11:57:46] [debug]  mysql_format
[11:57:46] [debug]  mysql_tquery
[11:57:46] [debug]  SetDisableSyncBugs
[11:57:46] [debug]  mysql_init_options
[11:57:46] [debug]  mysql_set_option
[11:57:46] [debug]  cache_insert_id
[11:57:46] [debug]  cache_get_value_name
[11:57:46] Script[gamemodes/rrphz.amx]: Run time error 19: "File or function is not found"
[11:57:46] Number of vehicle models: 0
[11:57:46] New version of CrashDetect is available for download (4.13)



Re: Help me sort this out please. +1 REP - Sew_Sumi - 18.04.2018

Quote:
Originally Posted by TitoRayne
Посмотреть сообщение
Yes i asked him, but he said he won't give me the fullfiles only the gamemode and "Go find its plugins and includes to use it"
Terrible practice to be accepting... They can put backdoors into the script and give themselves whatever access they want, even in the event that you remove them from the server...

This is one reason why all releases (gamemodes, and apps alike) must be source code rather than compiled releases... There's just no telling what can be nestled in the gamemode without REALLY looking at it in detail.



And if the file you are uploading isn't being updated, be sure you are using the right folder and aren't actually in another folder. This is a common mistake by new coders, as you always end up with multiple copies of the server package, and pawno, on the machine.

This also applies to new server owners, and how you never get around to clearing out things, and have to hold onto everything as it may be 'important' at some stage.


Re: Help me sort this out please. +1 REP - jasperschellekens - 18.04.2018

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Terrible practice to be accepting... They can put backdoors into the script and give themselves whatever access they want, even in the event that you remove them from the server...

This is one reason why all releases (gamemodes, and apps alike) must be source code rather than compiled releases... There's just no telling what can be nestled in the gamemode without REALLY looking at it in detail.
True but even when you have a large gamemode for example. It is really a big task to go trough all that code to find a "backdoor". I'm pretty sure that most people won't even find it. I think that this is always a risk when you gather code from the forums or even from people against payment instead of creating your own.


Re: Help me sort this out please. +1 REP - JesterlJoker - 18.04.2018

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
True but even when you have a large gamemode for example. It is really a big task to go trough all that code to find a "backdoor". I'm pretty sure that most people won't even find it. I think that this is always a risk when you gather code from the forums or even from people against payment instead of creating your own.
You can make a backdoor easily if you had a hand on the gamemode… Creating an admin privilege directly to yourself would be easy ones you get a gamemode that's why I don't ask people that in the presumption that they make the culprit behind such attacks... This problem now is giving me a headache which is why I am doubting myself to ask or not just to see which plugins are really in there...


Re: Help me sort this out please. +1 REP - Sew_Sumi - 18.04.2018

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
True but even when you have a large gamemode for example.
There is no excuse. This is security and knowing what you are running.