• iphax (player_connect ip hider)
    46 replies, posted
Since it was requested: [release][h2]iphax[/h2](player ip hider for that pesky player_connect event) [B]Installation[/B] Download ([B]linux only for now[/B]): [url]http://88.191.111.120/~srcds/modules/serverplugin_iphax.tar.bz2[/url] Put the [I]iphax.so[/I] to [I]garrysmod/addons[/I] folder. Make a [I]iphax.vdf[/I] on the same addons folder with content [code]"Plugin" { "file" "../garrysmod/addons/iphax" } [/code] [B]Usage[/B]: You can unload the plugin with plugin_unload if you need to. [B]Customization[/B]: there's convar "net_event_playerip". Look at the original value and you know what to change, if you really need to.[/release] Windows release coming right after someone posts it or I get visual studio's c++ side working on windows 8. PS: Shitty code. Feel free to cleanup, I can't be bothered. Enjoy.
Awesome, thank you
Privacy at it's best.
This will be obsolete when the gmod update comes through but it's pretty useful, good job!
[QUOTE=Ruzza;33973488]This will be obsolete when the gmod update comes through but it's pretty useful, good job![/QUOTE] Obsolete for Garry's mod, but It'll still work on any other source game.
Nice. But why does it need to work with windows 8? Didn't you mean windows 7?
[QUOTE=KatNotDinner;33981510]Nice. But why does it need to work with windows 8? Didn't you mean windows 7?[/QUOTE] My windows is windows 8 atm so that's why I said 8. It'll work on any windows after I _compile_ it for windows. Sorry for the confusion.
Compiled for windows, untested though. [url=http://dl.dropbox.com/u/10105043/facepunch/iphax_windows.dll]Click here for [b]iphax_windows.dll[/b][/url]
[QUOTE=Python1320;33981724]My windows is windows 8 atm so that's why I said 8. It'll work on any windows after I _compile_ it for windows. Sorry for the confusion.[/QUOTE] Win 8? Didn't know that this existed.
It's in pretty early development if I remember correctly. Will probably be released in mid to late 2012.
Only thing more outrageous then PlayerConnect hook showing clients ip is the servers that run sourcemod and display clients ip and country. That sure is a smart idea in this day and age. [code] «¦HG¦» Clark -No monitor <STEAM_0:0:39962440> connected from country United States (US), IP 255.255.255.255 [/code]
DDoSing 255.255.255.255, prepare to go offline for days Clark.
oh poo tried installing this on my windows servers, but I guess the GSP don't have the Visual C++ 2010 Redist installed on the boxes :(
[QUOTE=NaRyan;34009955]oh poo tried installing this on my windows servers, but I guess the GSP don't have the Visual C++ 2010 Redist installed on the boxes :([/QUOTE] The plugin just needs to be recompiled without vs dependencies. EDIT: Updated the linux build. Now it won't crash if you try to unload it... Also tidied up the code a bit more...
Recompiled without the VS dependencies, still untested though. [url=http://dl.dropbox.com/u/10105043/facepunch/iphax_windows.dll]Click here for the new [b]iphax_windows.dll[/b][/url]
Just tried your recompiled version. However when I use the command net_event_playerip it gives the error "Unknown command "net_event_playerip" That command did work fine on your previous version (testing this on a LAN server)
My windows version worked previously, you mean? I updated to pythons new source, maybe that is broken.
I'm getting unknown command as well, but on the latest Linux version
yeah on your 1st windows version the command "net_event_playerip" gave a result, but on the 2nd one it does not. But since Banana Lord has same problems on Linux I guess it's an issue with python's code.
Sorry about that, it should still work though although you can't change the ip. I'll check it out tomorrow but for now, night.
[QUOTE=Python1320;34023286]Sorry about that, it should still work though although you can't change the ip. I'll check it out tomorrow but for now, night.[/QUOTE] Thanks :) I'm not sure why Garry doesn't just remove the IP thing from the current GMod whenever it breaks again, same with pixelrender..
I will recompile the temporary fix for windows, real quickly. [editline]2nd January 2012[/editline] [url=http://dl.dropbox.com/u/10105043/facepunch/iphax_windows.dll]iphax_windows.dll[/url] I compiled it without the VS dependencies (I think, anyways) again, let me know if this one doesn't work.
[QUOTE=JustSoFaded;34024994]I will recompile the temporary fix for windows, real quickly. [editline]2nd January 2012[/editline] [url=http://dl.dropbox.com/u/10105043/facepunch/iphax_windows.dll]iphax_windows.dll[/url] I compiled it without the VS dependencies (I think, anyways) again, let me know if this one doesn't work.[/QUOTE] I still get Unknown command "net_event_playerip" with that one too.
We have three options. - Keep the convar and don't try unloading (crashes). - Keep the convar but it's not accessible (works as normal) - Make it a concommand instead Thing is when I call ConnectTier1Libraries the convar works, but when unloading the convar system throws up and the crash lands in server.so. I've got no idea why.
Gatekeeper had a similar problem. I fixed it by declaring g_pCVar without using the ConnectTier1Libraries function. [url]http://code.google.com/p/gmodmodules/source/diff?spec=svn161&old=157&r=161&format=side&path=%2Ftrunk%2Fgmsv_gatekeeper%2Fsrc%2Fmain.cpp[/url]
Updated linux. Works again. Even unloading. Thanks to Chrisaster for the heads up. Let me try to compile windows now too. [editline]3rd January 2012[/editline] Windows version for those who for some reason want it: [url]http://dl.dropbox.com/u/1910689/modules/serverplugin_iphax.dll[/url] Untested :(
Loading ok on my 2 windows servers :)
I'm going to pop this on my server too. Had enough of the connect, and get DDoSed moments.
[QUOTE=Banana Lord.;34024050]Thanks :) I'm not sure why Garry doesn't just remove the IP thing from the current GMod whenever it breaks again, same with pixelrender..[/QUOTE] Garry has removed both PlayerConnect event and PixelRender from gmod13.
[QUOTE=Ruzza;34046292]Garry has removed both PlayerConnect event and PixelRender from gmod13.[/QUOTE] I am aware, doesn't change my statement
Sorry, you need to Log In to post a reply to this thread.