Could someone show me simply how to use Crash Detect?
#1

Title says all, I'm a little confused about to how to run/install and check logs?
Reply
#2

Download the latest version of it: https://github.com/Zeex/samp-plugin-...ases/tag/v4.12

Place the crashdetect.dll (for Windows) or crashdetect.so (for Linux) and add it last to the server.cfg
pawn Код:
// Windows:
plugins some_plugin1 some_plugin2_blabla crashdetect

// Linux:
plugins some_plugin1.so some_plugin2_blabla.so crashdetect.so
In case the server crashes for any reason or it gives errors (without crashes), it will print in the console/server log some information related to that crash/problem.

Compiling with debug info (https://github.com/Zeex/samp-plugin-...ith-debug-info), in the next crash/problem may give the lines which was caused at (which is pretty useful).

There are few runtime errors and using ****** will help you to understand what's wrong with it; however, we're always here to help!
Reply
#3

Thank you.

Could you tell me if this is good or not and briefly explain, if you wouldn't mind.

pawn Код:
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:           9696 bytes
Code size:           515516 bytes
Data size:          1388400 bytes
Stack/heap size:      16384 bytes; estimated max. usage=1857 cells (7428 bytes)
Total requirements: 1929996 bytes
Reply
#4

It is good.

You don't have to worry about it as long as estimated max. usage (bytes) is lesser than Stack/heap size.

In case you wish to get better results (less size etc.), there's a really great thread about code optimisations: https://sampforum.blast.hk/showthread.php?tid=57018
Reply
#5

I really appreciate that, Thank you very much.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)