Raised This Month: $ Target: $400
 0% 

Ultimate Warcraft 3 Next Generation v2.35.6


Post New Thread Reply   
 
Thread Tools Display Modes
Duke_i_am
Junior Member
Join Date: May 2013
Location: Sweden
Old 12-06-2015 , 09:33   Re: Ultimate Warcraft 3 Next Generation v2.35.6
Reply With Quote #411

Hello!

Love this mod. I have an issue, tho. If i run CSDM, the reincarnation mess it up a bit. Which I know is mentionen in skills1.inl:
Code:
// Giving weapons will only screw things up w/CSDM - so lets not do that!
 if ( CVAR_csdm_active > 0 )
 {
  return;
 }
 new bool:bGiveWeapons = false;
Am I supposed to set that CVAR somewhere, somehow?
__________________


https://www.slackershq.com - Damn it feels good to be a gamer
Duke_i_am is offline
CARBONXXX
Member
Join Date: Feb 2012
Location: Bulgaria
Old 09-14-2017 , 12:08   Re: Ultimate Warcraft 3 Next Generation v2.35.6
Reply With Quote #412

Isn't there gonna be new version with War3FT RC14? Because the reincarnation effect(green screen) doesn't work.

Last edited by CARBONXXX; 09-14-2017 at 12:10.
CARBONXXX is offline
Send a message via Skype™ to CARBONXXX
MasonPlay
Junior Member
Join Date: Dec 2014
Old 01-30-2018 , 06:01   Re: Ultimate Warcraft 3 Next Generation v2.35.6
Reply With Quote #413

Hei, the xp it’s not setup correctly and in uwc3ng.cfg you cannot set it up right. I mean the xp_table is messed up.
__________________



CSDM.CSTOPZ.COM # UWC3

89.44.246.213:27015
MasonPlay is offline
dimosik
New Member
Join Date: Mar 2019
Old 03-19-2019 , 16:03   Re: Ultimate Warcraft 3 Next Generation v2.35.6
Reply With Quote #414

Quote:
Originally Posted by MasonPlay View Post
Hei, the xp it’s not setup correctly and in uwc3ng.cfg you cannot set it up right. I mean the xp_table is messed up.
guys, please, help me, how can i connect mysql to my server? its has errors, what should i do?
[UWC3NG] MySQL X database connection successful
L 03/19/2019 - 22:555: [uwc3ng.amxx] [MYSQLX] Error in querying database, location: 1
L 03/19/2019 - 22:555: [uwc3ng.amxx] [MYSQLX] Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 1 (1064)
L 03/19/2019 - 22:555: [uwc3ng.amxx] [MYSQLX] Query statement: CREATE TABLE IF NOT EXISTS `uwc3ng_player` ( `player_id` int( unsigned NOT NULL auto_increment, `player_steamid` varchar(25) NOT NULL default '', `player_ip` varchar(20) NOT NULL default '', `player_name` varchar(35) NOT NULL default '', `player_xp` int(16) default NULL, PRIMARY KEY (`player_id`), KEY `player_nameYour server is out of date. Please update and restart.
Your server is out of date. Please update and restart.
dimosik is offline
Richie93
New Member
Join Date: Mar 2025
Old 05-03-2025 , 04:48   Re: Ultimate Warcraft 3 Next Generation v2.35.6
Reply With Quote #415

Hi guys!

Is there a way to disable a skill so that it cannot be used? For example, Suicide bomber.

Thanks.
Richie93 is offline
xReforged
Junior Member
Join Date: Feb 2024
Old 05-15-2025 , 18:16   Re: Ultimate Warcraft 3 Next Generation v2.35.6
Reply With Quote #416

sure , skills5.inl find those functions and replace them

// ----------------------------------- Start Suicide Bomber ----------------------------------------

#define BLOCK_SUICIDE 1 // 1 for blocked , 0 for allowed
public SKILL_SuicideBomber( id )
{
if(BLOCK_SUICIDE)
{
return
}


if ( !ULTIMATE_CheckExecute( id, SKILL_BOMBER ) )
{
return;
}

// Give him a warning
if ( !p_data_b[id][PB_SUICIDEATTEMPT] )
{
UWC3NG_StatusText( id, TXT_BLINK_CENTER, "Suicide Bomb Armed^nPress Again To Detonate" );

p_data_b[id][PB_SUICIDEATTEMPT] = true;
}

// The player had their warning, kill him!
else
{
// Kill the player
UWC3NG_KillUser( id, 0, 0 );

p_data_b[id][PB_SUICIDEATTEMPT] = false;
}

return;
}

public SKILL_Suicide( id )
{

if(BLOCK_SUICIDE)
{
return
}

// Ultimate has been used, so we can't use it again!
if ( p_data_b[id][PB_USED_SUICIDE] )
{
return;
}

// If we ult while changing teams, you will kill your old teammates, we don't want that!!
if ( !SHARED_IsOnTeam( id ) )
{
return;
}

// Freezetime is not over
if ( !g_FreezeTimeOver )
{
return;
}

// Ultimate used
p_data_b[id][PB_USED_SUICIDE] = true;

// Play the undead explosion sound!!!
emit_sound( id, CHAN_STATIC, g_szSounds[SOUND_SUICIDE], 1.0, ATTN_NORM, 0, PITCH_NORM );

new parm[5], vOrigin[3];
get_user_origin( id, vOrigin );

parm[0] = id;
parm[1] = 6;
parm[2] = vOrigin[0];
parm[3] = vOrigin[1];
parm[4] = vOrigin[2];

// Set up the tasks to damage + draw effects
set_task( 0.5, "_SKILL_SuicideExplode", TASK_EXPLOSION + id, parm, 5 );
set_task( 0.5, "_SKILL_SuicideBlastCircles", TASK_BEAMCYLINDER + id, parm, 5 );

// Create an implosion effect where they died
Create_TE_IMPLOSION( vOrigin, 100, 20, 5 );

// Set up an ultimate delay (in case the user respawns)
ULTIMATE_ResetCooldown( id, get_pcvar_num( CVAR_uwc3ng_ult_cooldown ) );
}
xReforged is offline
Richie93
New Member
Join Date: Mar 2025
Old 06-12-2025 , 11:07   Re: Ultimate Warcraft 3 Next Generation v2.35.6
Reply With Quote #417

Quote:
Originally Posted by xReforged View Post
sure , skills5.inl find those functions and replace them

// ----------------------------------- Start Suicide Bomber ----------------------------------------

#define BLOCK_SUICIDE 1 // 1 for blocked , 0 for allowed
public SKILL_SuicideBomber( id )
{
if(BLOCK_SUICIDE)
{
return
}


if ( !ULTIMATE_CheckExecute( id, SKILL_BOMBER ) )
{
return;
}

// Give him a warning
if ( !p_data_b[id][PB_SUICIDEATTEMPT] )
{
UWC3NG_StatusText( id, TXT_BLINK_CENTER, "Suicide Bomb Armed^nPress Again To Detonate" );

p_data_b[id][PB_SUICIDEATTEMPT] = true;
}

// The player had their warning, kill him!
else
{
// Kill the player
UWC3NG_KillUser( id, 0, 0 );

p_data_b[id][PB_SUICIDEATTEMPT] = false;
}

return;
}

public SKILL_Suicide( id )
{

if(BLOCK_SUICIDE)
{
return
}

// Ultimate has been used, so we can't use it again!
if ( p_data_b[id][PB_USED_SUICIDE] )
{
return;
}

// If we ult while changing teams, you will kill your old teammates, we don't want that!!
if ( !SHARED_IsOnTeam( id ) )
{
return;
}

// Freezetime is not over
if ( !g_FreezeTimeOver )
{
return;
}

// Ultimate used
p_data_b[id][PB_USED_SUICIDE] = true;

// Play the undead explosion sound!!!
emit_sound( id, CHAN_STATIC, g_szSounds[SOUND_SUICIDE], 1.0, ATTN_NORM, 0, PITCH_NORM );

new parm[5], vOrigin[3];
get_user_origin( id, vOrigin );

parm[0] = id;
parm[1] = 6;
parm[2] = vOrigin[0];
parm[3] = vOrigin[1];
parm[4] = vOrigin[2];

// Set up the tasks to damage + draw effects
set_task( 0.5, "_SKILL_SuicideExplode", TASK_EXPLOSION + id, parm, 5 );
set_task( 0.5, "_SKILL_SuicideBlastCircles", TASK_BEAMCYLINDER + id, parm, 5 );

// Create an implosion effect where they died
Create_TE_IMPLOSION( vOrigin, 100, 20, 5 );

// Set up an ultimate delay (in case the user respawns)
ULTIMATE_ResetCooldown( id, get_pcvar_num( CVAR_uwc3ng_ult_cooldown ) );
}

Unfortunately, no matter how I do it as you wrote, it doesn't work. Is there anything else that needs to be rewritten or modified? Bots use the ability in the same way.
Richie93 is offline
Reply


Thread Tools
Display Modes

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 21:26.


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