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

Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)


Post New Thread Reply   
 
Thread Tools Display Modes
Cobra-Jet
Member
Join Date: Jul 2008
Location: Nebraska
Old 12-21-2008 , 20:50   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #91

Quote:
Originally Posted by Jamster View Post
Oh hang on SM 1.1? You need to remove the nextmap commands from basetriggers.sp and recompile it, done that?

What other plugins do you have loaded? Is there anything in the error logs for SM?
I didn't see any errors.
And no I have not removed the nextmap commands, I will give it a shot.

EDIT - I have no idea what I am doing trying to redo the basetriggers.
I removed the sections with nextmap and tried to compile, it had an error saying it could not read from "mapchooser".
Can anyone help me out?

Last edited by Cobra-Jet; 12-21-2008 at 20:56.
Cobra-Jet is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-21-2008 , 23:58   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #92

Here's mine, though it's from 2419 and I don't use mapchooser so I remove those sections too.

edit: it's probably best to download the source and compile it yourself too
Attached Files
File Type: sp Get Plugin or Get Source (basetriggers.sp - 367 views - 10.6 KB)
Jamster is offline
Cobra-Jet
Member
Join Date: Jul 2008
Location: Nebraska
Old 12-22-2008 , 08:33   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #93

This is probably a dumb question, but I am new to this stuff so thanks for the assistance!

Is this the right compiler? http://www.sourcemod.com/compiler.php

When I use it, it comes up with an error that it cannot read from mapchooser.
Cobra-Jet is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-22-2008 , 09:17   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #94

No, download the full install of sourcemod 1.1 and extract the scripting folder to your machine. Use the included compiler.exe/sh (windows/linux) there, just drag the .sp file to it and it'll dump it into the compile folder.
Jamster is offline
Cobra-Jet
Member
Join Date: Jul 2008
Location: Nebraska
Old 12-24-2008 , 15:15   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #95

I am missing something. Are there instructions somewhere on how to do this?

I did what you said and I can't drag the file to the compile.sh. If I drag to the compile.exe it says "Can't find spcomp.exe".
There is a file called spcomp but it does not have an extension. If I give it the .exe extension and then try to compile, it says internal error.

I have a Linux server if that matters.
Any idea?
Cobra-Jet is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 12-24-2008 , 15:18   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #96

do compile.sh instead of .exe
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Cobra-Jet
Member
Join Date: Jul 2008
Location: Nebraska
Old 12-24-2008 , 17:44   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #97

Quote:
Originally Posted by Lebson506th View Post
do compile.sh instead of .exe
As I said, I cannot drag the file to the compile.sh. Is there something I need to have on my computer to make it work? If i try to open the file, my computer does not know how to open or run it.

EDIT: Hmm, may have just realized something. I am running windows on my PC, but my server is Linux. I would use the compile.exe right?
If so, that is giving me there error i talked about above.

Last edited by Cobra-Jet; 12-24-2008 at 18:12.
Cobra-Jet is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-24-2008 , 18:19   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #98

You are clicking on the "get source" right on my post? Also yes, it doesn't matter what OS you compile them on.

Also, what plugins are you running and what version of SM 1.1?

I could upload it already compiled but it's usually frowned upon around here for good reason.
Jamster is offline
Cobra-Jet
Member
Join Date: Jul 2008
Location: Nebraska
Old 12-24-2008 , 18:37   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #99

I am using 2425.
I do mapchooser only to be able to use RTV and Nominate, so I did not DL yours and attempted to create my own

Other plugins:
admin flatfile
adminhelp
adminmenu
ads
afkm
alltalkmanager
antiflood
autochangemap (set to run from mapcycle.txt, not nextmap)
basebans
basecomm
basecommands
basetriggers
basevotes
clientprefs
dmr
funcommands
funvoates
hreserved_slots
killersingo
mapchooser
nominations
playercommands
rockthevote
scrambleteams
spraytrace
teamswitch

Edit: Downloaded the latest build and tried to compile with compile.exe and again errors saying "Cannot find spcomp.exe"

Last edited by Cobra-Jet; 12-24-2008 at 18:45.
Cobra-Jet is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 12-24-2008 , 19:10   Re: Dynamic Map Rotations (Nextmap Based on # of Players, Time, etc)
Reply With Quote #100

Is spcomp.exe there too?

Though autochangemap could be a problem maybe with DMR, tried it without that too if you still get problems.

And actually looking at the code of basetriggers properly DO use mine, it seems the mapchooser stuff in basetriggers is just to tell nextmap what to do. It might not be perfect but if you want to use DMR you'll probably have to do that since it has its own nextmap command.
Jamster 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 12:46.


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