Search found 57 matches

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

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 ...
by poppop
22 May 2008, 14:24
Forum: SmartFoxServer 1.x Discussions and Help
Topic: is onUserVariablesUpdate 100% guaranteed?
Replies: 3
Views: 7645

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 ...
by poppop
21 May 2008, 21:15
Forum: Server Side Extension Development
Topic: Sending Array to client... (few more questions)
Replies: 1
Views: 4916

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(response, -1 ...
by poppop
20 May 2008, 12:56
Forum: The Bug Trap
Topic: roomlist undefined issue, possibly not a bug?
Replies: 5
Views: 205

when I set the value for the array at index 10 I automatically "resize" it to an array of 10 elements.


This is actually a question i was going to ask later -- but this post is already on the issue, so i will ask here. :)


Say i do this:

list[0] = "Hello"
list[10000] = "World!"


Making an ...
by poppop
19 May 2008, 20:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Undefined items server side??
Replies: 0
Views: 4143

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, fromRoom ...
by poppop
19 May 2008, 13:30
Forum: SmartFoxServer 1.x Discussions and Help
Topic: {{ NEW }} Clustering SmartFoxServer
Replies: 7
Views: 12078

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: 9654

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: 9654

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 can think of doing ...
by poppop
17 May 2008, 22:14
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Checking every user in area...
Replies: 5
Views: 9654

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: 9654

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 see ...
by poppop
02 May 2008, 19:24
Forum: SmartFoxServer 1.x Discussions and Help
Topic: A MASSIVE world, with no loading???
Replies: 4
Views: 9071

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 -- that ...
by poppop
01 May 2008, 09:01
Forum: SmartFoxServer 1.x Discussions and Help
Topic: A MASSIVE world, with no loading???
Replies: 4
Views: 9071

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 ...
by poppop
11 Feb 2008, 20:28
Forum: Server Side Extension Development
Topic: php sendandload only works locally???
Replies: 2
Views: 6310

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: 6310

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 connect ...
by poppop
02 Feb 2008, 23:43
Forum: Server Side Extension Development
Topic: PHP Update not working with smartfox???
Replies: 2
Views: 7038

-- 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 ...