give me you work done ( script file ) and i try to correct then and explain more to you. No you aren't stupid, it's a system like programmation similar to string.format in c#. A little time is needed to understand how it work . Don't worry, i am sure you understand quickly how is work
When you use langEngine give one parameter for replacing {0}
langEngine( "%{pitboard_gained_time}%",NumToMSH(GetCurrentPlayerVar( "DiffSectorSplit1" ))
Lapper replace {0} in string with NumToMSH(GetCurrentPlayerVar( "DiffSectorSplit1" )
you can add more {0} {1}...{n} and give to langEngine the prarameter to be used for replace this. Take a look a LFSLapper.cfg, i use it in most case.
I corrected bug in last release about line error number. Do you use this last release.
If yes, give me an exemple and how i can reproduce it to fix. Normally, i don't want display error in console, because use of LFSLapper on dedicated host without screen display. it's for this, i create errorlog file
@fireb0llch
open csproj with c# in src dir
type F6
Go to bin/release subfolder and get the new exe file
that'all!
@Yisc[NL]
this msg is because i cut a little hardly Lapper server, but this no cause problem.
Do you take a look to the translation mode. If you have time to add it to your Scripts . Then i wrote french translation. Translation section must be in you script file it's better. Prefix each key with your own prefix to avoid conflict to other translation.
Ex: if you need a not allowed message in your pitboard script
notallowed = "You are not allowed"; better with
pitboard_notallowed = "You are not allowed";
Lapper is started in stand by mode. it was waiting you to type !start in LFS chat to start in work mode if you are admin. Check at admin.txt to put your lfs username
In chat you can type now: !status to view status of Lapper, work mode or stand by mode !start to go in work mode when you are in stand bye mode !stop to go in stand by mode when you are in work mode !reload to reload config when you are in work mode without restart Lapper
To go in work mode directly on launch of LFSLapper type in LFSServers.cfg
autowork at end of definition line
example:
change
DEFs|gr1|192.168.2.100|29999|./default|default_1.ini|autoStart
in
DEFs|gr1|192.168.2.100|29999|./default|default_1.ini|autoWork
if you don't need the first line put a # at begin of line
DEF1|gr1|127.0.0.1|29999|./default|default_1.ini|#autoStart
in
#DEF1|gr1|127.0.0.1|29999|./default|default_1.ini|autoStart
There is many many difference between previous release. If you have time read accurately the change.txt file