View Issue Details

IDProjectCategoryView StatusLast Update
0005574Multi Theft Auto : San AndreasScriptingpublic2011-03-28 13:19
ReporterarranTunaAssigned Toccw 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.0.5Fixed in Version1.0.5 
Summary0005574: Useless debug messages
Description

This started happening a lot in 1.0.4, debug messages (especially addEventHandler) were becoming useless, they didn't show what file it came from or what line like it used to in 1.0.3

"WARNING: Bad arguement @ 'addEventHandler' (string-defined function)"

Happens both client side and server side. This also happens for other functions too making literally impossible to find the source without going through every single script file.

Steps To Reproduce

addEventHandler("test", test, test)

TagsNo tags attached.

Activities

lil_Toady

2010-09-19 16:24

administrator   ~~0011985

this means the code has been executed with loadstring function

arranTuna

2010-09-19 16:46

manager   ~~0011986

If you don't belive me run this resource, 1 server, 1 client script. No loadstrings. Just 2 addEventHandlers.

Server: v1.0.4-release-1854
Client: v1.0.4-release-1989.1

I get 2 debug warnings when its started, doesn't say the resource name or the line.

http://tunaftw.com/debugfail.zip

ccw

2010-09-25 06:02

administrator   ~~0011999

Fixed in http://code.google.com/p/mtasa-blue/source/detail?r=2008

Issue History

Date Modified Username Field Change