Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Share Worlds (http://www.alice.org/community/forumdisplay.php?f=6)
-   -   Release: Alice Online (http://www.alice.org/community/showthread.php?t=4425)

GameKid 10-11-2012 09:03 PM

[QUOTE=arty-fishL;51264]It's really coming along. Its basically finished, just some top server side code left to do and some final tweaks.

Its so nearly finished that me and drellem are currently making worlds for it.
[/QUOTE] :O!
[QUOTE=arty-fishL;51264]
I think this could turn out really well, but my biggest fear is that people get a bit alienated by the advanced levels of understanding invloved.[/QUOTE]

Is it more advanced than sending strings over a server like I thought it would be?

arty-fishL 10-12-2012 08:09 AM

[QUOTE=GameKid;51268]Is it more advanced than sending strings over a server like I thought it would be?[/QUOTE]OK, well here goes a lengthy description ...

The server application can only do so much, it can't guess how your game is played. For this you need to make a server script that will handle incoming and outgoing communications, to do this you need to know JavaScript.

I have simplified the process as much as possible; the server and client coding handles almost everything it can. I've made a simple [URL="http://artyfl.tk/aodb/resources/server/doc/"]API[/URL] to use in server scripts. This does in fact essentially boil down to "sending strings over a server" (server messages, as I've called them), but in a much cleaner way. There are many advanced features that you don't have to use, but they are there.

I've also added object trackers. They track the position and orientation of an object in one user's world and reflect that onto another object in another connected user's world. So you can have moving players, like players in an FPS etc. You basically just set these up from one world (no server script required) and then from another world you can start using them, the internal code handles everything else.
[URL="http://tny.cz/11d651f5"]
[/URL]Here is an example of a Tic-Tac-Toe game's [URL="http://tny.cz/11d651f5"]server script[/URL].

Here is a much simpler example of [URL="http://tny.cz/f5fffdfe"]server script[/URL] for a world where you can move rabbits about (it uses object trackers).

Look at the video posted above to see the two server scripts in action.

drellem 10-17-2012 11:17 PM

[QUOTE=GameKid;51268]:O!


Is it more advanced than sending strings over a server like I thought it would be?[/QUOTE]

What else is there?

beachbum111111 12-03-2012 12:06 PM

Hey arty are you still working on this? I might have a use for it

CurtisJohn 01-27-2013 08:44 PM

Freezes
 
I'm trying to run the world on a mac, but when I run the world it will say:
World Started.
Connection Established.

But then it will freeze before I can do anything, such as move, and when I say freeze it actually locks up the whole Alice program and I can't close it! haha, but please if you can offer any solution to how I can fix this to be playable, I would really appreciate it because I want to incorporate this into some of my projects. Thanks!

phoenix 09-18-2015 10:32 AM

When I download it gives me a .a2w file? Alice 3.2 runs .a3p files. I can't open the world, even when I change the .a2w to a .a3p. Can anyone help out with this?

MrMoke 09-18-2015 12:08 PM

[QUOTE=phoenix;56777]When I download it gives me a .a2w file? Alice 3.2 runs .a3p files. I can't open the world, even when I change the .a2w to a .a3p. Can anyone help out with this?[/QUOTE]

Alice2 worlds use the .a2w extension. They are not compatible with Alice3.

Dameria 09-18-2015 12:16 PM

It's an Alice 2 file. You have to have Alice 2 downloaded to see it.


All times are GMT -5. The time now is 09:21 PM.

Copyright ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.