Announcement

Collapse
No announcement yet.

(39) Rama's Extra Blueprint Nodes for You as a Plugin, No C++ Required!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    BP Node To Retrieve Your Computer's IP Address!

    BP Node to Get Your Computer's IP Address!

    Dear Community,

    I've finally succeeded at implementing a node that many have been trying to implement since the Beta!

    This is a BP node that gets the IP address of your computer!

    My node relies on http://api.ipify.org, a free and easy way to get your current IP address.

    Because this node involves an HTTP request I can't make it a static library node, so I instead made a VictoryPC class that contains only this functionality.

    You can easily re-parent your current player controller blueprint to use my plugin VictoryPC class!

    File->Reparent

    and if you are not using a PC already, make sure to go to World Settings and use my VictoryPC as your player controller!

    As long as my Victory BP Library is an active plugin for you, then this VictoryPC class will show up!

    Download:
    https://wiki.unrealengine.com/File:VictoryPlugin.zip

    ~~~

    Celebration!

    Yay!

    Now we can all get the IP address of the local computer for use with multiplayer games or webserver activities!

    Enjoy!

    Rama

    ~~~

    Pic

    Here's the setup you should create in your Blueprinted version of my VictoryPC!

    Click image for larger version

Name:	IPGetMyIP.jpg
Views:	11
Size:	177.0 KB
ID:	1094590

    ~~~

    C++ Source Code For You

    Here is the C++ source code I wrote just earlier today!

    Code:
    bool AVictoryPC::VictoryPC_GetMyIP_SendRequest()
    {
    	FHttpModule* Http = &FHttpModule::Get();
    	
    	if(!Http)
    	{
    		return false;
    	}
    	 
    	if(!Http->IsHttpEnabled()) 
    	{
    		return false;
    	} 
    	//~~~~~~~~~~~~~~~~~~~
    	
    	FString TargetHost = "http://api.ipify.org";
    	TSharedRef < IHttpRequest > Request = Http->CreateRequest(); 
    	Request->SetVerb("GET");
    	Request->SetURL(TargetHost);
    	Request->SetHeader("User-Agent", "VictoryBPLibrary/1.0");
    	Request->SetHeader("Content-Type" ,"text/html");
     
    	Request->OnProcessRequestComplete().BindUObject(this, &AVictoryPC::HTTPOnResponseReceived);
    	if (!Request->ProcessRequest())
    	{
    		return false;
    	}
    	  
    	return true;
    }
    	
    void AVictoryPC::HTTPOnResponseReceived(FHttpRequestPtr Request, FHttpResponsePtr Response, bool bWasSuccessful)
    {
    	this->VictoryPC_GetMyIP_DataReceived(Response->GetContentAsString());
    }


    Rama
    100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

    UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

    Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

    Comment


      Two Nodes to Copy and Paste From the Operating System Clipboard!

      Dear Community,

      I present to you today 2 new nodes that allow you to copy and paste from the OS clipboard!

      Please note this has different implementations for different platforms:

      Windows,
      Linux,
      Mac,
      IOS
      and Android

      are definitively supported!

      ~~~

      Video of Usage

      Here's a video demonstrating how this node really does work with the OS clipboard!



      ~~~

      Latest plugin download on the UE4 Wiki: (7.16 mb)
      https://wiki.unrealengine.com/File:VictoryPlugin.zip

      Not using the latest engine version? Check out my wiki section on which plugin release dates go with which engine version!

      Plugin Release Dates and UE4 Engine Versions
      https://wiki.unrealengine.com/Rama%2...ngine_Versions

      ~~~

      Victory Plugin Binaries for Packaged Games

      https://wiki.unrealengine.com/File:V...inPackaged.zip

      ~~~

      Victory Plugin on Media Fire

      If your browser is not updating the Wiki download page to the most recent version, you can use my alternative Media Fire download link!

      Please note the mediafire version includes both the editor and packaged game binaries in the same file ♥ Rama

      https://www.mediafire.com/?ieovbd5l9d7yub2

      ~~~

      Donations

      Donations can be sent to me via:
      http://lightningfitness.org/donate/

      Enjoy!



      Rama
      Last edited by Rama; 12-07-2015, 02:06 AM.
      100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

      UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

      Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

      Comment


        Hi Rama - great clipboard node, did you read my post on this? I managed to fudge one like this together - I was wondering, should it be possible to copy other things to the clipboard like images and stuff?

        Hope you're well!

        Dan

        Comment


          wow nice job, on getting the IP of the player, great for multiplayer. Wish there was a way to also ping that IP from another client.

          Comment


            Originally posted by Dannington View Post
            Hi Rama - great clipboard node, did you read my post on this? I managed to fudge one like this together - I was wondering, should it be possible to copy other things to the clipboard like images and stuff?

            Hope you're well!

            Dan
            Hi there Dannington! Congrats on your own coding victory!

            I will investigate copying images and other data to the OS clipboard!



            Rama

            Originally posted by thanatosx View Post
            wow nice job, on getting the IP of the player, great for multiplayer. Wish there was a way to also ping that IP from another client.
            You should check out

            NetDriver.h
            Code:
            /* @return network number */
            virtual FString LowLevelGetNetworkNumber()
            You can get netdriver with:

            Code:
            UNetDriver* Driver = GetWorld()->GetNetDriver();
            if(Driver)
            {
                
            }
            Last edited by Rama; 12-07-2015, 03:07 PM.
            100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

            UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

            Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

            Comment


              Hey rama - using an older version of your victory plugins kit;

              I found that saving pixels to array node gives a bad image when saving it to the hard drive. . . . this is when I'm saving a 2d texture that I am using inside my project, and saving it to the SAVED/CONFIG/WINDOWS/ as a .png with the below node setup. . . also showing what the picture turns out to be like.

              If I DOWNLOAD the image (Right now I'm just using facebook image from a web URL) and do the same method, it works just fine.... What would you suggest doing for this method?

              PURPOSE:
              Using an avatar image for my logged in customer (multiplayer community) who's avatar image would be locally stored onto the device whenever it is changed or initially set (game for first time) - so as when he continuously logs into the game - it is already there and doesn't need to be redownloaded or re-instantiated. . . just reads the filepath from the .ini file I am creating.

              Click image for larger version

Name:	capture.jpg
Views:	1
Size:	213.9 KB
ID:	1094714
              Sincerely,
              Daniel Wallace
              3d Artist & Project Management Specialist
              walldiv@gmail.com
              Skype: Walldiv
              LinkedIn: www.linkedin.com/pub/daniel-wallace/8b/798/b39/
              Wix Profile: http://walldiv.wix.com/danwallace
              Demo Reel: https://www.youtube.com/watch?v=2gdI...ature=youtu.be

              Comment


                Originally posted by walldiv View Post
                Hey rama - using an older version of your victory plugins kit;

                I found that saving pixels to array node gives a bad image when saving it to the hard drive. . . . this is when I'm saving a 2d texture that I am using inside my project, and saving it to the SAVED/CONFIG/WINDOWS/ as a .png with the below node setup. . . also showing what the picture turns out to be like.

                If I DOWNLOAD the image (Right now I'm just using facebook image from a web URL) and do the same method, it works just fine.... What would you suggest doing for this method?

                PURPOSE:
                Using an avatar image for my logged in customer (multiplayer community) who's avatar image would be locally stored onto the device whenever it is changed or initially set (game for first time) - so as when he continuously logs into the game - it is already there and doesn't need to be redownloaded or re-instantiated. . . just reads the filepath from the .ini file I am creating.
                I actually found the solution HERE - one of your GLORIOUS victory plugin nodes you had posted on someone else's forum post. Thanks again for sheer excellence Rama!
                Sincerely,
                Daniel Wallace
                3d Artist & Project Management Specialist
                walldiv@gmail.com
                Skype: Walldiv
                LinkedIn: www.linkedin.com/pub/daniel-wallace/8b/798/b39/
                Wix Profile: http://walldiv.wix.com/danwallace
                Demo Reel: https://www.youtube.com/watch?v=2gdI...ature=youtu.be

                Comment


                  Thanks for the answer on the plugin not working for 4.10. Then we successfuly made it to work.


                  We were using only few nodes where we accessed files via Victory Blueprints, but now we are using another approach and we don't need the plugin anymore and it's taking up 1.8GB.

                  But Unreal always crushes when we try to remove the Plugin.

                  There are three actions I can do:
                  1/ Remove these lines from DefaultEngine.ini
                  [/Script/Engine.Engine]
                  UnrealEdEngine=/Script/VictoryEdEngine.VictoryEdEngine

                  2/ Uncheck Plugin in Editor

                  3/ Delete VictoryPlugin from Plugins folder

                  I assume the correct order of these action is 1,2,3 according to wiki entry.

                  But there is one odd thing. The only case when editor doesn't crash is when I have the Plugin checked in editor, and I don't have any lines in DefaultEngine.ini file. Then if I try unchecking the plugin or deleting the VictoryPlugin folder the editor crashes.

                  You also written before "1. make sure plugin is at project level not engine level" but when I searched "C:\Program Files\Epic Games\4.10" for "Victory" I found nothing. I also searched file C:\Program Files\Epic Games\4.10\Engine\Config\BaseEngine.ini for "Victory" without results. Can you help me please?

                  Comment


                    I've had this kind of thing before, you need to check every blueprint for things like variables whose class no longer exists. Maybe you have a reference to a rama specific blueprint in there somewhere. I had the same problem when I tried to remove a now very unsupported epic plugin. There was one reference to this specific blueprint class buried in a blueprint that was crashing the engine every time.

                    Comment


                      Originally posted by walldiv View Post
                      I actually found the solution HERE - one of your GLORIOUS victory plugin nodes you had posted on someone else's forum post. Thanks again for sheer excellence Rama!
                      You're welcome Walldiv!

                      I am glad you got it working and are enjoying the plugin BP nodes!



                      Originally posted by Dannington View Post
                      I've had this kind of thing before, you need to check every blueprint for things like variables whose class no longer exists. Maybe you have a reference to a rama specific blueprint in there somewhere. I had the same problem when I tried to remove a now very unsupported epic plugin. There was one reference to this specific blueprint class buried in a blueprint that was crashing the engine every time.
                      Thanks for sharing this research/info Dannington!

                      I hope it helps you VRPixel!

                      It does sound like there must be some BP node specific to the plugin left somewhere in your blueprints.

                      Also make sure you are not using any of the plugin specific classes still, like VictoryISM, VictoryPC, and VictoryTMapComp.



                      Rama
                      Last edited by Rama; 12-11-2015, 03:22 PM.
                      100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

                      UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

                      Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

                      Comment


                        Draw Circle now an engine node!

                        Dear Community,

                        I submitted a C++ pull request to Epic to make Draw Debug Circle into a blueprint node, and now it has been released in 4.10!

                        From the 4.10 release notes:
                        "New: Blueprints can now draw circles via the Debug Draw Circle node."

                        Here are some pics from my Victory BP Library version!

                        Make sure to check out "Draw Debug Circle!"

                        Click image for larger version

Name:	drawthickcircle3.jpg
Views:	11
Size:	100.4 KB
ID:	1094923

                        Click image for larger version

Name:	DrawThickCircle4.jpg
Views:	11
Size:	131.1 KB
ID:	1094924

                        Enjoy!

                        Rama
                        100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

                        UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

                        Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

                        Comment


                          Blueprint Node to Identify Graphics Card Brand of End User / Player

                          Dear Community,

                          I've just released a new node that lets you know the Graphics Card Brand of the end user!

                          Essentially, this node will return the graphics card brand for whichever computer is running the UE4 engine at the time that the node is run!

                          Currently works for AMD, NVIDIA, and Intel!

                          I also return the Vendor ID if the vendor is not one of the three above.



                          ~~~

                          Latest plugin download on the UE4 Wiki: (7.16 mb)
                          https://wiki.unrealengine.com/File:VictoryPlugin.zip

                          Not using the latest engine version? Check out my wiki section on which plugin release dates go with which engine version!

                          Plugin Release Dates and UE4 Engine Versions
                          https://wiki.unrealengine.com/Rama%2...ngine_Versions

                          ~~~

                          Victory Plugin Binaries for Packaged Games

                          https://wiki.unrealengine.com/File:V...inPackaged.zip

                          ~~~

                          Victory Plugin on Media Fire

                          If your browser is not updating the Wiki download page to the most recent version, you can use my alternative Media Fire download link!

                          Please note the mediafire version includes both the editor and packaged game binaries in the same file ♥ Rama

                          https://www.mediafire.com/?ieovbd5l9d7yub2

                          ~~~

                          Donations

                          Donations can be sent to me via:
                          http://lightningfitness.org/donate/

                          Enjoy!



                          Rama
                          Last edited by Rama; 12-12-2015, 12:15 AM.
                          100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

                          UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

                          Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

                          Comment


                            Hey guys,
                            I am being unable to successfully install the victory ed engine part.
                            I keep getting this error ---------->
                            "Plugin 'VictoryPlugin' failed to load because module 'VictoryEdEngine' does not appear to be compatible with the current version of the engine. This plugin's functionality will not be available, The plugin may need to be recompiled."
                            I have got rama victoryplugin from here: https://www.mediafire.com/?g6uf9kt5ueb2upj
                            and the Victory Ed Engine from here: https://wiki.unrealengine.com/File:VictoryEdEngine.zip

                            Both links are taken from ramas victory plugin wiki. I don't know what I am doing wrong. The victory plugin is available in the plugins menu of ue4 if I only copy paste its folder. Copying VictoryEDEngine folder gives me the incomparability error. I havent even gotten to the point of editing my DefaultEngine.ini.

                            Any help would really be appreciated guys!

                            Thanks

                            Comment


                              Any one?

                              Comment


                                Originally posted by kabirpunde View Post
                                Hey guys,
                                I am being unable to successfully install the victory ed engine part.
                                I keep getting this error ---------->


                                I have got rama victoryplugin from here: https://www.mediafire.com/?g6uf9kt5ueb2upj
                                and the Victory Ed Engine from here: https://wiki.unrealengine.com/File:VictoryEdEngine.zip

                                Both links are taken from ramas victory plugin wiki. I don't know what I am doing wrong. The victory plugin is available in the plugins menu of ue4 if I only copy paste its folder. Copying VictoryEDEngine folder gives me the incomparability error. I havent even gotten to the point of editing my DefaultEngine.ini.

                                Any help would really be appreciated guys!

                                Thanks
                                You have to be using a compatible engine version, what engine version are you using?



                                Rama
                                100+ UE4 C++ Tutorials on the UE4 Code Wiki, including UE4 Multi-Threading!

                                UE4 Marketplace: Melee Weapon Plugin & Compressed Binary Save System Plugin | Rama's C++ AI Jumping Videos | Vertex Snap Editor Plugin

                                Visit www.ue4code.com to see lots of videos about my C++ Creations! ♥ Rama

                                Comment

                                Working...
                                X