# Available, Counseling, Steam/Multiplayer Code, UI, C++ Game Mechanics

**URL:** <https://forums.unrealengine.com/t/available-counseling-steam-multiplayer-code-ui-c-game-mechanics/7345>\
**Category:** Looking For Work?\
**Tags:** unreal-engine\
**Created:** [July 9, 2014, 11:35pm UTC](https://forums.unrealengine.com/t/available-counseling-steam-multiplayer-code-ui-c-game-mechanics/7345 "2014-07-09T23:35:48Z")\
**Posts on this page:** 1\
**Showing post:** 77

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [December 11, 2014, 5:07pm UTC](https://forums.unrealengine.com/t/available-counseling-steam-multiplayer-code-ui-c-game-mechanics/7345/77 "2014-12-11T17:07:37Z")

</div>

**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](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:**

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

```auto

**Celebration!**

Yay!

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

Enjoy!

```

**Pic**

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

 ![2902549c08d489d31bb43f8a7049793370d4801e.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/0/2902549c08d489d31bb43f8a7049793370d4801e.jpeg)

````auto

**C++ Source Code For You**

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

```

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());
}
 

```

♥
````

---

_[View the full topic](https://forums.unrealengine.com/t/available-counseling-steam-multiplayer-code-ui-c-game-mechanics/7345)._
