Jump to content
SubSpace Forum Network

Recommended Posts

Posted
I don't know about the other builds, but on build 45, for me anways, when i use tell(makeChangeArena(name)); it never seems to update the actual arena name in botInfo. even after moving from a public arena to a private arena, it continues to output the public arena as it's current arena name.
Posted

Ok, I see the problem.

void __stdcall handleInGameFlag(hostMessage *m);

is where

h->imports->talk(makeArenaEnter(h->botInfo.initialArena, h->Me, h->billerOnline));

is done. So each time the S2C_ENTERINGARENA packet is sent to the bot, it runs the above function and then makes that call to the dll. The problem with the call is the botInfo.initialArena variable, it isn't being update with the new arena name when you do tell(...blah). A quick fix would be to add a strncpy(botInfo.initialArena, name, 64); botinfo.initialArena[63] = 0; to the function void Host::changeArena(char *name); But this isn't exactly the proper way of doing things. The server can deny an arena change by re-route players to another arena. But I could be wrong, I haven't really played around with all this stuff <_< .

 

Edit: If you know C++, then you should have no trouble diagnosing these things. Just change your core and see if it works. Then contact catid with the problem.

Posted

i !@#$%^&*umed it was something on the bots end, but i ended up finding a way around it so didn't pursue it. thanks <_<

 

EDIT: and speaking of re-routing, is there a way to re-route players to different arenas within MERV? (yes this is pertaining to my secure plugin)

Posted
From what I have been told, the command is ment to send players to another server. But how it works exactly, I'm not sure. I'll ask ekted next time he is online, I think his comp had some hardware problems and he hasn't been online.
  • 1 month later...
Posted
Thanks for letting me know about this.  A fixed version of the core has

been uploaded to my website.  If you like I'll credit you in the

discovery and update the version number or whatever, this coming weekend.

(Summer school finals.)  Please test the uploaded core for me and let me

know of any add'l probs.

 

--Catid

Guest
This topic is now closed to further replies.
×
×
  • Create New...