View Issue Details

IDProjectCategoryView StatusLast Update
0004307Multi Theft Auto : San AndreasServerpublic2009-05-23 22:14
ReportermabakoAssigned Tomabako 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version1.0 
Summary0004307: ase functions loaded after onResourceStart in startup-scripts happened
Description

Thus, no ASE function works in onResourceStart. I've put the code snippet below with startup="1" in the server configuration, the result was

nil
nil
false

and obviously, the client would show neither the Gametype nor the Mapname in the server browser.

Additional Information

addEventHandler( 'onResourceStart', getResourceRootElement( getThisResource( ) ),
function( )
setGameType( "Gametype" )
setMapName( "Mapname" )
setRuleValue( 'rule1', 'Test' )
print( getGameType( ) )
print( getMapName( ) )
print( getRuleValue( 'rule1' ) )
end
)

TagsNo tags attached.

Relationships

related to 0004355 resolvedmabako Source patches Patch for 0004307 (ASE functions not working on server start) 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change