SRL Archive - Who Are You ? Who ? Who ?

Hello SRL and first plugin for SIMBA-)


CynicRus

2012-06-20 10:04:01

Hello, SRL! I'm a novice on this forum, but I have some programming experience in Object Pascal. I'm from Russia, I have programming as a hobby- and as a greeting, let me introduce my first plugin(see attachment). Source is fully included-) Thank you for your attention-)

Test script:

program LogPluginTest;
{$LoadLib Logger}
Procedure Test();
begin
LogInit('C:\testlog.txt');
AddLog('First message');
AddLog('Second Log');
WriteLog();
end;
begin
Test;

end.

Gu3st...

2012-06-20 16:08:44

Some source code would be nice :)

E: Ah, it's included in the .rar?

Sirenia

2012-06-20 17:46:08

theres dll's, lpi, lpr and many other files in there :O

CynicRus

2012-06-21 01:06:43

Reload as zip-))

Bob The Cat

2012-06-21 06:04:18

What does this exactly do? does this log everything that is said ingame?

CynicRus

2012-06-21 06:52:59

No, he writes to the log everything manually set. It really handy when you do something not only for myself, if something does not work in another - to read the file and the situation becomes clearer.

Bob The Cat

2012-06-21 07:29:48

From: CynicRus
No, he writes to the log everything manually set. It really handy when you do something not only for myself, if something does not work in another - to read the file and the situation becomes clearer.


Not to flame you. But your English is very bad and i dont know what you exactly mean.

CynicRus

2012-06-21 07:53:02

I mean, this plugin just write any string to specified file-)

kitchenrange

2012-06-21 11:14:29

This plugin will allow you to make scripts that create logfiles easily.
At the end of it all, you will have a text file detailing anything you told the script to write.

Thanks for the time spent on this.

Abu

2012-06-21 17:19:36

From: kitchenrange
This plugin will allow you to make scripts that create logfiles easily.
At the end of it all, you will have a text file detailing anything you told the script to write.


So all WriteLn functions?

Doesn't MSI do something like that?


EDIT: Yes they do, they save debugs to Simba\Includes\MSI\Debug Logs

EDIT2: good job :)