Register for your free account! | Forgot your password?

You last visited: Today at 13:07

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

Advertisement



text binds via d2nt

Discussion on text binds via d2nt within the Diablo 2 Programming forum part of the Diablo 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 169
Received Thanks: 0
text binds via d2nt

kann man bestimmte texte auf tasten binden.

z.B wenn ich aufm numblock die 1 drücke, schreibt der in game "follow me"
für den automation follow bot z.b

geht das ?
2Paddy is offline  
Old 07/18/2011, 16:41   #2
 
elite*gold: 0
Join Date: Mar 2010
Posts: 539
Received Thanks: 418
Ja, wäre sogar ziemlich einfach.
Verwendest du schon einen Maphack auf D2NT-Basis oder D2NT zum normalen Spielen wie z.B. ?
TheCrazy11 is offline  
Thanks
1 User
Old 07/18/2011, 16:42   #3
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41624
Join Date: Jan 2010
Posts: 22,728
Received Thanks: 12,654
Ja, dafür brauchst du aber im jeweiligen Kontext einen entsprechenden Key Event Handler.

Um sowas einzufügen, genügt folgender Aufruf innerhalb der Main:
Code:
RegisterEvent(EVENT_KEYDOWN, MW_KeyEventHandler);
Der zweite Parameter ist eine Funktion, die natürlich im zugehörigen Kontext definiert sein sollte und in der festgelegt wird, wie auf welchen Tastendruck reagiert werden soll.
Üblicherweise wird das mit einer switch-Anweisung umgesetzt,
auf dein Beispiel übertragen sähe das so aus:
Code:
function MW_KeyEventHandler(keycode)
{
	Print("Keycode: " + keycode);
	var _script = 

	switch(keycode)
	{
		case 96: // Num 1
			Say("Follow me!");
			break;
	}
}
Ich verschiebe das Thema mal in die Programming Sektion, das passt dort eigentlich besser rein.

LG
Muddy
Muddy Waters is offline  
Thanks
2 Users
Old 07/31/2011, 18:22   #4
 
elite*gold: 0
Join Date: Jan 2010
Posts: 169
Received Thanks: 0
ja so etwas suche ich,
meine internet verbindung brach ab
muddy kannst du deinen script erleutern nochmal ?
an welche stelle und welcher datei ich das einfügen muss?
2Paddy is offline  
Reply


Similar Threads Similar Threads
Cabal Online 171 WA Jupiter Eu (Binds)
01/16/2011 - Cabal Online Trading - 2 Replies
Hello. I want to sell or trade my wa for alz items or euro via paypal. About my account: Main char is 171 warrior. 12 hr Procyon with loads of titles. The most important thing are binds. Here i have OSMIUM GS +9+80 CD (BINDED WITH SEH) AND OSMIUM ARMOURHELM +9 15 RATE 24 CD (BINDED WITH SEH). Those are the best bind items on acc but i have white board great pet and 3x costiumes and 2 weapon skins. As you can see account is very well prepared for start and got the 2 most evpensive...
[AutoIt] Fkey Binds
08/14/2009 - General Gaming Discussion - 0 Replies
This script is for running in the background so you can bind hotbar keys to they Fkeys. Throw desired skills/spells/potions on a hotbar, and by pressing the corresponding Fkey, the script will switch to the hotbar, select the skill/spell/potion, and switch back to the first hotbar. You need to rebind your hotbar switches to CTRL + Hotbar Number in order to not mess with sprint. You should also unbind anything you have set to your Fkeys. There is no pause and exit in order to be able to run...
Anyway I cane make own binds (buttons)
09/06/2008 - GunZ - 3 Replies
Hi, I tried to change the jump button into mouse2 (right mouse button) but it didn't work, does anyone know how I can do that manually? so I can change all keys and, if it is possible to do that could someone also give me the number for each kapital/button... i found some buttons in config.* somewhere in gunz folder... i need to change more buttons, but before i make a big post i just wanted to see if its possible....
A way to trade soulbound itmes( Binds on equip)
02/21/2006 - WoW Exploits, Hacks, Tools & Macros - 15 Replies
Ok now this is a very easy thing to do. You shouldn't have any trouble with this trick. I just recently learned this when I was trading. Steps: 1. Make sure u have an empty bag. 2. Put the empty bag in the slot right next to your main bag. 3. trade the person and drag and drop the bag into the trade window. After doing this clikc trade. The other person shouldn't hit trade yet. 4. Open the bad and put your items you want to trade to the other person into the bag. close the bag and tell...



All times are GMT +1. The time now is 13:09.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.