Possible Axis change - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: General Discussion (/Forum-General-Discussion) +--- Forum: Sphere Tools (/Forum-Sphere-Tools) +--- Thread: Possible Axis change (/Thread-Possible-Axis-change) Pages: 1 2 |
Possible Axis change - Ben - 07-20-2015 10:09 AM I know I have not done any updates to Axis in a long time, but I have been working on something new lately, and I need some input before I keep going. My idea here is to have Axis connect to sphere directly to get it's information instead of parsing scripts. This would be done using a telnet connection. Once Axis receives the info, it is cached so it's not necessary to load from server every time. It's all nice, but there is 1 major down side. From the tests that I have done, loading the CHARDEF,SPAWN,ITEMDEF, and TEMPLATE sections only, took about 7min. Axis needs more info than that, but that is the biggest part as there are over 30k itemdefs. That is a lot of information to transfer over telnet. [EDIT] I have managed to reduce that same info to 1.5 min Any thoughts? RE: Possible Axis change - XuN - 07-20-2015 05:11 PM That's nice to have. Maybe compressing the data before sending it can help a bit, but I bet you already did before that 'EDIT'. RE: Possible Axis change - karma - 07-22-2015 03:12 AM 7 minutes is a very long time, but 1,5 minutes is reasonable. However, if server scripts are updated, would the infos be updated globally (so you need another 1,5 minute to rebuild the full cache) or you managed to update only the differences? And what is the time for axis to rebuild the lists from cache upon startup? You may consider also to let the user choose between the two resources loading modes, the old and the new one. RE: Possible Axis change - Ben - 07-22-2015 07:43 AM I have not looked into updating the diff only yet, but it is something to think about. The cache is an SQLite database, so pulling the info from there on startup will take no time at all. I was kind of hoping to not have the local scripts loading anymore... because I have to be honest here, it's not just an update to the current Axis. It's a complete rebuild. Oops... the word is out... yes, a new Axis... RE: Possible Axis change - darksun84 - 07-22-2015 07:50 AM RE: Possible Axis change - XuN - 07-22-2015 06:21 PM LOL, you know how to create hype! RE: Possible Axis change - karma - 07-23-2015 12:22 AM I hope the final release will come out soon, it would be diabolic to announce such a huge thing long time before its completition lol Speaking about new features, it would be lovely to have a resizable window and to be able to show SA npcs without crashing RE: Possible Axis change - Ben - 07-23-2015 01:20 PM Sorry for the disappointment, but it's not near completion yet. I'm reworking all of it, so it's taking a long time. About the resizable window, it's somewhat a pain to do with all the different tabs and buttons, so this one is probably not gonna happen. As for SA npcs... I was never informed of this. I have already reworked the whole art display , but if there are some specific IDs that are causing issues, it would be nice to know. RE: Possible Axis change - karma - 07-23-2015 05:15 PM Wrote it here time ago: http://forum.spherecommunity.net/Thread-Tool-Axis?page=6 , all infos there. I had to comment all SA npcs in order to avoid Axis crashing. Returning to topic, what about a slightly bigger window then? Since screen resolutions are increased now, having a bigger item/npc/map list would be less painful i think. That's something trivial though, since on 1920x1080 Axis is still usable RE: Possible Axis change - Ben - 07-27-2015 04:00 AM I'll see what I can do about size... but on a good note, I just managed to reduce the transfer time to 6 sec if I build the db on server side and just transfer the db directly. (yes, still over telnet ) Now you have to remember that this is a local connection, so a remote connection might be slightly longer. At this speed, I'm not going to bother with diffs. |