Blockland Forums > General Discussion
Road to 90K!
MARBLE MAN:
--- Quote from: Kalphiter^4 on December 27, 2013, 04:43:19 PM ---[img ]http://i.imgur.com/eHK6a4G.png[/img]
You guys believe anything.
--- End quote ---
I'm pretty sure onConnectRequest would do absolutely nothing alone
Kalphiter^4:
--- Quote from: MARBLE MAN on December 27, 2013, 10:55:42 PM ---I'm pretty sure onConnectRequest would do absolutely nothing alone
--- End quote ---
There was some other function Port mentioned before the chat in that picture.
MARBLE MAN:
--- Quote from: Kalphiter^4 on December 27, 2013, 11:49:20 PM ---There was some other function Port mentioned before the chat in that picture.
--- End quote ---
I made some pseudo code that makes an AI connection
package connection
{
function GameConnection::isAIControlled(%client)
{
%a = parent::isAIControlled(%client);
return (%a ? %a : %client.getClassName()$="AIConnection");
}
};
activatepackage(connection);
function connectAnAIClient()
{
%cl = new AIConnection();
%cl.larmcolor = "1 0 0 1"; //dandy fake avatar that looks like a bot
%cl.rarmcolor = "1 0 0 1";
%cl.lhandColor = "1 1 0 1";
%cl.rhandcolor = "1 1 0 1";
%cl.headColor = "1 1 0 1";
%cl.chestColor = "1 1 1 1";
%cl.hipcolor = "0 0 1 1";
%cl.llegColor = "0 0 0 1";
%cl.rlegcolor = "0 0 0 1";
%cl.schedule(15000,delete);
%cl.startLoad(); // This makes the " connected." message
%cl.loadMission(); // This makes the " spawned." message, and creates a player with no name
return %cl;
}
I'm pretty sure this is what happened, but port somehow managed to hack in names
Kevso:
I don't remember exactly, but once there was this bot going aroung servers just chatting a bunch of random facts then getting banned. I forgot the name of the bot but it had an ID and everything. When it spawned it would move and look around like the default bots do.
Zealott:
--- Quote from: Kevso11 on December 28, 2013, 09:52:24 AM ---I don't remember exactly, but once there was this bot going aroung servers just chatting a bunch of random facts then getting banned. I forgot the name of the bot but it had an ID and everything. When it spawned it would move and look around like the default bots do.
--- End quote ---
That was a user named "Fact Sphere". They were using a script (I think made by MARBLE MAN) to seem like a bot, while copying and pasting facts.