IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Edit to control bots by client id
JRob
post May 7 2011, 03:52 AM
Post #1


Advanced Member
***

Group: Members
Posts: 52
Joined: 30-April 11
Member No.: 1,970



Here is a mod that lets you control bots by client index. It was failing to detect unicode names so I had to add this. This should probably be changed to userid, but I don't know the function that converts userid to entity pointer.


bot.cpp line 1854

if ( szOldName[0] == '#' )
{
pEdict = INDEXENT(atoi(szOldName+1));
}
else
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 07:59 PM