Jump to content

bafio

Members+
  • Posts

    78
  • Joined

  • Last visited

Everything posted by bafio

  1. WOW Works here (GBAMP, flashme v7) but it seems like the connection is really reaking quite a lot I have t say, this is probably the kind of wifi app I've been waiting the most! Keep up with the good work! Cheers Bafio
  2. 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 Bafio
  3. Hi, the source code of both client and server is now available! You can download it here: http://bafio.drunkencoders.com/ Contributions are appreciated, and I hope it can provide some ideas and solutions, even if it's not so nice code. Cheers Bafio
  4. 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
  5. Can't understand.. try puting quotes in the user and password... it may be a bug in the ftp lib. Bafio
  6. 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). <{POST_SNAPBACK}> 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. From the documentation: [...] First you will need either: a) Wifi Transfer settings in the CF, if you have run that program before or 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
  12. Hi, try to type in the address: 68.102.205.217 If this works the problem could be the DNS server not set correctly. If hat doesn't work, it can be the IP configurationor something else. Can you connect with the other wifi programs? Bafio
  13. Do you write your own DNS client or do you get a newer version of Dswifi ? <{POST_SNAPBACK}> I wrote a very basic dns client, it's also available as source code from my web site, if you download the wific2 source code. It doesn't take care of all of the situations, and does not cache, but it seems to be ok for a basic use Bafio
  14. The DNS settings seem to be wrong in the wifi config. Plus I'm having problems with my internet connection! Bafio
  15. Hi, You should set the settings using a wifi game like MK, you must specify all the information: ip address, gateway, DNS... and than test it there. If you have problems, try to see: http://www.1emulation.com/forums/index.php?showtopic=16926 and here: http://www.1emulation.com/forums/index.php?showtopic=17207 Hope that helps Bafio
  16. 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)...
  17. 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
  18. 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
  19. 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 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
  20. There is a server application but currently all is single channel: messeges go to everybody connected to that server. The server will be available too. The 1st release will be quite basic on that side, but I have been working more on making it stable. Bafio
  21. 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
  22. Hi! I already made some code to read them in a struct, you can see here: http://forum.gbadev.org/viewtopic.php?t=82...er=asc&start=15 Bafio
  23. Actually, chat is working now, but there are still many bugs to fix plus some features to add. Before releasing I wanted some more bug testing, but at this point I think I'll try put it out later today I hope I don't get too many complaits... Bafio
  24. 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
  25. I've got some nit-picking: It's swiWaitForVblank(); not swiWaitForVbalnk parrot <{POST_SNAPBACK}> Well also blabla is not really ok Bafio
×
×
  • Create New...