Page 1 of 1

Dėl sportas plugino

Posted: 2016 Jan 07 15:14
by likux35
Sveiki. Gal galite pasakyti kame beda ? Stai prisegu sma failą nuo plugino. Radau pluginą kuris darant pritupimus didina greitį . Aš jį paredagavau kad visą statistiką saugotų į mysql . Kompiliavimo klaidų kompiliatorius nerodo , tačiau nuo jo lūžta serveris.

Version 0.9.531 Linux
[DPROTO]: Done.

AMX Mod X version 1.8.3-dev Copyright (c) 2004-2006 AMX Mod X Development Team
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.

stray key in process_key: item_getiteminfo 61
[LocalizeBug Fix] Successful Patching.
[CF.Fix]: Successfully loaded.
POD-Bot mm: plugin attaching
L 01/07/2016 - 15:11:37: -------- Mapchange to de_dust --------
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20160107151137_1.dmp
success = yes
response: Discarded=1
Segmentation fault (core dumped)
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Thu Jan 7 15:11:38 EET 2016: Server restart in 10 seconds

Prisegu sma kodą , gal žinot kame bėda ?

Code: Select all

#include <amxmodx>#include <hamsandwich>#include <engine>#include <fun>#include <fakemeta>#include <sqlx> #define PLUGIN "Jail Break: sportas"#define VERSION "2.0"#define AUTHOR "saimon" new ducks[33] new Handle:g_hDbTuple;new p_DbHost, p_DbUser, p_DbPass, p_DbName; public plugin_init() {    }  
Fixed . Kadangi nepadėjot, sprendimo nepridedu :)

Re: Dėl sportas plugino

Posted: 2017 Feb 27 18:50
by luxuks
Tai bandei debug darasyt ir bandyt ziuret kur problema? ir sjp matau kad kode nemazai "nelygumu" del kuriu galbut ir galetu kilt tokios problemos.

Re: Dėl sportas plugino

Posted: 2017 Mar 01 22:41
by likux35
Debugas klaidos neparodo normaliai, gali būt kad skripte kažkur klaida, tik nežinau ką taisyti.

Re: Dėl sportas plugino

Posted: 2017 Mar 03 02:43
by luxuks
Nezinau kas cia gali buti blogai bet didesne tikimybe tau sulaukti pagalbos butu scripting pagalbos forume o ne serveriu pagalbos. Perkelk tema, gal kazkas ir suras ta klaida.