Raised This Month: $32 Target: $400
 8% 

CSDM Normalizer v2.1i.5


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   VEN (29)
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 05-30-2007 , 07:08   CSDM Normalizer v2.1i.5
Reply With Quote #1

Introduction:
Long time ago (2006-12-29) i made an unofficial release of CSDM
(based on 2.1f by KWo) with bunch of fixes & gamplay changes to make
it best suited to original deathmatch rules. It was much faster for me
to do it by myself than to ask for a feature or to persuade original
contributors to do the right (IMHO) thing. But the core had some
serious errors i couldn't fix on scripting layer. When 2.1h has come
i realized that it's a headache to merge my changes every time a new
official release is published. So, i've decided to 'bomb' a CSDM bug
tracker with issues (currently i posted 14 issues) and quickly fix
problems in parallel to avoid changes in original CSDM code.
But it's very hard to fix them from outside of the CSDM source code.
So, here is limited number of fixes & improvements which can be
technically implemented without modifing the original source code.
And remember that BAILOPAN & Faluco solely rules the official CSDM.
If you don't vote for fixes & improvements they'll
consider them on their own. So, check them here and vote.
Also don't forget to support KWo's contribution.
Info:
This is a CSDM plugin with purposes & features mentioned below.
It will work only if CSDM is enabled.
Requirements:
  • CS/CZ mod
  • CSDM 2.1 or higher
Installation:
  • put 'csdm_normalizer.amxx' into plugins-csdm.ini file BEFORE
    'csdm_itemmode.amxx' string; KWo's CSDM 2.1i users may put this file
    anywhere within plugins-csdm.ini

Purposes:
1) patch CSDM issues until they (may) go into the main branch
2) normalize CSDM gameplay if possible
3) extend CSDM functionality if possible

Current features:
  • blocks 'Fire in the hole' message & radio if FFA mode is on
  • precaches 'sprites/640hud2.spr' (it contains fixed sprites for
    item_healthkit & item_battery)
  • shows item icons on HUD when player picks up an item (healthkit or
    battery) when item mode is enabled
  • doesn't show BUY hint when buying is blocked
  • hides money on HUD when buying is blocked
  • hides timer on HUD when CSDM has stripped everything CS-related
  • players can grab dropped weapon as ammo bonus if they already have
    carried the same weapon type
  • new cvars (see blow)
Notes:
  • all cvars are read on map start, round restart or when CSDM is
    switched on due to optimization purposes & CSDM concept
    (this behaviour may be changed in future)
  • timer & money hiding feature is disabled (ignored) when using
    csdm.cfg from KWo's CSDM 2.1i (it is built-in there already)
  • when csdm_weaponpickupbonus = 1 empty weapons still give you an
    ammo bonus; this is a feature due to mode 1 concept; try mode 2 to
    overcome this issue
New cvars:
  • csdm_welcome <0|1> (default=1)
    enable/disable welcome message in chat area
  • csdm_dynammorefill <0|1> (default=0)
    enable/disable dynamic ammo refill (new ammo refill algorithm)
    which looks very attractive & lets players to grab items
    also (if item mode is activated); this cvar is considered only
    if 'ammo_refill' is OFF within csdm.cfg under 'misc' section
  • csdm_weaponpickupbonus <0|1|2> (default=1)
    configure picking up of a weapon (which player already has) as ammo
    bonus; can be used in item mode only:
    0 - turn off
    1 - give bonus as full ammo clip
    2 - give bonus as an exact number of bullets left in a weapon clip
    (this mode a little bit more CPU consumpting than mode 1)
  • csdm_weaponpickupmod <flags> (default=<none>)
    modify weapon pickup bonus algorithm:
    a - consider bonus weapons by weapon class (in CSDM context, i.e.
    by clip viewmodel) rather than by exact weapon type
    b - leave empty weapons on ground; this flag is considered only
    when csdm_weaponpickupbonus = 2
  • csdm_allowhidemoney <0|1> (default=1)
    allow plugin to hide money on HUD:
    0 - never hide money on HUD
    1 - allow hide money when buying is blocked
  • csdm_allowhidetimer <0|1> (default=1)
    allow plugin to hide timer on HUD:
    0 - never hide timer on HUD
    1 - allow hide timer when everything CS-related is stripped by CSDM
Credits:
  • KWo for his faithfull & continued contribution into CSDM code
    even though most of his improvements won't go into official 2.2 release
  • VEN for his No Objectives plugin whence i've learned how to hide
    standard items from HUD
Changelog:
Code:
CSDM_VERSION.5 [2007-09-20]
+ plugin now compatible with KWo's CSDM 2.1i
* removed item mode restriction on grabbing dropped weapons as ammo bonus
+ added 'csdm_weaponpickupmod' cvar
! fixed: player grabbed a weapon as bonus even if he had a full backpack 
ammo
! may be fixed: sprite '640hud2.spr' was not precached truly again

CSDM_VERSION.4 [2007-06-12]
! sprite '640hud2.spr' was not really precached
+ timer can be hidden now if everything CS-related is stripped by CSDM
+ added version public cvar

CSDM_VERSION.3 [2007-06-05]
+ players can grab dropped weapon as ammo bonus if they already have 
carried the same weapon type (works if item mode is enabled only); 
this won't work for spawned weapons until some changes in original 
csdm_itemmode.sma are made
+ admin can block hiding money from HUD (req. by Juba_PornBorn)
! fixed an issue when item sprites were not shown on HUD on item pickup
after CSDM switching (dynamic register/unregister of pre-Touch forward 
was a bad idea)
* optimization of ammo refill algorithm

CSDM_VERSION.2 [2007-05-29]
+ added dynamic refill algorithm

CSDM_VERSION.1 [2007-05-28]
* first internal release
Attached 640hud2.zip contains fixed sprite only.
Attached .amxx is compiled for CSDM 2.1i by AMXX 1.76d compiler.
Previous versions are packed into ZIP archives.
Attached Files
File Type: zip 640hud2.zip (17.7 KB, 4821 views)
File Type: zip csdm_normalizer-2.1h.2.zip (13.3 KB, 3753 views)
File Type: zip csdm_normalizer-2.1h.3.zip (21.0 KB, 3200 views)
File Type: zip csdm_normalizer-2.1h.4.zip (22.3 KB, 4350 views)
File Type: sma Get Plugin or Get Source (csdm_normalizer.sma - 8773 views - 27.4 KB)
File Type: amxx csdm_normalizer.amxx (15.4 KB, 2751 views)
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm

Last edited by Simon Logic; 11-22-2007 at 13:24. Reason: updated
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-30-2007 , 08:06   Re: CSDM Normalizer v2.1h.2
Reply With Quote #2

nice
__________________
Arkshine is offline
Juba_PornBorn
BANNED
Join Date: Apr 2007
Location: Caracas
Old 06-02-2007 , 20:59   Re: CSDM Normalizer v2.1h.2
Reply With Quote #3

Im using the plugin and it's working ok but I really dont like the thing where you hide the money on hud cos I got extra stuff to buy like camoflage. extra weapons mines etc... and its needed!
Juba_PornBorn is offline
Send a message via MSN to Juba_PornBorn
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 06-03-2007 , 05:51   Re: CSDM Normalizer v2.1h.2
Reply With Quote #4

Does your extra stuff work even when buying is blocked? If true (wow!), then i'll add an extra option in future release.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
hasta
Senior Member
Join Date: Aug 2004
Location: Ukraine, Kyiv
Old 06-03-2007 , 07:13   Re: CSDM Normalizer v2.1h.2
Reply With Quote #5

plugin work
hasta is offline
Send a message via ICQ to hasta
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 06-05-2007 , 13:20   Re: CSDM Normalizer v2.1h.3
Reply With Quote #6

Plugin is updated.

CSDM_VERSION.3 [2007-06-05]
+ players can grab dropped weapon as ammo bonus if they already have
carried the same weapon type (works if item mode is enabled only);
this won't work for spawned weapons until some changes in original
csdm_itemmode.sma are made
+ admin can block hiding money from HUD (req. by Juba_PornBorn)
! fixed an issue when item sprites were not shown on HUD on item pickup
after CSDM switching (dynamic register/unregister of pre-Touch forward
was a bad idea)
* optimization of ammo refill algorithm
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 06-13-2007 , 04:30   Re: CSDM Normalizer v2.1h.4
Reply With Quote #7

Small update:

CSDM_VERSION.4 [2007-06-12]
! sprite '640hud2.spr' was not really precached
+ timer can be hidden now if everything CS-related is stripped by CSDM
+ added version public cvar
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
qzhe2001
Junior Member
Join Date: Jun 2007
Old 07-05-2007 , 12:03   Re: CSDM Normalizer v2.1h.4
Reply With Quote #8

L 07/05/2007 - 23:59:53: -------- Mapchange to de_dust2 --------
L 07/05/2007 - 23:59:53: [AMXX] Plugin "csdm_main.amxx" failed to load: Plugin uses an unknown function (name "csdm_respawn") - check your modules.ini.
L 07/05/2007 - 23:59:53: [AMXX] Plugin "csdm_equip.amxx" failed to load: Plugin uses an unknown function (name "csdm_active") - check your modules.ini.
L 07/05/2007 - 23:59:53: [AMXX] Plugin "csdm_spawn_preset.amxx" failed to load: Plugin uses an unknown function (name "csdm_trace_hull") - check your modules.ini.
L 07/05/2007 - 23:59:53: [AMXX] Plugin "csdm_misc.amxx" failed to load: Plugin uses an unknown function (name "csdm_active") - check your modules.ini.
L 07/05/2007 - 23:59:53: [AMXX] Plugin "csdm_protection.amxx" failed to load: Plugin uses an unknown function (name "csdm_active") - check your modules.ini.
L 07/05/2007 - 23:59:53: [AMXX] Plugin "csdm_normalizer.amxx" failed to load: Plugin uses an unknown function (name "csdm_set_intromsg") - check your modules.ini.
Warning: Couldn't get duration of phrase 'sound\radio\bot\cooked\well_cover_you_you_de fuse.wav'
InstallTutor - Tutor Setting is 0
L 07/05/2007 - 23:59:55: [CSDM2] CSDM failed to load, contact author...
L 07/05/2007 - 23:59:55: Called dynanative into a paused plugin.
L 07/05/2007 - 23:59:55: [AMXX] Run time error 10 (plugin "spawn_editor.amxx") (native "csdm_main_menu") - debug not enabled!
L 07/05/2007 - 23:59:55: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/05/2007 - 23:59:55: Called dynanative into a paused plugin.
L 07/05/2007 - 23:59:55: [AMXX] Run time error 10 (plugin "csdm_ffa.amxx") (native "csdm_main_menu") - debug not enabled!
L 07/05/2007 - 23:59:55: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

What is this problem? I also figuring it. By the way, i running CS server with zbot. So then i run the server and it come out this problem.


] amxx plugins
Currently loaded plugins:
name version author file status
[ 1] Admin Base (SQL) 1.76d AMXX Dev Team admin_sql.amxx running
[ 2] Admin Commands 1.76d AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.76d AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.76d AMXX Dev Team adminslots.amxx running
[ 5] Multi-Lingual System 1.76d AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.76d AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.76d AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.76d AMXX Dev Team plmenu.amxx running
[ 9] Teleport Menu 1.76d AMXX Dev Team telemenu.amxx running
[ 10] Maps Menu 1.76d AMXX Dev Team mapsmenu.amxx running
[ 11] Admin Chat 1.76d AMXX Dev Team adminchat.amxx running
[ 12] Anti Flood 1.76d AMXX Dev Team antiflood.amxx running
[ 13] Scrolling Message 1.76d AMXX Dev Team scrollmsg.amxx running
[ 14] Info. Messages 1.76d AMXX Dev Team imessage.amxx running
[ 15] Admin Votes 1.76d AMXX Dev Team adminvote.amxx running
[ 16] NextMap 1.76d AMXX Dev Team nextmap.amxx running
[ 17] Nextmap Chooser 1.76d AMXX Dev Team mapchooser.amxx running
[ 18] TimeLeft 1.76d AMXX Dev Team timeleft.amxx running
[ 19] Pause Plugins 1.76d AMXX Dev Team pausecfg.amxx running
[ 20] Stats Configuration 1.76d AMXX Dev Team statscfg.amxx running
[ 21] Restrict Weapons 1.76d AMXX Dev Team restmenu.amxx running
[ 22] StatsX 1.76d AMXX Dev Team statsx.amxx running
[ 23] CS Misc. Stats 1.76d AMXX Dev Team miscstats.amxx running
[ 24] CS Stats Logging 1.76d AMXX Dev Team stats_logging.a running
[ 25] unknown unknown unknown csdm_main.amxx bad load
[ 26] unknown unknown unknown csdm_equip.amxx bad load
[ 27] unknown unknown unknown csdm_spawn_pres bad load
[ 28] CSDM Spawn Editor 2.1 CSDM Team spawn_editor.am paused
[ 29] unknown unknown unknown csdm_misc.amxx bad load
[ 30] unknown unknown unknown csdm_protection bad load
[ 31] CSDM Main 2.1 CSDM Team csdm_ffa.amxx paused
[ 32] unknown unknown unknown csdm_normalizer bad load
( 25) Load fails: Plugin uses an unknown function (name "csdm_respawn") - check your modules.ini.
( 26) Load fails: Plugin uses an unknown function (name "csdm_active") - check your modules.ini.
( 27) Load fails: Plugin uses an unknown function (name "csdm_trace_hull") - check your modules.ini.
( 29) Load fails: Plugin uses an unknown function (name "csdm_active") - check your modules.ini.
( 30) Load fails: Plugin uses an unknown function (name "csdm_active") - check your modules.ini.
( 32) Load fails: Plugin uses an unknown function (name "csdm_set_intromsg") - check your modules.ini.
32 plugins, 24 running


] amxx modules
Currently loaded modules:
name version author status
[ 1] MySQL 1.76b AMX Mod X Dev Team running
[ 2] SQLite 1.76b AMX Mod X Dev Team running
[ 3] Fun 1.76 AMX Mod X Dev Team running
[ 4] Engine 1.76 AMX Mod X Dev Team running
[ 5] FakeMeta 1.76d AMX Mod X Dev Team running
[ 6] GeoIP 1.76 AMX Mod X Dev Team running
[ 7] nVault 1.76c AMX Mod X Dev Team running
[ 8] CStrike 1.76 AMX Mod X Dev Team running
[ 9] CSX 1.76c AMX Mod X Dev Team running
[10] CSDM2 2.1 CSDM Team running
[11] Sockets 1.76 HLSW Dev Team running
[12] RegEx 1.76 AMX Mod X Dev Team running
12 modules, 12 correct

] meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] Adminmod RUN - admin_mm.dll v2.50.60 ini Start ANY
[ 2] AMX Mod X RUN - amxmodx_mm.dll v1.76d ini ANY ANY
[ 3] MySQL RUN - mysql_amxx.dll v1.76b pl2 ANY ANY
[ 4] SQLite RUN - sqlite_amxx.dll v1.76b pl2 ANY ANY
[ 5] Fun RUN - fun_amxx.dll v1.76 pl2 ANY ANY
[ 6] Engine RUN - engine_amxx.dll v1.76 pl2 ANY ANY
[ 7] FakeMeta RUN - fakemeta_amxx.dl v1.76d pl2 ANY ANY
[ 8] CStrike RUN - cstrike_amxx.dll v1.76 pl2 ANY ANY
[ 9] CSX RUN - csx_amxx.dll v1.76c pl2 ANY ANY
[10] CSDM2 RUN - csdm_amxx.dll v2.1 pl2 ANY ANY
10 plugins, 10 running
qzhe2001 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-05-2007 , 12:25   Re: CSDM Normalizer v2.1h.4
Reply With Quote #9

http://forums.alliedmods.net/showthread.php?t=46031
__________________
Arkshine is offline
St.MPA3b
Junior Member
Join Date: Jul 2007
Location: Russia, Moscow
Old 08-19-2007 , 08:37   Re: CSDM Normalizer v2.1h.4
Reply With Quote #10

Отличный плагин делаешь, так держать
//U'r making nice plugin, continue with the same soul
St.MPA3b is offline
Send a message via ICQ to St.MPA3b Send a message via Skype™ to St.MPA3b
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 17:28.


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