The online racing simulator
PublicTest_07 : LFSLapper V7.0.5.1
(18 posts, started , go to first unread)
PublicTest_07 : LFSLapper V7.0.5.1
Hello Lapperusers,

!!!YOU MUST DOWNLOAD LFS TESTPATCH R12 or HIGHER TO RUN THIS LAPPER VERSION!!!

After a while working on the Japanese charbug Linky, i have finally found a fix.

Credits to DarkTimes Developer of InsimDotNet: for using his StringEncoding code.

THIS UPDATE CONTAINS: Japanese Charbug fix
This might not display your special characters like a 'star','square' etc that you copied from ingame.

You can copy those characters from one of the codepages below.
Search for the charactertables on the web for the available characters.


<?php 
Latin 1                CP1252
Greek                  CP1253
Cyrillic               CP1251
Japanese               CP932
Central Europe         CP1250
Turkish                CP1254
Baltic                 CP1257
Traditional Chinese    CP950
Simplified Chinese     CP936
Korean                 CP949
?>



+---------------------------------------------+
|Changes from 7.0.5.0 to 7.0.5.1_PublicTest_07|
+---------------------------------------------+
THIS UPDATE CONTAINS: Japanese Charbug (Test/Development stage)
-New Lapper functions
-Bugfixes
-Changes
=================================================
New:
=================================================
1: CreateDirectory();
$Source = "C:\Users\Danny\Desktop";
$Name = "TestDir";
CreateDirectory($Source,$Name);

2: DeleteDirectory();
$Source = "C:\Users\Danny\Desktop";
$Name = "TestDir";
DeleteDirectory($Source,$Name);

3: DirectoryExist();
$Source = "C:\Users\Danny\Desktop";
$Name = "TestDir";
IF (DirectoryExist($Source,$Name) == 1) THEN
privmsg("Directory Exist!");
ELSE
privmsg("Directory does not Exist!");
ENDIF

=================================================
Changed:
=================================================
1: GetListOfLayout(); will display all the layouts instead of only the layouts of the current track
=================================================
Fixed:
=================================================
1: Lappercrash when a non existing folder is added in addonused.lpr Include().
2: Path of several script in addonsused.lpr were wrong.
3: PlayerVars couldnt be used in OnDisconnect Player event.
4: Japanese Charbug (Test/Development stage)
5: GlobalMsg(): When set 10 or more globalmessages, some lines wont be displayed when the server contains 5 or more players.
More players gives more problems. (TEST)
6: HTTP(); A Host or other invalid player couldnt send a webrequest.
7: Connectioninfo(); Had to execute this function twice after reloading lapper to set the playervars ( language,IP)
=================================================
Removed:
=================================================
1: AFK/IDLE Timer playervar ( randomly stopped working)


NOTE_01: If you receive any 'System.Data.SQLite.dll' errors. (Thanks xxx)

https://www.lfs.net/forum/post/1937920#post1937920
Attached images
DoesNotExist.jpg
japChar.jpg
Attached files
LFSLapper V7.0.5.1_PublicTest_07.zip - 5.1 MB - 43 views
i go delete the AFKTimer/IDLETimer playervars.
Seems not working as it should be. It Randomly stops working.

The OnIdle() Events will remain.

NOTE: HotFix publicTest_03: cmdLFS didnt work
Awesome I'll put this publictest on my servers.

Is the only changed file LFSLapper.exe?
correct
New PublicTest version available. Grab the testversion in the first post

Credits to DarkTimes Developer of InsimDotNet: for using his StringEncoding code.

-New updates on the japanese charbug
-Could execute multiple (priv)(host)delayedcommands with the same ID

Feedback whould be appreciated
Quote from Bass-Driver :New PublicTest version available. Grab the testversion in the first post

Credits to DarkTimes Developer of InsimDotNet: for using his StringEncoding code.

-New updates on the japanese charbug
-Could execute multiple (priv)(host)delayedcommands with the same ID

Feedback whould be appreciated

Yo! Thank you for the update, as I need PlayerVar in the disconnect event to function properly Wink

What files were changed? It makes upgrading on my part easier Smile
Thanks,

only the .exe has been changed.
The Japanese character bug fix is a true miracle. Thank you for your continuous support and dedication for LFSLapper. Smile
Quote from Bass-Driver :Thanks,

only the .exe has been changed.

Nice dude thanks.

Also, would it break the license terms if I sold an addon that I wrote. It is not a derived work or modified code, it is 100% my code.
New publictest version available in the first post

This version contains 2 fixes , which one of them is in a testfase.

==========================================================
#Fixes
==========================================================
1: GlobalMsg(): When set for example 10 or more globalmessages, some lines wont be displayed when the server contains 5 or more players.
More players does display less globalmessages. (TEST)

2: HTTP(); A Host or other invalid player couldnt send a webrequest.

Which files are changed??

- LFSLapper.exe
Broooooo you are awesome man thank you for the HTTP fix!

Edit:

Just tested. It's working as it should now!
Quote from TechEdison :Nice dude thanks.

Also, would it break the license terms if I sold an addon that I wrote. It is not a derived work or modified code, it is 100% my code.

no, it doesnt. Because i do it aswell.
But becarefull, there is one disadvantage. There is a chance that some players will modify your code and they
could resell it with his/her name or showing off like : HEY, look what i made!

I have caught many players with this. Mostly i got banned from the server Tongue
Quote from Bass-Driver :no, it doesnt. Because i do it aswell.
But becarefull, there is one disadvantage. There is a chance that some players will modify your code and they
could resell it with his/her name or showing off like : HEY, look what i made!

I have caught many players with this. Mostly i got banned from the server Tongue

Well I would release my code under it's own license terms, since it is not a product of LFSLapper and doesn't need to adhere to its license. Additionally, if the code gets spread around too much I'll just stop releasing updates to the public Tongue

I think what I'm working on is gonna be pretty awesome honestly Wink
New version available: V7.0.5.1_PublicTest_06

This contains a serious fix that could hang Lapper when loading many scripts at a time.

=========================================
#Removed
=========================================
1: Fix for duplicating Delayedcommand.
This fix worked fine for 1 delayed command. more of them could hang lapper and increases you CPU usage over 9000!!!
Also it results in a spamming errormessage in your logfile.

Will think about a new fix for this duplicating issue.

I recommend to use this publictest version instead of the previous ones.
New Testversion available, go to the first post to download the new version.

This update contains 3 new lapperfunction to create/delete directory's and check the existence of the directory.

============================================================
1: CreateDirectory();
$Source = "C:\Users\Danny\Desktop";
$Name = "TestDir";
CreateDirectory($Source,$Name);

2: DeleteDirectory();
$Source = "C:\Users\Danny\Desktop";
$Name = "TestDir";
DeleteDirectory($Source,$Name);

3: DirectoryExist();
$Source = "C:\Users\Danny\Desktop";
$Name = "TestDir";
IF (DirectoryExist($Source,$Name) == 1) THEN
privmsg("Directory Exist!");
ELSE
privmsg("Directory does not Exist!");
ENDIF

========================================================
#17 - xxx
Please note for download visual basic 2010 x86.
for this error, 'System.Data.SQLite.dll'
from LFSLapper V7.0.4.10 to V7.0.5.1 .
Thanks and edited the first post.

PublicTest_07 : LFSLapper V7.0.5.1
(18 posts, started )
FGED GREDG RDFGDR GSFDG