Search found 56 matches

by poppop
23 May 2008, 16:55
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Avatar chat questions...
Replies: 1
Views: 4399

Avatar chat questions...

Hi, I've got a few questions about avatar chat. 1. When somone enters the room, and another person who is already in the room is moving, the new player sees that player as already at the end position. Is there anything that can be done about this? or what would you do to stop this problem? I know it...
by poppop
22 May 2008, 14:24
Forum: SmartFoxServer 1.x Discussions and Help
Topic: is onUserVariablesUpdate 100% guaranteed?
Replies: 3
Views: 6771

is onUserVariablesUpdate 100% guaranteed?

Hi, Im just wanting to check... If i use onUserVariablesUpdate to recive x and y positions of other users in the room. -- let's be thinking in the future, say there are 3000 people in the room, and they are walking about using the onUserVariablesUpdate x and y Are all users in the room 100% going to...
by poppop
21 May 2008, 21:15
Forum: Server Side Extension Development
Topic: Sending Array to client... (few more questions)
Replies: 1
Views: 4289

Sending Array to client... (few more questions)

Hi again, Having a problem. I would like to send an array of user objects to the client: (server side) var response = {} response._cmd = "startup" response.values = [] response.x = uVars.myX response.y = uVars.myY response.Thezones = allZones[45][0] _server.sendResponse(respo...
by poppop
19 May 2008, 20:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Undefined items server side??
Replies: 0
Views: 3683

Undefined items server side??

Hi again, I'm trying to use an array and objects on the server side, but it dosnt like it when somthing is undefined. I have this: var allZones = null var userLists = null function init() { allZones = new Array; userLists = new Array; } function handleRequest(cmd, params, user,...
by poppop
19 May 2008, 13:30
Forum: SmartFoxServer 1.x Discussions and Help
Topic: {{ NEW }} Clustering SmartFoxServer
Replies: 7
Views: 10307

Looks great Lapo!

I'm reading it now -- i just hope one day when our game gets big (and finished lol) - we will need it :lol:
by poppop
19 May 2008, 09:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Checking every user in area...
Replies: 5
Views: 8360

Thanks again for the help.

I think i get it now :lol:


Cheers.


-- but i still cannot get it to work. I've asked in another thread for help.

Regards,
by poppop
18 May 2008, 16:53
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Checking every user in area...
Replies: 5
Views: 8360

Right, i've had a think, and i dont really know how this could work :( In my "demo" / "test", there are 21 zones. -- but this is very small compared to how i see the final game. I dont think it would work having 21 arrays like this: Array1, Array2, Array3, etc So the only way i c...
by poppop
17 May 2008, 22:14
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Checking every user in area...
Replies: 5
Views: 8360

that seems like a really good idea BigFIsh, it's a bit late now, but i'm going to give this a look in the morning and see how i can use it.

Cheers :lol:
by poppop
17 May 2008, 18:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Checking every user in area...
Replies: 5
Views: 8360

Checking every user in area...

Hi again, I'm trying to work out the best way to do my game. If i have one room with all users in. ALL users --> so hopefully 1000's one day ;) Everytime someone moves, they send their X and Y position to the server. Is it then feasible to loop through every single users "area" variable to...
by poppop
02 May 2008, 19:24
Forum: SmartFoxServer 1.x Discussions and Help
Topic: A MASSIVE world, with no loading???
Replies: 4
Views: 7926

Hi guys, What i mean, could better be shown in a diagram? http://img133.imageshack.us/img133/9307/worldjf7.jpg Basiclly, the red squares are the world, the green blocks are buildings in the world. Blue "peeps" are other human players The green guy has a larger green square around him -- th...
by poppop
01 May 2008, 09:01
Forum: SmartFoxServer 1.x Discussions and Help
Topic: A MASSIVE world, with no loading???
Replies: 4
Views: 7926

A MASSIVE world, with no loading???

Hi, Hope everyone here is alright, our smartfox project got put on hold :-( And now it looks like it will be a long time before it gets started again. We learnt so much about smartfox, we have decided to try and do our own game. Quick question then... Is there anywhere to read about how mmo games ca...
by poppop
11 Feb 2008, 20:28
Forum: Server Side Extension Development
Topic: php sendandload only works locally???
Replies: 2
Views: 5581

Thanks for the link lapo, it's a 51 page doc, but i had a quick scan. To get it easier.... Does it basiclly mean that sendandload has to be on the same server as the php page ;) :?: :roll: with a relative path instead of absolute. Thanks again for your help mate, its always great :D
by poppop
11 Feb 2008, 13:41
Forum: Server Side Extension Development
Topic: php sendandload only works locally???
Replies: 2
Views: 5581

php sendandload only works locally???

Hi, I have been running our app on my desktop, it uses sendandload("ww.site.com/page.php") to get login details This works fine locally -- when just running it in the flash developer. When i put the swf into a local host folder, and access it through the url IP -- the app will no longer co...
by poppop
02 Feb 2008, 23:43
Forum: Server Side Extension Development
Topic: PHP Update not working with smartfox???
Replies: 2
Views: 6138

-- UPDATE: Right, it seems that the UPDATE statment works, when the server side AS file, dosnt need to return anything to the client. I dont understand this, as the PHP file has nothing to do with the flash part once it has been sent the variables with sendAndLoad How would the PHP file know?? So if...
by poppop
02 Feb 2008, 22:43
Forum: Server Side Extension Development
Topic: PHP Update not working with smartfox???
Replies: 2
Views: 6138

PHP Update not working with smartfox???

Hi Lapo, I seem to be having a strange problem. I'm using Smartfox server side file to post a variable to a PHP page. Now, the SELECT statments work fine. -- It reads from the database, and posts it back to the client side app. BUT an UPDATE statment will not work. My code is a standard MYSQL UPDATE...

Go to advanced search