ajom
Well-known member
I can Get the Server IP Address and Port number using this:
I know how to change the Server IP and Port in memory.
But I was wondering how can I get what my Local IP address is? which applies on this scenarios:
My primary goal is to recreate SAMP IP Changer in a flexible manner. But I can't even find my ip address using cheat engine. I tried the following:
I appreciate if you all can share some Snippets,Demo,Memory Pointer about how samp get my ip.
Code:
0B39: samp get_current_server_address 1@ port 2@
But I was wondering how can I get what my Local IP address is? which applies on this scenarios:
- My current Local IP Address is 192.68.1.34, then I will get a string of "192.168.1.34"
- If I am running a vpn and my VPN IP is 10.1.1.54, then I will get a string of "10.1.1.54"
My primary goal is to recreate SAMP IP Changer in a flexible manner. But I can't even find my ip address using cheat engine. I tried the following:
- localhost ip address 127.0.0.1
- My Local IP Address 192.168.1.34
- My Public IP for example 155.29.32.2
I appreciate if you all can share some Snippets,Demo,Memory Pointer about how samp get my ip.