Posts: 280
Threads: 42
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Sep 2012
Reputation:
0
Hi, yesterday i "reinstall" reenable or how u prefer call it, the Lacarette system, buts when i try do a roll i got a error: "Insufficient token".
Tracing the error I see that it comes from here:
But I don't know exactly what is happening, I have tokens in my inventory... in the absence of looking more, I open this post, maybe someone will answer me faster, by the way I am using .lod from gamigo us, and in database I have only altered the row related to Course A
Posts: 114
Threads: 3
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Oct 2014
Reputation:
0
well for some reason the UI does not think that you have the token from what i can see. "Current Token 0" and it requires 2. I would imagine that you actually have the needed token, correct?
If yes, then I would look at the loading function to figure out why it's not counting up. Since this only seems to be a client side error it might be fixable relatively easy when you find out why it does not display the correct number of tokens or gets the correct count.
What's the result of GetCoinCount()/GetCoinItemDataIndex? Does it check for the correct token in the first place?
Posts: 280
Threads: 42
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Sep 2012
Reputation:
0
38 minutes ago, Veni said:
well for some reason the UI does not think that you have the token from what i can see. "Current Token 0" and it requires 2. I would imagine that you actually have the needed token, correct?
If yes, then I would look at the loading function to figure out why it's not counting up. Since this only seems to be a client side error it might be fixable relatively easy when you find out why it does not display the correct number of tokens or gets the correct count.
What's the result of GetCoinCount()/GetCoinItemDataIndex? Does it check for the correct token in the first place?
It seems that the system does not recognize the items in my inventory (id 5123). I'm using nov, maybe the function that checks the inventory items changes from june to nov? I have to investigate a little more...
Posts: 280
Threads: 42
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Sep 2012
Reputation:
0
Possibly forget to add the calls to "SetCoinData" func...
Posts: 280
Threads: 42
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Sep 2012
Reputation:
0
1 hour ago, nicolasg said:
Possibly forget to add the calls to "SetCoinData" func...
Solved by adding Calls to
SetCoinData();
In functions to update inventory items.
#Solved