Ok, i have changed the wiki page, and added a bot specific page to it. I also have put in 'how to load interfaces'. I also succeeded loading them, thx to botman's code and searching for the right headers and declarations. I am trying to access data now, but i stumble into some problems here (You can read it at the wiki, at the bottom). It would be nice if someone else also edits the wiki when there is more information...
// Normally, when the engine calls ClientPutInServer, it calls a global function in the game DLL
// by the same name. Use this to override the function that it calls. This is used for bots.
typedef CBasePlayer* (*ClientPutInServerOverrideFn)( edict_t *pEdict, const char *playername );
This is looking good. But I can't implement the IServerGameClients interface. I get a lot of errors.
Edit: I got the interface implemented. Now to see how I can use it .
Imagination is more important than knowledge. Knowledge is limited - Albert Einstein
Well we (jerry and i) are talking on msn and try to get this stuff working. We finally can compile igamemovement.h fine and such.
But the problem is, we need something to get to CBasePlayer. So we thought of util_shared, but thats client sided only (UTIL_bla).
I thought, the entity list should be loaded, biut this interface (client side only i think) does not load. THere HAS to be a way to get info on the entities list... not just sure how to get there.
When that works, we should be able to create our own CBasePlayer * returning function. Unless its hidden somewhere else.
already tried to copy the CBasePlayer.h stuff from the sdk and include it ? since we have a pointer to CBasePlayer ( right ), the class def should be the problem, the entity list not ( yet ).
well, then baseplayer_shared.h looks promising ... ok, I really gotta do university stuff first, i'm gonna join your work at the weekend
well, sry for deleting, but this post was just shit. including baseplayer_shared.h even with more std include paths doesnt work, produces only thousands of errors whose reason I cannot find out even using browse files from the SDK itself.