Hey uhm, I have been attempting to implement this kit into a game of mine and I have some succes but I can't figure out what I am missing... I have the Library added, a login, character selection screen and of course a few scenes to go to. I added all of the same global variables, and have looked over everything making sure I have it all.
Yet I am coming across a problem, after the character selection screen I get the following error, after i close the report it brings me into the first scene and all looks well, until I open a new window and the players do not show up together?:S
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at scripts::ElectrotankUpdateUserVariables/onUserUpdateEvent()[C:\Users\Thomas\stencylworks\preview\scripts\ElectrotankUpdateUserVariables.as:79]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.electrotank.electroserver5.connection::ESEngine/processMessage()[/Users/jason/Projects/Electrotank/ES/client/as3/src/core/com/electrotank/electroserver5/connection/ESEngine.as:1085]
at com.electrotank.electroserver5.connection::ESEngine/checkMessageOrder()[/Users/jason/Projects/Electrotank/ES/client/as3/src/core/com/electrotank/electroserver5/connection/ESEngine.as:1024]
at com.electrotank.electroserver5.connection::ESEngine/onDataReceived()[/Users/jason/Projects/Electrotank/ES/client/as3/src/core/com/electrotank/electroserver5/connection/ESEngine.as:997]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.electrotank.electroserver5.connection::SocketConnection/readData()[/Users/jason/Projects/Electrotank/ES/client/as3/src/core/com/electrotank/electroserver5/connection/SocketConnection.as:186]
at com.electrotank.electroserver5.connection::SocketConnection/onSocketData()[/Users/jason/Projects/Electrotank/ES/client/as3/src/core/com/electrotank/electroserver5/connection/SocketConnection.as:140]
Is there any chance you can help me out and let me know what I could be doing wrong? Thanks.
P.S I think this was a brilliant idea especially since I lack in multiplayer and network development I needed something like this
Edit: I also realised something else just now, on the character selection screen when you click on the character you want to use (only 1 there) it does not change colour (tint) it just stays as it is.