Sorry for being so annoying, but I have one more question xD
When I try displaying a dataObject that is a string for example "level":"51" (I am talking about the 51) it won't display it in my text area.
Is this a bug?
Issue with getting data from xtmessage
-
- Posts: 30
- Joined: 25 Aug 2016, 02:52
Re: Issue with getting data from xtmessage
In JSON notation
"level":51 represents a number
"level":"51" represents a string (the characters 5 and 1)
You should be able to trace those values to your console. If the show correctly there then you have to figure out what is wrong with the textfield.
cheers
"level":51 represents a number
"level":"51" represents a string (the characters 5 and 1)
You should be able to trace those values to your console. If the show correctly there then you have to figure out what is wrong with the textfield.
cheers
-
- Posts: 30
- Joined: 25 Aug 2016, 02:52
Re: Issue with getting data from xtmessage
Hmm, yes I see why this happened.
I needed to check when the specific dataObj is received and then send the trace.
Amazing man, thank you again.
I needed to check when the specific dataObj is received and then send the trace.
Amazing man, thank you again.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 73 guests