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
New plugin for MERV?

 
Post new topic   Reply to topic Printable version
 View previous topic  Warping tiles.... Post :: Post Spawn Plugin help...  View next topic  
Author Message
L. Chance
Newbie


Age:61
Gender:Gender:Male
Joined: Jun 07 2003
Posts: 21
Offline

PostPosted: Thu Sep 02, 2004 6:11 pm    Post subject: New plugin for MERV? Reply to topic Reply with quote

I was wondering if someone would be willing to write a plugin for MERV that would make changes to a zone's settings based on what day of the week it is?
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Deadly
Seasoned Helper


Age:34
Gender:Gender:Male
Joined: Oct 15 2003
Posts: 148
Location: Ontario Canada
Offline

PostPosted: Fri Sep 03, 2004 8:28 pm    Post subject: Reply to topic Reply with quote

uhh.. i dont think it would be too hard but since I dont know C++.. i cant do it cuz i dont know how to get the current day

just get the day, make it check the day every 10 mins or so, if its monday, change setts and do like mondaysetts = true; then every 10 mins when it checks it goes if(mondaysetts != true){ }

and to set them.. ?set setting:setting:setting

Btw, 50, dont even reply to this thread if ur gonna mention my name
_________________
Known as DeadlySoldier!! in-game..

http://deadly.sscentral.com -- My Bots
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address MSN Messenger
ExplodyThingy
Server Help Squatter


Age:38
Gender:Gender:Male
Joined: Dec 15 2002
Posts: 528
Location: Washington DC
Offline

PostPosted: Fri Sep 03, 2004 9:21 pm    Post subject: Reply to topic Reply with quote

A. I made one long ago, it was easy, I dont want to do it again because
B. I was informed someone else is already making one that
C. Is supposed to be better.

Deadly wrote:
Btw, 50, dont even reply to this thread if ur gonna mention my name


Now now, no need to invite a war.
_________________
There are no stupid question, but there are many inquisitive idiots.
Loot

Dr Brain> I hate clean air and clean water. I'm a member of Evil Conservitive Industries
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Deadly
Seasoned Helper


Age:34
Gender:Gender:Male
Joined: Oct 15 2003
Posts: 148
Location: Ontario Canada
Offline

PostPosted: Fri Sep 03, 2004 10:45 pm    Post subject: Reply to topic Reply with quote

He started it.. along with u and all the other ppl who think coding a bot, which is easy as hell that a 10 year old could do, shouldnt be done unless you totally kno C++ and sit at ur comp 24/7 and read C++ books and make programs.. yay!
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address MSN Messenger
ExplodyThingy
Server Help Squatter


Age:38
Gender:Gender:Male
Joined: Dec 15 2002
Posts: 528
Location: Washington DC
Offline

PostPosted: Fri Sep 03, 2004 11:26 pm    Post subject: Reply to topic Reply with quote

Deadly wrote:
He started it..

What are you 4?

I dont think you need to be ubernerd to program a bot at all. I do think you need to know what youre doing before you think you can release code to the public.

Let make this no longer about flaming or stupid things, and keep arguements to your respective threads, make sure this thread stays about his plugin.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Deadly
Seasoned Helper


Age:34
Gender:Gender:Male
Joined: Oct 15 2003
Posts: 148
Location: Ontario Canada
Offline

PostPosted: Sat Sep 04, 2004 2:06 am    Post subject: Reply to topic Reply with quote

Theres like 2 very small flames in here..

But anyway.. when chance comes on hes gonna see all these posts and get excited til he sees what they are about so lets just stop until someone replys about the plugin (i was the first to do it biggrin.gif)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address MSN Messenger
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Sat Sep 04, 2004 2:38 am    Post subject: Reply to topic Reply with quote

There was this old man at my job, he was a hick named Tim who had red hair and drove the rattiest truck in the world...

that said:


dayofweek = date%7;
String s= "?set Setting:Settingmode";

switch(dayofweek)
{
case 0:s+=":setting";
break;
case 1:s+="setting";
break;
case 2:s+="setting";
break;
case 3:s+="setting";
break;
case 4:s+="setting";
break;
case 5:s+="setting";
break;
case 6:s+="setting";
break;
}
sendPublic(s);



please dont make fun of me for trying
Back to top
View users profile Send private message Add User to Ignore List AIM Address
CypherJF
I gargle nitroglycerin


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

PostPosted: Sat Sep 04, 2004 11:11 am    Post subject: Reply to topic Reply with quote

Or really, it wouldn't be that difficult to do a whole server.cfg update; assuming the bot stays in the public arena. Just have it determine the name of the day, rename/copy/overwrite the file in the /get/ folder, *putfile server.cfg; badda bing. This should only occur on OLD_DAY != CURRENT_DAY ... :/
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
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: Sat Sep 04, 2004 11:47 am    Post subject: Reply to topic Reply with quote

I don't know if MERV supports *putfiling...
_________________
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
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


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

PostPosted: Sat Sep 04, 2004 11:58 am    Post subject: Reply to topic Reply with quote

I doubt it too.
Back to top
View users profile Send private message Add User to Ignore List
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Sat Sep 04, 2004 12:54 pm    Post subject: Reply to topic Reply with quote

I don't see why not, i've used 1 for some ?commands like that, put mervbot in a subspace folder?

Last edited by Muskrat on Sat Sep 04, 2004 1:00 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List AIM Address
CypherJF
I gargle nitroglycerin


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

PostPosted: Sat Sep 04, 2004 12:56 pm    Post subject: Reply to topic Reply with quote

I'm pretty sure it supports both *getfile and *putfile; I know for sure getfile works... putfile should work as long as the file is in /get/
Back to top
View users profile Send private message Add User to Ignore List
L. Chance
Newbie


Age:61
Gender:Gender:Male
Joined: Jun 07 2003
Posts: 21
Offline

PostPosted: Sat Sep 04, 2004 8:19 pm    Post subject: Reply to topic Reply with quote

CypherJF wrote:
Or really, it wouldn't be that difficult to

A lot of people say that but noone has offered to make one. icon_cry.gif
Back to top
View users profile Send private message Add User to Ignore List AIM Address
CypherJF
I gargle nitroglycerin


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

PostPosted: Sat Sep 04, 2004 8:28 pm    Post subject: Reply to topic Reply with quote

rotfl..
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 -> 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: 44 page(s) served in previous 5 minutes.

phpBB Created this page in 0.582703 seconds : 38 queries executed (81.7%): GZIP compression disabled