• 0

    posted a message on Minecraft Chromium Embedded Framework (MCEF)
    Yea it was planned; however the JCEF MessageRouter thing is a bit tricky...
    Posted in: Minecraft Mods
  • 0

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    1.6.4 port released. Don't forge MCEF ;)
    Posted in: Minecraft Mods
  • 0

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    First, thanks MinecraftForum for clearing my message (again). Now I need to rewrite everything. Anyway...

    For those who are wondering: I'll port WebDisplays 0.11 for Minecraft 1.6.4 today.

    If you guys have noticed, I've splitted WebDisplays into two mods now: MCEF and WebDisplays. This fixes a few bugs (like the still-running JVM bug) but also enables other modders who wants to embed a web browser into their mods to be compatible with mine (this is the goal of MCEF).

    There's a few reasons why a modder would embed a web browser: one would like to open their mod's wiki to bring some help to the user, one would like to add a nice HTML+CSS+JS GUI, one would like to show some ADs to the player to finance his server (I wouldn't like this kind of guy :p)... etc.

    Quote from kaynide»
    Hi there.

    Works on 1.7.10, (64bit) but the full screen is kind of wonky. When I go to, for example, Google.com, it appears very very zoomed in. (using a 5 x 4 screen). 2x2 looks almost just as zoomed. Basically, unless I build a screen to huge size, I won't be able to use this effectively. The "fullscreen" option on the controller is darkened/unclickable.

    When I make a huge screen (7x14) it seems to fit right. Basically it feels like the mod does not auto-detect screen size.

    Any suggestions?

    This is an expected behaviour. The smaller the screen is, the smaller the web view will be. In WebDisplays 2, you'll be able to set a custom resolution.

    Quote from The_Architect2»
    ran it again this time I disabled the global lighting from dynamic lighting and it lasted quite a bit longer but it ultimately crashed again :(

    error log from crash is here

    This bug should be fixed with MCEF :)

    Quote from PsionicArchon»
    Just noticed you've made the jump to 64bit now I can give this mod a spin.
    After about three hours of testing I've noticed a few strange bugs.

    1.) Screens will be left behind when broken. Usually a ghost of the web page that was being displayed at the time.

    2.) I've had screens go out of sync with the website they are trying to display. It's as if multiple instances of the screen are being left open in the background.

    3.) Closing Minecraft will not end the JVM instance. It will remain in the background at zero cpu usage.

    I'll drop any other issues I come along in here. I've been having a lot of fun with your mod on my server. I can set up interactive web maps with it and, I'm trying to wrap my head around the ComputerCraft possibilities. There's quite a bit of potential here.

    I do have one quick question. Is it possible to block ads? Certain ads on YouTube run for well over five minutes and can only be skipped by clicking skip.. as you can imagine, this can be difficult depending on the size of the monitor.


    1.) Uhmm interesting... I thought that I fixed that bug :( When does this happen? When you break a block on the a side, on the middle? When the screen is big, small?

    2.) I think this is related to the first bug.
    3.) The new MCEF version should fix this.
    Thanks for the bug report :)
    There should be a way to do this yes; like sk89q's PlayX does on GMod (use a custom YouTube player) but this is pretty complicated a would require a very special YouTube handling. On the current version of WebDisplays, this isn't possible.
    Posted in: Minecraft Mods
  • 1

    posted a message on Minecraft Chromium Embedded Framework (MCEF)
    It should be working with local HTML pages yes. JCEF also has a feature which enables me to add custom scheme (like example://myfile.html). I could add a jar:// scheme and/or let modders add custom schemes. We'll see :)
    Posted in: Minecraft Mods
  • 23

    posted a message on Minecraft Chromium Embedded Framework (MCEF)

    Hello everyone!
    Today I'm happy to introduce you my new API: MCEF, which enables modders to embed a web browser into their mods. It was initially created for my own mod (WebDisplays) but I decided to turn it into an open-source API so that other modders may also use JCEF while staying compatible with WebDisplays.
    Example of uses:
    - Make a nice HTML5+CSS3+JS user interface
    - Show your wiki to help your players
    - Show your server's online shop, etc...

    WARNING: Right now only Windows is supported; I'll compile it for Linux as soon as possible. However I can't compile it for Mac; if you want to help, see the GitHub page.


    For users (mod download):

    YOU NEED MinecraftForge, which you can find here: https://files.minecraftforge.net
    You can download all MCEF versions from here: https://montoyo.net/wd3/?modid=mcef
    Just put it in your mods folder.

    For modders:

    You can get the source code from GitHub here: https://github.com/montoyo/mcef
    Basically, you just need to go to the release page, download the latest API release, and put it into your "libs" directory of your project. Users will have to download the mod from this thread. To understand how it works, you may look at the net.montoyo.mcef.example package, which contains an example browser. If MCEF is an optional dependecy, you may use Forge's @Optional annotations.

    Changelog:

    0.6: Updated to a newer JCEF version; the "MCEF not closing java" issue SHOULD be fixed.

    0.9: Fixed incompatibility with the new launcher. Available for 1.10.2 and 1.12.2

    Posted in: Minecraft Mods
  • 0

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    Quote from MCFUser3559811»
    After clean my launcher from old files, NOW WORK !!.

    Ty montoyo!.

    ^^ Glad to know it helped ;)
    Quote from FaultyBaboon»
    Hey can you help me with my problem.

    So I download the mod and It downloaded a .jar. And I dont know what to do after that please help I really want this mod!!

    Thanks

    After installing Minecraft Forge (you can download it from http://files.minecraftforge.net), read this http://www.minecraftmods.com/how-to-install-mods-for-minecraft-forge/
    Posted in: Minecraft Mods
  • 0

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    Quote from MCFUser3559811»
    I LOVE U MONTOYO !!

    NOW I CAN PUT MORE 4CHAN/b/ IN MY SERVEEEERRR

    YOOOOHOOO

    EUHEUHEUEHUEHEUHEUEHEUHE

    Thank's :'^)

    edit: i try now mod on my server. When i click right on screen -> client crash ("fatal error has occured"). serverside no error and no crash. unchecked exception? anyway not work.....

    Uhmmm interesting... I tried MP with a friend and it was working but obviously i'm forgot to check something. May I have your client log please?
    Quote from The_Architect2»
    I have had issues with the update crashing my client, but only after I

    1) have either built to big a screen, or
    2) have watched a number of videos (like maybe 3?)

    however I stuck it on the system and let it install everything even though I had 32bit java still installed,

    (not 64bit yet) so my question now is, is it some how still expecting to have more than 1.5gb of ram to work with, and crashing it even though it was smart enough to see it needed 32bit DLLs and such?

    and if so, then players would have to have 64 bit unfortunately to play, which is a shame cause I want to make sure people can play no matter what as long as they can get online and can run minecraft with some mods, not wanting to cut anyone out though that has it's limits of course, some people will get left behind till they upgrade their hardware no matter what. lol.

    any ideas if maybe you are still working on that, have missed that, (limiting the amount of ram it will access by looking to see what the installer is set for like technic or minecraft using it to go by ram size, or does it have it hardcoded in that it should be allowed to use up to... x ram?

    great work and much thanks for being able to get that chromium working, I am darn near ready to be able to run my server and client in 64 bit mode and have the full 50 players for the one server I have now and be able to graduate to bigger servers as bandwidth and hardware permit :)

    (I am running my client and the server from same machine for now, will change that as soon as I can.)

    For the crash, I can't know what happened without your client log. Could be nice if you could pastebin/upload it. WebDisplays 0.10 supports both 32 and 64 bits java. When switching from one to another, it'll just re-download all required DLLs corresponding to your JVM. The 1Gb limit (due to java 32 bits) is gone with Java 64 bits, so I suggest you to use java 64 bits as soon as possible. By the way, like I already said, WD will work on every kind of servers, windows or linux, 32 or 64bits (it has always been so).

    In any cases
    I highly recommend you to remove the old 0.9 DLLs (and the WebDisplayNatives folder) of your %appdata%/.minecraft directory. Not quite sure but they may interfer with the new version. Don't worry if you delete a 0.10 DLL, it'll just re-download it. I might write an uninstaller.
    Posted in: Minecraft Mods
  • 1

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    64bits version is now released!

    Well I finally found a way to do it. This way is pretty hacky, but it seems to work. No more installer required, just download the mod and throw it in your mods folder (with Forge, as well). There are, however some native crashes (= non-java crashes). Those are really rare but I can't do anything about it: Chromium 64 bits is experimental. If you see ACCESS_VIOLATION in your log, please don't report the bug. Thanks :)

    Now, i'll try to make it work asap for 1.7.2 and 1.6.4 as requested. I'll also try to port it for Linux. For those who are asking for a mac version: give me the mac first.

    Have fun,
    - montoyo.
    Posted in: Minecraft Mods
  • 0

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    For everyone having a black screen

    1. Did you use the installer? If not, please use it.

    2. Did you change any profile settings? If so, please re-install the mod.

    3. Still doesn't work? Please send me the installer log.

    The installer log is located in the same folder as the installer and is called WDI_0.11_Log.
    Posted in: Minecraft Mods
  • 1

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    Quote from The_Architect2»

    none that I have seen so far, only question I have really is, can I run the server in 64bits since it is not actually rendering anything? or does it have to be 32bit to be able to even use the protocols to send and receive the data from a web site? (just wondering cause it seems like it would only provide maybe the link and some placement data on the actual page so it loads as it should when some one sees it for the first time, however the video playing is what throws me on this and makes me think it is handling a lot more than what I mentioned. since much of it is streamed and all. and we watched a video on two accounts here locally (same room IRL) and it was synched pretty darn well. only reason I ask about the 64bit issue on the server though is that 32bit does not let you address very much ram to run a larger server, and nothing exists to tie multiple instances together to make a larger single server possible, to go to a larger player limit you have to have 64 bit unfortunately :( again thanks for awesome mod

    Basically:
    - All kind of servers are supported (64 bits, 32 bits, linux, windows, and mac)
    - Only Windows with 32bits Java is supported

    The web page loading/rendering/interacting is CLIENT side! (For instance: try to go to random.org and generate a random number; two different cliens won't get the same result).

    [quote=DitchesHurt;/members/DitchesHurt;/forums/mapping-and-modding/minecraft-mods/1291044-web-displays-browse-on-the-internet-in-minecraft?comment=2254]
    Hey, great mod, love that you updated to 1.7.10!
    The only bug I've experienced so far is using the computer interface block with ComputerCraft 1.65, in the Lua interactive prompt, running 'peripheral.getNames()' returns an empty string (activated the screen, linked screen to computer interface, placed advanced computer next to computer interface block). I'll try to fix this asap.

    [quote=FoDDa;/members/FoDDa;/forums/mapping-and-modding/minecraft-mods/1291044-web-displays-browse-on-the-internet-in-minecraft?comment=2259]Love the mod, such great work! ^_^

    I have had a repeatable crash since using it, when placing a keyboard then destroying it without linking to a screen. I've also managed to get the screen element to remain in the world after the blocks have been broken (not sure on a repro, just seemed to be related to relinking the control block to another screen).

    Also, I might be missing something obvious but how do you turn the screen off again once your done?

    P.s Is there an eta on when the next update will be ready? I know it's only been a few days, but I can't really use this mod in my game atm as 32bit java runs out of memory within 10minutes unless my chunk distance is < 12 :)

    GG Minecraftforum BBCode bug

    Same here, i'll try to fix those bugs asap.
    There is, unfortunately, no way to turn the screen of right now.
    The 64 bits update will not be released soon. The only way I know to make 32bits and 64bits processes communicate is using sockets (= local TCP server and client) and I don't think it's fast enough. Gotta try...
    Posted in: Minecraft Mods
  • 0

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    The mod will work on every kind of server (Linux, Windows, and Mac, 64bits or 32). Clients on Mac and Linux will have to download the mod and place it into their mods folder. However they wont see screens like Windows clients. It'll just show "Your OS isnt supported". ;)

    No i cant use Opera or IE or Firefox because there's nothing that enables me to use them "in a 3D game" (off-screen rendering) like Chrome has.

    If I cant do a 64 bits version, its because Awesomium (an off-screen Chrome renderer library) is NOT available in 64 bits. This isnt really because of me. I have an idea to make a 32-64 bits bridge, but it sounds laggy. Ill try.

    By the way, any bugs with the update? :)
    Posted in: Minecraft Mods
  • 0

    posted a message on [Win/Linux] [MC 1.2 & Later] Ultimate Block Replacer - A Massive Block Replacement Tool

    Hello Minecraft Community!

    Today I would like to show you my new open-source project: Ultimate Block Replacer. Basically, it's a tool that enables you to replace every instances of a block ID by another. I started this project because I had a server with Natura and ICBM. I crafted some missiles, launched them on my friend's base, but instead of killing my friend, they destroyed a huge Natura cloud. The problem is that my server's world is HUGE, so doing it manually was a bad idea; so I wrote this little tool, which works on Windows and Linux (because most of the Minecraft servers are hosted on Linux machines).


    How to use?

    First, download the tool corresponding to your Operating System in the "Download" category below. Then, open your save's folder, usually in %APPDATA%\.minecraft\saves\SAVE_NAME. Make a backup! Then, go in the "region" folder, and place my tool in it. Open a console in this folder (see FAQ) and write BlockReplacer_0.1_Win32.exe sourceId sourceMeta targetId targetMeta for instance, if you want to replace stone by diamonds block, write BlockReplacer_0.1_Win32.exe 1 0 57 0. Hit enter, and wait for the process to finish.


    What makes it better than other tools like this?

    Well, when I started this project, I didn't know that some other people had the same idea before, and already wrote such tools. But mine is quite different from every others:

    • First, the tool is written in C++, which makes extremely fast!
    • Second, I did so that it uses all the power of your CPU, by using all available cores

    Downloads

    Windows: Latest version Linux 64: Latest version (requires pthread, and zlib)


    Screenshot

    Well, there's nothing really interesting...


    FAQ

    How can I open a console? Well this is a pretty complicated thing. Windows 8 makes it easy: In the file browser, just click on "File" > "Open Command Prompt" On Windows 7, this is different. Hit Win (the key with the Windows Flag) and R at the same time. In the "Execute" window, write "cmd" and hit Enter. This is the command prompt. Everything works with text, no graphics. The prompt tells you in which folder you are. To browse, write "cd DIRECTORY_NAME" (cd means Change Directory) and hit enter. You can go to the parent directory by writing "cd .." Use this to browse to the "region" directory of your map.


    Where can I find block IDs? You can find vanilla block IDs here. If you need block IDs from mods, well... it depends of your config and some other things. The best way is to use NotEnoughItems and get it. Don't forget about meta ;)


    What is block meta? Block Metadata is a number used to make sub-blocks. For instance, the wool block has a different metadata depending on its color. Same thing for rails and their directions. Usually, we describe block IDs using the following format XXXX:YYY (For example, 125:4), where X is the block ID and Y the metadata. If you don't know, try 0.


    Incoming features

    • More options
    • Multiple ID replacement
    • Colored console
    • GUI (Windows only)

    Soure code

    The source code is on GitHub. Check it out here

    Thanks, and have fun! PS: Sorry for my bad english :/ Please tell me if you spot some errors!

    Posted in: Minecraft Tools
  • 0

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    Quote from monkeybeeee1

    sry for the stupid qustion but me got confused reading that
    dose this mean there is still gonna be a 64 verion later on in life or never??? just wondering ^_^


    I hope! CEF's author said that he will re-implement off-screen rendering later. According to this: http://www.magpcss.org/ceforum/viewtopic.php?f=10&t=11743 he will do it in "a few month".

    Quote from Ragocraft

    The mod is still not updated? But what does the author? Is he spending all his money into steam sales?

    Posted in: Minecraft Mods
  • 0

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    Believe it or not but before updating my mod to 1.7 I tried several times to switch from Awesomium to Chromium Embedded Framework, which is 64 bits compatible. However, I've met some huge problems:
    1. Java was trolling me for the two first month (weird ClassCastException across ClassLoaders), but I solved that problem
    2. CEF 64 bits is still experimental and flash doesn't work, which means that most of the WebDisplay's greatest things wouldn't be available (even tought YouTube is now using a HTML5 player)
    3. In the last revision of CEF, the author removed offscreen rendering: that means that I can't embed the web view in minecraft like I do with Awesomium

    So for now I gave up with CEF and WebDisplays 64 bits. I'm now in vacations and I will update the mod to the latest minecraft version; however this will take a bit of time since I want to re-code a big part of it, because I realized that the way I made it really really bad.

    I usually post some news about my progress on Twitter @BuildLight_
    Posted in: Minecraft Mods
  • 0

    posted a message on Web Displays - Browse On the Internet in Minecraft!
    I'm not dead I'm just lazy.
    Posted in: Minecraft Mods
  • To post a comment, please .