Settings in Config file ignored

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Locked
algee2005
Peon
Posts: 25
Joined: Sun Jul 10, 2005 1:45 pm

Settings in Config file ignored

Post by algee2005 » Sun Jul 10, 2005 2:01 pm

hey there, i have some odd problem with the wc3FT.cfg file..

the settings i have set for xp to be given out seem to be ignored by the plugin.

i have most of the events like plant bomb, defuse bomb, recue hostages, etc set to give out 10 xp. but it looks like they are overridden with the plugin defaults, for example headshots should give no xp as set in the config file - but the plugin gives 2 xp (as default setting)

the settings for the mysql database, where xp should be stored in are working fine - xp is correctly assigned and reassigned after reconnect from our mysql database.

could someone help me please, i can not figure out what i am doing wrong :?


the machine is counterstrike 1.6, hosted by nuclearfallout - but i can't get the machine specs, i only know its running win32 :(


my addons/modules/plugins:

Code: Select all

meta version
Metamod v1.17.4  2005/02/20
         by Will Day <[email protected]>
            http://www.metamod.org/
         compiled: Feb 19 2005, 20:56:51 +0100 (optimized)

Code: Select all

Currently loaded plugins:
               description      stat pend  file              vers      src  load  unlod
          [ 1] SBScan           RUN   -    sbsrv_mm.dll      v1.00     ini  Start Never
          [ 2] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.01     ini  ANY   ANY  
         2 plugins, 2 running

Code: Select all

AMX Mod X 1.01
         Authors: Felix "SniperBeamer" Geyer, David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko, Jonny "Got His Gun" Bergstrom, and Lukasz "SidLuke" Wlasinski.  (http://www.amxmodx.org)
         Compiled: Mar 11 2005, 17:30:03
         Core mode: JIT

Code: Select all

amxx modules
Currently loaded modules:
               name                    version  author               status     
          [ 1] Fun                     1.01     AMX Mod X Dev Team   running    
          [ 2] Engine                  1.01     AMX Mod X Dev Team   running    
          [ 3] FakeMeta                1.01     AMX Mod X Dev Team   running    
          [ 4] MySQL                   1.01     AMX Mod X Dev Team   running    
          [ 5] GeoIP                   1.01     AMX Mod X Dev Team   running    
          [ 6] Array                   1.01     AMX Mod X Dev Team   running    
          [ 7] Sockets                 1.01     HLSW Dev Team        running    
          [ 8] RegEx                   1.01     AMX Mod X Dev Team   running    
          [ 9] CStrike                 1.01     AMX Mod X Dev Team   running    
          [10] CSX                     1.01     AMX Mod X Dev Team   running    
          [11] Warcraft 3 Frozen Thro  2.2.2b   Geesu (Pimp Daddy)   running    
         11 modules, 11 correct

Code: Select all

amxx plugins
Currently loaded plugins:
                name               version  author            file             status   
          [  1] Admin Base (SQL)   1.01     AMXX Dev Team     admin_sql.amxx   running  
          [  2] Admin Commands     1.01     AMXX Dev Team     admincmd.amxx    running  
          [  3] Admin Help         1.01     AMXX Dev Team     adminhelp.amxx   running  
          [  4] Slots Reservation  1.01     AMXX Dev Team     adminslots.amxx  running  
          [  5] Multi-Lingual Sys  1.01     AMXX Dev Team     multilingual.am  running  
          [  6] Menus Front-End    1.01     AMXX Dev Team     menufront.amxx   running  
          [  7] Commands Menu      1.01     AMXX Dev Team     cmdmenu.amxx     running  
          [  8] Players Menu       1.01     AMXX Dev Team     plmenu.amxx      running  
          [  9] Teleport Menu      1.01     AMXX Dev Team     telemenu.amxx    running  
          [ 10] Maps Menu          1.01     AMXX Dev Team     mapsmenu.amxx    running  
          [ 11] Admin Chat         1.01     AMXX Dev Team     adminchat.amxx   running  
          [ 12] Anti Flood         1.01     AMXX Dev Team     antiflood.amxx   running  
          [ 13] Scrolling Message  1.01     AMXX Dev Team     scrollmsg.amxx   running  
          [ 14] Info. Messages     1.01     AMXX Dev Team     imessage.amxx    running  
          [ 15] Admin Votes        1.01     AMXX Dev Team     adminvote.amxx   running  
          [ 16] NextMap            1.01     AMXX Dev Team     nextmap.amxx     running  
          [ 17] TimeLeft           1.01     AMXX Dev Team     timeleft.amxx    running  
          [ 18] Pause Plugins      1.01     AMXX Dev Team     pausecfg.amxx    running  
          [ 19] Stats Configurati  1.01     AMXX Dev Team     statscfg.amxx    running  
          [ 20] Restrict Weapons   1.01     AMXX Dev Team     restmenu.amxx    running  
          [ 21] StatsX             1.01     AMXX Dev Team     statsx.amxx      running  
          [ 22] CS Misc. Stats     1.01     AMXX Dev Team     miscstats.amxx   running  
          [ 23] CS Stats Logging   1.01     AMXX Dev Team     stats_logging.a  running  
          [ 24] Warcraft 3 Frozen  2.2.3    Pimp Daddy (OoTO  war3ft.amxx      debug    
          [ 25] Jedi Force Grab    1.6.2    SpaceDude         jedigrab.amxx    debug    
          [ 26] AntiCamping Advan  1.01c    Homicide          anticamping.amx  debug    
          [ 27] Last man bets      0.9.3    JGHG              lastmanbets.amx  debug    
          [ 28] ATAC               2.5.4.1  T(+)rget/f117bom  atac.amxx        debug    
          [ 29] ATAC Config        1.1.06   f117bomb & T(+)r  atac_cfg.amxx    debug    
          [ 30] DeagsMapManage     2.27d    Deags             mapmanage.amxx   debug    
          [ 31] Roll The Dice Plu  2.4a     MiniPeLoS,BreadD  rollthedice.amx  debug    
          [ 32] AFK KiSSS          2.5.0    Isobold & Cheesy  afkkicker.amxx   debug    
          [ 33] Team Balancer      1.7b8    Ptahhotep         teambalance.amx  debug    
          [ 34] RS Swear Filter    2.0      xeroblood         swearfilter.amx  debug    
          [ 35] AMX Realmod Plugi  1.4.1    Gevurah           realmod.amxx     debug    
         35 plugins, 35 running

i hope thats all information you need, if i missed something please tell me thx.


i am wondering why there is a module and a plugin for this mod, might this be the cause? that only one of them may be enabled?

User avatar
nightscream
Sorceress
Posts: 319
Joined: Wed Jul 06, 2005 12:54 pm
Location: Belguim, Hallaar
Contact:

Post by nightscream » Sun Jul 10, 2005 2:45 pm

k you better give us war3ft.cfg and it is better to no run the modules
  • Array
    Socket
    RegEx
and if you don't have a plugin tot need geoip you better don't use it
want help pm me
Image

Daver
WC3Mods Donor
WC3Mods Donor
Posts: 93
Joined: Sat Jul 09, 2005 2:34 pm
Location: Orland Park, IL.
Contact:

Post by Daver » Sun Jul 10, 2005 3:01 pm

Hey thats interesting, why not run those modules... Can you explain please.

thx,
Daver

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Sun Jul 10, 2005 6:04 pm

there is a reason for this, XP is calculated weird (but good :P )

basically xp you earn is:

xpbasedonyourlevel + bonusxpthatisintheconfigfile

So it's just doing + 0, but you still get that xpbasedonyourlevel

algee2005
Peon
Posts: 25
Joined: Sun Jul 10, 2005 1:45 pm

Post by algee2005 » Mon Jul 11, 2005 12:26 pm

hmm.. is it possible to check what plugins/modules need other plugins/modules?

i ll just do some trial and error :P

here is my wc3ft.cfg:

Code: Select all

// Warcraft 3 Frozen Throne Configuration File
// Note: NO MATTER WHAT, you must have the mysql module running
// even if you're not using it

mp_savexp		1		// Enables saving of experience (uses a vault, default is 0)
sv_mysql		1		// this will save w/MySQL (note: to use this mp_savexp must also be 1, default is 0)
FT_saveby   0  	// What should I save this as?  steam id = 0, IP = 1, name = 2 (works for vault and mysql, default is 0)

// MySQL configuration
FT_mysql_host		        "<EDIT>"	  // Host Name
FT_mysql_user		        "<EDIT>"		        // User Name
FT_mysql_pass		        "<EDIT>"		// Password
FT_mysql_db		          "<EDIT>"	        	// Database Name
sv_mysql_auto_pruning	  0		                // Automatically prunes the database of old users at a mapchange occuring between 5:36 to 5:59 AM (default is 0, doesn't work for vault)
sv_daysbeforedelete 	  0		                // However many days before deleting XP or pruning from MySQL database (default is 31)
sv_mysqltablename	      "war3users"	        // Table Name, no need to change (default is war3users)
sv_mysql_save_end_round 1		                // Save Users at the end of each round (causes slight lag, default is 0)
FT_disable_savexp	      0		                // Set this to 1 to disable users typing /savexp (default is 0)

// Experience options
mp_xpmultiplier		1.0		      // set the level required to gain a level as a multiple (default 1.0)
mp_weaponxpmodifier	0		      // gives additional XP for using certain weaker weapons (default is 1)
FT_min_b4_XP		2		          // Minimum amount of players needed b4 awarding XP (default is 2)
FT_objectives		1		          // If enabled, will display message in chat to show XP they gain for completing certain objectives (default is 1)
FT_kill_objectives	1		      // Shows how much XP you gain for killing someone (each kill, default is 0)
FT_bombplanterxp	10		      // XP given for planting the bomb (default is 15)
FT_defusexp		10		          // XP given for defusing the bomb (default is 30)
FT_hostagexp		10		        // XP given for helping to rescue the hostages (default is 25)
FT_killrescuemanxp	10		    // XP given for killing the person rescuing the hostages (default is 25)
FT_xpbonus		10		          // XP given for purchasing tome of experience (default is 50)
FT_kill_bomb_carrier_bonus 10	// XP given for killing the bomb carrier (default is 25)
FT_defuser_kill_bonus	10		  // XP given for killing the defuser (default is 25)
FT_VIP_kill_bonus	10		      // XP given for killing the VIP (default is 25)
FT_VIP_escape_bonus	10		    // XP given when the VIP escapes (default is 30)
FT_headshot_bonus	0		        // XP given for getting a headshot (default is 9)
FT_xp_radius		750		        // Radius to give XP to teammates near where the special objective is completed (rescued hosties, bomb planted, killed vip, vip escaped, default is 750)
FT_round_win_XP		0		        // Experience given to the winning team (default is 35)
FT_autoxp		0		              // With this option set to 1, the joining players will receive the average amount of XP that all of the players have (SHORT TERM XP ONLY, default is 0)

// Game Play Enhancements
sv_warcraft3		  1		    // Set this to 0 to disable warcraft (default is 1)
mp_grenadeprotection	0		// Only 1 HE grenade will be allowed for purchase per round (default is 0)
FT_position		    0		    // 0 is for left, 1 is for right (where to put the information for those spectating, default is 0)
FT_centerhud		  1		    // Automatically makes the hud be centered (message that shows xp/race/level, default is 1)
FT_items_in_hud		0		    // Display items w/a HUD message (this will take up 1 of the 4 channels, default is 0)
FT_spec_info		  1		    // Show Spectating information for dead players (default is 1)
FT_show_icons		  1		    // Shows icons on your screen when your ultimate is ready (default is 1)
FT_control		    0		    // Enable Time Activation Controler (default is 0)
FT_start		      0		    // Hour to Activate WC3 (time is in military time, default is 23)
FT_stop			      0		    // Hour to Deactivate WC3 (default is 07)
FT_message		    1		    // Show Message Monitor (near radar) (default is 0)
FT_race_icons		  1		    // Allow users to type /icons to show player icons above the player (default is 1)
FT_level_icons		1		    // Allow users to type /icons to see player levels above the player (default is 1)
FT_CD			        0		    // If set to 1, it will not allow players without Cheating Death to play this mod (default is 0)
FT_buyzone		    1  	    // Restrict purchasing shopmenu items to within the buyzone? (default is 0)
FT_buytime		    1		    // Restrict purchasing shopmenu items to within the buytime? (default is 0)
FT_buydead		    0		    // Allow users to purchase items when dead? (default is 1)
FT_show_player		1		    // Show teammate and enemy information in the center of the screen when they are on target? (not for DOD, default is 1)
FT_cshack		      0		    // Set this to 1 to allow blood mage's with siphon mana to have no limit with money (this may cause some instability on servers, default is 0)

// TYPE OF WARCRAFT (If race 4 or 5 is selected, messsages will say WAR3 instead of saying WAR3FT, also shopmenu2 will be disabled, as well as saying rings and ability)
FT_races		8		          // Number of races (if races are less than 5, the second shopmenu will be disabled (4 is standard war3), default is 8)

// Chameleon Race Configuration Options (Race 9) -	This race allows you to either assign skills that will be permanent, or random skills will be chosen each round
FT_Race9_Random		1		// Should the 9th race have random skills each round?, if so the next 4 option are irrelevant (default is 1)
FT_Race9_Skill1		1		// What race should the first skill be taken from? (default is 1)
FT_Race9_Skill2		1		// What race should the second skill be taken from? (default is 1)
FT_Race9_Skill3		1		// What race should the third skill be taken from? (default is 1)
FT_Race9_Ultimate	1		// What race should the ultimate be taken from? (default is 1)


// Skill and Ultimate configurations
FT_ultimatedelay	    15.0	// Amount of time (in seconds) to delay the ultimates at the start of each round (default is 15.0)
FT_healing_range	    750		// Range for Healing Wave to jump from player to player and heal (default is 750)
FT_ultimate_cooldown	30.0	// Cooldown of all ultimates (default is 35.0)
FT_warn_suicide		    1		  // Tells Undead Scourges their bomb is armed when they hit ultimate key, a second key press then detonates it (default is 1)
FT_blinkenabled		    1		  // Use blink instead of team teleport (default is 1)
FT_blink_protection	  1		  // slays people who abuse blink on some maps (skywalking, map exploiting, default is 1)
FT_blink_radius		    500		// Enemies who have immunity w/in this radius will cause blink to fail (default is 500)
FT_blink_dizziness	  2		  // What type of diziness? (1 is flashbang effect, 2 is fading blue screen, default is 1)
FT_entangle_drop	    1		  // Should the player's primary weapon be dropped when they are entangled? (default is 0)
FT_impale_intensity	  10		// Setting this to a lower non-negative number will lower the intensity of impale (default is 10)

// Item configurations
FT_glove_timer		10		// Interval between receiving a new grenade with the Flaming Gloves of Warmth (default is 10)
FT_no_gloves_on_ka	1		// Prevents Flaming gloves of warmth on ka maps and scoutzknivez (default is 1)
FT_glove_orc_damage	0		// When using gloves, should orcs be given the critical dmg? (Default is 0)
FT_no_orcnades		1		  // Prevent orc nades on ka_ maps, fy_ maps and jail_riot (default is 0)
FT_claw			6		        // Damage done by Claws of Attack (default is 6)
FT_bootspeed		275.0		// Speed given for purchasing boots of speed (different for dod, see dod section, default is 275)
FT_health_bonus		15		// Health bonus given for periapt of health (default is 15)
FT_frost_speed		125.0	// Speed of victim when attacked with Orb of Frost (default is 125.0)
FT_mask_of_death	0.2		// Percentage of like gained back by mask of death (default is 0.3)
FT_cloak		150		      // Invisibility given with cloak, lower is more invisible (default is 150)
FT_sock			0.5		      // Gravity level for Sock of the Feather

// Bot Configuration Options
FT_bot_buy_item		0.33	// Chance of a bot buying a shopmenu item at the beginning of the round (default is 0.33)

// DOD Options
DOD_startmoney		800		// Starting "fake" money for dod
DOD_bootspeed		45.0		// Stamina given for boots of speed in Day of Defeat (default is 45.0)


User avatar
nightscream
Sorceress
Posts: 319
Joined: Wed Jul 06, 2005 12:54 pm
Location: Belguim, Hallaar
Contact:

Post by nightscream » Mon Jul 11, 2005 12:33 pm

yes there is look in the .sma
you see this

Code: Select all

#include <amxmodx>
#include <dbi>
#include <engine>
#include <amxmisc>
#include <fun>
#include <war3ft>
it means that you need amxmodx running
mysql, engine, fun, war3ft
want help pm me
Image

User avatar
Lazarus Long
Lead PITA SOB
Posts: 618
Joined: Tue Jul 05, 2005 9:24 pm

Post by Lazarus Long » Mon Jul 11, 2005 12:42 pm

Hello everybody:
algee2005 wrote:hmm.. is it possible to check what plugins/modules need other plugins/modules?

i ll just do some trial and error :P
Only way I know of for plugins you don't have source code for. What you should do is really think how many times you use a particular feature of one of your plugins, if it's not that often or if a feature isn't that important just dump the plugin, the server will appreciate it. After doing that with all your plugins, start unloading your modules untill you get a plugin that doesn't work, restore the module and continue to the next one.
Daver wrote:Hey thats interesting, why not run those modules... Can you explain please.
Keeping the server less loaded gives you much more benefit than having a slow heavy-loaded-with-features-that-nobody-uses one.

Regards,
Lazarus

algee2005
Peon
Posts: 25
Joined: Sun Jul 10, 2005 1:45 pm

Post by algee2005 » Mon Jul 11, 2005 1:17 pm

nightscream wrote:mysql, engine, fun, war3ft
well, after disabling all modules as i was told, these are the only modules left running now, so i should be fine :P

i will test that stuff now.

User avatar
ferret
Lead Warcraft 3 XP Developer
Posts: 422
Joined: Wed Jul 06, 2005 8:20 am
Location: Atlanta, GA
Contact:

Post by ferret » Mon Jul 11, 2005 1:24 pm

WOAH WOAH WOAH WOAH THERE.

You need to change your MySQL password immediately. You posted your war3ft.cfg file without editing out your MySQL login information. I have removed it now.

I highly suggest you get the password changed as soon as possible. No one here is probably mean and would abuse it, but Google could have already cached the thread and someone COULD get it.
-< www.gamehavoc.com >-

Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Mon Jul 11, 2005 1:52 pm

woa good catch

User avatar
nightscream
Sorceress
Posts: 319
Joined: Wed Jul 06, 2005 12:54 pm
Location: Belguim, Hallaar
Contact:

Post by nightscream » Mon Jul 11, 2005 3:30 pm

yeah didn't notice nice ferret
want help pm me
Image

algee2005
Peon
Posts: 25
Joined: Sun Jul 10, 2005 1:45 pm

Post by algee2005 » Wed Jul 13, 2005 2:02 am

oh shizz0r :oops: thx for the hint


well, i have done all that, the modules were removed (for some reason geoip was still running AFTER i removed it from modules.ini)

but i still get this odd behaviour :(

how is this possible? i mean, i did amxx cvars and it brings up the cvars exactly as i set them in the wc3ft.cfg, now how can i make them to be taken :shock:

you should mean i shouldnt be this difficult to get your settings working...

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Wed Jul 13, 2005 7:30 am

they are taken if you do amxx cvars, did you read what I posted above?

algee2005
Peon
Posts: 25
Joined: Sun Jul 10, 2005 1:45 pm

Post by algee2005 » Wed Jul 13, 2005 3:12 pm

Geesu wrote:there is a reason for this, XP is calculated weird (but good :P )

basically xp you earn is:

xpbasedonyourlevel + bonusxpthatisintheconfigfile

So it's just doing + 0, but you still get that xpbasedonyourlevel
ooh i guess then this was in reply to my question? i thought you replied to that other guy, daver... damn dumb me >.<

well, i guess i will stick to how it is now, people are fine with it, i was just wondering...

Locked