I did that, and it works perfectly. But I wanted my plugin to work with game Half-Life 2 Deathmatch as well.
2012/9/23 Tony "omega" Sergi <omegal...@gmail.com> > the SDK Source code matches "Source SDK Base 2007", not any of the other > ones. > the "2006" source code matches "Source SDK Base", and no other game itself. > > If you want to run as if it was purely hl2mp, you need to leave it using > AppiID 218, and then mount the hl2mp content. > > -Tony > > > > On Mon, Sep 24, 2012 at 3:51 AM, Asher Baker <asher...@gmail.com> wrote: > >> The official SDK hasn't matched the game in several years. >> >> Sent from my iPhone >> >> On 23 Sep 2012, at 19:26, Borzh <borz...@gmail.com> wrote: >> >> > Hi there, >> > >> > I just compiled my bots plugin and tested it with a new mod I created >> from hl2dm 2007 engine version. All ok. >> > But when I put my plugin into real half-life 2 deathmatch folder and >> run it (with -insecure parameter) I got 2 problems: >> > >> > - Cannot open interface FILESYSTEM_INTERFACE_VERSION IFileSystem >> pFileSystem. >> > I just was using it to get current directory, so it is not very >> important but why is this happenning? >> > >> > - When a map is started, I read all map entities and choose some to >> store (so bots know where to look for health armor weapons and ammo). >> > But plugin crashes with access violation >> > >> > ICollideable* pCollidable = pEdict->GetCollideable(); >> > const Vector& vItemOrigin = pCollidable->GetCollisionOrigin(); >> > >> > when I try to access vItemOrigin, say print out x, y, z. Obviously >> vItemOrigin is pointing at some bad memory area. >> > >> > Why this can be happening? All other plugin intefaces are working well, >> even ICvar and IVDebugOverlay (console commands are working and >> > also debug lines/boxes/beams). >> > >> > Thanks in advance, >> > Boris. >> > >> > _______________________________________________ >> > To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >> > >> > - > -Tony > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders