Jump to content

bafio

Members+
  • Posts

    78
  • Joined

  • Last visited

Posts posted by bafio

  1. like myself :)

     

    does the release on the blog page work?

    if yes, why cant i login? my router says: not connected to Nintendo DS. uhm not compatible yet with wifi?

     

    I really doubt it's possible to conenct to MSN without TCP, and TCP is still not there as far as I know...

    By the way, it would be really nice to integrate the with drawing functionality :lol:

     

    Bafio

  2. Hi,

     

    I have posted the a new, this time big update to the chat program:

     

    http://bafio.drunkencoders.com/

     

    Version 0.9

    * New default skin.

    * New keyboard with support for all the keys, shift and caps.

    * Multiple messages view (press X to change from 1 message to 4 messages view)

    * Menus (back to bootloader, turn off the ds...)

    * Settings (change nickname)

    * Changable font for the drawings

    * Changable skins (simple JPG images, located in the /skins folder)

    TODO:

    ** fix some bugs still present in the server

    ** Update to the new Wifi library (when out). That will add support for WEP, etc.

    * Saving and loading messages from the CF

    * Save settings on server and/or on the CF

    * Possibly colors and TCP version... not in the near future though

     

     

    Cheers

     

    Bafio

  3. ahh thx everything started fine, but i cant connect to my host.
    530 Authentication failed, sorry

     

    530 You aren't logged in

     

    Connected to ftp.xyz.de.

    530 You aren't logged in

    null

    FTP server refused connection.

    i entered this:

    java -jar chatserver.jar -ftpuser abc@xyz.de -ftppass 123 -ftpserver ftp.xyz.de -ftpdir chat -http 9999 -port 9999

    something wrong? i generated the empty chat folder on my domain.

     

    of course i changed here the ftp server adress, the ftpuser name and the password.

    i forwarded port 9999 (UDP and TCP).

     

    Ok, first of all I would remove the "-http 9999" part since you are uploading to a web server.

    the error you get seems quite clearly to say that you have not the right login information to the FTP server, but I guess you have checked that already. You should also make sure you made the directory where to write the files, maybe try to givve the complete path to that folder on the FTP sever.

    I personally run it like this:

     

    java -jar chatserver.jar -ftpuser abc@xyz.de -ftppass 123 -ftpserver ftp.xyz.de -ftpdir /path/to/chat "c:/path/to/local directory"

    This way it works over here. Try with the quotes too...

     

    Bafio

  4. im getting this error if i enter "java -jar chatserver.jar" in the "cmd"-window:

    Unable to access jarfile chatserver.jar

    or where should i enter the "java -jar chatserver.jar"? where have to be the chatserver.jar?

     

    sorry but i didnt use java and im from germany, i dont undestand this: command prompt

    Ok,

    briefly: you should run the that command after changing to the directory where the jar file is. Once you manage to start it, you should forward port 9999UDP to the machine running it and open the firewall for that port.

    I'm sorry but as I say in the website, I don't want to go too much in these details because running the chat server requires some expirience, and the server itself is still under development.

     

    I hope this helps,

     

    Bafio

  5. w00t i cant connect to the standart server anymore, too!

     

    Hi,

    here is a little bit of troubleshooting for the connection. The next version of the wifi library should make things much easyer, but until then things are a bit complicated:

     

    Quick version: if you have a SD device, or any device not supported by Chrism's library, please enter your settings in the Firmware (like using MarioKart) and make sude that the are ALL set manually, manual IP, gateway, DNS, etc... as you would do in wifi transfer. If you run into problems, this is the safest way to get this working.

     

    Why: in the last version of wifi transfer I was using a modification of Chrism's library that was working on some more SD devices.

    Since the last update of the officila library fixed some serious bugs, I went back to the original version. This explains why with wifi transfer these devices (I guess supercard SD) are supported, so you can read and write the configuration file, but with wifi chat they are not.

    That means that wifichat actually can't read the config that wifitransfer has created. I'll se for the next release to update, maybe using the FAT library modifications from moonshell.

     

    In any case, the safest way if using firmware settings, this makes possible to run the program from flash cards and WMB too, since it does not depend on any particular card/hardware.

    Remember: you DO NEED to set all the different information ( IP address, gateway, DNS, subnet mask) manually. Also, WEP is not supported.

    I hope this helps!

     

    Cheers

    Bafio

  6. How do i run the Server app(wifiserver.jar)

    i have java installed.

    what shall i start in the java folder?

    C:\...\Java\jre1.5.0_06\

     

    please help me! and want to test the server app!

     

     

    P.S. can i run this server on my domain(ill buy www.oehr-gmbh.de if this is possible)

     

     

     

    EDIT: I ran it now with Java 2 Platform Standart Edition, but nothing happend. It seems something load, but then, nothing...

     

    Hi, I have added some (small) instructions on the website.

    Basically, forward port 9999 to the computer running it (UDP). Open a command prompt and run java -jar chatserver.jar

    also try to download the latest version. You don't need to use ftp etc, if it does not work in may have to do with network setup (like, to conencto to my server I have to use the internal nw address (192.168.....) instead of the public one, but people from outside can conenct to the public ip.

     

    Bafio

  7. I did it doesn't seem to read from the firmware. If it does then what do I need to do to instruct it to read from the firmware, because if it was already doing this then it would be connecting.

    It does automatically always read from the firmware. Can you run win2DS? Otherwise there is some other problem. Beleive me if I tell something. Otherwise go figure it out yourself.

     

    Fabio

  8. Can you integrate the wifi detection settings into your app, since peeps like me who use SD cards can't use this proggy it seems because you rely on the wifi config file being read on the card which isn't supported on SD's you seem to have a really nice app although I can't seem to use it.

     

    BTW I'm using an m3 sd

    From the documentation:

    [...]

    First you will need either:

    a) Wifi Transfer settings in the CF, if you have run that program before

    or

    :unsure: Online (Firmware) settings from an online game, with: all static ip settings, no WEP

    This means you don't need a CF card (WMB is a possible way to run it).

    [...]

     

    http://bafio.drunkencoders.com/

     

    At least try to read the first 4 lines of documentation before posting !

     

    Bafio

  9. Alright, Just made sure I ahd it all set up to non-auto settings and input all the fun stuff, tested it out, and it worked fine in the actual WIFi testing. 

     

    I then goto the wifichat.nds app, select "no" to wanting to use the wifitransfer settings, since Imassuminjg that means it'll use the WIFi firmware ones. I connect to dschat.kicks-ass-org, and....Host not found, please enter IP address...hmmm

     

    What am I getting wrong? I can see you guys are chatting it up though, by visiting the address in firefox ;)

     

    edit: if its any help, after retrying agai when it asks me to, it says "logging in @ 0.0.0.0"

     

    ?

    The DNS settings seem to be wrong in the wifi config.

    Plus I'm having problems with my internet connection!

    Bafio

  10. Hi everyone!

    DSchat is finally out, with real functionalities this time! you can find it here:

     

    http://bafio.drunkencoders.com/

     

    Version 0.8

     

    Too many changes to remember, but among the others:

    * DNS client working.

    * It's now possible to connect using both wifi settings from wifitransfer and the firmware settings

    * The server has option to upload a message log to an FTP server, locally serve them or save them to a local directory. HTML files are automatically generated (still in devel.)

    * Touch screen code takes into account the pressure of the pen

    * Keyboard (yes, I know it's not so good)

    * Status

    * User list (limited to 15 users now)

    TODO:

    * too much smile.gif

    user list, receiving messages in menu, more menu, user settings, webcam (not on DS I'm afraid)...

  11. Thanks a lot! It's working really well, I also noticed that drawing on my chat program works much better with these changes!

     

    Even more, it's interesting finally being able to compile the lib on new devkitpro...

    I'll have some surprises real soon ;)

     

    Bafio

  12. Hi, thanks a lot for the code ;)

     

    I have been trying to indroduce it, but I have just a porblem:

     

    If I understood it right, I added to main:

    	TIMER3_CR = 0;
    irqSet(IRQ_TIMER3, sgIP_ARP_Timer100ms); // Wifi_Timer_50ms);
    irqEnable(IRQ_TIMER3);
    TIMER3_DATA = (u16)-13106;
    TIMER3_CR = TIMER_IRQ_REQ | TIMER_DIV_256;
    
    irqSet(IRQ_IPC_SYNC, Wifi_Update);
    irqEnable(IRQ_IPC_SYNC);
    REG_IPC_SYNC = IPC_SYNC_IRQ_ENABLE;

    and just a bit later:

    while(Wifi_CheckArm7Init()==0) swiWaitForVBlank();
    Wifi_Update();

     

    This way the ARP timer gets called avery 100ms and I enable the wifi updates with the FIFO.

    Problem is this won't compile, because sgIP_ARP_Timer100ms and Wifi_Update are not exposed. If I add the.h files to the path, I run into a whole series of other errors. How do I do this?

     

    Thanks

     

    Bafio

  13. I had hoped that sgstair would respond to this thread... Anyway, I've implemented some simple IPC interrupts in the lib, only a few lines of code changed, and the speed increased from about 5 kb/s to about 30 kb/s. That six times faster...

     

    If anyone wants the changes I can post them here.

     

    Hi,

     

    I'd like to see these changes, actually I had the same exact problem some time ago with wifi transfer program: sending 1kb packets and waiting for ack, would bring to max 10 kbps speeds, so this matches. I think Sgstair is implementing this in the next reelase of the library, but it would be nice to get it now :P

     

    By the way, I amnaged to get speeds of 90kbps (writing to CF card) using a different protocol, simply sending packet, waiting 10-14 ms, sending packet form the server side, and asking for retransmissions when needed on the DS side.

    It's not standard, but works quite well.

     

    Bafio

  14. Hi everyone,

     

    the program is finally getting to a good point, I want to have it well tested before the release, but it looks like I'll be able to release very soon.

    It will work IRC-style, so all the users connected will get all the messages, and should be really easy to use. I still have a couple of things to implement but I have been able to fix many of the bugs so it should be quite stable.

     

    Bafio

  15. Oh whoops, blocking. I'm pretty sure it's blocking my default, although theres is a define although the lines of SGIP_BLOCKING_DEFAULT. If you were to set 'i' to 0 it would block, but maybe it just doesn't work in SG's lib. It's easy enough to do artificially like you already are.

     

    I remember sgstair saying something about blocking methods coming in the next version, anyway this method (while loop) works quite well now...

     

    As for the DS as a server, I see it as quite a hard task, you would need port forwarding (quite probably) and all of that...

     

    Bafio

×
×
  • Create New...