Multi-Gaming Community
It is currently 17 Jun 2025, 21:00

All times are UTC+02:00




Post new topic  Reply to topic  [ 20 posts ] 
Author Message
PostPosted: 01 Jan 2011, 01:55 
Offline
Likes to type... (265)
User avatar
Yeah, so I have been trying to make a robot (kind of how like HBOT was) and have been failing. I found this program called Minebot that said it could run scripts, but couldn't get it to work. Anyone who has spare time and is bored, mind working on this little project of mine?

If interested, here is how I'm wanting it to work. Would like to be able to add more commands
to it later on.

How the robot works:
For every 20 blocks placed, FFBot will give you 10 experience points.
For every 20 blocks deleted, FFBot will give you 2 experience points.
For every 6 cuboids used, FFBot will give you 20 experience points
For every 50 messages written, FFBot will give you 35 experience points.
For every hour you are on, FFBot will give you 5 experience points
For every player you kick, FFBot will deduct 3 experience points
For every player you warn, FFBot will give you 2 experience points.
Every 100,000 blocks placed, FFBot will give you 500 experience points.
Every day since the login, FFBot will give you 1 experience point.
Every hour, FFBot will run a lottery, the numbers will be between 1 and 30. Jackpot is 100 experience points.
Every time you are kicked, FFBot will deduct 300 experience points.

Overlord: Appointed by a vote of all Overlords
Admin: Appointed by an Overlord only
Operator: 10,000xp / 2000msgs written
Guard: 5000xp / 550msgs written
Officer: 2000xp / 300msgs written
Civilian: 750xp / 150msgs written
Worker: 300xp / 50msgs written

FFBot commands:

@FFBot lottery [pick a number between 1 and 30]
@FFBot xp (short for experience points)
@FFBot warn [player's name] (also awards you 2 experience points, after the second warning, the player is frozen by FFBot and warned more strictly, third warning, FFBot will kick the player, deducting 3 experience points from you)
@FFBot help (will show a list of FFBot commands)
@FFBot rank req (short for rank requirements)
@FFBot time (will show the time the lottery is on and when it will be picked)
@FFBot report [type your complaint/report here] (After the first line, FFBot will ask if you wish to continue the message, just type @FFBot ok then continue it. Once finished, you type @FFBot finish)
@FFBot announce [message here] (pay FFBot 50 experience points to make an announcement for you with the /say command)
@FFBot tp [player's name] (pay FFBot 10 experience points to teleport you to another player)
@FFBot check [player's name] (see how much experience points another player has)

More commands to come.

_________________
I used to do drugs. I still do, but I used to, too.
-Mitch Hedberg

Front page of a very old website of mine back in 1999:
Hello, today is December 30, 110 and this site is Y2K compatible.


Top
   
PostPosted: 01 Jan 2011, 01:58 
Offline
Geek (943)
User avatar
Uh, couldn't this be pretty abusable? Then again, Iunno how FB's ranks work right now.

Also, I see the reasoning behind deducting XP for a kick, but it seems like it could be painful if all the people on are too obsessed with promotion.

Also, the message written and warning stuff could lead to occasional spamming. I mean, of course, there would be consequences, but it'd be way abusable.

_________________
Close your eyes, but nothing changes. We all know what brings this on.
Close your eyes, still nothing changes. No one knows how to take it back.


Top
   
PostPosted: 01 Jan 2011, 01:59 
Offline
Likes to type... (265)
User avatar
Well this is for my server, not this one. This is just the start, want to make it RPGish one day.

Oh yeah and fcraft has chat spam protection, I could just increase it up a few notches.

_________________
I used to do drugs. I still do, but I used to, too.
-Mitch Hedberg

Front page of a very old website of mine back in 1999:
Hello, today is December 30, 110 and this site is Y2K compatible.


Top
   
PostPosted: 01 Jan 2011, 02:06 
Offline
Geek (943)
User avatar
Ah, ok.

Yeah, I honestly have no clue how to do any of that. But if I did, I'd help.

_________________
Close your eyes, but nothing changes. We all know what brings this on.
Close your eyes, still nothing changes. No one knows how to take it back.


Top
   
PostPosted: 01 Jan 2011, 02:13 
Offline
Has learned to write! (176)
Im thinking I can get mod in less than 1 hour :P


Top
   
PostPosted: 01 Jan 2011, 05:26 
Offline
Has no REAL life! (1440)
User avatar
Own server, but you're advertising and seeking help here?

Am I the only one that's raising and eyebrow?

_________________
Of all the things I lost, I miss my mind the most.


Top
   
PostPosted: 01 Jan 2011, 05:29 
Offline
Likes to type... (261)
User avatar
[SpA]CrackHead wrote:
Own server, but you're advertising and seeking help here?

Am I the only one that's raising and eyebrow?
His server is pretty cool, dw =P

_________________
Youtube: http://www.youtube.com/user/Glitch1500?feature=mhee


Top
   
PostPosted: 01 Jan 2011, 07:23 
his server has messages to join and check out special attack.net.. so in fact hes turning people to this server also.


Top
   
PostPosted: 01 Jan 2011, 16:10 
Offline
Secret Kitchen Princess (1256)
User avatar
Right off the bat, the "place blocks for xp" concept is virtually impossible. The server doesn't send the ID of the player placing the block to the clients. It would take some pretty fancy coding to figure out who was placing the blocks client side.

The "time in server" thing should be fine, and all the ffbot commands should be doable by simply passing commands.

I don't really have the extra time to help, but if you have any questions, just ask. I really would suggest learning java at a more basic level before trying this.

_________________
It was used to emphasize the point, and is generally accepted by the grammar nazi community.


Top
   
PostPosted: 01 Jan 2011, 16:30 
Offline
Community slut (13474)
User avatar
[SpA]CrackHead wrote:
Own server, but you're advertising and seeking help here?

Am I the only one that's raising and eyebrow?
We support gaming in general, so I don't see much of an issue here. (Of course there are limits, but this is fine imo)


Top
   
PostPosted: 01 Jan 2011, 18:55 
Offline
Geek (943)
User avatar
Also, another thing to note is that he doesn't say "Hey, guys, come to my server!", rather, he says "Hey, can I get help with a server?". Asking for help is different from trying to split the community or draw them away from our own servers.

_________________
Close your eyes, but nothing changes. We all know what brings this on.
Close your eyes, still nothing changes. No one knows how to take it back.


Top
   
PostPosted: 01 Jan 2011, 22:53 
Offline
Has no REAL life! (1295)
User avatar
I didn't see it as advertising. I understand my opinion is pointless, really. But Fumino is a crazy active trustee on these servers, I think you guys can trust him :wink:

_________________
Not in cruelty. Not in wrath. The Reaper came today; an Angel visited this gray path, and took the cube away.


Top
   
PostPosted: 02 Jan 2011, 00:34 
Offline
Likes to type... (265)
User avatar
Umm.. yeah I didn't even say the name of it :P

Java doesn't seem too bad to figure out, I've already changed lots on HBOT :D. Only thing is.. her auto responder doesn't work :(

_________________
I used to do drugs. I still do, but I used to, too.
-Mitch Hedberg

Front page of a very old website of mine back in 1999:
Hello, today is December 30, 110 and this site is Y2K compatible.


Top
   
PostPosted: 02 Jan 2011, 00:44 
Offline
Secret Kitchen Princess (1256)
User avatar
her autoresponder is the one part that shouldn't EVER break. XD

Are you getting a warning, or an error?

_________________
It was used to emphasize the point, and is generally accepted by the grammar nazi community.


Top
   
PostPosted: 02 Jan 2011, 01:00 
Offline
Likes to type... (265)
User avatar
Ok, since we can't track the blocks placed and such... The NEW command list :D

How the robot works:
For every 50 messages written, FFBot will give you 35 experience points.
For every hour you are on, FFBot will give you 5 experience points
For every player you kick, FFBot will deduct 3 experience points
For every player you warn, FFBot will give you 2 experience points.
Every day since the login, FFBot will give you 1 experience point.
Every hour, FFBot will run a lottery, the numbers will be between 1 and 30. Jackpot is 100 experience points.
Every time you are kicked, FFBot will deduct 300 experience points.

Overlord: Appointed by a vote of all Overlords
Admin: Appointed by an Overlord only
Operator: 10,000xp / 2000msgs written
Guard: 5000xp / 550msgs written
Officer: 2000xp / 300msgs written
Civilian: 750xp / 150msgs written
Worker: 300xp / 50msgs written

FFBot commands:

@FFBot lottery [pick a number between 1 and 30]
@FFBot xp (short for experience points)
@FFBot warn [player's name] (also awards you 2 experience points, after the second warning, the player is frozen by FFBot and warned more strictly, third warning, FFBot will kick the player, deducting 3 experience points from you)
@FFBot help (will show a list of FFBot commands)
@FFBot rank req (short for rank requirements)
@FFBot time (will show the time the lottery is on and when it will be picked)
@FFBot announce [message here] (pay FFBot 50 experience points to make an announcement for you with the /say command)
@FFBot tp [player's name] (pay FFBot 10 experience points to teleport you to another player)
@FFBot check [player's name] (see how much experience points another player has)


Another new thing to add later on:
@FFBot start quest1
FFBot gives the golden ingot to (player)
from FFBot: Take this to the blacksmith in Hell. Type @FFBot give ingot blacksmith
/goto Hell
@FFBot give ingot blacksmith
Blacksmith: Ah, I've been expecting this for months!
Blacksmith: The customer who wanted it is long gone now.
Blacksmith: I will not buy this!
from FFBot: Type @FFBot kill or @FFBot Apologize

Option 1-
@FFBot kill
(player)'s soul rift DEMOLISHES the blacksmith causing 99 damage!
Blacksmith swings the Ban Hammer!
(player) dodges the attack and trips the Blacksmith!
(player) kicks the Blacksmith killing him!
(player) receives 100 experience points!
from FFBot: You have completed quest1! You may not repeat this quest again for 7 days.

Option 2-
@FFBot Apologize
Blacksmith nods and makes you an offer.
Blacksmith says, "Deliver this ingot to my brother the Baker in Heaven."
/goto Heaven
@FFBot give ingot Baker
Baker says, "Ah, from my brother eh? Why thankyou!
Baker gives (player) 150 experience points!
from FFBot: You have completed quest1! You may not repeat this quest again for 7 days.

_________________
I used to do drugs. I still do, but I used to, too.
-Mitch Hedberg

Front page of a very old website of mine back in 1999:
Hello, today is December 30, 110 and this site is Y2K compatible.


Top
   
PostPosted: 02 Jan 2011, 01:04 
Offline
Likes to type... (265)
User avatar
[SpA]Hafnium wrote:
her autoresponder is the one part that shouldn't EVER break. XD

Are you getting a warning, or an error?
Whenever I compile it, it beeps and highlights this on the EMCBot:
Code:
server = new Socket(parser.ip, Integer.parser.port);
When I right click on Main and void to run it. It logs in and just sits there.

I haven't messed too much with the auto responder.
Code:
import java.util.*;

public class Autoresponder
{
    
    ArrayList filters = new ArrayList();
    
    public Autoresponder()
    {
        

        

    }
    
    public void initChatFreebuild() {
                //SAMPLE RESPONSES TAILORED FOR SpecialAttack.net Freebuild
                

        filters.add(new Autoresponse(
        "Hello FFBot",
        "{player}, Welcome to the server!"
        ));
        filters.add(new Autoresponse(
        "Good",
        "Glad to hear that {player}. Anything I can help you with today?"
        ));
        filters.add(new Autoresponse(
        "HBOT, should scrathy and pure die?",
        "Yes. Shall I kill them?"
        ));
        filters.add(new Autoresponse(
        "Be my guest, HBOT.",
        "With pleasure."
        ));

    }
    
    public void test(EMCBot bot, String message, String callingPlayer) throws Exception
    {
            
        for (int x = 0; x < filters.size(); x ++)
        {
            if (((Autoresponse)(filters.get(x))).isMatch(message))
            {
                bot.say(((Autoresponse)(filters.get(x))).getResponse(callingPlayer));
                System.out.println("Responding to " + message + " with " + ((Autoresponse)(filters.get(x))).getResponse(callingPlayer));
            }
        }
    }

}

_________________
I used to do drugs. I still do, but I used to, too.
-Mitch Hedberg

Front page of a very old website of mine back in 1999:
Hello, today is December 30, 110 and this site is Y2K compatible.


Top
   
PostPosted: 02 Jan 2011, 09:48 
Offline
Has no REAL life! (1099)
User avatar
Im pretty sure there are customizable quest plugins for hmod, you could use those, save some time.

_________________
[22:07] <@FBB2> +Ollieboy: %d+Pandorum%f: So Ollie when shall we have sex again?
[22:07] <@Xesdra_> fail
[22:07] <@FBB2> +Ollieboy: Noo the say failed me
[22:08] <@FBB1> +Pandorum: LOL


Top
   
PostPosted: 03 Jan 2011, 02:08 
Offline
Likes to type... (265)
User avatar
This is for a fcraft server though, it can't use hey0... can it?

_________________
I used to do drugs. I still do, but I used to, too.
-Mitch Hedberg

Front page of a very old website of mine back in 1999:
Hello, today is December 30, 110 and this site is Y2K compatible.


Top
   
PostPosted: 03 Jan 2011, 03:16 
Offline
Has no REAL life! (1295)
User avatar
Fumino wrote:
Umm.. yeah I didn't even say the name of it :P

Java doesn't seem too bad to figure out, I've already changed lots on HBOT :D. Only thing is.. her auto responder doesn't work :(

Isn't this the POINT of HBOT ? :mrgreen:

_________________
Not in cruelty. Not in wrath. The Reaper came today; an Angel visited this gray path, and took the cube away.


Top
   
PostPosted: 03 Jan 2011, 06:09 
Offline
Has no REAL life! (1099)
User avatar
Wut I thought it was for SMP, didn't really notice the FFB acronym, my bad.

_________________
[22:07] <@FBB2> +Ollieboy: %d+Pandorum%f: So Ollie when shall we have sex again?
[22:07] <@Xesdra_> fail
[22:07] <@FBB2> +Ollieboy: Noo the say failed me
[22:08] <@FBB1> +Pandorum: LOL


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 20 posts ] 

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited