AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Solved] Cvar Util Module prob. (https://forums.alliedmods.net/showthread.php?t=242243)

jc980 06-16-2014 07:31

[Solved] Cvar Util Module prob.
 
somehow every time I start a listen server on CZ every MP_ cvars turns into "J" value and the bot_ cvars turns J too.

After dat I disconnect and create again, but all the options on create game turns to having no values and I had to re-write them again.

It doesnt happen again on the 2nd time a create a listen server.

using 1.8.2 version

Please, I just want this to work for the infinite round plugin.

Edit: Solved, I just put a semi-colon on cvar util module and it loads normally without changing every server command to 0 or "J"

Arkshine 06-16-2014 07:36

Re: [Help] Cvar Util Module prob.
 
Forgot you, not sure how it could happen.

The first serveer start, what are the ouput of:

- meta list
- amxx list
- amxx modules
- cvarlist mp_
- cu list

Does it happen with a dedicated server?

jc980 06-16-2014 07:55

Re: [Help] Cvar Util Module prob.
 
Quote:

Originally Posted by Arkshine (Post 2152539)
Forgot you, not sure how it could happen.

The first serveer start, what are the ouput of:

- meta list
- amxx list
- amxx modules
- cvarlist mp_
- cu list

Does it happen with a dedicated server?

Code:

] meta list
Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] Enable CSBot    RUN  -    csbot-enable-mm.  vJan 31  ini  ANY  Pause
 [ 2] AMX Mod X        RUN  -    amxmodx_mm.dll    v1.8.2-d  ini  Start ANY 
 [ 3] Fun              RUN  -    fun_amxx.dll      v1.8.2-d  pl2  ANY  ANY 
 [ 4] CStrike          RUN  -    cstrike_amxx.dll  v1.8.2-d  pl2  ANY  ANY 
 [ 5] CSX              RUN  -    csx_amxx.dll      v1.8.2-d  pl2  ANY  ANY 
 [ 6] xPhere          RUN  -    acg_amxx.dll      v        pl2  ANY  Never
 [ 7] Orpheu          RUN  -    orpheu_amxx.dll  v2.5.1    pl2  ANY  ANY 
 [ 8] Cvar Utilities  RUN  -    cvar_util_amxx.d  v1.6      pl2  ANY  ANY 
 [ 9] FakeMeta        RUN  -    fakemeta_amxx.dl  v1.8.2-d  pl2  ANY  ANY 
 [10] Ham Sandwich    RUN  -    hamsandwich_amxx  v1.8.2-d  pl2  ANY  ANY 
 [11] Engine          RUN  -    engine_amxx.dll  v1.8.2-d  pl2  ANY  ANY 
11 plugins, 11 running

btw, xPhere is anti-cheat module. Don't mind it as well as the plugins that came with it below marked with "acg" at the start.


Code:

] amxx list
Currently loaded plugins:
      name                    version    author            file            status 
 [  1] Admin Base              1.8.2      AMXX Dev Team    admin.amxx      running 
 [  2] Admin Commands          1.8.2      AMXX Dev Team    admincmd.amxx    running 
 [  3] Admin Help              1.8.1.3746  AMXX Dev Team    adminhelp.amxx  running 
 [  4] Slots Reservation      1.8.2      AMXX Dev Team    adminslots.amxx  running 
 [  5] Menus Front-End        1.8.2      AMXX Dev Team    menufront.amxx  running 
 [  6] Commands Menu          1.8.2      AMXX Dev Team    cmdmenu.amxx    running 
 [  7] Players Menu            1.8.2      AMXX Dev Team    plmenu.amxx      running 
 [  8] Maps Menu              1.8.2      AMXX Dev Team    mapsmenu.amxx    running 
 [  9] Plugin Menu            1.8.2      AMXX Dev Team    pluginmenu.amxx  running 
 [ 10] Admin Chat              1.8.2      AMXX Dev Team    adminchat.amxx  running 
 [ 11] Scrolling Message      1.8.2      AMXX Dev Team    scrollmsg.amxx  running 
 [ 12] Info. Messages          1.8.2      AMXX Dev Team    imessage.amxx    running 
 [ 13] Admin Votes            1.8.2      AMXX Dev Team    adminvote.amxx  running 
 [ 14] Pause Plugins          1.8.2      AMXX Dev Team    pausecfg.amxx    running 
 [ 15] Stats Configuration    1.8.2      AMXX Dev Team    statscfg.amxx    running 
 [ 16] CS Misc. Stats          1.8.2      AMXX Dev Team    miscstats.amxx  running 
 [ 17] CU: amx_cvar Fix        1.1        Arkshine          cu_amx_cvar_fix  running 
 [ 18] Overview Radar          0.1        clester993@gmail  acg_overviewrad  running 
 [ 19] Show Teammate Names Th  0.1        clester993@gmail  acg_teammatenam  running 
 [ 20] [CS980THE] Ambience So  0.1        jc980            ambience_normal  debug   
 [ 21] Weapon Lights          0.7.1      HiSS & Arkshine  wpn_lights.amxx  running 
 [ 22] Advanced Weapon Tracer  0.1        ConnorMcLeod      wpn_tracers.amx  running 
 [ 23] CustomFlashlight        0.11        Avalanche        flashlight.amxx  running 
 [ 24] Kill Rewards    0.1        ConnorMcLeod      kill_rewards.am  running 
 [ 25] NVG              0.3.1      SAMURAI          nightvision.amx  running 
 [ 26] C4 Defused Fix  0.1        xPaw              bds_fix.amxx    running 
 [ 27] Quick Flash Fra  0.1        ConnorMcLeod      quick_ffs.amxx  running 
 [ 28] Stun Grenade Ex  0.2        Avalanche        flash_effect.am  running 
 [ 29] HUD Customizer          0.6        Igoreso/ConnorMc  hud_customizer.  running 
 [ 30] No Weapon Drop          0.1        VEN              noweapondrop.am  running 
 [ 31] Damage Control          1.22        Fxfighter        wpn_dmg.amxx    running 
 [ 32] Weapons MaxClip        0.3.0      ConnorMcLeod      wpn_maxclip.amx  running 
 [ 33] Bp Ammo Features        0.1.5      ConnorMcLeod      wpn_bpammo.amxx  running 
 [ 34] Weapons Zoom            0.0.2      ConnorMcLeod      weapon_zoom.amx  running 
 [ 35] Weapons MaxSpeed        0.0.5      ConnorMcLeod      weapon_maxspeed  running 
 [ 36] Weapon Modifier        v1.56      Kiske            weapon_modifier  debug   
 [ 37] Health Regeneration    0.1        teo, jc980        regeneration.am  running 
 [ 38] Echo                    0.8        shine            echo.amxx        running 
 [ 39] Timer Controller        0.0.2      hornet            timer_controlle  running 
 [ 40] Server Cvars Unlocker  1.0.1      Arkshine          server_cvars_un  running 
 [ 41] Infinite Round          2.1.2      Arkshine          infinite_round.  debug   
 [ 42] AutoRespawn            0.0.2      ConnorMcLeod      autorespawn.amx  running 
 [ 43] [CS980THE] Death            1.0        jc980            death.amxx      running 
43 plugins, 43 running


Code:

] amxx modules
Currently loaded modules:
      name                    version    author              status   
 [ 1] Fun                    1.8.2-dev  AMX Mod X Dev Team  running   
 [ 2] CStrike                1.8.2-dev  AMX Mod X Dev Team  running   
 [ 3] CSX                    1.8.2-dev  AMX Mod X Dev Team  running   
 [ 4] xPhere                              [email protected]  running   
 [ 5] Orpheu                  2.5.1      joaquimandrade & Ar  running   
 [ 6] Cvar Utilities          1.6        Arkshine            running   
 [ 7] FakeMeta                1.8.2-dev  AMX Mod X Dev Team  running   
 [ 8] Ham Sandwich            1.8.2-dev  AMX Mod X Dev Team  running   
 [ 9] Engine                  1.8.2-dev  AMX Mod X Dev Team  running   
9 modules 9 correct

Code:

] cvarlist mp_
CVar List
--------------
mp_allowmonsters :        0, sv
mp_autokick    :        0, sv
mp_autoteambalance :        0, sv
mp_buytime      :        0, sv
mp_c4timer      :      45, sv
mp_chattime    :      10, sv
mp_consistency  :        0, sv
mp_decals      :    4096, a
mp_fadetoblack  :        0, sv
mp_flashlight  :        0, sv
mp_footsteps    :        0, sv
mp_forcecamera  :        0, sv
mp_forcechasecam :        0, sv
mp_fragsleft    :        0, sv
mp_freezetime  :        0, sv
mp_friendlyfire :        0, sv
mp_ghostfrequency :    0.100, sv
mp_hostagepenalty :        0, sv
mp_kickpercent  :    0.660, sv
mp_limitteams  :        0, sv
mp_logdetail    :        0, sv
mp_logecho      :        1
mp_logfile      :        1, sv
mp_logmessages  :        1, sv
mp_mapvoteratio :    0.660, sv
mp_maxrounds    :        0, sv
mp_mirrordamage :        0, sv
mp_playerid    :        0, sv
mp_roundtime    :      999, sv
mp_startmoney  :        0, sv
mp_timeleft    :        0, sv
mp_timelimit    :        0, sv
mp_tkpunish    :        0, sv
mp_windifference :        1, sv
mp_winlimit    :        0, sv
--------------
 35 CVars for [mp_]
CvarList ? for synt

Don't mind the 999 roundtime, I inputted before doing what you said that to stop resetting the damn round.


Code:

] cu list

Registered cvars :

      NAME                      VALUE                      REGISTERED                HOOKED                    LOCKED                    BOUNDED                    CACHED                   
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1.  infiniteround_version      2.1.2                      infinite_round.amxx        no                        no                        no                        no                       
  2.  ir_block_roundend          abcdefijk                  infinite_round.amxx        infinite_round.amxx        no                        no                        no                       
  3.  ir_block_gamecommencing    0                          infinite_round.amxx        no                        no                        infinite_round.amxx        infinite_round.amxx     
  4.  ir_block_gamescoring      0                          infinite_round.amxx        no                        no                        infinite_round.amxx        infinite_round.amxx     
  5.  ir_active_api              0                          infinite_round.amxx        no                        no                        infinite_round.amxx        infinite_round.amxx     

 > Found 5 cvars.

All other cvars like cl_ and others seems fine to me except all the mp_ cvars and bot_ stuff turning back to 0... or "J"

help me I dunno what I did, I just installed as requirement for infinite round. :(

Edit: tried on dedicated, still same thing lol. <<<<<<<<< nvm I forgot to check console first lol

Arkshine 06-16-2014 09:20

Re: [Help] Cvar Util Module prob.
 
I'm confused. I don't see "j" in your output?

jc980 06-16-2014 11:34

Re: [Help] Cvar Util Module prob.
 
when I type mp_ in console it shows "J" when I do cvarlist it shows 0.

T___T dunno what is happening, will try using amxx 1.8.3 tomorrow.

Arkshine 06-16-2014 11:43

Re: [Help] Cvar Util Module prob.
 
Module doesn't change such thing like output of the console. When you type mp_ in the console, the game will return its value. I don't know why you see "J", but using cvarlist it gives well the right value and it uses the same cvar values. It means value is unchanged. I've honestly no idea what's happening. Can you show a screenshot example when you see "J" ?

jc980 06-16-2014 20:21

Re: [Help] Cvar Util Module prob.
 
cant take screenshot lol.

damn it, everytime I press the hotkey to take a screenie, I can't get it cuz im typing on the console. -_-

I typed mp_f
mp_friendlyfire J
mp_footsteps J
etc.

YamiKaitou 06-16-2014 20:35

Re: [Help] Cvar Util Module prob.
 
Quote:

Originally Posted by jc980 (Post 2152857)
cant take screenshot lol.

damn it, everytime I press the hotkey to take a screenie, I can't get it cuz im typing on the console. -_-

I typed mp_f
mp_friendlyfire J
mp_footsteps J
etc.

Use either your Print Screen button or type snapshot

jc980 06-17-2014 00:43

Re: [Help] Cvar Util Module prob.
 
Quote:

Originally Posted by YamiKaitou (Post 2152860)
Use either your Print Screen button or type snapshot

When I tried print screen it was all black and I can't use snapshot because im typing the mp_ commands on console. T_T

YamiKaitou 06-17-2014 00:47

Re: [Help] Cvar Util Module prob.
 
snapshot is a console command. After you got the console output you want, type snapshot and it will take a screenshot of your console (assuming you are doing all this in your Client Console)


All times are GMT -4. The time now is 17:21.

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