The Daily Click ::. Forums ::. Klik Coding Help ::. 2 Frame Mooclick connection thingie, help...
 

Post Reply  Post Oekaki 
 

Posted By Message

Aptennap



Registered
  23/04/2004
Points
  916
29th October, 2006 at 08:57:15 -

How can i create that in the first frame i connected and sign in and in the next frame i'm still connected and signed in, just like you go in a mmorpg from one level to another and you don't have to connect again?

 
Oh sweet mary.

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
29th October, 2006 at 08:58:37 -

As far as I am aware, you can't stay connected over frames.
So on the second frame you'll have to connect again.

Just store the IP address in a global string and then do a Start of frame --> connect to IP on port 1203
.etc. Or you could use a hidden application to connect you to the server, and then your game communicates with the hidden application using GFO. That's something that has just come into my head and something I've never ever tried before.

Image Edited by the Author.

 
This is a signature. Have this one on me.

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
29th October, 2006 at 09:03:44 -

That is almost word-for-word what I was gunna say

edit: is this part of your best game ever techno?

Image Edited by the Author.

 
http://www.SilverNova.co.uk


Aptennap



Registered
  23/04/2004
Points
  916
29th October, 2006 at 09:18:49 -

Oke, thanks. And Tim you'll never know!

 
Oh sweet mary.

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
29th October, 2006 at 09:25:26 -

Lol aww

 
http://www.SilverNova.co.uk


Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
29th October, 2006 at 16:11:27 -

The only reason non-mmf games can stay connection while traveling to various 'levels' is because they aren't really leaving the "frame" if you will, because they don't have a frame. They just dump everything, and re-load everything for the next level. If they don't want to disconnect, they just keep the connection.

If you want to do this, you could 'simulate' this by simply doing just that, create the level with a custom built editor or something, then wipe the level and re-generate it for the next level.

Or you could do what Flava suggested, but here's a little tip you could do with that.

If you wanted to make it so that players didn't see you disconnect and re-connect every single time you traveled levels. Right before you travel a level, send a message out to everyone saying something like "lvltravel" and when they receive it, they will ignore you ever signing off, and ignore you signing back on. Once you sign back on, they will stop ignoring it, so that if you sign off again, then they'll see it.

Hope this helps.

 
http://www.facebook.com/truediamondgame

Aptennap



Registered
  23/04/2004
Points
  916
29th October, 2006 at 16:12:51 -

Thanks Brandon!

 
Oh sweet mary.

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
29th October, 2006 at 16:46:07 -

Subapp.

 
n/a

Aptennap



Registered
  23/04/2004
Points
  916
30th October, 2006 at 01:09:30 -

Interesting and what does this 'sub-app' do? I'm actually planning to use sub-apps for the invetory, stats, chat etc of the player.

Image Edited by the Author.

 
Oh sweet mary.

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
30th October, 2006 at 01:15:56 -

Actually yeh completely forgot about the sub-app.
You can use a sub-app right in the middle of your application which will display all the levels and everything, and then your main-app will be the one that connects to the server and it will stay connected (because you won't need to change the frame of the main app). You'll still need to use the global function object to send stuff to your subapp though.

 
This is a signature. Have this one on me.

Aptennap



Registered
  23/04/2004
Points
  916
30th October, 2006 at 11:11:49 -

I don't really understand about the sub-app. Can you explain me more?

 
Oh sweet mary.

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
30th October, 2006 at 13:13:22 -

Just try the subapp extension that's in the list by default.

 
Old member (~2004-2007).

Aptennap



Registered
  23/04/2004
Points
  916
30th October, 2006 at 13:27:54 -

Yes but how can i use it to make that 2 frame connection thing?

 
Oh sweet mary.

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
30th October, 2006 at 13:30:21 -

Try the extension to see what it does, then check Flava's reply?

 
Old member (~2004-2007).

Aptennap



Registered
  23/04/2004
Points
  916
30th October, 2006 at 15:35:17 -

Oke, Oke

 
Oh sweet mary.
   

Post Reply



 



Advertisement

Worth A Click