Author Topic: Multiplayer in Axe?  (Read 8495 times)

0 Members and 1 Guest are viewing this topic.

Offline collechess

  • LV3 Member (Next: 100)
  • ***
  • Posts: 93
  • Rating: +22/-2
    • View Profile
Multiplayer in Axe?
« on: November 11, 2011, 07:17:51 am »
Is it possible to have multiplayer via the link cable thing in Axe.  If so, can someone give me a general idea of how or refer me to a tutorial?

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Multiplayer in Axe?
« Reply #1 on: November 11, 2011, 07:24:25 am »
Multiplayer with two calc's actually just means sending files from the one calc to the other. I can't answer your question because I don't know if this is possible. If it doesn't we'll just have to force Quigibo. :P


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: Multiplayer in Axe?
« Reply #2 on: November 11, 2011, 08:18:07 am »
Multiplayer with two calc's actually just means sending files from the one calc to the other. I can't answer your question because I don't know if this is possible. If it doesn't we'll just have to force Quigibo. :P
Yes you can, with
Send(BYTE,TIME)|Tries to send the byte across the linkport. It will keep trying until the other calculator receives the byte or time runs out. Returns 1 if the byte was sent successfully or 0 if it timed-out. Time is in the order of microseconds.
Get|Checks if the sender is trying to send anything. Returns the byte if it was received or -1 if nothing was sent. No waiting is done.
« Last Edit: November 11, 2011, 08:19:22 am by Wellen »
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: Multiplayer in Axe?
« Reply #3 on: November 11, 2011, 11:20:29 pm »
You will have to set it up in such a way that the needed data (such as score, position, speed, etc.) gets sent from calc to calc. Then, the program will have to parse the sent data.

Offline InternetCliche

  • LV2 Member (Next: 40)
  • **
  • Posts: 28
  • Rating: +0/-0
  • Sometimes, things happen. With explosions.
    • View Profile
Re: Multiplayer in Axe?
« Reply #4 on: November 15, 2011, 05:59:52 pm »
I have tried this. It did not end well. The amount of blood exceeded safe flying limits. But seriously, I don't think calcs are the best for multi-system multiplayer.
Sometimes, things happen. With explosions.

Especially with explosions.

Offline BalancedFury

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 722
  • Rating: +29/-2
    • View Profile
Re: Multiplayer in Axe?
« Reply #5 on: November 15, 2011, 06:01:06 pm »
Its possible [|:{P
My bro made something like facebook chatting except that he quit on it before he finished :D
Antonio Nam = DualBLDR = Tony Arthur... U choose!





JOIN THE PETITION TO ADD THIS EMOTICON!!
[|:{P ------->


Yo dawg I herd u lost the game game so I coded the game game in your calc so you can lose the game game while you code your code about losing the game game.

Offline InternetCliche

  • LV2 Member (Next: 40)
  • **
  • Posts: 28
  • Rating: +0/-0
  • Sometimes, things happen. With explosions.
    • View Profile
Re: Multiplayer in Axe?
« Reply #6 on: November 15, 2011, 06:03:05 pm »
Its possible [|:{P
My bro made something like facebook chatting except that he quit on it before he finished :D
Ignoring the blood, it did work. Just not well. And i meant for games. The delay is acceptable for chat.
Sometimes, things happen. With explosions.

Especially with explosions.

Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: Multiplayer in Axe?
« Reply #7 on: November 15, 2011, 06:06:04 pm »
is there (if not someone needs to make one!) a wireless connector to go between calcs? that would make a chat program more practical!
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Multiplayer in Axe?
« Reply #8 on: November 15, 2011, 06:06:31 pm »
Multiplayer is possible if done well. It requires a lot of experience in Axe programming, though, so I would advise against taking on such large project if you are still kinda new or intermediate to Axe Parser.

For good multiplayer connection, you must have one of the calc waiting data from the other calc, then once the other calc sends it, it goes in wait mode, waiting for the updated data from the other calc, in a ping-pong fashion. That way if the connection is poor or if you disconnect the calcs then reconnect them, it will simply wait until both calcs are reconnected. This can be slow in some cases, though, but it allow for games to remain in sync. (Not every 83+ run at the same speed, for example. one 83+ can be 6.0001 MHz while the other can be 6.0250 MHz)

Offline InternetCliche

  • LV2 Member (Next: 40)
  • **
  • Posts: 28
  • Rating: +0/-0
  • Sometimes, things happen. With explosions.
    • View Profile
Re: Multiplayer in Axe?
« Reply #9 on: November 15, 2011, 06:07:48 pm »
...
For good multiplayer connection, you must have one of the calc waiting data from the other calc, then once the other calc sends it, it goes in wait mode, waiting for the updated data from the other calc, in a ping-pong fashion. That way if the connection is poor or if you disconnect the calcs then reconnect them, it will simply wait until both calcs are reconnected. This can be slow in some cases, though, but it allow for games to remain in sync...
Yeah, I did something like that. Slow as... something that is slow.
Sometimes, things happen. With explosions.

Especially with explosions.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Multiplayer in Axe?
« Reply #10 on: November 15, 2011, 06:09:02 pm »
Slow as... something that is slow.

Molasses in January on the south pole?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline InternetCliche

  • LV2 Member (Next: 40)
  • **
  • Posts: 28
  • Rating: +0/-0
  • Sometimes, things happen. With explosions.
    • View Profile
Re: Multiplayer in Axe?
« Reply #11 on: November 15, 2011, 06:11:22 pm »
Slow as... something that is slow.

Molasses in January on the south pole?
Except that January is one of the warmest month of the year on the south pole.
Sometimes, things happen. With explosions.

Especially with explosions.

Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: Multiplayer in Axe?
« Reply #12 on: November 17, 2011, 03:57:21 pm »
AHH geography! I slept through that class!
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Multiplayer in Axe?
« Reply #13 on: November 17, 2011, 04:47:53 pm »
Slow as... something that is slow.

Molasses in January on the south pole?
Except that January is one of the warmest month of the year on the south pole.

I loled

Also note that not many people have link cables as the 2.5mm are hard to acquire sometimes :/ but nice multiplayer games are pretty cool


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Multiplayer in Axe?
« Reply #14 on: November 17, 2011, 04:54:49 pm »
yes multiplayer is possible.
and amazingly easy and fun.
http://ourl.ca/8454
I think last release was a dud, but one before that should work.

You should know however, 2 player games do not work with the 83+, Nspire 84 emu, and 7 foot cable.
If you need any help with making a two player game, just call on me.
Don't forget to make your send commands have if statments combined.

So something like....
if getkey(3)
If send(3,60000)
X+1->1
end
end

or else you will get out of sync.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________