IPB

Welcome Guest ( Log In | Register )

> [Release] Possible fix for SC 5
RoboCop
post Jun 2 2017, 07:02 PM
Post #1


RCBot Fan
****

Group: Admin
Posts: 192
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



Well I did find your RCBot1 src code that was edited and modified for SC 4.5 around 2010, if I am not mistaken but I think I've managed to recompile and did some minor fixes for SC 5. I believe that SC 5 uses from their server /dlls folder like server.dll and server.so - rather than hl_i386.so and hl.dll that requires a fix for RCBot from the bot.h file at line 6322. Also I know that Metamod needs to be updated and compatible with SC 5, including the Metamod-P modified version that appears to have some problems at the moment.

So I thought I maybe recompile those bots for both Metamod and Stand-Alone SC 5. I cannot guarantee nor promise those bots will work but it appears fine on testing it on DMC Linux server. Those bots were recompiled with VS2017 and Clang++ v3.8 with G++ 5.4. Don't gets your hopes up just yet apart from trying those bots out:

https://www.dropbox.com/s/p3hpeytdd5s3535/r...ta_sc5.zip?dl=0
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
RoboCop
post Jun 3 2017, 08:03 PM
Post #2


RCBot Fan
****

Group: Admin
Posts: 192
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



Update: I had a reply from a friend who had been trying to load this RCBot beta for Sven Co-op 5.12 but crashed, and used GNU DeBug to point out what caused the crash. I had to ask if this was a problem with Metamod-p39 from SamVanheer, and he said "not really I was tryin out this non-mm version of yours, bud".

So he gave a error log on what happened when it crashed:

CODE
LoadLibrary failed on /home/sven/./svencoop/rcbot/dlls/rcbot.so: /home/sven/./svencoop/rcbot/dlls/rcbot.so: undefined symbol: _ZN12CBotVisibles9isVisibleEi
Host_Error: Couldn't get DLL API from /home/sven/./svencoop/rcbot/dlls/rcbot.so!
L 03/06/2017 - 20:52:26: FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/sven/./svencoop/rcbot/dlls/rcbot.so!

FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/sven/./svencoop/rcbot/dlls/rcbot.so!

[Inferior 1 (process 24670) exited with code 0377]


And just to make sure he set it up right, I tested this on my Sven server and appears to gave me that error msg too. This "CBotVisibles9isVisibleEi..." error could be linked to the bot.cpp or bot_visibles.cpp with the "BOOL CBotVisibles :: isVisible ( int iIndex )" or some sort.

I also recompiled the RCBot Standalone Debug version with the -D_DEBUG and using GCC debug flags but didn't appear to gave me much more info.

Does this mean anything or have any clues?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


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: 20th June 2025 - 11:59 AM