Pomoc

Započeo Marko121, Decembar 14, 2019, 21:44:21 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 4 gostiju pregledaju ovu temu.

Problem(error/warning): Moze mi neko pomoci,u skripti nema erora nema warninga i server cfg je uredu startam kucni i pise mi za mod Unkown.
neko help. Evo kako kad compileam izbaci.

Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase

Header size:           3460 bytes
Code size:            75244 bytes
Data size:            40888 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:  135976 bytes

Evo sad kako mi izgleda server cfg.

echo Executing Server Config...
lanmode 0
rcon_password 123
maxplayers 50
port 7777
hostname Sensation Script
gamemode0 sdm 1
plugins crashdetect streamer sscanf nativechecker
announce 0
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 80
incar_rate 80
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 10
logtimeformat [%H:%M:%S]
language Balkanski

Dio skripte: //
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]//[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): //

I da Pre toga mi je bilo sve oke kad sam dodao mapu spawna ovo se desava radi se oko DM moda.

Posalji server.log sta mi sad ovdje tocno vidimo ?


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[12:00:19]
[12:00:19] Server Plugins
[12:00:19] --------------
[12:00:19]  Loading plugin: crashdetect.dll
[12:00:19]   CrashDetect plugin 4.19.4
[12:00:19]   Loaded.
[12:00:19]  Loading plugin: streamer.dll
[12:00:19]

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

[12:00:19]   Loaded.
[12:00:19]  Loading plugin: sscanf.dll
[12:00:19]

[12:00:19]  ===============================

[12:00:19]       sscanf plugin loaded.     

[12:00:19]          Version:  2.8.1       

[12:00:19]    (c) 2012 Alex "Y_Less" Cole 

[12:00:19]  ===============================

[12:00:19]   Loaded.
[12:00:19]  Loading plugin: nativechecker.dll
[12:00:19]   Loaded.
[12:00:19]  Loading plugin: SKY.dll
[12:00:19]   Loaded.
[12:00:19]  Loaded 5 plugins.

[12:00:19]
[12:00:19] Filterscripts
[12:00:19] ---------------
[12:00:19]   Loaded 0 filterscripts.

[12:00:19]    Error: Function not registered: 'FreezeSyncData'
[12:00:19]    Error: Function not registered: 'SetFakeFacingAngle'
[12:00:19]    Error: Function not registered: 'SendLastSyncData'
[12:00:19]    Error: Function not registered: 'ClearAnimationsForPlayer'
[12:00:19]    Error: Function not registered: 'SetKnifeSync'
[12:00:19]    Error: Function not registered: 'SetFakeHealth'
[12:00:19]    Error: Function not registered: 'SetFakeArmour'
[12:00:19]    Error: Function not registered: 'PlayerTextDrawSetPosition'
[12:00:19]    Error: Function not registered: 'SpawnPlayerForWorld'
[12:00:19]    Error: Function not registered: 'PC_Init'
[12:00:19] [debug] Run time error 19: "File or function is not found"
[12:00:19] [debug]  PC_Init
[12:00:19] [debug] Run time error 19: "File or function is not found"
[12:00:19] [debug]  PC_Init
[12:00:19] Script[gamemodes/sdm.amx]: Run time error 19: "File or function is not found"
[12:00:19] Number of vehicle models: 0

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[14:50:09]
[14:50:09] Server Plugins
[14:50:09] --------------
[14:50:09]  Loading plugin: crashdetect.dll
[14:50:11]   CrashDetect plugin 4.19.4
[14:50:11]   Loaded.
[14:50:11]  Loading plugin: streamer.dll
[14:50:11]

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

[14:50:11]   Loaded.
[14:50:11]  Loading plugin: sscanf.dll
[14:50:11]

[14:50:11]  ===============================

[14:50:11]       sscanf plugin loaded.     

[14:50:11]          Version:  2.8.1       

[14:50:11]    (c) 2012 Alex "Y_Less" Cole 

[14:50:11]  ===============================

[14:50:11]   Loaded.
[14:50:11]  Loading plugin: nativechecker.dll
[14:50:11]   Loaded.
[14:50:11]  Loading plugin: SKY.dll
[14:50:13]   Loaded.
[14:50:13]  Loading plugin: weapon-config.dll
[14:50:13]   Failed.
[14:50:13]  Loaded 5 plugins.


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[14:52:05]
[14:52:05] Server Plugins
[14:52:05] --------------
[14:52:05]  Loading plugin: crashdetect.dll
[14:52:05]   CrashDetect plugin 4.19.4
[14:52:05]   Loaded.
[14:52:05]  Loading plugin: streamer.dll
[14:52:05]

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

[14:52:05]   Loaded.
[14:52:05]  Loading plugin: sscanf.dll
[14:52:05]

[14:52:05]  ===============================

[14:52:05]       sscanf plugin loaded.     

[14:52:05]          Version:  2.8.1       

[14:52:05]    (c) 2012 Alex "Y_Less" Cole 

[14:52:05]  ===============================

[14:52:05]   Loaded.
[14:52:05]  Loading plugin: nativechecker.dll
[14:52:05]   Loaded.
[14:52:05]  Loading plugin: SKY.dll
[14:52:05]   Loaded.
[14:52:05]  Loading plugin: weapon-config.dll
[14:52:05]   Failed.
[14:52:05]  Loaded 5 plugins.

[14:52:06]
[14:52:06] Filterscripts
[14:52:06] ---------------
[14:52:06]   Loaded 0 filterscripts.

[14:52:06]    Error: Function not registered: 'FreezeSyncData'
[14:52:06]    Error: Function not registered: 'SetFakeFacingAngle'
[14:52:06]    Error: Function not registered: 'SendLastSyncData'
[14:52:06]    Error: Function not registered: 'ClearAnimationsForPlayer'
[14:52:06]    Error: Function not registered: 'SetKnifeSync'
[14:52:06]    Error: Function not registered: 'SetFakeHealth'
[14:52:06]    Error: Function not registered: 'SetFakeArmour'
[14:52:06]    Error: Function not registered: 'PlayerTextDrawSetPosition'
[14:52:06]    Error: Function not registered: 'SpawnPlayerForWorld'
[14:52:06]    Error: Function not registered: 'PC_Init'
[14:52:06] [debug] Run time error 19: "File or function is not found"
[14:52:06] [debug]  PC_Init
[14:52:06] [debug] Run time error 19: "File or function is not found"
[14:52:06] [debug]  PC_Init
[14:52:06] Script[gamemodes/sdm.amx]: Run time error 19: "File or function is not found"
[14:52:06] Number of vehicle models: 0




To je server.log

Sve je ovde objasnjeno :D
[14:52:05]  Loading plugin: weapon-config.dll
[14:52:05]   Failed.

[pawn][/pawn] weapon-config.dll
failed nzm sta treba da uradim ae reci.

Citat: Marko121 poslato Decembar 15, 2019, 20:18:29 POSLE PODNE
[pawn][/pawn] weapon-config.dll
failed nzm sta treba da uradim ae reci.
da ubacis ovaj include, izvoli: https://forum.sa-mp.com/showthread.php?t=563387
takodje ubaci i ovo.. : https://github.com/oscar-broman/SKY/releases
* Ubacujes u folder (Plugins), takodje dodaj i u server.cfg pri kraju SKY.dll(ako je na kucnom) weapon-config(samo weapon-config), ako je na hostu onda (SKY.so i weapon -config(opet samo weapon-config)) uzivaj i obavezno compile skriptu :)
'love yours, respect other's'
YSI, SQL - Developer
Citat: bunta poslato April 07, 2020, 01:06:55 PRE PODNE
cak se i meni svidja lol

Sve sam uradio kako si napisao al izbacuje mi ovo.

[pawn]C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(407) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(415) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(478) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(486) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(505) : warning 235: public function lacks forward declaration (symbol "Itter_OnPlayerDisconnect")
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(711) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(1200) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(1277) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandReceived")
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(1292) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamageDynamicActor")
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "Free"
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "HelpActor"
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "HitRemove"
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "StringNumeric"
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "cbug"
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "publicCreateGTextdraws"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


15 Warnings.[/pawn]

Nemoze kucni da se starta.

Imaš simbole koji se nigde ne koriste u liniji "3181", "Free, HelpActor... Itd" sve što ne koristiš obriši

Citat: Marko121 poslato Decembar 16, 2019, 13:49:31 POSLE PODNE
Sve sam uradio kako si napisao al izbacuje mi ovo.

[pawn]C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(407) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(415) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(478) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(486) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(505) : warning 235: public function lacks forward declaration (symbol "Itter_OnPlayerDisconnect")
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(711) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(1200) : warning 217: loose indentation
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(1277) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandReceived")
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(1292) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamageDynamicActor")
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "Free"
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "HelpActor"
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "HitRemove"
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "StringNumeric"
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "cbug"
C:\Program Files\Rokstar Games\CDM\gamemodes\sdm.pwn(3181) : warning 203: symbol is never used: "publicCreateGTextdraws"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


15 Warnings.[/pawn]

Nemoze kucni da se starta.
Prosto , resis warninge koji su napravljeno od "eksepteda" bolje uzmi nesto svoje pravi nema svrhe uzimati taj Sensation , Claudius i ta govna  ;)

Rijesi warninge kao sto je gore navedeno. update, weapon-config, kao sto ti pise u server log, te onda otidji COMPILE skriptu.
Kada to uradis sve ce raditi
GL

Citat: Paythi poslato Decembar 17, 2019, 16:00:00 POSLE PODNE
Prosto , resis warninge koji su napravljeno od "eksepteda" bolje uzmi nesto svoje pravi nema svrhe uzimati taj Sensation , Claudius i ta govna  ;)
Poslusaj...