WSRP Chat on Discord
Open Chat in New Window
Page
of 9

Cozmotronic Addo - Design Document

88 replies
Posts:
100
Stars:
+82
and the last step for today:

b1xsumt.jpg

More tommorow where we work on the UI
Suggestions and Ideas welcome btw
Posted Nov 7, 15 · OP
Star
x 2
x 2
List
Undo
Posts:
100
Stars:
+82
Options Window has now been included:

Cozmotronic%20Options.png

Next step the main layout
Posted Nov 8, 15 · OP
Star
x 1
x 1
List
Undo
Posts:
100
Stars:
+82
saving own data is fully implemented now.
Layout is done for v1.

Screenshots at GitHub
Posted Nov 8, 15 · OP
Star
x 1
x 1
List
Undo
Posts:
100
Stars:
+82
Okay,

Good News first:

Communication seems to be working. I'm even receiving messages from people running around with an Addon apparently that either relies on a rewrite of RPCore or someone is using my Communicator Addon somewhere.
Because my logs show messages being received.


The Bad news:

There is a bug in the ProcessMessage function.
Somehow it detects incoming messages, as the log entry get's triggered.
But somewhere along the way the processing just seems to.........stop
I can follow the paths but at some point the subsequent code is not triggered.
I have log statements everywhere, and it does not enter the first part of the if, but it doesn't enter the "else" either.....


I have no idea what is going on here.
If anyone wants to play around , latest code is on github.
Posted Nov 8, 15 · OP
Posts:
100
Stars:
+82
I'm giving up on this.
Tired of wasting time on trying to understand Carbine's lua implementation.
Posted Nov 8, 15 · OP
Posts:
372
Stars:
+386
Take a step away. I'll look at it as soon as I can.
EIlMTaR.png
Posted Nov 8, 15
Posts:
100
Stars:
+82
I'm not at the point where the ICCommLib channel is created for Cozmotronic, but now it does not save the data anymore.....

I don't know what I broke but all data that is being stored inside the tables of Communicator is not being saved.
Data from Cozmotronic is being saved however, which is weird.
Posted Nov 10, 15 · OP
Posts:
273
Stars:
+275
Maybe packages can't catch the OnSave event? Push the tables you want from Comm into Cozmo and the restore them back to Comm on reload?
3462105.jpg
Posted Nov 10, 15
Posts:
100
Stars:
+82
it was working before just fine :/
Posted Nov 10, 15 · OP
Posts:
100
Stars:
+82
but yeah, if this can't be fixed tommorow, I will simply call OnSave and OnRestore manually on Communicator and update the usage documentation for it as well.

All that's left now is to properly test communication again and see if it does something.
Posted Nov 10, 15 · OP
Page
of 9
NoticeNotices