You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

Calling Python Developers! Help Needed

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

0
b/General Help publicado por u/ACagliano July 30, 2016, 08:06:43 PM
As many of you know I've been working on a project that entails the use of Python for networking. I have made significant effort to learn Python, and while I know how the language works, learning how to create an application with networking is a whole other ball game. I need a hands on approach to this and therefore am asking anyone here who knows Python at this level to PM me or comment and ill discuss what im trying to learn to do and what i need.

edit: here are some details. This is for the calcnet server to my Star Trek game, a realtime MMO, where calculators render graphics and do some stuff like firing weapons and changing position/direction. Every time a packet containing something (a client join/leave, a weapon fired, a change in direction and speed, a chat message, etc) is sent to the calcnet "server", the server responds in some fashion. It could be as simple as retransmitting the packet to another unit, adding an "object" to a database of objects in the virtual world, changing its coordinates or status, or sending information about environment to a unit. If you head to my project page, http://clrhome.org/startrek and go to "Features", you'll see some of the things I want to do.

Thanks in advance.
Last Edit: July 30, 2016, 08:34:11 PM by ACagliano
Inicia sesión o crea una cuenta para dejar un comentario
u/Dream of Omnimaga July 31, 2016, 11:24:05 AM
* DJ Omnimaga thinks @Cumred_Snektron might know some python, even if he doesn't use it much nowadays
u/Snektron July 31, 2016, 11:31:56 AM
I don't really know much about the calcnet protocol, but wasn't it only for calculators to calculators? If you want to connect a calculator to a computer with a relay to the server host then you'll need to look into the TI USB stuff and PyUSB.
u/ACagliano July 31, 2016, 01:34:08 PM
Quote from: Cumred_Snektron on July 31, 2016, 11:31:56 AM
I don't really know much about the calcnet protocol, but wasn't it only for calculators to calculators? If you want to connect a calculator to a computer with a relay to the server host then you'll need to look into the TI USB stuff and PyUSB.
No. CALCnet itself is a calc-to-calc protocol, but globalCALCnet is a man-in-the-middle that lets CALCnet communicate with the internet. All you need is a program that can handle connections and packets with data, as if you were creating a fully online application. The gCn program handles the rest-- including libusb and stuff.
u/Snektron July 31, 2016, 02:06:43 PM
Oh thats pretty neat. Still i have no idea about how global calcnet works. I assume it works with network sockets, and im pretty sure Python has a socket library built in (almost every serious language has). You might need to look into them.
u/ACagliano July 31, 2016, 02:12:43 PM
Quote from: Cumred_Snektron on July 31, 2016, 02:06:43 PM
Oh thats pretty neat. Still i have no idea about how global calcnet works. I assume it works with network sockets, and im pretty sure Python has a socket library built in (almost every serious language has). You might need to look into them.

There's a skeleton somewhere that can be used as a template. Once I find and share it, I'll be able to be more specific about what i actually need help learning :)

Edit: here is the skeleton. Assuming you recommend I stick to python as the language, I'd need to first be explained how this works for connecting, and where in the code should i begin to insert my own.
https://www.cemetech.net/programs/index.php?mode=file&id=909
Last Edit: July 31, 2016, 08:10:50 PM by ACagliano
u/Dream of Omnimaga July 31, 2016, 10:22:05 PM
It would be nice to see more Calcnet-related stuff in action. The only issue is if it's for monochrome calcs or the CSE then it might not be used as much, but it's still cool to see such things in action. Besides, Patrick Davidson still releases TI-85 ports of his monochrome games. :P
u/ACagliano July 31, 2016, 10:26:31 PM
Quote from: DJ Omnimaga on July 31, 2016, 10:22:05 PM
It would be nice to see more Calcnet-related stuff in action. The only issue is if it's for monochrome calcs or the CSE then it might not be used as much, but it's still cool to see such things in action. Besides, Patrick Davidson still releases TI-85 ports of his monochrome games. :P
its intended for the CE, and perhaps later to be forked to earlier models.
u/Dream of Omnimaga August 01, 2016, 05:50:52 AM
Has the USB protocol been figured out yet on the CE, though? I think I recall in 2010 that the TI-84+ USB protocol was still not fully figured out and it's hard to tell from a BASIC programmer perspective if any progress has been made on color models, since there seemed to be no interest in making games or programs that used the USB port until now. gCn was more meant to be a proof-of-concept, but it does have quite a lot of potential, especially for games or shells.
Start a Discussion

b/General Help

Need programming or hardware help? Need software installing or running support, or just help with technology in general? Then this is the place to ask in.

77
Topics
Explore Board
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal