JK-Botti 1.44-beta Src Code Unofficial WIP
1 Attachment(s)
Hello I don't know if anyone who are reading this could maybe cooperate but I was hoping someone could maybe point out some errors or mistakes I made with this JK-Botti src code that I'm altering for supporting DMC.
I extracted some of the bot_start.cpp from HPB for allowing bots to start as JKB doesn't allow bots to use "_firstspawn" command as the DMC MOTD requires the bot to "click" [OK] on the MOTD caption, as HLDM and Op4DM doesn't require the for MOTD to clear for movement and to spawn for the bots. I did some experimenting and added the entities and bot_weapons for DMC but I'm stuck on the bot_start.cpp part as I'm not a C/C++ professional. This current src code zip contains a GCC compile error from bot_start.cpp saying: Code:
bot_start.cpp: In function ‘void BotStartGame()’: |
Re: JK-Botti 1.44-beta Src Code Unofficial WIP
hi.
is suppose FakeClientCommand takes pBot.pEdict pointer as first parameter. |
Re: JK-Botti 1.44-beta Src Code Unofficial WIP
Alright so far I think I got that part fixed. But I need to look over on the mod_id compile error in bot_start.cpp:-
Code:
bot_start.cpp: In function ‘void BotStartGame()’: |
Re: JK-Botti 1.44-beta Src Code Unofficial WIP
Post the entire bit that you've changed - the error messages seem obvious enough but it would be easier to see what you've done for context.
|
Re: JK-Botti 1.44-beta Src Code Unofficial WIP
Well so far the compiler seems to work okay when I exclude bot_start.cpp and added in line 923 for bot.cpp:
Code:
* * * FakeClientCommand(BotEnt, "_firstspawn", NULL, NULL); Code:
L 09/14/2016 - 16:44:31: [META] WARNING: dll: Failed query plugin '<jk_botti_mm.so>'; Couldn't open file '/home/desktop/steamcmd/hlds/dmc/addons/jk_botti/dlls/jk_botti_mm.so': /home/apghlds/steamcmd/hlds/dmc/addons/jk_botti/dlls/jk_botti_mm.so: undefined symbol: waypoints |
Re: JK-Botti 1.44-beta Src Code Unofficial WIP
I think by default gcc won't complain about undefined variables - I think the -Wall parameter might help here.
Why did you exclude bot_start.cpp? |
Re: JK-Botti 1.44-beta Src Code Unofficial WIP
Because I had to start from scratch by reflecting on some of the modifications I did to support DMC. I already knew on the "_firstspawn" was the key to allow JKB to spawn the bots properly in DMC, but I realised that bot.cpp can also use that command.
|
Re: JK-Botti 1.44-beta Src Code Unofficial WIP
1 Attachment(s)
Well so far I've made some tweaks and added a bit more DMC support but I had to exclude some #define for the HLDM and Op4 declarations as the compiler cannot cope using too many initializers in bot_weapons.h. I've added in waypoints.cpp/h and engine.cpp for 4 of the DMC runes and 3 types of armour, as well added the DMC weapons and ammo in bot_weapons.
The bots do work well but they appear to only use the single-barreled shotgun mainly and they don't learn how to evade the lava pit to avoid suicide. And as for the Makefile it appears the main /metamod folder in jk_botti src folder contains the Metamod SDK with the older Meta Interface 5:7 so I had to use Metamod-P37 src code to allow JKB to support. I've recompiled JKB as jk_botti_dmc_mm.so v1.44 for you guys to maybe try out. I know the src code is kinda messed up and I didn't had time to neaten it up, but I had to test some ideas for JKB to work on DMC for practical experimental purposes. |
Re: JK-Botti 1.44-beta Src Code Unofficial WIP
i emailed the author several times.. and beside i am french.. [ i mean it because i think he is from finland.. finland where france is building for them a nuclear reactor...that theypromised to pay 3 billions..its current cost for france is more around 30's billions../spoiler]... he never answered any email..
it was about metamod-p that he makes either i also added this pluggin in my first mod using the opposing force dlls .. my post has nothing to do with the above ;'] text.. i read the link : https://github.com/Bots-United/jk_botti where the original author speaks about a 1.44 beta himself .. as he "commit" change 6 month ago .. i wonder if you work on 1.44b or create a 1.45b .. i try to not be "tricky" but the main good thing in opposing force , beside the grunts friends : torchman and medic + males black-ops and the new aliens ... are the two giant aliens : with entities managed by the dlls : the eyes and the claws .. as the code is still "private" even the svencoop is still not able to have them looking real ..in his "coop mod version " i am asking if you or the original author are planing to use these monsters as "Bots" ?? [i would also take some in my dlls.. sorry i ll do imagine i do the saturday morning "market" ..buying fresh vegetables from around ..[lol] i can 't stop joking..] |
Re: JK-Botti 1.44-beta Src Code Unofficial WIP
Quote:
|
All times are GMT +2. The time now is 07:44. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.