Thursday, 08 January 2009
 
  Home arrow Forum  
Main Menu
Home
News
Forum
Documentation
Download
Links
Administrator
Login Form
Welcome, Guest. Please login or register.
January 08, 2009, 10:29:30 AM
Username: Password:
Login with username, password and session length

Forgot your password?
Can the WiFi be used with DS LUA?
DSLua Community
Welcome, Guest. Please login or register.
January 08, 2009, 10:29:30 AM
1724 Posts in 316 Topics by 10272 Members
Latest Member: KingXXX
DSLua Community  |  General DS Programming Chats  |  Code Hashing  |  Can the WiFi be used with DS LUA? « previous next »
Pages: [1]
Author Topic: Can the WiFi be used with DS LUA?  (Read 1293 times)
angor
Waxing Crescent
**
Posts: 55


WWW
« on: April 26, 2006, 05:49:54 PM »

As a natural expansion of the Snowball game i am programing come the possibility of massive multiplayer via the DS WiFi connectivity, specially after the release of the WiFi lib (http://blog.akkit.org/2006/04/24/at-long-last-the-wifi-lib-release) two days ago

Question is, can DS LUA use the WiFi now? Should that not be the case, is it planned to integrate it somewhere in the next future?

Angor
Logged
ikarius
New Moon
*
Posts: 7


« Reply #1 on: April 26, 2006, 05:55:06 PM »

I am quite new to the DS Lua, but I do know for a fact WiFi is not yet integrated. I know waruwaru plans to make it in the future.
Logged
waruwaru
Administrator
Waxing Crescent
*****
Posts: 94


« Reply #2 on: April 26, 2006, 07:01:19 PM »

Yep, Ikarius is correct.  Wifi is something that I am looking at right now too (lots of fun stuff).  So, hopefully it will be in version 0.5 or 0.6.  The problem I have now is that it's hard to test your program without another DS, since none of the emulator has wifi support yet...

While we are on the topic.  Which way do you guys prefer:
a) a simplified list of functions like PSP's LuaPlayer (which is TCP/IP only)
b) or a more complicated list of functions that allows additional flexibility (TCP/IP + UDP)
c) both...   Tongue

Thanks,
Waruwaru
Logged
ikarius
New Moon
*
Posts: 7


« Reply #3 on: April 26, 2006, 10:04:05 PM »

Here's my suggestion for you...

Start by going TCP/IP like with the PSP for now. UDP is too much complicated, you'll get your hair out before being done with it, believe me. Start simple, TCP/IP, even slow, can still do a lot of things and deal a lot of packet business. While UDP is faster, it is also harder for you to integrate and for people using DSLua to properly use it. I say start with TCP/IP for now, then you should work a little bit more on more features such as Music and System functions and come back to the wifi with UDP as you go.

But then, that is only my suggestion, you are not forced to follow it !
Logged
waruwaru
Administrator
Waxing Crescent
*****
Posts: 94


« Reply #4 on: April 26, 2006, 11:36:12 PM »

I say start with TCP/IP for now, then you should work a little bit more on more features such as Music and System functions and come back to the wifi with UDP as you go.

I like your plan.  That sounds like a good path for DSLua. Smiley

Thanks,
Waruwaru
Logged
angor
Waxing Crescent
**
Posts: 55


WWW
« Reply #5 on: April 27, 2006, 02:36:20 AM »

I also will be more than happy with a basic TCP/IP connectivity: just a way to interchange packets between two consoles (DS to DS or given the fact we use LUA as language, also DS to PSP). Imagine multiplayer in a game no matter which console you use!

Angor
Logged
Pages: [1]
« previous next »
    Jump to:  



    (C) 2009 DSLua

    DSLua - Best scripting language for Nintendo DS home-brew!