Jump to content




AngelMedia | [Reworking of AngelTV] | AngelSound [alpha2] -- the VirtualDJ of MC!

media

  • You cannot reply to this topic
82 replies to this topic

#41 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 20 December 2012 - 10:56 PM

Food for thought. Have some "broadcasting" networks. So that people from any computer on any server, can all sit down and watch the same movie, at the same time ;)

that is all :P

#42 ArchAngel075

  • Members
  • 149 posts

Posted 21 December 2012 - 12:41 AM

Sadly when i try to set the API file name to be used as a variable it fails

ie
--original = cps
--the user wants the cps api to be called cpsa
--thus
cps = "cpsa"
--but
cps.FUNCTION()
--will not work

one way will to have ther userfile renamed to what it requires but that somewhat contradicts the systems purpose

#43 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 21 December 2012 - 12:42 AM

to set the API as a variable you use os.loadAPI("filePath") and the variable is the file name.

#44 ArchAngel075

  • Members
  • 149 posts

Posted 21 December 2012 - 12:49 AM

View PostTheOriginalBIT, on 20 December 2012 - 10:56 PM, said:

Food for thought. Have some "broadcasting" networks. So that people from any computer on any server, can all sit down and watch the same movie, at the same time ;)/> that is all :P/>

The update after the pastebin and search tool implements will centre around the networking...

It will be using the idea of streaming, by streaming on "channels" or "frequencies" and then connecting you can get an immiediat stream of whatever is being played, it also will be play on connect, it requires 0 buffering as it plays whatever FRAME is currently bieng sent...

in other words :

movie contains 5 frames
-
111
aaa
-
222
bbb
-
333
ccc
-
444
ddd
-
555
eee
=

the server will stream by sending the first file, then a message to signal its end, this makes the clients play that file on screen, then wait for next file and repeat process.
This way when a client joins a channel or freq it will receive the current frame instead of needing to wait for the next movie.

Aside from the streaming one will also be able to make looping movie lists, and one time movies.

This is the ultimate project of AngelTV, to replicate cableTV in minecraft... There are also chances to allow channels to be accessed accross internet and servers using pastebin, using a central http server that provides the movies to hubs(servers), but server-cross movies are a low priority

#45 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 21 December 2012 - 12:50 AM

nice :) is this just in a local instance? or across the HTTP API?

#46 ArchAngel075

  • Members
  • 149 posts

Posted 21 December 2012 - 12:56 AM

no that is done, its callign its functions that cause trouble, i want to have the functions as cps.FUNCTION()
even though the filename is cpsa, I set cps = "cpsa" and call cps.ranColor() and it fails since cps. is invalid...

the concept update will be local server(not http) and the improved will have http


just to ask :

by load as variable above do you mean :

VAR = os.loadAPI(FILEPATH)

then calling

VAR.ranColor()

will work ?

#47 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 21 December 2012 - 12:56 AM

ooohhhhh.

cps = cpsa

EDIT: It fails because "cpsa" is invalid

#48 ArchAngel075

  • Members
  • 149 posts

Posted 21 December 2012 - 01:00 AM

View PostTheOriginalBIT, on 21 December 2012 - 12:56 AM, said:

ooohhhhh.

cps = cpsa

EDIT: It fails because "cpsa" is invalid

the file name is cpsa, and im "replacing" cps with "cpsa" , could it bebecause cpsa is counted as a string :?


well , perhaps ill leave it to require those file names just that path can be anything...

Im taking a break, then going to tackle it and move onto completeing pastebin_downloading....

sadly it doesnt seem like ill get search done today, but there is enough updates to last

#49 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 21 December 2012 - 01:05 AM

yes i know the file name is cpsa if you have the following it would work, I have done it before

os.loadAPI("cpsaFilePath")
cpa = cpsa

this sets the pointer to the cpsa API to the new cpa variable.

#50 ArchAngel075

  • Members
  • 149 posts

Posted 21 December 2012 - 01:07 AM

perhaps its just loading the filename wrong, ill have to add a debug string and look at it, i am using a strange way to grab the filename but it works without problems atm, anyways defaulting works so if i cant fix by tonight ill just force it to default path

#51 ArchAngel075

  • Members
  • 149 posts

Posted 30 December 2012 - 07:28 AM

After a week of no internet i feel lost :P, i managed to borrow my aunts data bundle stick for some time to get some updates(mainly APIs)

Also i updates to win7 and forgot to get a java install for it so sadly no work at all this week, but now i have the update so i should be back on track!

I will fix the loadAPI problem by defaulting the filenames to cps and bgui, they should be able to be loaded from anywhere then.
--
I am pushing the pastebin support aside since the network update will be utmost priority this week, hopefully ill have concept and working peices by this friday when my family returns home.
--


On other news i have been dawdling with an idea for awhile, but have neen failing constantly in the basic part.. One hint : Game [Teeworlds] :)

-end-

#52 HotGirlEAN

  • Banned
  • 101 posts

Posted 30 December 2012 - 09:11 AM

Good luck on getting that done! :)
A week with no internet for me would be terror ^^;

#53 rick3333

  • Members
  • 30 posts

Posted 01 January 2013 - 08:45 PM

View PostLearning_inpaired, on 19 December 2012 - 04:38 PM, said:

i cant wait for tekkit to have the advanced computers -.-'
feed the beast mindcrack pack has computer craft with advanced computers

#54 ArchAngel075

  • Members
  • 149 posts

Posted 05 January 2013 - 09:09 AM

Back home in CapeTown, South Africa and ready to rumble.... that is if my game worked? For some reason or other my game demands that drivers be updated even though i have done so.. IS this a common Win7 thing?(I am going to install the very latest drivers and try again else google will be my friend :P)

Anyways im going to attempt full speed on things network related for the AngelTV, damn its been 2 weeks and my own programs code hurts my head...

So..

Tidied up and fixed the errors to do with user defined API locations, now the APIS must be named cps and bgui.. not too big a hindrance for users!
(Note the above was done without my game due to the drivers issue..)

Also im tidying up my OP, i am redoing small bits and fiddles and will perhaps have some new screen shots up.

Thus:
The projected changelog(or things to do) for the next update, dubbed the NetworkAddon! 1.3 :

-Fix those pesky error handles ive been avoiding since the dawn of time
-add in the neccessary parts to the configs menu( toggle network mode, set API locations etc)
-begin concept piece of NetworkMode , see below for my mental image of what it does and how it works.
-test to see if constant streaming movies or full download then playback movies will be better, preferbly both in the long run

About Network Mode, By going to configs screen you tick a small box saying : "networkMode enabled"

Now you can go and connect to a channel a friend told you about ingame, and suddenly your monitor lights up playing the current frame of the current movie from the server!
--
you click on a HOST option and select a movies folder to play from, and now your server starts yelling at you all sorts of gibber about ID 123 connecting and streaming!
--
That is the gist of network mode...
--

The most prefered method of viewing i wish for is streaming, by making it so you recieve not the whole movie but only the very current frame before putting anything on screen.. this allows you to flip through channels easily and view what is on without any download time, It also gives a more realistic feal! And if servers support "Downloads" you can grab that 'movie' and mess with it yourself!

For you tekkiteers and FTB's the use of the streamer might allow economy(through an airtime or TVtime system) but it is already good for having a snazzy tickerTape billboard advertise your wonderfull bussiness!


--
Also id like to note I miss my spellingCheck, i kept spelling incredibly badly now !

#55 ArchAngel075

  • Members
  • 149 posts

Posted 05 January 2013 - 06:35 PM

UPDATED
Grab it now, version 1.3Pre!

it contains the very current version i am operating right now !

I have decided to upload all the work that have done thus far, it includes now the search option(well the concept of it)
It also includes the toggling of networkMode but no networking related options yet!
Also it has the new config system you will be needing and the wonderful API system i am adopting :)

FOR BOTH NEW/OLD USERS
Go to here and download the latest stable release of bjornir90's api, place it in the location you desire, else into [AngelTV/UserData/API/] folder, INSIDE THAT PC!
download the 1.3pre and cps1.1 bundle, place the cps file in the desired location, else into [AngelTV/UserData/API/] folder, INSIDE THAT PC!
[[ALL apis related to AngeTV will have their default load paths in the [AngelTV/UserData/API/] folder!]]

Run the program and follow the onscreen instructions, also note that if you used the [AngelTV/UserData/API/] folder for APIS, set it so it defaults that api.


Donot use LoadFromDisk, it is buggy as ive made now allowance for the disk path in the program. But i may make it so you can load configs and projects from it in future.
Also Please note that pastebin is Incomplete and thus dont select it, uplaoding is fine, and backspace return to mainMenu though.
---

I will be hard at work adding Network mode now, please feel free to make suggestions for improvements and report bugs! I am happy to look at more features...

I am lso recording a showoff video using camstudio, this will showcase what you can do ingame using AngelTV and how to use it :)

-end-


#56 ArchAngel075

  • Members
  • 149 posts

Posted 05 January 2013 - 07:33 PM

There is a bug that makes you unable to edit new projects unless you have 3 or more frames, for now please create 3 FrameX.afr files where x = 1 to 3! i am busy solving this/>>


Now auto creates 3 frameX files, this stopps the error. Also remember that it plays and loads from frame2 onwards, frame1 will never be loaded or played.

#57 ArchAngel075

  • Members
  • 149 posts

Posted 08 January 2013 - 05:45 AM

New bug found, the default paths for APIs dont point to the API folder created by config setup, though the startup allways displays your config folders settings so use the paths it has for defaulters for now.

-Bug also found again :
Decompiling seems to through a index out of bounds, i am looking into it now aswell.

Was a matter of adding 1 sleep to prevent it overflowing.. Will not impact on decompiling speed at all.

#58 ArchAngel075

  • Members
  • 149 posts

Posted 08 January 2013 - 10:51 PM

will replace the current pre1.3 with the bug fixxed one soon, i am working on the system to add folders to the "movies to stream" list for servers.. should be good for tomorrow

#59 ArchAngel075

  • Members
  • 149 posts

Posted 09 January 2013 - 06:37 PM

uploaded 1.3PRE2, fixes decompiler and API location bugs.

I find it strange how the 1.2.2 download counter has climed twice even though 1.3 is latest.. I have removed the 1.2.2 link since people may be confusing it, also made the 1.3PRE-X link more visable, hopefully now the latest will be downloaded more now.
---
I am waiting on some small reports around and about about some apis, looking into getting something added to bjornir90s API so that using it will be more easier, in the meantime please test out 1.3Pre2 and report any ideas or bugs..

#60 ArchAngel075

  • Members
  • 149 posts

Posted 10 January 2013 - 05:13 AM

I was sitting here looking at my program durin tests, and noticed that there is no help menu, im unsure if its needed as all instructions should be followable..

For any users pls let me know if using the program was hard or you get stuck somewhere as one of the end goals is user-Freindlyness...





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users