YCMD commands stops server
#1

I converted my gamemode from 0.3x to 0.3z, everything works, I updated the YSI library to 0.3z version. But, when I start my server, using any command stops my server, it just exit the server.
Here the includes which I use:
Код:
#include 		<a_samp>
#include		<a_players>
#include		<a_mysql>
#define			YSI_NO_MASTER
#include		<YSI\y_commands>
#include		<YSI\y_ini>
#include		<dLog>
#include		<sscanf2>
#include		<foreach>
#include		<streamer>
Any help?
Reply
#2

Код:
#define			YSI_NO_MASTER

#include 		<a_samp>
#include		<a_mysql>
#include                <YSI\y_iterate>
#include		<YSI\y_commands>
#include                <YSI\y_master>
#include		<YSI\y_ini>
#include		<dLog>
#include		<sscanf2>
#include		<streamer>
Use y_iterate rather than foreach. a_players is already included by a_samp.
Reply
#3

Thank you for fast answer, but still the same problem...
Reply
#4

Then install crashdetect and compile your script with the flag "-d3".
When it crashes it should print some debug information.
Reply
#5

Find out problem, thank you.
Reply
#6

Quote:
Originally Posted by CH | FuDo
Посмотреть сообщение
Find out problem, thank you.
Care to share so that others can learn from this? Since you requested free help, it's only fair you give the same.
Reply
#7

My apologies, I removed the include dLog, crashdetector showed me that the problem is in one public, where I used function from that inc, so I removed the inc and that function.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)