PDA

View Full Version : 2.4.0 and Windows 7



MrJamela
June 23rd, 2009, 03:32
I just downloaded the update and I'm getting an error message when it goes to locate my character..... I get the same message when I log in with a local character and then click on the characters pane.

Everyone else seems to be fine in the same campaign.....just my character running under Windows 7.

Anyone else find this issue?

We also had a crap-ton of connection and other issues.

This thing is broke to heck and back....totally borked for me.

Jaime

MrJamela
June 23rd, 2009, 03:58
Ok.....same issue on my XP box....

No server side characters are showing up for me and when I click on the characters tab I get the following error:

Script Error: [string"scripts/identityselection_list.lua"]40: attempt to index local 'labelnode' (a nil value)

This is a drag....

Valarian
June 23rd, 2009, 08:40
Do you get the same error when you create a new campaign?

Tenian
June 23rd, 2009, 11:01
It sounds a lot like the local character problem I posted in the 2.4 bug list thread:

https://www.fantasygrounds.com/forums/showpost.php?p=73685&postcount=59

Oberoten
June 23rd, 2009, 11:27
In identityselection_list.lua



function onInit()
activeidentities = User.getAllActiveIdentities();

getWindows()[1].close();
createWindowWithClass("identityselection_newentry");

--localIdentities = User.getLocalIdentities();
--for n, v in ipairs(localIdentities) do
-- local localnode = v.databasenode;
-- local labelnode = v.databasenode.createChild("name", "string");
-- addIdentity(v.id, labelnode.getValue(), localnode);
-- end

User.getRemoteIdentities("charsheet", "name", addIdentity);
end


Will make sure to get rid of the labelnode problem at the least.

- Obe

Tenian
June 23rd, 2009, 12:09
Actually this will fix it as well and it should keep functionality for all the cases where localnode ends up not being nil:



function onInit()
activeidentities = User.getAllActiveIdentities();

getWindows()[1].close();
createWindowWithClass("identityselection_newentry");

localIdentities = User.getLocalIdentities();
for n, v in ipairs(localIdentities) do
local localnode = v.databasenode;
if localnode then
local labelnode = v.databasenode.createChild("name", "string");
addIdentity(v.id, labelnode.getValue(), localnode);
end
end

User.getRemoteIdentities("charsheet", "name", addIdentity);
end

Dupre
June 23rd, 2009, 13:08
Please create a new thread for 2.4.1 if the problems persist.