Great - thanks Marco for the clarification.
So its for now a minor annoyance having to look up your server IP rather than the hostname when you develop your game.
Something most if not all can (and must ) live with for now.
[.NET] Found issues and fixes
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
ThomasLund wrote:OK - a really annoying one showed up today.
Neither room variables or user variables seem to work!
So while I did fix it in my local devel copy, I just wanted to confirm that none of you have used these and gotten them working, right?
Hi!
I use user variables and they work fine for me. Concerning room variables, I use them only on the server-side, and I did not test them on the client.
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Ahhh - damn. So a small bug has triggered a bigger rewrite in my end. Hehehe. I better roll back to what worked already.
The bugfix is then solely a matter of HandleJoinOK.
The XML node is wrong and doesnt match. Change it from:
to
The bugfix is then solely a matter of HandleJoinOK.
The XML node is wrong and doesnt match. Change it from:
Code: Select all
// Handle Room Variables
if (XmlUtil.GetSingleNode(roomVarsXml, ".") != null)
{
currRoom.ClearVariables();
PopulateVariables(currRoom.GetVariables(), roomVarsXml);
}
to
Code: Select all
// Handle Room Variables
if ( XmlUtil.GetSingleNode(xml, "body/vars") != null )
{
currRoom.ClearVariables();
currRoom.SetVariables(PopulateVariables(currRoom.GetVariables(), XmlUtil.GetSingleNode(xml, "body")));
}
Return to “.Net / Unity3D API”
Who is online
Users browsing this forum: No registered users and 43 guests