Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
First of all, let me point out, that the only lobby that has issues with this is ZKLobby, SL and the rest work fine.
However, the reason for this thread is because it seems that lobby devs are not being told what correct calls they need to use in order to get information out of mapinfo.lua and the mapoptions stuff, etc.
Could one of the engine devs kinda explain it so everyone can understand and how to fix the issue so that if any of us run into this again we can point towards this thread?
Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
Well it's basically the same issue that I posed about in general discussion ( viewtopic.php?f=1&t=27783 ), however, until recently NotaLobby was plagued by the same issue (which has since been resolved).
All I know is, this is very not awesome, and it appears that lobbydevs aren't getting the full scoop as far as what they should be using to get map info out of the archive. In particular, it seems to happen the most with maps using mapinfo.lua as opposed to SMD.
This thread is an attempt to have a place where they might be able to find by searching or that others of us can refer to for them to get proper answers.
The reason is that all blueprint code assumes the "Spring" table and its synced access functions like GetMapOptions always exist / are valid, which they don't when unitsync executes it. You want the
Code:
if (Spring.GetMapOptions ~= nil and Spring.GetMapOptions().key == "value")
pattern.
Last edited by Kloot on 09 Mar 2012, 00:51, edited 1 time in total.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum