I got netplay 2.0 working but when i edit something (like adding an event or somehting) i get this error:
LINE 1211 in Script Editor [Network Libary]
Line 1209 till 1216 in Script Editor [Network Libary]
Can anyone help me?
Code:
Script 'Network Libary' line 1211: NoMethodError occured.
undefined method `move' for nil:NilClass
LINE 1211 in Script Editor [Network Libary]
Code:
$game_map.events[$1.to_i].moveto($2.to_i,$3.to_i)
Line 1209 till 1216 in Script Editor [Network Libary]
Code:
case data
when /start id=(.*) x=(.*) y=(.*)/
$game_map.events[$1.to_i].moveto($2.to_i,$3.to_i)
when /id=(.*) x=(.*) y=(.*) d=(.*) t=(.*)/
return if $game_map.events[$1.to_i]==nil
event = $game_map.events[$1.to_i]
event.refresh_global($2.to_i,$3.to_i,$4.to_i,$5.to_i)
end
Can anyone help me?