Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Bong play when entering zone

 
Post new topic   Reply to topic Printable version
 View previous topic  how to test your zone offline Post :: Post Server  View next topic  
Author Message
Agurus
Server Help Squatter


Age:39
Gender:Gender:Male
Joined: May 05 2004
Posts: 353
Location: SSCI Halo
Offline

PostPosted: Mon Dec 12, 2005 11:12 pm    Post subject: Bong play when entering zone Reply to topic Reply with quote

Is it possible for a BONG to be played when entering a zone? Or is it only possible through bots?
_________________
X-SSCI Halo CTF Administrator

"I used to do drugs. I still do, but I used to, too."
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Gus.
Seasoned Helper


Age:37
Gender:Gender:Male
Joined: Mar 25 2005
Posts: 166
Location: Colorado
Offline

PostPosted: Mon Dec 12, 2005 11:18 pm    Post subject: Reply to topic Reply with quote

this is going out on a limb but perhaps have the bong included in the periodic enter message
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Mon Dec 12, 2005 11:24 pm    Post subject: Reply to topic Reply with quote

Only through bots or ASSS since they both can detect whenever a player enters.

Having a bong like %2 placed in the GreetMessage in [Misc] will only result in the message actually saying the "%2", so that won't work.
Back to top
View users profile Send private message Add User to Ignore List
Agurus
Server Help Squatter


Age:39
Gender:Gender:Male
Joined: May 05 2004
Posts: 353
Location: SSCI Halo
Offline

PostPosted: Mon Dec 12, 2005 11:40 pm    Post subject: Reply to topic Reply with quote

Yeah, it dosn't work on periodic messages either...
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
THE Lucifer
You can never defeat me
for I will never leave


Age:120
Joined: Nov 12 2005
Posts: 116
Location: Hell
Offline

PostPosted: Tue Dec 13, 2005 1:25 am    Post subject: Reply to topic Reply with quote

Do you want EVERYONE to hear the bong, or just the entering player?
_________________
Luke 10:18

He's back.
icon_twisted.gif new_evil.gif icon_twisted.gif new_evil.gif icon_twisted.gif
Back to top
View users profile Send private message Add User to Ignore List
Agurus
Server Help Squatter


Age:39
Gender:Gender:Male
Joined: May 05 2004
Posts: 353
Location: SSCI Halo
Offline

PostPosted: Tue Dec 13, 2005 8:01 am    Post subject: Reply to topic Reply with quote

Entering player.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Chambahs
Power attack
Power attack


Joined: Jun 19 2005
Posts: 820
Offline

PostPosted: Tue Dec 13, 2005 10:43 am    Post subject: Reply to topic Reply with quote

just do it through bots/asss, i did it through asss, so it cant be that hard icon_razz.gif
Back to top
View users profile Send private message Add User to Ignore List
THE Lucifer
You can never defeat me
for I will never leave


Age:120
Joined: Nov 12 2005
Posts: 116
Location: Hell
Offline

PostPosted: Tue Dec 13, 2005 3:44 pm    Post subject: Reply to topic Reply with quote

Have the bot/ASSS pm them with sound, sound-carrying lvz, or a bong that the zone force them to d/l.
Back to top
View users profile Send private message Add User to Ignore List
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Tue Dec 13, 2005 11:19 pm    Post subject: Reply to topic Reply with quote

In MERVBot, it's pretty simple.

spawn.cpp:
Code: Show/Hide
case EVENT_PlayerEntering:
{
         Player *p = (Player*)event.p[0];
                       
         String s;
         s +="Welcome ";
         s +=SND_ATT;      // this is the bong packet
         s +="to my zone!";
         sendPrivate(p, s.msg);
}
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Wed Dec 14, 2005 1:39 am    Post subject: Reply to topic Reply with quote

You sure that will work purge?

Plus that would be arena not zone icon_smile.gif

Only ASSS can determine when a player is entering the zone.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Wed Dec 14, 2005 1:00 pm    Post subject: Reply to topic Reply with quote

Would not work, Purge.
Code: Show/Hide
sendPrivate(p, SND_ATT, "Welcome to my zone!");

_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Wed Dec 14, 2005 11:19 pm    Post subject: Reply to topic Reply with quote

Ah, true. Then I guess what I just wrote up there will output the bong # instead of the actual sound in the message?
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Thu Dec 15, 2005 12:04 am    Post subject: Reply to topic Reply with quote

yes
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Agurus
Server Help Squatter


Age:39
Gender:Gender:Male
Joined: May 05 2004
Posts: 353
Location: SSCI Halo
Offline

PostPosted: Thu Dec 15, 2005 8:14 pm    Post subject: Reply to topic Reply with quote

I am not a bot man (yet), think someone could whip up something similar (w/Ini?):

BOT>/(pm's player this) TEX TEXT TEXT *Bong*

Ini could have like:

#What bot pm's
Hello welcome to my zone!

#Bong Number played
%##

Somethign like that
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Thu Dec 15, 2005 9:42 pm    Post subject: Reply to topic Reply with quote

close, you made the same mistake purge did.

You can not put the bong sound in the message, or you'll just get a message like "Hello Friend %15" with no sound.

use Cyan's way instead

Code: Show/Hide
int bongNumber = getBongNumber();
char* message = getMessage();

sendPrivate(p, bongNumber, message);
Back to top
View users profile Send private message Add User to Ignore List AIM Address
homie
Guest


Offline

PostPosted: Sat Dec 24, 2005 2:50 am    Post subject: hey Reply to topic Reply with quote

hey agurus its me homie i put a bong message through log time data u can make a very very easy bong but there is a mess up in data u have to put

int bongNumber = getBongNumber(); //the comma before bong
char* message = getMessage();

sendPrivate(p, bongNumber, message); //and message has to be with a *
next to it for it too reach the player and a time ()has to be entered as well to come on time to say as the player enters the zone on lhv.txt
Back to top
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sat Dec 24, 2005 2:59 am    Post subject: Reply to topic Reply with quote

Err? Why did you just quote the code and made some stupid comments about it?
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 160 page(s) served in previous 5 minutes.

phpBB Created this page in 0.623766 seconds : 41 queries executed (94.7%): GZIP compression disabled