View Issue Details

IDProjectCategoryView StatusLast Update
0005585Multi Theft Auto : San AndreasClientpublic2011-07-31 15:19
ReporterrafalhAssigned Toccw 
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
PlatformOSWindowsOS VersionXP SP3
Product Version 
Target Version1.1Fixed in Version1.1 
Summary0005585: getChatboxLayout().chat_scale returns invalid values
Description

If chatbox scale is floating point number (for example 1.1, 1.0) getChatboxLayout().chat_scale returns table with values like 2356112

Steps To Reproduce

Set chatbox scale in settings to 1.1 x 1.1
Run this client-side script:
outputChatBox ( getChatboxLayout().chat_scale[1].." "..getChatboxLayout().chat_scale[2] )

TagsNo tags attached.

Activities

rafalh

2010-09-30 20:06

viewer   ~~0012020

Last edited: 2010-10-03 10:27

Patch fixing the bug:

http://mta.pastebin.com/3dwjSRnW

ccw

2011-06-28 21:29

administrator   ~~0013832

The patch contains an unknown file 'CLuaFunctionDefs.GUI.cpp.old'
Also, the patch needs redoing anyway, as the source has probably changed in that area.

Jockie

2011-07-09 01:42

viewer   ~~0013934

The X value always returns 1 and messes up the Y float when it's a float somehow.

Picard

2011-07-31 15:19

updater   ~~0014070

Issue automatically marked as fixed by mantisbot ( Fixed in http://code.google.com/p/mtasa-blue/source/detail?r=2912 )

Issue History

Date Modified Username Field Change