Cannot pause/resume plugin

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

Moderator: Forum Moderator

Post Reply
Shinzon
Peon
Posts: 28
Joined: Thu Nov 03, 2005 11:01 am

Cannot pause/resume plugin

Post by Shinzon »

Hi,

running FT (2.2.7 plugin, 2.2.5 module) with Amxx 1.60, MetaMod v1.18p26.

Plugin itself running fine with mysql xp saving.
But, it's not pausable with amx_plausecfg command.

Situation:
Want start the plugin paused and only enabled on certain maps.
This does not work, not with the amx_pausecfg and not with cvar sv_warcraft3.

If i start the plugin paused and want enable with <mapname>.cfg-file,
no races showing up to select. (only auto-select and exit)

If i start with plugin enabled and want pause with <mapname>.cgf-file,
it simply dont pause and running all maps in mapcycle.

Any hints ?

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

Post by Geesu »

don't do it.. unpredictable results

use

To disable:
amx_cvar sv_warcraft3 0

To enable:
amx_cvar sv_warcraft3 1
No Support via PM
Shinzon
Peon
Posts: 28
Joined: Thu Nov 03, 2005 11:01 am

Post by Shinzon »

Geesu wrote:don't do it.. unpredictable results
Hmmmmm....why?

u talk about console commands....there is no need...

Plz make ur plugin pausable...like runemod or else..plz...
User avatar
Geesu
<b>King of the world!</b>
Posts: 3160
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu »

How about no... Don't ask why... thats just the way it is... Hells no I'm not going to make it pausable... that would suck ass
No Support via PM
Shinzon
Peon
Posts: 28
Joined: Thu Nov 03, 2005 11:01 am

Post by Shinzon »

Hmmm, using

amx_cvar sv_warcraft3 0

to disable, but nothing happens.
still running....
User avatar
Geesu
<b>King of the world!</b>
Posts: 3160
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu »

It might take like 7 seconds after the fact... Why are you disabling anyways?
No Support via PM
Shinzon
Peon
Posts: 28
Joined: Thu Nov 03, 2005 11:01 am

Post by Shinzon »

Cause we want this mod only on few maps, not at all (e.g. mini_dust2 or similar isn't really funny with high level ork nades).

But disable on map start don't works (or im too nooby... :wink: )
Hey..hope, i'm not... 8)

Looks like your mod ignores the cvar given in map.cfg and loads sv_warcraft3 1 from war3ft.cfg.

L 11/06/2005 - 14:24:09: -------- Mapchange to de_ctfotress2 --------
L 11/06/2005 - 14:24:15: [admincmd.amxx] Cmd: "[max-torgau.de] WC3FT Fun-Serve<0><><>" set cvar (name "sv_warcraft3") (value "0")
L 11/06/2005 - 14:24:15: [amxbans_4.2.amxx] AMXBans 4.2 is online
L 11/06/2005 - 14:24:15: [amxbans_4.2.amxx] AMXBans Menu 4.2 is online (7 reasons loaded)
L 11/06/2005 - 14:24:16: [admin_sql_4.2.amxx] Login: "-=[MxT]=- Sandmann<4585><STEAM_0:0:7598315><>" became an admin (account "STEAM_0:0:7598315") (access "abcdefghijlmntu") (address "84.185.159.55")
L 11/06/2005 - 14:24:16: [admin_sql_4.2.amxx] Login: "-=[MxT]=- Shinzon<4656><STEAM_0:1:514868><>" became an admin (account "STEAM_0:1:514868") (access "abcdefghijlmnsu") (address "84.185.159.55")
L 11/06/2005 - 14:24:17: [warcraft3ft.amxx] [WAR3] Connection to MySQL Database successful (2)
L 11/06/2005 - 14:24:56: [warcraft3ft.amxx] [WAR3] ERROR, Race: 10, skill: 1 not found in raceskill function
L 11/06/2005 - 14:24:56: [warcraft3ft.amxx] [WAR3] ERROR, Race: 10, skill: 2 not found in raceskill function
L 11/06/2005 - 14:24:56: [warcraft3ft.amxx] [WAR3] ERROR, Race: 10, skill: 3 not found in raceskill function
L 11/06/2005 - 14:24:56: [warcraft3ft.amxx] [WAR3] ERROR, Race: 10, skill: 4 not found in raceskill function
L 11/06/2005 - 14:24:56: [warcraft3ft.amxx] [WAR3] ERROR, Race: 10, skill: 1 not found in raceskill function
L 11/06/2005 - 14:24:56: [warcraft3ft.amxx] [WAR3] ERROR, Race: 10, skill: 2 not found in raceskill function
L 11/06/2005 - 14:24:56: [warcraft3ft.amxx] [WAR3] ERROR, Race: 10, skill: 3 not found in raceskill function
L 11/06/2005 - 14:24:56: [warcraft3ft.amxx] [WAR3] ERROR, Race: 10, skill: 4 not found in raceskill function
User avatar
Geesu
<b>King of the world!</b>
Posts: 3160
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu »

take sv_warcraft3 1


out of warcraft config file...
No Support via PM
Shinzon
Peon
Posts: 28
Joined: Thu Nov 03, 2005 11:01 am

Post by Shinzon »

This one works fine, thx alot...

(normally i should solve this in this way for myself, maybe i was a little bit dumb.. :wink: )
Post Reply