SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 23/10/2017, 02:51 PM   #41
FrezQ
Big Clucker
 
FrezQ's Avatar
 
Join Date: Dec 2016
Posts: 51
Reputation: 22
Default Re: Log plugin

You are amazing maddinat0r
__________________


Free/Paid Gaming Servers
FrezQ is offline   Reply With Quote
Old 27/10/2017, 01:28 PM   #42
PowerMwK
Big Clucker
 
Join Date: Sep 2016
Location: Brazil - Ba
Posts: 196
Reputation: 4
Default Re: Log plugin

Amazing Plugins Always is you and your systems
__________________
IDK WHY - IS SO COOL IT

Desenvolvimento[RPG[Soon]-DM/PTP]


PowerMwK is offline   Reply With Quote
Old 16/02/2018, 10:54 PM   #43
JustNothing
Big Clucker
 
Join Date: Nov 2015
Location: Lithuania
Posts: 62
Reputation: 6
Default Re: Log plugin

fixed

Last edited by JustNothing; 17/02/2018 at 02:18 PM.
JustNothing is offline   Reply With Quote
Old 17/02/2018, 01:43 PM   #44
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,337
Reputation: 824
Default Re: Log plugin

Quote:
Originally Posted by JustNothing View Post
[ERROR] Log: invalid log id '0'
Did you create `moneylog` with Logger: prefix?
Code:
enum PLAYER {
  Logger:moneylog
}
Kaperstone is offline   Reply With Quote
Old 21/03/2018, 02:12 PM   #45
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,337
Reputation: 824
Default Re: Log plugin

Log level NONE seems to be returning <unknown> can you add to the plugin an option to not have tag?

Code:
logfile << "[" << timestamp << "] " << (msg->loglevel==LogLevel::NONE?"":"[" << loglevel_str << "] ") << log_string.str() << '\n' << std::flush;
Kaperstone is offline   Reply With Quote
Old 07/04/2018, 07:47 AM   #46
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 823
Reputation: 62
Default Re: Log plugin

Need help on this.

[14:41:38] [log-core] signal 11 (SIGSEGV) catched; shutting log-core down (errno: 0, signal code: 2, exit status: -146701239)

(in error log)

Due to this, my server cannot be started.
Uberanwar is offline   Reply With Quote
Old 12/11/2018, 08:55 AM   #47
ball
Huge Clucker
 
ball's Avatar
 
Join Date: Jul 2012
Location: Poznan, Poland
Posts: 285
Reputation: 33
Default Re: Log plugin

If this is possible, can you add %x as a valid format specifier?
ball is offline   Reply With Quote
Old 12/11/2018, 10:32 AM   #48
maddinat0r
Gangsta
 
maddinat0r's Avatar
 
Join Date: Jun 2010
Location: Germany
Posts: 895
Reputation: 482
Default Re: Log plugin

Quote:
Originally Posted by ball View Post
If this is possible, can you add %x as a valid format specifier?
What should that specifier do?
maddinat0r is offline   Reply With Quote
Old 12/11/2018, 10:43 AM   #49
ZigGamerx
Big Clucker
 
ZigGamerx's Avatar
 
Join Date: Jul 2018
Posts: 158
Reputation: 23
Default Re: Log plugin

helped a lot, good job
ZigGamerx is online now   Reply With Quote
Old 12/11/2018, 04:50 PM   #50
ball
Huge Clucker
 
ball's Avatar
 
Join Date: Jul 2012
Location: Poznan, Poland
Posts: 285
Reputation: 33
Default Re: Log plugin

Quote:
Originally Posted by maddinat0r View Post
What should that specifier do?
It should show a colour in RGBA format, like in format/printf functions.

Code:
new lColorID = 0xFF00FFAA;
printf("%x", lColorID); //output: FF00FFAA
ball is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos7 - Streamer plugin and crashdetect plugin Su37Erich Server Support 3 12/08/2016 01:18 AM
[MySQL] From StickenKid's plugin to BlueG's plugin jessejanssen Scripting Help 2 15/06/2014 02:20 AM
Very good plugin suggestion (for scripters) and easy to make for the Plugin Developers! Xentiarox Plugin Development 5 29/07/2012 11:48 PM
mysql plugin. loading plugin failed ikkentim Help Archive 2 10/02/2011 03:32 PM


All times are GMT. The time now is 08:38 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.