View Issue Details

IDProjectCategoryView StatusLast Update
0007399Multi Theft Auto : San AndreasServerpublic2012-12-21 10:38
ReporterCadu12Assigned Toccw 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.3.2Fixed in Version1.3.2 
Summary0007399: setRuleValue crash
Description

I'm still getting if i have used setRuleValue in my scripts, there is crash dump.

setRuleValue( "author", "Cadu12" )
setRuleValue( "homepage", "noyet" )
setRuleValue( "forum", "noyet" )
setRuleValue( "version", getVersion( ) )

TagsNo tags attached.

Activities

W

2012-10-19 11:02

viewer   ~~0017799

The crash occurs if you pass something other than string as a second argument to setRuleValue.

This will crash:

setRuleValue("foo",{})

arranTuna

2012-10-19 11:17

manager   ~~0017800

Huh, does that function even do anything?

W

2012-10-19 11:23

viewer   ~~0017801

http://game-monitor.com/mta_GameServer/94.23.153.11:22003/CIT_CnRMWSome_RP__cit2.net.html#variables

Cadu12

2012-10-19 15:33

viewer   ~~0017802

It crashs if i use setRuleValue

arranTuna

2012-10-19 17:34

manager   ~~0017807

MTA server browser doesn't use it so I don't see why you'd need to use it.

Cadu12

2012-10-22 19:16

viewer   ~~0017815

I do use. If player is banned, and can't remember site, how will get know site?
No, im not going add site at server name becuase it looks ulgy.

setRuleValue( "homepage", "site" )
setRuleValue( "forum", "forum" )

arranTuna

2012-10-22 20:03

manager   ~~0017816

MTA server browser doesn't use it though, almost nobody would check game-monitor.com to see if it has any rule values set.

ccw

2012-12-18 22:47

administrator   ~~0017911

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

Issue History

Date Modified Username Field Change