Blockland Forums > Modification Help

Bot Damage

Pages: << < (4/5) > >>

Greek2me:


--- Quote from: cucumberdude on June 13, 2011, 01:54:29 PM ---QUADRUPLE POST

WAIT I JUST HAD AN IDEA
Now that my bots have clients, I can use GameConnection::onDeath to get the killer, right? :D

--- End quote ---
I think you use AiConnection::onDeath

Xalos:


--- Quote from: Destiny/Zack0Wack0 on June 14, 2011, 06:06:31 AM ---This should be enough for it to work:

--- Code: ---%bot = new AiPlayer()
{
dataBlock = PlayerStandardArmor;
client = new AiConnection()
{
player = %bot;
minigame = %minigame;
};
};

--- End code ---

--- End quote ---
Nesting is fun! :D

YoshiDude:


--- Quote from: cucumberdude on June 15, 2011, 03:31:51 PM ---yep, that's what im doing

i still get error mesages

--- End quote ---

I don't understand why you're


--- Quote from: Red_Guy on June 13, 2011, 04:31:22 PM ---re-inventing the wheel

--- End quote ---

Don't you think it'd be easier to simply use code that is known to work, as opposed to go through the same trouble that [insert name of creator of bot mod here] went through to create it themself?

cucumberdude:


--- Quote from: YoshiDude on June 16, 2011, 03:18:30 PM ---I don't understand why you're

Don't you think it'd be easier to simply use code that is known to work, as opposed to go through the same trouble that [insert name of creator of bot mod here] went through to create it themself?

--- End quote ---


--- Quote from: rkynick on June 14, 2011, 01:12:07 AM ---It's not a very nice wheel.

More to the point, with bots it is important that you have your own goddamned wheel.

--- End quote ---
I'm not making some build with bot events - I'M MAKING MY OWN MOD.

Stop suggesting that I use not events.

Destiny/Zack0Wack0:

Can you post a trace/console log of error messages?

--- Quote from: YoshiDude on June 16, 2011, 03:18:30 PM ---Don't you think it'd be easier to simply use code that is known to work, as opposed to go through the same trouble that [insert name of creator of bot mod here] went through to create it themself?

--- End quote ---
You're not contributing. Recycling code is a horrible idea. Go away.

Pages: << < (4/5) > >>

Go to full version