Raised This Month: $51 Target: $400
 12% 

Server Redirect 1.1 [Last update: Februari 7, 2009]


Post New Thread Reply   
 
Thread Tools Display Modes
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 01-30-2009 , 05:32   Re: Server Redirect
Reply With Quote #31

A Sourcebans auto integration would be handy to match server id's ;)

Also:
sm_redirect_ads_format "Also available: {NAME} | {MAP} | {CURR} ({IP}) - Say !servers to switch servers."

{MAP} and {CURR} doesnt show it just shows {MAP} and {CURR} ingame.
__________________

Last edited by tcviper; 01-30-2009 at 12:49.
tcviper is offline
Send a message via MSN to tcviper
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 01-30-2009 , 13:51   Re: Server Redirect
Reply With Quote #32

Seems the code is indeed missing {MAP}, {CURR} and {MAX} for advertisements. Weird, because it does have them on the GoT server.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
mauirixxx
Member
Join Date: Mar 2006
Old 01-30-2009 , 14:05   Re: Server Redirect
Reply With Quote #33

It worked fine when I set it up 2 days ago to. Here's one of my entries in my database:

Code:
H^S 3v3 | {MAP} | {CURR}/{MAX}
In game it displays correctly, eg:

Code:
H^S 3v3 | de_dust | 6/14
Maybe there was a secret update or something? I dunno ....
mauirixxx is offline
Send a message via AIM to mauirixxx Send a message via MSN to mauirixxx Send a message via Yahoo to mauirixxx
bzz0
Senior Member
Join Date: Oct 2005
Location: Latvia, Riga
Old 02-01-2009 , 17:04   Re: Server Redirect
Reply With Quote #34

Great plugin, but no support The problem with reserved slots not counting still there
__________________
Let's make it better
bzz0 is offline
Brainstorm
Member
Join Date: Aug 2007
Old 02-01-2009 , 17:56   Re: Server Redirect
Reply With Quote #35

Haven't been in this topic for a while indeed. I'll think I can fix at least some of the problems:

* Package it a little different (scripting file)
* Fix SQL script? Clarify installation.
* Reserved slots: need to see how I can obtain the amount of reserved slots and subtract them. And there are several plugins for reserved slots.
* The code for {MAP} and such should work? It's the FormatServerName() function in the code.
* Sourcebans integration: nice idea Need to find some info on this.
* Compile for 1.2: will check this
* L4D: I can test this as well.
* server id resetting to 0: this could happen on the first map (can fix that) or if it's set in a config file.
* Filter out empty servers and choose sort mode.

I'm not sure why the redirect window ('F3') window remains active sometimes. It is built into the client, so having to press F3 twice is likely to be impossible to fix.
Brainstorm is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 02-03-2009 , 07:42   Re: Server Redirect
Reply With Quote #36

3) I think all reserved slot packages use sv_visiblemaxplayers.
4) It's in FormatServerName, but not in FormatAdText. So it works for the menu, but not for the advertisements.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
mauirixxx
Member
Join Date: Mar 2006
Old 02-03-2009 , 15:04   Re: Server Redirect
Reply With Quote #37

while this plugin works awesome - I have 3 server sharing the same database - I did notice the following error on startup:

Code:
[SM] Unable to load plugin "serverredirect_cmds.smx": Could not find required plugin "serverredir"
So I downloaded serverredirect.smx, renamed it to serverredir.smx, and reuploaded it - so now I have both serverredirect.smx and serverredir.smx on the game server.

That gave the following error:

Code:
[SM] Native "CreateNative" reported: Fatal error creating dynamic native!
[SM] Displaying call stack trace for plugin "serverredirect.smx":
[SM]   [0]  Line 577, E:\TF2\files\sourcemod\plugins\mine\serverredirect.sp::AskPluginLoad()
[SM] Unable to load plugin "serverredirect_cmds.smx": Could not find required plugin "serverredir"
[SM] Unable to load plugin "serverredir.smx": Could not find required plugin "serverredir"
[SM] Native "LoadServerRedirectListFiltered" reported: Plugin owning this native is currently paused.
[SM] Displaying call stack trace for plugin "serverredirect_ads.smx":
[SM]   [0]  Line 105, E:\TF2\files\sourcemod\plugins\mine\serverredirect_ads.sp::Timer_AdsUpdate()
This is being ran on a CS Source server btw, under Linux. If I do the download/rename/upload combo on the serverredirect_ads.smx - I get a segfault.

If I leave it the way it was, I get the first code block in my SM error logs, but as far as I can tell the plugin works.

But nobody likes errors. Help?
mauirixxx is offline
Send a message via AIM to mauirixxx Send a message via MSN to mauirixxx Send a message via Yahoo to mauirixxx
Brainstorm
Member
Join Date: Aug 2007
Old 02-03-2009 , 16:15   Re: Server Redirect
Reply With Quote #38

Is this on Sourcemod 1.1 or 1.2?
Brainstorm is offline
mauirixxx
Member
Join Date: Mar 2006
Old 02-03-2009 , 16:18   Re: Server Redirect
Reply With Quote #39

SM 1.1
mauirixxx is offline
Send a message via AIM to mauirixxx Send a message via MSN to mauirixxx Send a message via Yahoo to mauirixxx
sishgupta
Junior Member
Join Date: Dec 2008
Location: Toronto
Old 02-03-2009 , 23:48   Re: Server Redirect
Reply With Quote #40

Quote:
Originally Posted by Kenny Loggins View Post
I can't get this to compile.. Web or with compile.exe
Yeah it wont compile for me either (fubar in the upload?), but if you add the line in manually it should work. This should fix the issue that people are having where the server uses serverid 0.


try this one that ive put on my own site:
http://tf2f.sishgupta.com/serverredirect.sp


and to whoever asked, i just used a new table in my sourcemod database instead of creating a new DB alltogether

also the map, curr, max variable do indeed work fine for me
sishgupta is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:43.


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