Raised This Month: $ Target: $400
 0% 

CSDM 2.0 (Old Version)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 11-01-2005 , 05:03   Re: No weaponmenu shows up
#771

Quote:
Originally Posted by dtdesign
It says, CSDM is running and the cvar csdm_active is set to 1. The ingame messages says, it IS enabled, but no menu to choose your weapon appears. Is there any posibility to fix this?
It happened for me, too.
Hmmm - Seems it's time I should look at this what BAILOPAN screwed up this time... ;) (j/k - he is busy - don't bother him too much - I'll try to do what will be possible for me to do).
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
DarlD
Senior Member
Join Date: Aug 2004
Old 11-01-2005 , 20:41  
#772

I think i found a bug,

sometimes the hole plugin stops working, i still see the [CSDM] thing but we dont respawn and we dont get the menu anymore. any ideas?
__________________
DarlD is offline
Send a message via MSN to DarlD
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 11-02-2005 , 00:11  
#773

Quote:
Originally Posted by DarlD
I think i found a bug,

sometimes the hole plugin stops working, i still see the [CSDM] thing but we dont respawn and we dont get the menu anymore. any ideas?
did ur team run out of tickets?
Freecode is offline
kensh|n
Junior Member
Join Date: Oct 2005
Old 11-02-2005 , 04:43  
#774

Hey

When i take csdm off (csdm_disable) There is no bomb for Ts or defuse kid for cts... any1 has an idea of how to fix this?

cheers
kensh|n is offline
BAILOPAN
Join Date: Jan 2004
Old 11-02-2005 , 05:35  
#775

You must change maps so the objectives are back.

People not spawning - it's a bug, fixed in the upcoming release I think. It only happens on some servers.
__________________
egg
BAILOPAN is offline
Gunny
Senior Member
Join Date: Mar 2004
Location: Magnolia, Texas
Old 11-02-2005 , 09:57  
#776

me patiently waits for Bail's next release.

__________________
TEAM FORTRESS 2 - 70.85.30.25:27015
COUNTER-STRIKE SOURCE - 70.85.30.22:27015
COUNTER-STRIKE SOURCE DEATH MATCH - 70.85.30.23:27015
Gunny is offline
LukoShiuZ
Junior Member
Join Date: Oct 2005
Location: Vilnius, Lithuania
Old 11-02-2005 , 10:45   Please help me
#777

How I can remove the round time, because i can't play 1x1. The I kill an enemy i respawn again. Can you help me?
LukoShiuZ is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 11-02-2005 , 17:53  
#778

Here is my first fix to csdm_equip. In the function postspawn
Code:
public csdm_PostSpawn(player) {     if (is_user_bot(player))     {         new randPrim = random_num(0, g_iNumBotPrim-1);         new randSec = random_num(0, g_iNumBotSec-1);         new randArm = random_num(0, 2); // KWo - 02.11.2005         new randGre = random_num(0, 2); // KWo - 02.11.2005         GiveUserFullWeapon(player, g_BotPrim[randPrim]);         GiveUserFullWeapon(player, g_BotSec[randSec]);         if (g_mArmorStatus && (randArm>0) ) // KWo - 02.11.2005         {             g_mArmor[player]=true         }         else         {             g_mArmor[player]=false         }         if (g_mAutoArmor || g_mArmor[player] )  // KWo - 02.11.2005         {             equipUser(player, EQUIP_ARMOR);         }         if (g_mNadeStatus && (randGre>0) )  // KWo - 02.11.2005         {             g_mNades[player]=true;         }         else         {             g_mNades[player]=false;         }         if (g_mAutoNades || g_mNades[player] )  // KWo - 02.11.2005         {             equipUser(player, EQUIP_GREN);         }     }     else

This should equip bots by nades and armor (I don't see the reason why they wouldn't to be equiped by them ). Maybe need to increase the probability to equip them by nades and armor by some higher values than random_num(0,2).
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 11-02-2005 , 18:37  
#779

Because in the csdm_spawn_preset in the function readSpawns() we have this:
Code:
            g_TotalSpawns++;                         // Origin             g_SpawnVecs[g_TotalSpawns][0] = str_to_float(pos[1]);             g_SpawnVecs[g_TotalSpawns][1] = str_to_float(pos[2]);             g_SpawnVecs[g_TotalSpawns][2] = str_to_float(pos[3]);                         //Angles             g_SpawnAngles[g_TotalSpawns][0] = str_to_float(pos[4]);             g_SpawnAngles[g_TotalSpawns][1] = str_to_float(pos[5]);             g_SpawnAngles[g_TotalSpawns][2] = str_to_float(pos[6]);                         //v-Angles             g_SpawnVAngles[g_TotalSpawns][0] = str_to_float(pos[7]);             g_SpawnVAngles[g_TotalSpawns][1] = str_to_float(pos[8]);             g_SpawnVAngles[g_TotalSpawns][2] = str_to_float(pos[9]);
it measn - the index of arrays (g_TotalSpawns) is increased before writting the data into these arrays, so - there is a need to change this:
Code:
new Float:g_SpawnVecs[MAX_SPAWNS][3]; new Float:g_SpawnAngles[MAX_SPAWNS][3]; new Float:g_SpawnVAngles[MAX_SPAWNS][3];
to
Code:
new Float:g_SpawnVecs[MAX_SPAWNS+1][3]; new Float:g_SpawnAngles[MAX_SPAWNS+1][3]; new Float:g_SpawnVAngles[MAX_SPAWNS+1][3];

and in public spawn_Preset(id, num) this:
Code:
    new list[MAX_SPAWNS];
to
Code:
    new list[MAX_SPAWNS+1];
and in still the same function this:
Code:
        n = random_num(0, g_TotalSpawns-1);
to this:
Code:
        n = random_num(1, g_TotalSpawns);

Note - that index needs to be started from 1, otherwise we will not be able to check there is no spawns defined (index equal to 0)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 11-02-2005 , 20:09  
#780

OK - I made the support for team specifc spawn points (currently only for presets - not yet for spawn editor). Because the file csdm_spawn_presets has been changed by me in few places - the latest change for team spawns support is marked as // KWo - 03.11.2005
The position of data in spanw def file CSDM team screwed up - if it has to be compatible ith older files, it needs to be at the 7'th position (not at last - 10'th position - as someone wrote it).

sma in attachement.
Attached Files
File Type: zip csdm_spawn_preset.zip (2.0 KB, 144 views)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
Closed Thread



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 22:12.


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