Jump to content
SSForum.net is back!

Recommended Posts

Posted
a special MERVBot.exe that passes MERVBot’s host struct as an 8th parameter in EVENT_Init. The host struct is needed so the AI can get the current client/server time skew information from MERV.
Would appreciate it!
  • 2 weeks later...
Posted (edited)

You don't know what it means, but you know you want it? If this isn't for you, why are you posting about it instead of the actual recipient?

k, those are instructions from Invader-Zim's readme to his AI bot. He never packaged his AI bot with the required MERVBot.exe. And I'm sure that there's no point in looking for him, as he's long gone. Edited by L.C.
Posted

Just open the source and search for that EVENT_Init, and the parameters it uses, add it

 

I have no idea how to do that either, but I'm sure it's easy to figure it out. Have fun blum.gif

Posted

dllcore.cpp (Line 10)

BotEvent makeInit(CALL_COMMAND c, CALL_PLIST p, CALL_FLIST f, CALL_MAP m, CALL_BLIST b, CALL_PARAMS params)
{
BotEvent event;

event.code = EVENT_Init;

event.p[0] = (void*)((CORE_MAJOR_VERSION << 16) | (CORE_MINOR_VERSION));
event.p[1] = (void*)c;
event.p[2] = p;
event.p[3] = f;
event.p[4] = m;
event.p[5] = b;
event.p[6] = params;

return event;
}

 

I did a search for "host" and "struct" (which probably has something to do with host structure), but found no function or string or whatever that has both. :o

Posted
I'm pretty sure that if it was as simple as that, Zimm would have just done it himself. I'm pretty sure that the timers aren't that far off as it is, as the bots are already pretty efficient at killing things.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...