Fixed it.
I was looking through the user.as script, looked as if a cowboy builder did it, none of the functions were closed, started but not finished. Corrected the code manually, back up now
Search found 11 matches
- 29 Sep 2012, 10:18
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: User class error
- Replies: 2
- Views: 11361
- 28 Sep 2012, 12:36
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: User class error
- Replies: 2
- Views: 11361
User class error
Hi, I have imported the flash API to CS5 as instructed by the documentation, but I am getting this error when ever I try and compile some code, whether it be a real simple code based on the gotoAndPlay() website tutorials or the examples: C:\Program Files (x86)\SmartFoxServerPRO_1.6.6\Flash API\Acti...
- 05 Jun 2012, 14:32
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: avatarChat seems to "timeout"
- Replies: 2
- Views: 4893
Re: avatarChat seems to "timeout"
Thanks dude, you're the best!
- 04 Jun 2012, 10:50
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: avatarChat seems to "timeout"
- Replies: 2
- Views: 4893
avatarChat seems to "timeout"
I'm trying to make a basic game based on avatarChat to learn a bit more about development, and I'm stuck on a problem. Ever since I installed smartfoxserver, avatarChat seems to time out after a while. On the login screen, if you don't login within a certain amount of time, it won't let you login, a...
- 03 Jun 2012, 16:00
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Walls
- Replies: 10
- Views: 12264
Re: Walls
on(release) = function(){ _root.myAvatar._x = 50; _root.myAvatar._y = 50; _root.smartfox.setUserVariables({px:_root.myAvatar._x, py:_root.myAvatar._y, init:false}); } Important note: I don't work with AS2.0 for some years, so I'm not sure whether that code is right or not. Please check the examples...
- 16 May 2012, 17:17
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Walls
- Replies: 10
- Views: 12264
Re: Walls
You just need to change the position of the avatar and then update the user variables... Something like: myAvatar._x = myXValue; myAvatar._y = myYValue; smartfox.setUserVariables({px:myAvatar._x, py:myAvatar._y, init:false}); Errr, I can't seem to do that :P Could you please put that in to a button...
- 01 Apr 2012, 17:51
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Walls
- Replies: 10
- Views: 12264
Re: Walls
Okay, I fixed the walls, I did it reverse, so the sky is not walkable and set it so it doesn't use the hand cursor. I still don't understand how I'd go around changing the location when I enter a room. What actionscript would I use on the button.
- 01 Apr 2012, 08:10
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Walls
- Replies: 10
- Views: 12264
Re: Walls
Okay. Thanks for the info. I haven't managed to layer things properly to make the ground work, but I'm sure I'll find a way. So as for changing the variables and moving the avatarmc, the variable part is easy, but I don't quite understand how to move the character on the screen. If I just change the...
- 27 Mar 2012, 18:42
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Walls
- Replies: 10
- Views: 12264
Re: Walls
Thanks. My other question is, my game is based upon avatarChat, is there a way I can set where people are standing everytime they press a button, so for example, I have a button for every door, when somebody clicks that door, it changes room and frame in the chatbox movieclip, can I change the users...
- 25 Mar 2012, 19:15
- Forum: Job offers and requests
- Topic: Penguin Topical Island v3.0 Flash Verson
- Replies: 6
- Views: 9874
Re: Penguin Topical Island v3.0 Flash Verson
And to think you were starting tutorials on youtube teaching people how to develop a game...
- 25 Mar 2012, 18:57
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Walls
- Replies: 10
- Views: 12264
Walls
I'm making a multiplayer game based on avatarChat.fla and I have a problem. I need to be able to stop users from walking on walls and the chat bar etc, but I can't use this method: http://bit.ly/sfsnowalkonfalls because the movie clip is in the way of the speech bubbles, can I re arrange this, or is...