Bad message printing (Bug in binary)?
Hi, can anyone explain me, how is it possible?
I have this code PHP Code:
Some console output: Code:
Copy this text from console, and paste to configuration file of rhis map!I thinkt it is bug. Waiting for help |
Re: Bad message printing (Bug in binary)?
I don't understand what the problem is. Is it that it is printing it twice?
Either way you're missing one "%0.1f". |
Re: Bad message printing (Bug in binary)?
Even when I added this missing %0.1f (THIS IS ANOTHER BUG: It should report me "string formated incorrectly, but it doesnt)
it should show these same values. One is print_console, and second is print_chat, where both are showing text from variable "szFormat". So it should show two times same values. One as Print_console, and second as print_chat. But this is showing different values Code:
I'm using Last 1.8.3 dev snapshot |
Re: Bad message printing (Bug in binary)?
I think the string format error is when you have too many placeholders, not enough parameters.
I understand the problem now. I think what you are seeing is a delayed effect. The message in chat will only appear once it is removed from the screen. That happens (in this case) after you have already printed the next message which pushes the previously into the "log". I'm just guessing though. |
Re: Bad message printing (Bug in binary)?
Yep, i know this, that message from chat appears in console after a while. But this doesn't explain, how we see different float numbers. Both prints are initialized by one value. So how do we see different?
|
Re: Bad message printing (Bug in binary)?
Quote:
@grs4 you see previous float numbers (because of this delay), not just different or random. Just try to print both messages to console or to chat. You can also try to look at console immediately after first printing. |
| All times are GMT -4. The time now is 21:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.