Guest semoro Posted August 12, 2014 Share Posted August 12, 2014 XCodersTeam going back to minecraft modding....... Now we made small mod that adds some useful robot components Embadded Tesseracts...[ThermalExpansion] Yes, we added upgrade for robot. It's Tesseract upgrade and Energy Tesseract Upgrade It's a Tesseract upgrade, it can be installed to Slot Tier 3 in robot When it installed, there is new component available component.tesseract It has some methods to allow you work with it. --Work with activate and frequncy component.tesseract.setFrequency(freq:number):boolean,string(failreason) -- Sets the frequency of Tesseract and activating it, returns success(Consumes energy) component.tesseract.deactivate():boolean -- Resets the frequency of tesseract and deactivating it, returns success component.tesseract.isActive():boolean -- returns whatever tesseract active or not --Work with mode component.tesseract.setSendMode():boolean,string(failreason) -- Sets tesseract to send mode, returns success(Consumes energy) component.tesseract.setReceiveMode():boolean,string(failreason) -- Sets tesseract to receive mode, returns success(Consumes energy) component.tesseract.isMode(receive:boolean or nil):boolean --return receive==isReceiveMode component.tesseract.setMode(receive:boolean):boolean,string(failreason) -- Sets tesseract to receive or send mode, returns success(Consumes energy) --Sending items and private mode component.tesseract.sendItems([count:number]):boolean,(number or string failreason) -- (Send mode) Sends item in selected slot to tesseract, returns success and number of NOT sended items(Consumes energy) component.tesseract.setPrivate(isPrivate:boolean):void -- Sets tesseract's private mode to given value and deactivating tesseract(If in private mode items will be sended and received to tesseracts that owned by robot owner) When tesseract receiving items it consums energy too.Tesseract received items will be added to firs matching or free slot Energy tesseract can charge robot by remote sending energy: component.etesseract And it has some methods, but they different from item tesseract --Work with active component.etesseract.activate():void -- Activating tesseract component.etesseract.deactivate():void -- Deactivating tesseract component.etesseract.isActive():boolean -- returns whatever tesseract active or not --Work with frequency and private mode component.etesseract.setFrequency(freq:number):boolean,(string fail) -- Sets the frequency of Tesseract and activating it, returns success component.etesseract.resetFrequency():boolean -- Resets tesseract's frequncy, and deactivating it, returns success component.etesseract.setPrivate(isPrivate:boolean):void -- Sets tesseract's private mode to given value and deactivating tesseract NEW! IC2 Item charger(Version 1.1)It a legal way to charge IC2 items in robot component.itemcharger --Its methods component.itemcharger.getIsElectricItem():boolean,(string fail) -- Returns whatever item in selected slot is IC2 electric or not component.itemcharger.getCharge():boolean,(string fail)/number -- Returns success, charge of item in currently select slot component.itemcharger.getEquippedCharge():boolean,(string fail)/number -- (Needs inventory controller)Returns success, charge of item that currently equipped component.itemcharger.rechargeItem(fromSlot:number,[count:number]):boolean,(string fail)/number -- Charges item in currently selected slot using energy from item in fromSlot, returns success, count of energy transferred component.itemcharger.rechargeEquippedItem(fromSlot:number,[count:number]):boolean,(string fail)/number -- (Needs inventory controller)Charges item in currently equipped using energy from item in fromSlot, returns success, count of energy transferred --Example to charge item in slot 1 using battary in slot 2 robot.select(1) local ch=component.itemcharger repeat local res=ch.rechargeItem(2) until not res[1] or res[2]>0 Warn! 1.1.2 is compatible with OC-1.3.5Version 1.1.5-1.6.4 => LINK Version 1.1.2-1.7.10 => LINK Old versions Version 1.1.2-1.6.4 => LINK Version 1.1-1.6.4 => LINK Version 1.1-1.7.10 => LINK Minecraft forum post Enjoy! If some bugs or ideas replay this thread. Sorry, if my english not perfect =( UPD: And if you have ideas where i can also post it, replay please. UPDD: Version 1.1 addtions! Enjoy! Quote Link to post Share on other sites
Lizzian 46 Posted August 12, 2014 Share Posted August 12, 2014 Looks cool Quote Link to post Share on other sites
Guest semoro Posted August 15, 2014 Share Posted August 15, 2014 Fixed MCPC server crash, now build 3 Quote Link to post Share on other sites
dequbed 3 Posted August 16, 2014 Share Posted August 16, 2014 weeehoo, looks awesome and also just what I wanted, Thank you very very much! Quote Link to post Share on other sites
Guest semoro Posted October 7, 2014 Share Posted October 7, 2014 Fixed crash of energy tesseract when working with OC-1.3.5 ! Enjoy =) Quote Link to post Share on other sites
Antero 0 Posted November 2, 2014 Share Posted November 2, 2014 does not take the energy in private or rectricted mode, only public mode (Version 1.1.2-1.6.4) Quote Link to post Share on other sites
Guest semoro Posted November 2, 2014 Share Posted November 2, 2014 does not take the energy in private or rectricted mode, only public mode (Version 1.1.2-1.6.4) Are you playing on server? Quote Link to post Share on other sites
Antero 0 Posted November 2, 2014 Share Posted November 2, 2014 yes Quote Link to post Share on other sites
Guest semoro Posted November 2, 2014 Share Posted November 2, 2014 I will check it, please wait, thank you for bug report =) Quote Link to post Share on other sites
Guest semoro Posted November 3, 2014 Share Posted November 3, 2014 Looks strange, check did you set private flag to truecomponent.etesseract.setPrivate(true) Quote Link to post Share on other sites
Antero 0 Posted November 3, 2014 Share Posted November 3, 2014 I set tesseract mode security restructed, sending energy, Frequency 777. On robot lua - =component.etesseract.setPrivate(true) =component.etesseract.setFrequency(777) true not take the energy set tesseract mode public, Frequency 777 robot is charging robot side by side tesseract for test Install GriefPrevention plugins Quote Link to post Share on other sites
Guest semoro Posted November 3, 2014 Share Posted November 3, 2014 Ok, which version of ThermalExpansion and COFH-core did you use? Quote Link to post Share on other sites
Antero 0 Posted November 3, 2014 Share Posted November 3, 2014 ThermalExpansion-3.0.0.7 CoFHCore-2.0.0.5 Quote Link to post Share on other sites
Antero 0 Posted November 3, 2014 Share Posted November 3, 2014 =tile_thermalexpansion_tesseract_name.canPlayerAccess('Antero') - true =tile_thermalexpansion_tesseract_name.canPlayerAccess('Antero.robot') - false getAccess - RESTRICTED Quote Link to post Share on other sites
Guest semoro Posted November 3, 2014 Share Posted November 3, 2014 But in my mod i using player name for tesseract id Quote Link to post Share on other sites
Guest semoro Posted November 3, 2014 Share Posted November 3, 2014 I working around solution of this problem =) Quote Link to post Share on other sites
Guest semoro Posted November 3, 2014 Share Posted November 3, 2014 Are you playing on vanilla server with MC forge? Quote Link to post Share on other sites
Guest semoro Posted November 3, 2014 Share Posted November 3, 2014 Fixed in 1.1.5-1.6.4, Fix for 1.7.10 will be later Quote Link to post Share on other sites
Cat 3 Posted November 9, 2014 Share Posted November 9, 2014 Fixed in 1.1.5-1.6.4, Fix for 1.7.10 will be later Just a double check, it DOES work for recent Minecraft versions, right? Other than that, as a personal opinion "XCodersTeam" doesn't feel original. Why not spice it up like "ShadowKatStudios"? Quote Link to post Share on other sites
Guest semoro Posted November 10, 2014 Share Posted November 10, 2014 I plannig update on weekends =) Any new ideas? Quote Link to post Share on other sites
Guest semoro Posted November 10, 2014 Share Posted November 10, 2014 Just a double check, it DOES work for recent Minecraft versions, right? Other than that, as a personal opinion "XCodersTeam" doesn't feel original. Why not spice it up like "ShadowKatStudios"? It works stable on 1.7.10 but function component.tesseract.setPrivate(bool) may work not properly Quote Link to post Share on other sites
Cat 3 Posted November 10, 2014 Share Posted November 10, 2014 I plannig update on weekends =) Any new ideas? I honestly don't have much of an idea for how you can improve this other than code cleanups and maybe some APIs / Example programs to help users get familiar with the usage of your Add-on. Quote Link to post Share on other sites
Cat 3 Posted November 10, 2014 Share Posted November 10, 2014 It works stable on 1.7.10 but function component.tesseract.setPrivate(bool) may work not properly Good to know! I might try it soon then. Quote Link to post Share on other sites