Jump to content
SubSpace Forum Network

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...