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

Polymorph: Mod Manager


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-02-2010 , 23:40   Re: Polymorph: Mod Manager
Reply With Quote #41

Quote:
Originally Posted by Jack86 View Post
I think he wants to know does he need to put his map specific cvars and plugins from per-map configs in polymorph.ini in [cfg] and [plugins ] sectors , or they can be read normally from their curent files.
Oh, I get it. Thanks for the explanation. Any of the AMX Mod X core features having to do with map specific plugins/cvars should work like normal. If a particular cvar is listed in a MOD's config file it will take precedence (I think).

Quote:
Originally Posted by Jack86 View Post
What i would like to see is edit of poly_mode cvar so it has an option like current 0 or 1 but without any map votes, it just goes on one mod following mapcycle (or even better, maps listen under that mods mapsfile maps.ini) until its manually changed or it follows mapcycle (or as stated in first example) for X maps then changes mod but without any autovotes for mapchange.
I'll look into this.
__________________
fysiks is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-04-2010 , 19:29   Re: Polymorph: Mod Manager
Reply With Quote #42

Yea, sorry about that, I diddnt explain myself that well :/ But that did answer it. (the map configs have plugins-mod.ini, it enabled plugins mainly)

So thiers only able to have 5 options? or up to 9, but no more than 1 page?
__________________
bmann_420 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-04-2010 , 19:45   Re: Polymorph: Mod Manager
Reply With Quote #43

Quote:
Originally Posted by bmann_420 View Post
So thiers only able to have 5 options? or up to 9, but no more than 1 page?
It's only able to do one "page." It's exactly like the default mapchooser. You can have upto 8 mods (I think, no more than that for sure) in the vote but it requires recompiling the plugin.

Around line 50:

PHP Code:
// Number of main options in vote
#define SELECTMODS 5
#define SELECTMAPS 5 
__________________
fysiks is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-04-2010 , 22:26   Re: Polymorph: Mod Manager
Reply With Quote #44

Yea, i was lookin at that, and seen MAX_MODS 10 also, so was unsure.

I also had another question tho. It seems like the string length in the cfg check is a lil short. It will only add about 2 words from your hostname, or about 10 letters into any cvar, it will cut it off. I changed the string length in the define section (STRLEN_DATA) to no avail.
__________________
bmann_420 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-04-2010 , 23:32   Re: Polymorph: Mod Manager
Reply With Quote #45

Quote:
Originally Posted by bmann_420 View Post
Yea, i was lookin at that, and seen MAX_MODS 10 also, so was unsure.

I also had another question tho. It seems like the string length in the cfg check is a lil short. It will only add about 2 words from your hostname, or about 10 letters into any cvar, it will cut it off. I changed the string length in the define section (STRLEN_DATA) to no avail.
It's not defined by STRLEN_DATA . It uses STRLEN_FILE because I was originally was only getting filenames (plugins) and I hadn't modified it. This was mentioned once before and what I have done for my next update is to change:

PHP Code:
szPreCommentData[STRLEN_FILE
to

PHP Code:
szPreCommentData[64
on line 879 (in my work-in-progress version; should be around there)
__________________
fysiks is offline
orange
Senior Member
Join Date: Dec 2005
Old 01-06-2010 , 02:45   Re: Polymorph: Mod Manager
Reply With Quote #46

This is some smexy stuff my friend.
__________________
orange is offline
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 01-06-2010 , 02:51   Re: Polymorph: Mod Manager
Reply With Quote #47

Not bad you can now choose mods without departing from the server
GordonFreeman (RU) is offline
benamo6
Veteran Member
Join Date: Aug 2008
Location: NeverLand
Old 01-06-2010 , 07:15   Re: Polymorph: Mod Manager
Reply With Quote #48

Could you add a cvar to change vote mod when map begins or when map ends?
__________________
Please help me with this Thread
I am 70% addicted to Counterstrike. What about you?
Ill make any spanish translation of a plugin. Just ask for it
benamo6 is offline
Send a message via MSN to benamo6
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 01-06-2010 , 11:23   Re: Polymorph: Mod Manager
Reply With Quote #49

wowy! awesomes =)
__________________

vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-07-2010 , 22:00   Re: Polymorph: Mod Manager
Reply With Quote #50

Minor update: Fixed long cvar values being cut off. Namely hostname.
__________________
fysiks 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 09:25.


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