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
removing / adding ball

 
Post new topic   Reply to topic Printable version
 View previous topic  Where am i suppose to get file-m.bmp f... Post :: Post i dont get it....any of it  View next topic  
Author Message
Doggeti
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Fri Jun 13, 2003 6:37 am    Post subject: removing / adding ball Reply to topic Reply with quote

How can i remove and add the ball like it is done in HZ when game begins or ends?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Fri Jun 13, 2003 6:49 am    Post subject: Reply to topic Reply with quote

sendPublic("?set Soccer:BallCount:0");

and

sendPublic("?set Soccer:BallCount:1");

but be carefull with removing a pb when a player is holding it... u would have to spec him first, i think

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Back to top
View users profile Send private message Add User to Ignore List
Doggeti
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Fri Jun 13, 2003 7:47 am    Post subject: Reply to topic Reply with quote

Some how this doesn't work here. i set it to 0 but the ball was still there and as i scored i had about 30 goals more than before.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Fri Jun 13, 2003 9:32 am    Post subject: Reply to topic Reply with quote

It takes some time before the ball disapears.
And after the command is send, no1 should catch the ball, or it will never be removed.

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Back to top
View users profile Send private message Add User to Ignore List
Anborn
Newbie


Joined: Dec 02 2002
Posts: 13
Offline

PostPosted: Fri Jun 13, 2003 7:10 pm    Post subject: Reply to topic Reply with quote

in hz, the bot uses the *restart command at the end of a period. thusly removing the puck/ball.
_________________
Anborn
-- SSHZ
Back to top
View users profile Send private message Add User to Ignore List
Doggeti
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Sat Jun 14, 2003 2:10 am    Post subject: Reply to topic Reply with quote

Ok, thx, that saved me a lot of time!

But how can i turn off the stats that the server displays after the game and after how much time will the ball come back?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot 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: 105 page(s) served in previous 5 minutes.

phpBB Created this page in 0.463986 seconds : 30 queries executed (94.9%): GZIP compression disabled