Jump to content




[MC 1.2.5 / CC 1.4.1] CCPortable - And not even overpowerd


69 replies to this topic

#1 G3R4RD

  • Members
  • 25 posts

Posted 27 August 2012 - 01:44 AM

Posted Image
----- Oops -----


It seems this peripheral is bussy with upgrading.

Please come tomorrow back.



What's done:
+ Connecting PDA to a server
When the server is destroyed, the pda will give a message.
+ Every PDA has his own MAC-Address.

#2 justync7

  • Members
  • 210 posts
  • LocationCLGD

Posted 27 August 2012 - 01:51 AM

Awesome!

#3 cant_delete_account

  • Members
  • 484 posts

Posted 27 August 2012 - 02:16 AM

So basically a portable computer but needs a computer? Cool!

#4 Graypup

  • Members
  • 90 posts

Posted 27 August 2012 - 02:25 AM

Yet not OP... Does the recipe include a battery (if ic2 is installed), a wireless modem, whaat else? Also, *if* you still don't think it's OP, go ask Ecu if it's OP, and how to nerf it.

#5 G3R4RD

  • Members
  • 25 posts

Posted 27 August 2012 - 02:27 AM

 Graypup, on 27 August 2012 - 02:25 AM, said:

Yet not OP... Does the recipe include a battery (if ic2 is installed), a wireless modem, whaat else?

I'm gonna add batteries later.
I did get already from other users (from servers) to add batteries. But this is a test, just for looking if there are bugs in it.
And also if you want already to use it. :D/>

#6 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 27 August 2012 - 05:10 AM

This looks neat. Needs a configurable config file?

#7 Xfel

    Peripheral Designer

  • Members
  • 515 posts

Posted 27 August 2012 - 06:06 AM

Tell me... what would be an unconfigurable config file? (The opposite to the configurable config file you proposed)

#8 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 27 August 2012 - 08:35 AM

 Xfel, on 27 August 2012 - 06:06 AM, said:

Tell me... what would be an unconfigurable config file? (The opposite to the configurable config file you proposed)

Hardcoded ID's/Config files with no ingame effect

#9 G3R4RD

  • Members
  • 25 posts

Posted 27 August 2012 - 09:49 AM

There is a config...
When you have started minecraft, it generates it in mods/ccportable.
It's also sets all the PDA ID's there... Will be changed in the next version.

I have already fixed some bugs, and added some new functions.

#10 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 27 August 2012 - 09:49 AM

Null Pointer Exception if you click the peripheral with the item PDA and the peripherla isn't mounted.
Rebooting and changing Icon seems to hang the PDA?
Running your example program hangs the PC, console errors about the peripheral not being detached, might be related to the problem above( i think this is a CC bug?, i've encountered something like this with another addon, also bricks your PC - ctrl+s,r,t won't work.)
I had to move your receiver API in the rom folder, your mod is not mounting your lua file(s)

#11 G3R4RD

  • Members
  • 25 posts

Posted 27 August 2012 - 10:00 AM

 FuzzyPurp, on 27 August 2012 - 09:49 AM, said:

Null Pointer Exception if you click the peripheral with the item PDA and the peripherla isn't mounted.
Rebooting and changing Icon seems to hang the PDA?
Running your example program hangs the PC, console errors about the peripheral not being detached, might be related to the problem above( i think this is a CC bug?, i've encountered something like this with another addon, also bricks your PC - ctrl+s,r,t won't work.)
I had to move your receiver API in the rom folder, your mod is not mounting your lua file(s)

Null Pointer Exception is also fixed, same for the Icon. When you switch from receiver the PDA will be cleared.
About the API is weird, do you have placed the folder in .minecraft/mods and called CCPortable?

#12 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 27 August 2012 - 10:05 AM

I found the config file, didnt think to look there :D/>

Yea, i also have my CC extracted and installed the old way - as well as all my ccaddons, folders, not zips.
Not sure why the api isn't being loaded i'll test it some more. Even os.load("api/receiver.lua") or ("/receiver.lua")/("receiver.lua")
gives "file not found"

If you punch with the portable receiver with your hand, it breaks instantly with no drop(losing the block)
breaking it with a tool breaks fast and drops the block tho.

Now it just won't work, don't know what happened
Just keep getting "receiver:29: attempt to index ? (a nil value)
but i havent altered the API at all, and it was working before

Waiting to test the new version.

#13 G3R4RD

  • Members
  • 25 posts

Posted 27 August 2012 - 10:53 AM

Well, it isn't "api/receiver.lua".
Its load like this:
"mods/CCPortable/api/receiver.lua" > "rom/apis/receiver"

I can just use receiver.adssad(), without any os.load().

#14 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 27 August 2012 - 11:10 AM

deleting config file fixed the nil error, guess you can't change ID's or something. When's the next version up?

#15 G3R4RD

  • Members
  • 25 posts

Posted 27 August 2012 - 11:12 AM

Today. I'm adding some features and testing if there some bugs to fix, then I will post it

#16 Xfel

    Peripheral Designer

  • Members
  • 515 posts

Posted 27 August 2012 - 11:13 AM

You should add a way to wrap pda io into a term-like object so that we can use term.redirect (and similar) on it.

#17 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 27 August 2012 - 11:26 AM

 Xfel, on 27 August 2012 - 11:13 AM, said:

You should add a way to wrap pda io into a term-like object so that we can use term.redirect (and similar) on it.

All the functions of term would be nice

#18 G3R4RD

  • Members
  • 25 posts

Posted 27 August 2012 - 11:38 AM

Possible in the Next version:
https://dl.dropbox.c...27_13.36.23.png
There was a bug with the text-size. And now you can do receiver.setTextAt(0, 2, "Hello world", id) :D/>

#19 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 27 August 2012 - 12:06 PM

 G3R4RD, on 27 August 2012 - 11:38 AM, said:

Possible in the Next version:
https://dl.dropbox.c...27_13.36.23.png
There was a bug with the text-size. And now you can do receiver.setTextAt(0, 2, "Hello world", id) :D/>

Seems PDA's dont unload, needs a way because if i update my program for it and relink it, both old and new software runs.

#20 G3R4RD

  • Members
  • 25 posts

Posted 27 August 2012 - 12:28 PM

Updated. Try if you now gets error's. :D/> .





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users