Register for your free account! | Forgot your password?

You last visited: Today at 17:58

  • Please register to post and access all features, it's quick, easy and FREE!

 

leader party @ muddys nt

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2011
Posts: 654
Received Thanks: 125
Red face leader party @ muddys nt

moin,

ich hab das problem, dass ich nicht einstellen kann (wie beim etal)

das der leecher nur party zu dem leader oder der leader party annimmt...

er nimmt jede einladung an...

wie kann man das ändern?



Northern Light is offline  
Old   #2
 
elite*gold: 0
Join Date: Jul 2006
Posts: 469
Received Thanks: 235
Wenn du NTConfig_Leader definiert hast in der CharConfig, dann sollte das so gehen:

Code:
function MWC_ManageParty()
{
	var _player, _myPartyId, _existingPartyId;
	
	_player = GetPlayerUnit();

	if(_player)
	{
		_myPartyId = _player.partyid;
		
		while(_player.GetNext())
		{
			_existingPartyId = MWC_GetExistingParty();
			[COLOR="Red"]if(!NTConfig_Leader || NTConfig_Leader == _player.name)
			{[/COLOR]
				if(_player.partyflag == MWC_PARTY_FLAG_ACCEPT && (_existingPartyId == _player.partyid || _existingPartyId == MWC_PARTY_ID_NONE) || _player.partyflag == MWC_PARTY_FLAG_INVITE && (_existingPartyId == MWC_PARTY_ID_NONE || _existingPartyId == _myPartyId))
				{
					me.ClickParty(_player, 2);
					
					NTC_Delay(NTC_DELAY_FRAME);
				}
			[COLOR="Red"]}[/COLOR]
		}
	
		return true;
	}
	
	return false;
}
Edit: Scheint zu gehen, aber bitte selber testen


ldevil is offline  
Thanks
5 Users
Old   #3
Administrator
 
elite*gold: 272143
Join Date: Jan 2010
Posts: 22,491
Received Thanks: 12,148
Solltest dem ganzen vielleicht noch eine case Normierung gönnen, ansonsten sollte das aber passen:
Code:
function MWC_ManageParty()
{
	var _player, _myPartyId, _existingPartyId;
	
	_player = GetPlayerUnit();

	if(_player)
	{
		_myPartyId = _player.partyid;
		
		while(_player.GetNext())
		{
			_existingPartyId = MWC_GetExistingParty();
			if(!NTConfig_Leader || typeof NTConfig_Leader == "string" && NTConfig_Leader.toLowerCase() == _player.name.toLowerCase())
			{
				if(_player.partyflag == MWC_PARTY_FLAG_ACCEPT && (_existingPartyId == _player.partyid || _existingPartyId == MWC_PARTY_ID_NONE) || _player.partyflag == MWC_PARTY_FLAG_INVITE && (_existingPartyId == MWC_PARTY_ID_NONE || _existingPartyId == _myPartyId))
				{
					me.ClickParty(_player, 2);
					
					NTC_Delay(NTC_DELAY_FRAME);
				}
			}
		}
	
		return true;
	}
	
	return false;
}
Muddy Waters is offline  
Thanks
4 Users
Old   #4
 
elite*gold: 0
Join Date: Oct 2011
Posts: 654
Received Thanks: 125
wo soll ich das denn einfügen?


Northern Light is offline  
Old   #5
 
elite*gold: 0
Join Date: Jul 2006
Posts: 469
Received Thanks: 235
Du sollst die Funktion ersetzten. Die gibt es unter "scripts/libs/common/NTCommon.ntl" auf Zeile 1666 oder so.


ldevil is offline  
Thanks
3 Users
Reply



« Previous Thread | Next Thread »

Similar Threads
Tops My Guild leader and deputy leader '-'
These are the Tops Deputy Leader of my guild leader serves' Extract the Path \ c3 \ effect \ other are 2 files Top gameassistant and DL Top...
13 Replies - CO2 Weapon, Armor, Effects & Interface edits
Muddys D2NT Leecher leaved vor Leader
Ahoi miteinander, ich hab folgendes Problem. Und zwar bekomm ich dadurch, dass mein Leecher vor dem Leader leaved ab und zu Rd. Die Frage ist nun, ob...
6 Replies - Diablo 2
Muddys D2NT Problem Leecher/Leader
hey leute,.... ich kriege den bot nicht zum laufen... der leader geht ins game und fängt an mit dem run... der cofighter/leecher geht in den chat...
2 Replies - Diablo 2
[How To]Use Leader leader command and ability
Deutsch Hallo Leute, hier ein kleines Tutorial zu den Leader commands und abilitys. Einführung: Wer ist der Leader?...
2 Replies - Alliance of Valiant Arms



All times are GMT +1. The time now is 17:58.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.