 |
05-19-2012, 09:09 AM
|
|
The Indomitable
Forum posts: 13
File comments: 13
Uploads: 2
|
Sounds great, only ideas i have at the mo require the Turbine API to update so we can find out which keeps are taken...  but until then, consider me someone who loves this plugin!
|
|
|
05-19-2012, 03:49 AM
|
|
The Wary
Forum posts: 1
File comments: 46
Uploads: 2
|
The reason for your previous problem was a bug in the Turbine API, so the player's wallet was not completely loaded when I initialized the commendations. This should be fixed now.
As described in the text, I am aware of another bug which makes the commendations stay at zero. I don't know the reason for that issue yet and since now was only reported once. Hopefully I can figure out what is the problem here.
A resizeable bar will be a feature in the next version which I am planning to release next week.
If you have any further requests or bugs, please don't hesitate to contact me.
Thanks for the feeback!
Glubby
|
|
|
05-19-2012, 03:20 AM
|
|
The Indomitable
Forum posts: 13
File comments: 13
Uploads: 2
|
yeh, what was heppening was it was trying to read a value that haddn't been set so i had a look and moved those 2 lines and it worked for me,
other info was that i had just updated from the previous version and other things may have glitched, but will try the newest version later as i do kinda like this idea, i used the version before the glitch in this video when we were keep taking:
http://www.youtube.com/watch?v=TujVRNSfGyw
I cant wait for future updates to this...
thanks
queekusme
ps. would it be at all possible to make the bar resizeable as it is a bit long for my screen,
and yes, reading the bottom of the article, the turbine api needs updating for the moors with infamy/renown, rank, and what keeps are on whose side.
thanks again,
queeksume
Last edited by Queekusme : 05-19-2012 at 03:22 AM.
|
|
|
05-18-2012, 03:47 PM
|
|
The Wary
Forum posts: 1
File comments: 46
Uploads: 2
|
Hi Queekusme, thanks for the feedback.
Unfortunately I'm not able to reproduce the issue.
Could you (or anyone else who got the same problem) please tell me if you had a previous version of the plugin running before and what the error message was like so I can fix this for everyone else?
Thank you!
With the two lines you removed the plugin wont update your commendations correctly if you buy anything for them.
EDIT: I think i found and solved the problem
Last edited by Glubby : 05-18-2012 at 06:35 PM.
|
|
|
05-18-2012, 11:30 AM
|
|
The Indomitable
Forum posts: 13
File comments: 13
Uploads: 2
|
commendatiuon glitch
i opened up the updater.lua and changed it to this and it worked, before it gave me ??? error messages, but now it works:
if (oldsecond ~= currentsecond) then
if (wallet_loaded) then
--MOVED STUFF FROM HERE
else
local player = Turbine.Gameplay.LocalPlayer.GetInstance();
local player_wallet = player:GetWallet();
local player_wallet_size = player_wallet:GetSize();
if player_wallet_size == 0 then return end --Remove when Wallet info are available before plugin is loaded
for i = 1, player_wallet_size do
local walletitem = player_wallet:GetItem(i);
local walletitem_name = player_wallet:GetItem(i):GetName();
if walletitem_name == L.Strings_Commendations then
commendations_in_wallet = walletitem;
data.numbers.commendations = commendations_in_wallet:GetQuantity();
break
end
end
overviewWindow:UpdateOverview();
wallet_loaded = true;
end
data.numbers.commendations = commendations_in_wallet:GetQuantity(); --TO HERE!!!!!
overviewWindow:UpdateOverview();
oldsecond = currentsecond;
end
|
|
|
 |
|
All times are GMT -5. The time now is 08:34 PM.
|
 |