|
Post by TinyTerror on Oct 30, 2005 16:26:58 GMT -5
Ok, the newest build is just about ready. The changes are almost entirely backend. Anyway, this is what changed in this version:
*Recoded script start and stop functions. SDL_ThreadKill calls removed in favor of execution hooks, signaling, and SDL_WaitThread.
*Added a semaphore to prevent concurrent access to the loaded scripts list.
*Fixed a bug that caused the autounloader to kill scripts to early in rare cases.
*Fixed a bug with the list command. It should be alot more stable now.
All told, I think I increased the stability of lunar by a great deal. To test, I ran 20 instances of Goblins.lua and unloaded then reloaded them at random for 5 minutes. FFXI slowed to 5 fps as hundreds of goblins drew to the screen, but nothing blew up. Hopefully you guys won't have any more loading/unloading issues.
|
|
zew
New Member
L337
Posts: 2
|
Post by zew on Oct 30, 2005 16:35:59 GMT -5
hey i tested this out for myself, first time i've logged into ffxi in a month. Hats off, it has very good potential <sp?...>
|
|
|
Post by TinyTerror on Oct 30, 2005 17:07:17 GMT -5
Thanks
|
|
psyic
New Member
Posts: 20
|
Post by psyic on Oct 30, 2005 22:38:53 GMT -5
Awesome! This will make script testing much easier.
|
|
|
Post by TinyTerror on Oct 30, 2005 23:11:45 GMT -5
Awesome! This will make script testing much easier. Heh, only if it works right
|
|
|
Post by TinyTerror on Oct 31, 2005 14:05:46 GMT -5
It doesn't look like I am going to be able to release a build tonight. Updating the docs too longer than expected, and some other stuff came up at work and at home that I need to deal with. Hopefully I can make one tomorrow.
|
|
|
Post by TinyTerror on Nov 1, 2005 21:27:56 GMT -5
The next build may be delayed until the weekend. I have a lot of stuff comming up between now and saturday.
|
|
|
Post by TinyTerror on Nov 3, 2005 1:09:24 GMT -5
Yeah, expect the next build on saturday or sunday night. I'm going to need at least a solid day or two of coding to be ready for another release. The logging code is acting up, making it so that if you unload the plugin, you cant reload it. It all comes down to the console redirection code that my friend gave me to make logging easier. Its fucking black magic, and I want no part of it. I also need alot of time to patch up memory leaks. Its going to be a fight to keep lunar stable while I do this, as many of the leaks are comming from used lua states not being properly deleted because of threading issues. I'll get it though. Sorry for making you guys use buggy software
|
|
Rzn
Junior Member
Posts: 55
|
Post by Rzn on Nov 3, 2005 6:13:07 GMT -5
I love it even with the bugs you could quite now and I'd still use it tell SE nukes it
|
|
|
Post by TinyTerror on Nov 3, 2005 8:25:11 GMT -5
Im glad to hear that. Stick with it, and lunar will get better and better.
|
|
|
Post by TinyTerror on Nov 3, 2005 14:05:37 GMT -5
I just finished adding about 150 logging commands to Lunar, and also code for dumping scripts to the log file. Now when you run Lunar (unless you turn off logging), it will generate a script of all the system level operations, and will include all the scripts that you ran in the current session in one single log file. Giving me the log file when you submit a bug will make it 100 times easier for me to figure out where the bug is happening, as well as giving me the script I need in order to reproduce the bug.
|
|
petar113507
Full Member
Damn Straight. I Am the king of waffelagia.
Posts: 166
|
Post by petar113507 on Nov 3, 2005 15:58:57 GMT -5
Where will the log file be located in?
|
|
|
Post by TinyTerror on Nov 3, 2005 16:01:39 GMT -5
Wherever you have the windower installed.
|
|
|
Post by TinyTerror on Nov 3, 2005 23:56:11 GMT -5
I just got through testing some of the logger stuff. It's working really well. No more trying to figure out where bugs are just by the user's description alone.
|
|
|
Post by whitewinter on Nov 4, 2005 15:41:43 GMT -5
Great to hear that. Should also help with developers in the end if there code is the flaw
|
|