AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Server Redirect 1.1 [Last update: Februari 7, 2009] (https://forums.alliedmods.net/showthread.php?t=82886)

zerak 01-11-2009 08:12

Re: Server Redirect
 
yep that one, easy to create but I am lazy :p

SaintK 01-12-2009 09:33

Re: Server Redirect
 
Hi,

I tried to compile everything on my install (1.1) but i get presented with the following errors;

Code:

Compiling serverredirect_cmds.sp ...SourcePawn Compiler 1.1.0
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

serverredirect_cmds.sp(38) : error 017: undefined symbol "LIB_REDIR"
serverredirect_cmds.sp(43) : error 017: undefined symbol "LIB_REDIR"
serverredirect_cmds.sp(51) : error 017: undefined symbol "LIB_REDIR"
serverredirect_cmds.sp(61) : error 035: argument type mismatch (argument 1)
serverredirect_cmds.sp(100) : error 035: argument type mismatch (argument 1)

5 Errors.
Compiling serverredirect.sp ...SourcePawn Compiler 1.1.0


SaintK 01-12-2009 11:58

Re: Server Redirect
 
Hi,

I used the compiled file included in your download for now.

I have a request. The plugin doesn't remove the reserved slots from the maximum allowed players, so the servers now always show that they would have room availible. Would it be possible to strip the reserved slots from the total amount of slots on the server?

canuck 01-24-2009 10:21

Re: Server Redirect
 
I would like to thank brainstorm for the plugin, but I am having an issue.

I have set sm_redirect_serverid properly in all my servers. But it keeps changing to 0. I have set the values in multiple areas (server.cfg, autoexec.cfg and also the cfgs provided with the plugin). It will work if I manually set it in rcon through HLSW, but loses its ID on mapchanges.

Any help would be appreciated.


marrr 01-24-2009 11:11

Re: Server Redirect
 
I would like to use this plugin but for some reason when i import datbase.sql i get an error.

KeLcO 01-28-2009 03:59

Re: Server Redirect
 
Hi,

Same here, i get an error when im import the database.sql!

DJ Tsunami 01-28-2009 06:28

Re: Server Redirect
 
Good luck getting any help without actually posting the error.

mauirixxx 01-28-2009 17:04

Re: Server Redirect
 
the final line of the .sql script is what I assume you 2 are erroring on, as it doesn't have the final ";" to tell MySQL the script is done.

In all honesty, I didn't even use that insert statement, I just used the create table stuff and was on my way.

My question is this: I have 3 servers, on 3 different boxes. Now, should I have the "serverredirect" database info connect to a "master" mysql database, or should I have each server connect to it's own local DB, with the same info copied to each DB?

Also, when I hit F3 to accept the redirect, it directs me like it should - only when I join the new server, the redirect option is still showing, prompting me to hit F3 again. The 2nd time I accept (which redirects me to the server I already wanted to and did in fact join), the redirect window finally closes.

Thoughts?

Kenny Loggins 01-28-2009 19:29

Re: Server Redirect
 
Quote:

Originally Posted by sishgupta (Post 739097)
I've attached the fix, all i did was add

Code:

AutoExecConfig(true, "plugin.serverredirect");
to the onpluginstart function


I can't get this to compile.. Web or with compile.exe

NoNameYan 01-29-2009 01:46

Re: Server Redirect
 
great job!!

but there have some problom for this plugin..

1. SM1.2 can't compile
2. If server no people and server list will be offline
3. left 4 dead can't swap to another server (it will may it disconnect)

can you fix this problom?

thx


All times are GMT -4. The time now is 00:09.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.