* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Calling Python Developers! Help Needed  (Read 789 times)

0 Members and 1 Guest are viewing this topic.

Offline ACagliano

  • Full User
  • Join Date: Sep 2015
  • Location: New York, NY
  • Posts: 47
  • Post Rating Ratio: +2/-0
    • acagliano
    • Anthony Cagliano
    • @@ACagliano
    • ClrHome Productions
  • Gender: Male
Calling Python Developers! Help Needed
« on: 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 »


  • Calculators owned: TI-84+ SE

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18622
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Calling Python Developers! Help Needed
« Reply #1 on: 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
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: Calling Python Developers! Help Needed
« Reply #2 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.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline ACagliano

  • Full User
  • Join Date: Sep 2015
  • Location: New York, NY
  • Posts: 47
  • Post Rating Ratio: +2/-0
    • acagliano
    • Anthony Cagliano
    • @@ACagliano
    • ClrHome Productions
  • Gender: Male
Re: Calling Python Developers! Help Needed
« Reply #3 on: July 31, 2016, 01:34:08 pm »
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.
  • Calculators owned: TI-84+ SE

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: Calling Python Developers! Help Needed
« Reply #4 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.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline ACagliano

  • Full User
  • Join Date: Sep 2015
  • Location: New York, NY
  • Posts: 47
  • Post Rating Ratio: +2/-0
    • acagliano
    • Anthony Cagliano
    • @@ACagliano
    • ClrHome Productions
  • Gender: Male
Re: Calling Python Developers! Help Needed
« Reply #5 on: July 31, 2016, 02:12: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 »
  • Calculators owned: TI-84+ SE

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18622
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Calling Python Developers! Help Needed
« Reply #6 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
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline ACagliano

  • Full User
  • Join Date: Sep 2015
  • Location: New York, NY
  • Posts: 47
  • Post Rating Ratio: +2/-0
    • acagliano
    • Anthony Cagliano
    • @@ACagliano
    • ClrHome Productions
  • Gender: Male
Re: Calling Python Developers! Help Needed
« Reply #7 on: July 31, 2016, 10:26:31 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.
  • Calculators owned: TI-84+ SE

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18622
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Calling Python Developers! Help Needed
« Reply #8 on: 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.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games