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
Day/night Checker.

 
Post new topic   Reply to topic Printable version
 View previous topic  Turning off Bot 'Attack Mode' Post :: Post Help with a rank plugin.  View next topic  
Author Message
2000+
Novice


Age:37
Gender:Gender:Male
Joined: Sep 07 2004
Posts: 32
Offline

PostPosted: Sun Sep 12, 2004 4:56 am    Post subject: Day/night Checker. Reply to topic Reply with quote

I heard of this so I wanted to know if a plugin can be made easily that can turn objects 23 and 24 on from 6:00am to 6:00pm and 26 and 27 on at 6:00Pm to 6:00am but turn the other two off then the other two are running. I know the question of timezones comes up but I don't mind. Thanks for your help!

-2k+
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Night_Fox
dark_mistress is too sexy for me


Age:54
Gender:Gender:Female
Joined: Jan 24 2004
Posts: 252
Offline

PostPosted: Sun Sep 12, 2004 5:15 am    Post subject: Reply to topic Reply with quote

Why dont you just !unload that slot, or even easy just !unload all sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Sep 12, 2004 10:01 am    Post subject: Reply to topic Reply with quote

Obviously, if 2000 is unable to make it online; the bot would switch the modes...
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
2000+
Novice


Age:37
Gender:Gender:Male
Joined: Sep 07 2004
Posts: 32
Offline

PostPosted: Tue Sep 14, 2004 12:05 am    Post subject: Reply to topic Reply with quote

What I meant was at 6:00am the bot would *objoff one .lvz and *objon another. then do the oppsite at 6:00pm. You see that I mean? I don't know how to have the bot check the time, but I would think have it check once an hour? maybe 30 mins? An have it based on server time, I was also thinking about making a "clock where the one is now so it matches the server's timezone... unless there is a way to check each person's time... but that would get too wierd, one person could be playing in night and another in day, so basing on one set time, the server's would be best. If you want to whip one together for me, please, could you contact me on the other details before hand? Thanks in advance!
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Tue Sep 14, 2004 12:36 am    Post subject: Reply to topic Reply with quote

http://www.cplusplus.com/ref/ctime/

So when the dll starts youll have to get the system time or however you want to do it and then caculate how many seconds until you want to change the lvz file. The above has all of the time.h information.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Fri Sep 24, 2004 7:49 pm    Post subject: Reply to topic Reply with quote

I made a quick little plugin that does time rotations for lvz objects, you just set it in the ini. I upgraded to the object packets a while ago, I don't remember if I tested it or not.
_________________





LVZ Toggler

lvztoggle.zip - 88.41 KB
File downloaded or viewed 11 time(s)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
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: 148 page(s) served in previous 5 minutes.

phpBB Created this page in 0.511322 seconds : 32 queries executed (95.1%): GZIP compression disabled