View Single Post
rig0r
Member
Join Date: Dec 2009
Old 01-05-2010 , 12:27   Re: Server Hop [v0.6, updated 2010-01-03]
Reply With Quote #28

Quote:
Originally Posted by cybersquare420 View Post
no errors, so i did some extensive testing.

player is on server 1.
server 2 has been offline since before server 1 was started.
player executes !hop. server 2 is not in the list.
server 2 is started up.
player tries again after 1 minute.
server 2 is in the list (YAY!!)
server 2 is then shut back down.
player waits many minutes.
player executes !hop.
server 2 remains in the list.
server 2 will remain in the list until server 1 is restarted. (not even a map change will reset the list)

hope this helps a bit. looks to me like the plugin checks to see if they are online, but does not check to see if they are offline.... or something to that effect.

edit: i think i figured out the issue with f3 as well... i had to bind it to a non function key and now it works perfectly... i have a keyboard that has the f keys as secondary functions rather than as primary.... the net effect for me was the servers ending up added to favorites rather than accepting the connection... LOL... took me a while to figure out WTF happened... any how, for anyone who cannot use f3 to connect should just bind askconnect_accept to some other key.
Thanks for testing this ! I was able to reproduce it and fixed a rather simple but nasty bug Version 0.61 is available, give it a try.

Quote:
Originally Posted by Keksmampfer View Post
Code:
public OnPluginStart()
{    
    g_version = CreateConVar(...);
    g_enable = CreateConVar(...);
    
    AutoExecConfig(true, "server.hop");
..
}
http://docs.sourcemod.net/api/index....d=show&id=607&
Thanks, I'll look into it for the next version.
__________________
rig0r is offline