![]() |
Questions regarding 0.0.5.1 - Printable Version +- Gothic Online Forums (https://archive.gothic-online.com) +-- Forum: Scripting (English) (https://archive.gothic-online.com/forum-11.html) +--- Forum: Scripting Help (https://archive.gothic-online.com/forum-12.html) +--- Thread: Questions regarding 0.0.5.1 (/thread-1958.html) |
Questions regarding 0.0.5.1 - HammelGammel - 05.01.2017 In the process of updating my server to 0.0.5.1 I came up with a few problems that I can't solve on my own. I'll just post them here in the hopes that somebody has an answer to them ![]() - We weren't able to connect to the server via Tunngle/Hamachi. In Tunngle our connection was good, and connecting to the old dev8-server worked fine, but the new server would just be displayed as offline (via the favourites tab). Since our only way to play currently is via virtual LAN, this is a big deal. Is there something I am missing? - Compared to the last dev-version, the draws have been scaled up significantly, as you can see on the pictures below. Is there a way to scale them back down? ![]() ![]() - There doesn't seem to be a setPlayerInvisible function. Would I achieve the same result by using spawnPlayer and unspawnPlayer? - Is there a way to set a timer with an interval less than 50ms? 50ms seems to be the miminum now, because everything below never calls their function. - Is there currently a way to move/rotate the camera of a player? In dev, there was getCameraVob, is there something similar in the new G2O that I just haven't found yet? - In the new functionlist, there is an "applyPlayerOverlay"-function listed. Calling it either on the client or the server just results in "the index 'applyPlayerOverlay' does not exist". Was it renamed at some point? - It seems that reading files is significantly slower with the new G2O compared to the file loader in dev8. I have a bunch of pretty big lists containing waypoints for my bots that need to be read every time the server starts. In dev8 this was pretty much instant, now it takes around 10-20 seconds though. Commenting out everything, apart from the actual reading of the file doesn't change anything. Code: local file = io.file(fileName, "r+"); The files admittedly have several thousand lines in them, but this wasn't a problem in dev8. Is there a way to improve performance for reading files? Thanks for reading! ![]() RE: Questions regarding 0.0.5.1 - Bimbol - 06.01.2017 Ad 1. I don't have idea why, in this version I'm using my linux server to test with others. Ad 2. I guess this is new system pack feature ![]() Ad 3. Not exactly, but player will be invisible for others and others for him. Ad 4. No. This is timer, not render function ![]() Ad 5. This feature should be avaliable in new version. Ad 6. Well, my bad. Functions are into MP engine, but are not binded. Ad 7. In dev 8 probably u were using Nubzior module, which is much faster, becase is written in native C. Well I guess, I will have to bind file class in multiplayer for better performance. RE: Questions regarding 0.0.5.1 - HammelGammel - 07.01.2017 Thanks for taking the time! ![]() 1. Is there any info I can provide you that could help narrow this one down? My server runs on windows if that's helpful. If they run a server on their machine and connect through the localhost, that works btw, so their installations shouldn't be the cause. 2. Sorry for this one. I honestly wasn't even aware, the systempack is still being worked on and didn't consider it could be the cause. My bad. 3. Would it be possible to get a setPlayerInvisible function in future G2O versions? Being able to easily make players invisible is a great feature G2O had over gmp. 4. I would only be able to use onRender on the clients though, right? Admittedly, I don't really need shorter intervals on the server, so this isn't a big deal. 5. Awesome! 6. No problem. Thanks for looking into it. 7. Thanks again! RE: Questions regarding 0.0.5.1 - Bimbol - 07.01.2017 First of all, you should test pings between you and your assistant. If pings works on hamachi well, then maybe something blocking the windows server like firewall? Check firewall exceptions ![]() Invisible is good feature for admins, spectators etc. But if u want to make player invisible just for action like a change visual, u should use unspawn instead of invisible. RE: Questions regarding 0.0.5.1 - HammelGammel - 07.01.2017 It was indeed the firewall. I feel like an idiot ![]() We could really use invisibility for administration-purposes, where you're still able to see and interact with other players. Virtual worlds btw. would also be useful, if possible RE: Questions regarding 0.0.5.1 - Bimbol - 08.01.2017 Virtual world are already implemented. RE: Questions regarding 0.0.5.1 - HammelGammel - 08.01.2017 How do I use them though? I can't find anything related to them in the functionlist and setPlayerVirtualWorld does not exist. |