Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Diablo 2 > Diablo 2 Programming
You last visited: Today at 05:38

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

Advertisement



Game Announcements for Sternenlooper

Discussion on Game Announcements for Sternenlooper within the Diablo 2 Programming forum part of the Diablo 2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2010
Posts: 10
Received Thanks: 2
Game Announcements for Sternenlooper

heej all,

anny1 got Game Announcements working for Sternenlooper?

it seems the Nbot file is diffrent.

i added this:


Code:
var joinChatAfterGame      = true;   			// join chat after leaving a game
var joinChatAfterLogin     = true;        		// join chat after login
var joinRandomChannel      = false;        		// if this is true, will join a random channel, otherwise it will use the channel below..
var joinChannelInChat      = "OP PornoBaal";        	// leave blank not to join a private channel
var channelLogin           = false;    			// type ".login" once after joining the channel
var channelUsers           = new Array(); 		// dynamic array that holds channel users

channelUsers.push("flip");
channelUsers.push("flip");

var gameAnnouncement        = "Join: %game%counter in %time seconds."; 
var gameAnnouncementDelay    = 5000;        // wait X milliseconds before posting the announcement message (don't set this too low!)
var gameAnnouncementDelayRandom = 500; // random amount of time to add to a to the announcement delay

and

Code:
if(joinChannelInChat && gameAnnouncement && me.gamename && isChannelUser(me.account, me.charname))
            		{
                		var tempDelay = (gameAnnouncementDelay > 5000) ? gameAnnouncementDelay : 5000 + 
                            			(gameAnnouncementDelayRandom > 500) ? Random(0, gameAnnouncementDelayRandom) : 500;
                		var gameText = gameAnnouncement;
                		gameText = gameText.replace("%password", me.gamepassword);
                		gameText = gameText.replace("%game", getGameName(me.gamename));
                		gameText = gameText.replace("%counter", getGameCounter(me.gamename, false));
                		gameText = gameText.replace("%time", parseInt((nextGameMake - GetTickCount() - tempDelay)/1000+3.0));
                		if(parseInt((nextGameMake - GetTickCount() - tempDelay)/1000+3.0) > 5)
                		{    
                    			Delay(tempDelay);
                    			Say(gameText);
               			}
            		}

after this it still doesnt work

can some1 help me

h2k
hippe2k is offline  
Old 10/22/2010, 00:21   #2

 
lanara's Avatar
 
elite*gold: 139
Join Date: Oct 2006
Posts: 12,058
Received Thanks: 24,256


Take the WHOLE script and not just 5 lines that you think are important. And next time post in the thread instead opening a new one.
lanara is offline  
Old 10/25/2010, 22:46   #3
 
DonPalme's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 437
Received Thanks: 62
Quote:
Originally Posted by lanara View Post


Take the WHOLE script and not just 5 lines that you think are important. And next time post in the thread instead opening a new one.
he only wanted to put the gameannouncement lines in sternloopers script. thats not the same as taking muddys whole script.
I did this job for him so np.
DonPalme is offline  
Old 10/26/2010, 19:44   #4

 
lanara's Avatar
 
elite*gold: 139
Join Date: Oct 2006
Posts: 12,058
Received Thanks: 24,256
Quote:
Originally Posted by hannelorestar View Post
he only wanted to put the gameannouncement lines in sternloopers script. thats not the same as taking muddys whole script.
I did this job for him so np.
So whats the difference between taking the whole script from Muddy and implementing it into Sternenloopers NTBot.ntj? Don't say Automule, thats so ****** up without ldevils updates on it, that its not worth to mention.
lanara is offline  
Closed Thread


Similar Threads Similar Threads
How to created colored Guild Announcements
01/20/2013 - Dekaron - 33 Replies
I visited many different guild in 2Moons. In one of them i could read Welcome written in bold letter and also in Pink and our allies name was in blue. Just like that (see image): http://i360.photobucket.com/albums/oo46/Magikdee/ anouncement.jpg I Was wondering how can i achieve this in my own guild now that i have one??? i beg one of you :handsdown: to give me some working code or somewhere i could go and get more info about it(i try google it but without success) . i also try some...
[D2NT Release] Game Announcements im Channel
11/12/2011 - Diablo 2 Programming - 124 Replies
Moin Zusammen, ich war mal so frei und habe die Möglichkeiten zur game Ansage im Channel etwas ausgebaut. Hoffentlich fehlerfrei, hoffentlich idotensicher. Features: - Ansage des nächsten Games samt Game Namen, Zeit bis zur Erstellung, Game Nummer, Game Passwort - Channel User Liste: Speziell für Diejenigen, die mehrere Bots auf einem Manager laufen haben, aber nicht alle channel Announcements machen lassen wollen - Seit dem letzen Update jede Menge bunte Farben :awesome:
How to edit server announcements
01/24/2009 - EO PServer Hosting - 2 Replies
Where in the database would I go to edit the server announcements? Also the welcome screen?



All times are GMT +2. The time now is 05:38.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.