Giter VIP home page Giter VIP logo

Comments (53)

techyian avatar techyian commented on August 11, 2024 3

No I've tested using their latest master branch on GitHub. Are you planning a new release anytime soon and if so, would you be able to put out an ARM build for ET?

from omni-bot.

techyian avatar techyian commented on August 11, 2024 1

Hi, I haven't spent any more time recently looking into this. I have hosted a compiled binary of omnibot_et here. I'll hopefully get another chance to look at this again in the near future.

I've also hosted a how-to guide here.

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024 1

Omnibot mod (qagame, cgame, ui) is only used to create waypoints. You don't need it. It's better to use the legacy mod to play the game.

from omni-bot.

techyian avatar techyian commented on August 11, 2024 1

Hi @plastovicka, I've managed to revisit the work I was doing for Enemy Territory. I have managed to get Omnibot compiling and running successfully on my Raspberry Pi without the previously mentioned code changes - it is possible that I made a mistake in the compilation last time which caused the seg faults. I have however still had to change the references to the game monkey folder locations in the Jamfiles.

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

Boost libraries must be compiled before omni-bot. Have you compiled the boost libraries successfully ?
You can try to use newer version of boost. Version 1.44 is very old.

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024

hmm, do you have a guide how to do this? i just run ./bootstrap.sh in the boost directory, thats all.

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

http://omni-bot.invisionzone.com/wiki/index.php?title=Compile

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024
game/g_rtcwbot_interface.cpp: In function 'void Bot_Util_SendTrigger(gentity_t*, gentity_t*, const char*, const char*)':
game/g_rtcwbot_interface.cpp:3997:16: error: 'struct TriggerInfo' has no member named 'm_Entity'
    triggerInfo.m_Entity = HandleFromEntity( _ent );
                ^
game/g_rtcwbot_interface.cpp:3998:28: error: 'struct TriggerInfo' has no member named 'm_TagName'
    Q_strncpyz( triggerInfo.m_TagName, _tagname, TriggerBufferSize );
                            ^
game/g_rtcwbot_interface.cpp:3999:28: error: 'struct TriggerInfo' has no member named 'm_Action'
    Q_strncpyz( triggerInfo.m_Action, _action, TriggerBufferSize );
                            ^
game/g_rtcwbot_interface.cpp:4000:18: error: request for member 'pfnSendTrigger' in 'gBotFunctions', which is of pointer type 'OmnibotFunctionInterface*' (maybe you meant to use '->' ?)
    gBotFunctions.pfnSendTrigger( triggerInfo );
                  ^

    "armv6l-unknown-linux-gnueabihf-g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC -Os -fno-strict-aliasing -w -DDEBUG -DGAMEDLL -D_DEBUG -D__linux__  -I"../../../Omnibot/Common" -I"../../../Omnibot/RTCW" -c -o "build/game/gcc-arm/debug/g_rtcwbot_interface.o" "game/g_rtcwbot_interface.cpp"

...failed gcc.compile.c++ build/game/gcc-arm/debug/g_rtcwbot_interface.o...

seems not to compile.

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

Omni-bot source code in the master branch is currently broken, it does not compile on any platform.
You must get source code from the stable branch.

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024

got it compiled but server just crash on start.

----------------------
6642 files in pk3 files
couldn't exec mapcfgs/mp_beach.cfg
Try loading dll file ./omnibot/qagame.mp.arm.so
Loading DLL file: ./omnibot/qagame.mp.arm.so
Sys_LoadGameDll(./omnibot/qagame.mp.arm.so) found vmMain function at 0xa242a1d4
------- Game Initialization -------
gamename: omnibot
gamedate: Oct 13 2015
------------------------------------------------------------
InitGame: \dmflags\0\timelimit\8\sv_hostname\^6Raspberry ^7PI ^024/7\sv_maxclients\20\sv_minRate\0\sv_maxRate\0\sv_dlRate\100\sv_minPing\0\sv_maxPing\0\sv_floodProtect\1\g_friendlyFire\1\g_maxlives\0\g_voteFlags\255\g_antilag\0\g_maxGameClients\0\version\iortcw 1.42d linux-arm Oct 10 2015\com_gamename\wolfmp\com_protocol\61\g_gametype\5\g_gameskill\3\mapname\mp_beach\sv_privateClients\0\sv_allowAnonymous\0\g_minGameClients\8\g_axismaxlives\0\g_alliedmaxlives\0\gamename\omnibot\g_redlimbotime\3000\g_bluelimbotime\3000\g_medicChargeTime\45000\g_engineerChargeTime\30000\g_LTChargeTime\40000\g_soldierChargeTime\20000\g_enableBreath\1\mod_version\0.84\mod_url\www.omni-bot.com\omnibot_playing\0
Gametype changed, clearing session data.
func_timer at (3244 2212 1384) has random >= wait
0 teams with 0 entities
26 items registered
-----------------------------------
Omni-bot: ^2Looking for /home/quake3/omni-bot/omnibot_rtcw.so, found.
Omni-bot: ^2Found Omni-bot: /home/quake3/omni-bot/omnibot_rtcw.so, Attempting to Initialize
]terminate called without an active exception                                                                                                                                                                                               ----- Server Shutdown (Received signal 6) -----
Resolving dpmaster.deathmask.net (IPv4)
dpmaster.deathmask.net resolved to 107.161.23.68:27950
Sending heartbeat to dpmaster.deathmask.net
Resolving master.ioquake3.org (IPv4)
master.ioquake3.org resolved to 50.161.35.92:27950
Sending heartbeat to master.ioquake3.org
Resolving wolfmaster.s4ndmod.com (IPv4)
wolfmaster.s4ndmod.com resolved to 104.153.105.66:27950
Sending heartbeat to wolfmaster.s4ndmod.com
Sending heartbeat to dpmaster.deathmask.net
Sending heartbeat to master.ioquake3.org
Sending heartbeat to wolfmaster.s4ndmod.com
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
forcefully unloading qagame vm
---------------------------

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

Have omni-bot written anything to log file /home/quake3/.wolf/omnibot_mp_beach.log ?

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024
---------------- Log begins on Sat Oct 17 11:56:11 2015 ---------------
I 10/17 11:56:11 Error Mounting /home/quake3/rtcw/omni-bot/rtcw/incomplete_navs/priority_maps : File not found
I 10/17 11:56:11 Error Mounting /home/quake3/rtcw/omni-bot/rtcw/incomplete_navs/with_script : File not found
I 10/17 11:56:11 Error Mounting /home/quake3/rtcw/omni-bot/rtcw/incomplete_navs/no_script : File not found
> 10/17 11:56:11 +-  Begin block: CreateGame
I 10/17 11:56:11 |   Initializing PhysFS: Version 2.0.2
F 10/17 11:56:11 |   +-  LogInit
I 10/17 11:56:11 |   |   Your base directory is: /home/quake3/rtcw/omni-bot
I 10/17 11:56:11 |   |   Your user directory is: /home/quake3/
I 10/17 11:56:11 |   |   Your mod directory is: /home/quake3/rtcw/omni-bot/rtcw
I 10/17 11:56:11 |   |   Supported Archive Types
I 10/17 11:56:11 |   |    * ZIP : PkZip/WinZip/Info-Zip compatible
I 10/17 11:56:11 |   |   Written by Ryan C. Gordon <[email protected]> @ http://icculus.org/physfs/
I 10/17 11:56:11 |   |    * 7Z : LZMA (7zip) format
I 10/17 11:56:11 |   |   Written by Dennis Schridde <[email protected]> @ http://icculus.org/physfs/
F 10/17 11:56:11 |   +-
> 10/17 11:56:11 |   +-  Begin block: Init
I 10/17 11:56:11 |   |   Initializing Scripting System...
I 10/17 11:56:11 |   |   Hard Memory Limit: 2 MB
I 10/17 11:56:11 |   |   Binding Script Libraries...
I 10/17 11:56:11 |   |   + System Library Bound.
I 10/17 11:56:11 |   |   + Math Library Bound.
I 10/17 11:56:11 |   |   + String Library Bound.
I 10/17 11:56:11 |   |   + Bot System Library Bound.
I 10/17 11:56:11 |   |   + Blackboard Library Bound.
I 10/17 11:56:11 |   |   + Bot Library Bound.
I 10/17 11:56:11 |   |   + TargetInfo Library Bound.
I 10/17 11:56:11 |   |   + TriggerInfo Library Bound.
I 10/17 11:56:11 |   |   + Timer Library Bound.
I 10/17 11:56:11 |   |   + AABB Library Bound.
I 10/17 11:56:11 |   |   + Matrix3 Library Bound.
I 10/17 11:56:11 |   |   + Script Goal Library Bound.
I 10/17 11:56:11 |   |   + Utility Library Bound.
I 10/17 11:56:11 |   |   + Schema Library Bound.
---------------- Log ends on Sat Oct 17 11:56:12 2015 -----------------

from omni-bot.

jswigart avatar jswigart commented on August 11, 2024

I'm not much help on this, but I'm curious. Are you running a server on a rpi or the entire game? I'm not too familiar with it.

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024

just a server.

from omni-bot.

jswigart avatar jswigart commented on August 11, 2024

Interesting. Let me know how it works/performs.

The advanced stuff I'm doing on the main branch utilizes more resources and processing for dynamic navmesh and more sophisticated tactical goal selection and such.

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024

i can tell you, that the iortcw server runs very well on my pi, also i have multiple quake2 servers running. i dont know how it will perform with bots, bu i think 6-8 bots should be no problem.

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

Have you compiled rtcw with debug info ? If not, change bjam parameter release to debug.
Do you have any debugger on your rpi ?
If you don't have debugger, you can try to remove or comment out these 2 lines:
ScriptManager.cpp, line 287: MapGoal::Bind(m_ScriptEngine);
IGame.cpp, line 107: g_MapGoalDatabase.LoadMapGoalDefinitions(true);

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024

hey,
if i comment this to lines out, iortcw goes to 100% cpu load after loading omnibot and spams the log endless with

I 10/19 10:57:04 |   |   + Weapon Library Bound.
I 10/19 10:57:04 |   |   + Name List Created

and iortcw stuck on

Omni-bot: ^2Looking for /home/mezo/rtcw/omni-bot/omnibot_rtcw.so, found.
Omni-bot: ^2Found Omni-bot: /home/mezo/rtcw/omni-bot/omnibot_rtcw.so, Attempting                                                                                                                                                              to Initialize

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

It's weird because there's no loop in source code near MapGoal::Bind.
What's your Raspbian version and gcc version ?
I've installed QEMU on Windows and successfully compiled and started dedicated rtcw server with 10 bots. The emulator runs Raspbian Wheezy. The gcc compiler version is 4.6.3.
I had problem with memory (the emulator has only 256 MB RAM), but solved it by increasing swap to 1GB.

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024

gcc (GCC) 5.2.0

so, can u provide me your binaries?
which rtcw you used? i assume it is iortcw?

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

I've uploaded omnibot and iortcw binaries to https://drive.google.com/open?id=0BwzXFCuaagbkUzFfQWd0bGFOanc

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024

hey,
thank you! server still crash, but log looks different now

---------------- Log begins on Tue Oct 20 20:44:00 2015 ---------------
I 10/20 20:44:11 Error Mounting /home/mezo/rtcw/omni-bot/rtcw/incomplete_navs/priority_maps : File not found
I 10/20 20:44:11 Error Mounting /home/mezo/rtcw/omni-bot/rtcw/incomplete_navs/with_script : File not found
I 10/20 20:44:11 Error Mounting /home/mezo/rtcw/omni-bot/rtcw/incomplete_navs/no_script : File not found
> 10/20 20:44:11 +-  Begin block: CreateGame
I 10/20 20:44:11 |   Initializing PhysFS: Version 2.0.2
F 10/20 20:44:11 |   +-  LogInit
I 10/20 20:44:11 |   |   Your base directory is: /home/mezo/rtcw/omni-bot
I 10/20 20:44:11 |   |   Your user directory is: /home/mezo/
I 10/20 20:44:11 |   |   Your mod directory is: /home/mezo/rtcw/omni-bot/rtcw
I 10/20 20:44:11 |   |   Supported Archive Types
I 10/20 20:44:11 |   |    * ZIP : PkZip/WinZip/Info-Zip compatible
I 10/20 20:44:11 |   |   Written by Ryan C. Gordon <[email protected]> @ http://icculus.org/physfs/
I 10/20 20:44:11 |   |    * 7Z : LZMA (7zip) format
I 10/20 20:44:11 |   |   Written by Dennis Schridde <[email protected]> @ http://icculus.org/physfs/
F 10/20 20:44:11 |   +-  
> 10/20 20:44:11 |   +-  Begin block: Init
I 10/20 20:44:11 |   |   Initializing Scripting System...
I 10/20 20:44:11 |   |   Hard Memory Limit: 2 MB
I 10/20 20:44:11 |   |   Binding Script Libraries...
I 10/20 20:44:11 |   |   + System Library Bound.
I 10/20 20:44:11 |   |   + Math Library Bound.
I 10/20 20:44:11 |   |   + String Library Bound.
I 10/20 20:44:11 |   |   + Bot System Library Bound.
I 10/20 20:44:11 |   |   + Blackboard Library Bound.
I 10/20 20:44:11 |   |   + Bot Library Bound.
I 10/20 20:44:11 |   |   + TargetInfo Library Bound.
I 10/20 20:44:11 |   |   + TriggerInfo Library Bound.
I 10/20 20:44:11 |   |   + Timer Library Bound.
I 10/20 20:44:11 |   |   + AABB Library Bound.
I 10/20 20:44:11 |   |   + Matrix3 Library Bound.
I 10/20 20:44:11 |   |   + Script Goal Library Bound.
I 10/20 20:44:11 |   |   + Utility Library Bound.
I 10/20 20:44:11 |   |   + Schema Library Bound.
I 10/20 20:44:11 |   |   + MapGoal Library Bound.
I 10/20 20:44:11 |   |   + Weapon Library Bound.
I 10/20 20:44:11 |   |   + Name List Created
I 10/20 20:44:11 |   |   done.
< 10/20 20:44:11 |   +-  
I 10/20 20:44:11 |   Waypoint Nav System Initialized (8 Serializers)
I 10/20 20:44:11 |   Registered Waypoint Flag: TEAM1
I 10/20 20:44:11 |   Registered Waypoint Flag: TEAM2
I 10/20 20:44:11 |   Registered Waypoint Flag: TEAM3
I 10/20 20:44:11 |   Registered Waypoint Flag: TEAM4
I 10/20 20:44:11 |   Registered Waypoint Flag: TEAMONLY
I 10/20 20:44:11 |   Registered Waypoint Flag: CLOSED
I 10/20 20:44:11 |   Registered Waypoint Flag: CROUCH
I 10/20 20:44:11 |   Registered Waypoint Flag: DOOR
I 10/20 20:44:11 |   Registered Waypoint Flag: JUMP
I 10/20 20:44:11 |   Registered Waypoint Flag: JUMPGAP
I 10/20 20:44:11 |   Registered Waypoint Flag: JUMPLOW
I 10/20 20:44:11 |   Registered Waypoint Flag: CLIMB
I 10/20 20:44:11 |   Registered Waypoint Flag: SNEAK
I 10/20 20:44:11 |   Registered Waypoint Flag: ELEVATOR
I 10/20 20:44:11 |   Registered Waypoint Flag: TELEPORT
I 10/20 20:44:11 |   Registered Waypoint Flag: SNIPE
I 10/20 20:44:11 |   Registered Waypoint Flag: HEALTH
I 10/20 20:44:11 |   Registered Waypoint Flag: ARMOR
I 10/20 20:44:11 |   Registered Waypoint Flag: AMMO
I 10/20 20:44:11 |   Registered Waypoint Flag: DYNAMIC
I 10/20 20:44:11 |   Registered Waypoint Flag: INWATER
I 10/20 20:44:11 |   Registered Waypoint Flag: UNDERWATER
I 10/20 20:44:11 |   Registered Waypoint Flag: DEFEND
I 10/20 20:44:11 |   Registered Waypoint Flag: ATTACK
I 10/20 20:44:11 |   Registered Waypoint Flag: SCRIPT
I 10/20 20:44:11 |   Registered Waypoint Flag: ROUTE
I 10/20 20:44:11 |   Registered Waypoint Flag: INFILTRATOR
I 10/20 20:44:11 |   Registered Waypoint Flag: AXIS
I 10/20 20:44:11 |   Registered Waypoint Flag: ALLIES
I 10/20 20:44:11 |   Registered Waypoint Flag: WALL
I 10/20 20:44:11 |   Registered Waypoint Flag: BRIDGE
I 10/20 20:44:11 |   Registered Waypoint Flag: SPRINT
I 10/20 20:44:11 |   Registered Waypoint Flag: WATERBLOCKABLE
I 10/20 20:44:11 |   Registered Waypoint Flag: CAPPOINT
I 10/20 20:44:11 |   Registered Waypoint Flag: ARTY_SPOT
I 10/20 20:44:11 |   Registered Waypoint Flag: ARTY_TARGET_S
I 10/20 20:44:11 |   Registered Waypoint Flag: ARTY_TARGET_D
I 10/20 20:44:11 |   Registered Waypoint Flag: STRAFE_L
I 10/20 20:44:11 |   Registered Waypoint Flag: STRAFE_R
I 10/20 20:44:11 |   Registered Waypoint Flag: PANZER
I 10/20 20:44:11 |   Registered Waypoint Flag: VENOM
I 10/20 20:44:11 |   Registered Waypoint Flag: FLAME
I 10/20 20:44:11 |   Registered Waypoint Flag: UGOAL
I 10/20 20:44:11 |   Registered Waypoint Flag: USEPATH
I 10/20 20:44:11 |   Registered Waypoint Flag: STRAFE_JUMP_L
I 10/20 20:44:11 |   Registered Waypoint Flag: STRAFE_JUMP_R
I 10/20 20:44:11 |   Created Nav System : Waypoint Path Planner
I 10/20 20:44:11 |   Goal Manager Created.
> 10/20 20:44:11 |   +-  Begin block: InitScriptSupport
I 10/20 20:44:11 |   |   Initializing Game Bindings...
I 10/20 20:44:11 |   |   done.
I 10/20 20:44:11 |   |   Registering Script Constants...
I 10/20 20:44:11 |   |   done.
< 10/20 20:44:11 |   +-  
I 10/20 20:44:13 |   Running script: scripts/weapons/weapon_defaults.gm
I 10/20 20:44:13 |   Loading 26 weapon scripts from: scripts/weapons
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_sniper.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_pliers.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_smoke_grenade.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_rocket_launcher.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_colt.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_grenade_axis.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_panzerfaust.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_medkit.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_garand.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_knife.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_ammopack.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_dynamite.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_flamethrower.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_luger.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_grenade_allies.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_mauser.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_syringe.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_venom.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_sniperrifle.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_binoculars.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_sten.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_thompson.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_mp40.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_mountable_mg42.gm
I 10/20 20:44:14 |   Running script: scripts/weapons/weapon_smoke_marker.gm
I 10/20 20:44:14 |   Loading 26 MapGoals from: global_scripts/mapgoals & scripts/mapgoals
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_capturepoint.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_flag.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_camp.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_switch.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_returnflag.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_defend.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_camp.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_capturehold.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_attack.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_camp.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_snipe.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_camp.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_route.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_mountmg42.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_panzer.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_camp.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_defuse.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_checkpoint.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_venom.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_camp.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_revive.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_artillery_d.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_blowuptarget.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_artillery.gm
I 10/20 20:44:14 |   Running script: scripts/mapgoals/mapgoal_airstrike.gm
I 10/20 20:44:15 |   Running script: scripts/mapgoals/mapgoal_grenade.gm
I 10/20 20:44:15 |   Running script: scripts/mapgoals/mapgoal_repairmg42.gm
I 10/20 20:44:15 |   Running script: scripts/mapgoals/mapgoal_mover.gm
I 10/20 20:44:15 |   Running script: scripts/mapgoals/mapgoal_explosive.gm
I 10/20 20:44:15 |   Running script: scripts/mapgoals/mapgoal_flamethrower.gm
I 10/20 20:44:15 |   Running script: scripts/mapgoals/mapgoal_camp.gm
I 10/20 20:44:15 |   Running script: scripts/mapgoals/mapgoal_artillery_s.gm
I 10/20 20:44:15 |   Running script: scripts/rtcw_autoexec.gm
I 10/20 20:44:15 |   Running script: rtcw_navconfig.gm
I 10/20 20:44:15 |   Running script: commands.gm
I 10/20 20:44:15 |   Running script: rtcw_commands.gm
I 10/20 20:44:15 |   Running script: server_manager.gm
I 10/20 20:44:15 |   Running script: rtcw_regiontriggers.gm
I 10/20 20:44:15 |   Running script: rtcw_botnames.gm
I 10/20 20:44:15 |   Class SOLDIER : using profile def_bot.gm
I 10/20 20:44:15 |   Class MEDIC : using profile def_bot.gm
I 10/20 20:44:15 |   Class ENGINEER : using profile def_bot.gm
I 10/20 20:44:15 |   Class LIEUTENANT : using profile def_bot.gm
I 10/20 20:44:15 |   Running script: utilities.gm
I 10/20 20:44:15 |   Running script: rtcw_utilities.gm
I 10/20 20:44:15 |   Created Game Interface : RTCW
I 10/20 20:44:15 |   Game Interface : RTCW-MP
I 10/20 20:44:15 |   Mod Interface : rtcwmain
> 10/20 20:44:15 |   +-  Begin block: Load
I 10/20 20:44:15 |   |   Loading waypoint: nav/mp_beach.way
I 10/20 20:44:15 |   |   908 Waypoints Loaded from file nav/mp_beach.way
I 10/20 20:44:15 |   |   Found 16 blockable paths
I 10/20 20:44:15 |   |   Generating Spacial Database.
---------------- Log ends on Tue Oct 20 20:44:15 2015 -----------------
Omni-bot: ^2Looking for /home/mezo/rtcw/omni-bot/omnibot_rtcw.so, found.
Omni-bot: ^2Found Omni-bot: /home/mezo/rtcw/omni-bot/omnibot_rtcw.so, Attempting to Initialize
^2RTCW Script Executed
----- Server Shutdown (Received signal 7) -----
Resolving dpmaster.deathmask.net (IPv4)
dpmaster.deathmask.net resolved to 107.161.23.68:27950
Sending heartbeat to dpmaster.deathmask.net
Resolving master.ioquake3.org (IPv4)
master.ioquake3.org resolved to 50.161.35.92:27950
Sending heartbeat to master.ioquake3.org
Sending heartbeat to dpmaster.deathmask.net
Sending heartbeat to master.ioquake3.org
==== ShutdownGame ====
forcefully unloading qagame vm

from omni-bot.

jswigart avatar jswigart commented on August 11, 2024

Is this a 32 or 64 bit platform? The file format may not be interchangeable for the way points

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

I think this crash is caused by #pragma pack(1).
I've compiled omnibot again without BuildSpatialDatabase and also updated all gm scripts:
https://drive.google.com/open?id=0BwzXFCuaagbkTlVGUnQ0czJUWDg

from omni-bot.

jswigart avatar jswigart commented on August 11, 2024

what's wrong with pragma pack?

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

ARM processors require aligned data. You get signal 7 (SIGBUS) if you read a float value from odd address. C++ compiler can automatically insert padding to struct in order to align all members. But #pragma pack(1) forces the compiler not to add any padding.

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024

hey,
so far it seems to work :) great job

from omni-bot.

jswigart avatar jswigart commented on August 11, 2024

I'm surprised the waypoint file format isn't broken for disabling that pack

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024

had the server running for a bit now and at some point server crash.

Omni-bot: ^2Looking for /home/quake3/rtcw/omni-bot/omnibot_rtcw.so, found.
Omni-bot: ^2Found Omni-bot: /home/quake3/rtcw/omni-bot/omnibot_rtcw.so, Attempting to Initialize
^2RTCW autoexec script Executed
^2Loaded Waypoints.
^2Bot Initialized in 1.01 seconds.
Omni-bot: ^2Omni-bot Loaded Successfully
^2131 Goals Loaded, 17 Goals Deferred, 0 Goals could not load. elapsed time: 2.66 seconds
********************
ERROR: SP_team_WOLF_objective: exceeded MAX_MULTI_SPAWNTARGETS (16)

********************
----- Server Shutdown (Server crashed: SP_team_WOLF_objective: exceeded MAX_MULTI_SPAWNTARGETS (16)
) -----
Sending heartbeat to dpmaster.deathmask.net
Sending heartbeat to master.ioquake3.org
Sending heartbeat to wolfmaster.s4ndmod.com
Sending heartbeat to dpmaster.deathmask.net
Sending heartbeat to master.ioquake3.org
Sending heartbeat to wolfmaster.s4ndmod.com
^2<EndGame>
^2-- Script System Info --
^2Current Memory Usage 1.32489 MB
^2Soft Memory Usage 1.6 MB
^2Hard Memory Limit 2 MB
^2System Memory Usage 1.37938 MB
^2Full Collects 1
^2Inc Collects 0
^2GC Warnings 0
^2Threads: 2, 1 Running, 0 Blocked, 1 Sleeping
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
forcefully unloading qagame vm
---------------------------

and i have to restart the whole gameserver.

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

I've fixed that MAX_MULTI_SPAWNTARGETS error:
https://drive.google.com/open?id=0BwzXFCuaagbkZnpRcDN3SGYtVU0

from omni-bot.

fishxz avatar fishxz commented on August 11, 2024

wow you are amazing :)

dont know if its omnibot related, but the deploy time gets displayed wrong.

from omni-bot.

techyian avatar techyian commented on August 11, 2024

Hi,

Do we have any documentation on what was changed here in the source code to support ARM? We can now run ET Legacy client successfully with OpenGL so having a stable ARM build of omni-bot for ET would be most helpful. Can you provide some instructions on what you did? I'm getting a seg fault as seen here. I've tried using the -fPIC flag and disabling the GM_ASSERT macro but neither have resolved the issue. I'm also unsure of which template code @JanSimek is referring to.

Thanks.

from omni-bot.

techyian avatar techyian commented on August 11, 2024

Hi again,

I've managed to get a build working for Enemy Territory legacy, however I've had to comment out calls to gmBind2::Global in the following locations:

https://github.com/jswigart/omni-bot/blob/stable/0.83/Omnibot/Common/MapGoal.cpp#L2299

https://github.com/jswigart/omni-bot/blob/stable/0.83/Omnibot/Common/ScriptManager.cpp#L309

https://github.com/jswigart/omni-bot/blob/stable/0.83/Omnibot/Common/ScriptManager.cpp#L327

Please could someone look into this as to why those calls are seg fauling when initialising omni-bot? It would be great to get an official ARM build done for ET.

Thanks

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

The Common folder and gmBind is identical both in ET and RTCW. Please could you install iortcw on your Raspberry Pi, then compile Omni-bot for RTCW and verify that you can add bots to the game ? Waypoints and scripts are in omni-bot_0_86_RTCW.zip, but you need to compile omnibot_rtcw.so and qagame.mp.arm.so.

from omni-bot.

 avatar commented on August 11, 2024

@techyian Hi, did you resolve the issue? i am unable to build an armhf "omnibot_et.so" ... I will try your solution anyway. gmBind2 its crashing my compilation too. did you resolve the seg fault??

from omni-bot.

 avatar commented on August 11, 2024

Very good @techyian ! So you add that lines on the build script. I use just some of them.

This is a very short video. But the performance its awesome

https://youtu.be/Ae5B0Tz9FC4

from omni-bot.

techyian avatar techyian commented on August 11, 2024

Yeah the how-to guide is a bit rough round the edges so not all may be required. That's really cool you've got up and running! Does your Omni bot work with the binary I've hosted?

from omni-bot.

 avatar commented on August 11, 2024

yeah! I didnt follow your guide. ive founded the rpi flags and I was wondering who tried to compile it to rpi hahahah its working great as you see (sorry the poor quality) :)
and yees, bots are running. they are really stupid and they suicide a lot but its working
ive solve some on the missing files but i get this error (i think its related to my boost libs are not linked)
if they dont know waypoints it will be stupid no matter what I set hahaha
do you have any advice here? and thanks!!!

pi@pi:~/Desktop/etlegacy/build $ ./etlded_bot.sh 
ET Legacy v2.76-236-g86bf356c linux-other Apr 26 2019
Zone megs: 24
Info: fs_game now defaults to 'legacy' mod instead of 'etmain'
----- FS_Startup -----
Current search path:
    /home/pi/.etlegacy/legacy
    /home/pi/.etlegacy/legacy/pak3_v2.76_dirty.pk3 (1138 files)
    /home/pi/.etlegacy/legacy/pak2.pk3 (22 files)
    /home/pi/.etlegacy/legacy/pak1.pk3 (10 files)
    /home/pi/.etlegacy/legacy/pak0.pk3 (3725 files)
    /home/pi/.etlegacy/legacy/mp_bin.pk3 (6 files)
    /home/pi/.etlegacy/legacy/etl_bin_v2.76_dirty.pk3 (2 files)
    ./legacy
    ./legacy/pak3_v2.76_dirty.pk3 (1138 files)
    ./legacy/pak2.pk3 (22 files)
    ./legacy/pak1.pk3 (10 files)
    ./legacy/pak0.pk3 (3725 files)
    ./legacy/etl_bin_v2.76_dirty.pk3 (2 files)
    /home/pi/.etlegacy/etmain
    ./etmain

----------------------
9800 files in pk3 files
Creating PID file 'etlegacy_server.pid'
SQLite3 libversion 3.26.0 - database URI 'etl.db' - in file
... loading existing database '/home/pi/.etlegacy/etl.db'
... database file '/home/pi/.etlegacy/etl.db' loaded
SQLite3 ETL: DB init #2/home/pi/.etlegacy/etl.db in [1] ms - autocommit 1
SQLite3 ETL: DB schema version #2 is up to date!
execing default.cfg
execing profiles/Salvador/etconfig_server.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
WARNING: Couldn't open server attack logfile sv_protect.log
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 192.168.0.103
Opening IP socket: 0.0.0.0:27960
Network initialized.
execing etl_server.cfg
execing legacy.cfg
logfile opened on Mon May 06 13:18:07 2019
execing mapvotecycle.cfg
g_gametype will be changed upon restarting. New value: '6'
------ Server Initialization ------
Server: oasis
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
    /home/pi/.etlegacy/legacy
    /home/pi/.etlegacy/legacy/pak3_v2.76_dirty.pk3 (1138 files)
    /home/pi/.etlegacy/legacy/pak2.pk3 (22 files)
    /home/pi/.etlegacy/legacy/pak1.pk3 (10 files)
    /home/pi/.etlegacy/legacy/pak0.pk3 (3725 files)
    /home/pi/.etlegacy/legacy/mp_bin.pk3 (6 files)
    /home/pi/.etlegacy/legacy/etl_bin_v2.76_dirty.pk3 (2 files)
    ./legacy
    ./legacy/pak3_v2.76_dirty.pk3 (1138 files)
    ./legacy/pak2.pk3 (22 files)
    ./legacy/pak1.pk3 (10 files)
    ./legacy/pak0.pk3 (3725 files)
    ./legacy/etl_bin_v2.76_dirty.pk3 (2 files)
    /home/pi/.etlegacy/etmain
    ./etmain
 
handle 1: etconsole.log
----------------------
9800 files in pk3 files
Sys_LoadDll(/home/pi/.etlegacy/legacy/qagame.mp.arm.so)... failed: "/home/pi/.etlegacy/legacy/qagame.mp.arm.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(./legacy/qagame.mp.arm.so)... succeeded
Sys_LoadDll(legacy/qagame) found vmMain function at 0x69475260
Initializing Legacy game v2.76-236-g86bf356c
------- Game Initialization -------
gamename: legacy
gamedate: Apr 26 2019
197 cvars in use.
map: oasis
gametype: Map Voting
gametime: Mon May 06 13:18:08 2019
Not logging to disk.
Gametype changed, clearing session data.
Lua 5.3 API: file 'luascripts/wolfadmin/main.lua' loaded into Lua VM
Enable spawning!
Disable spawning!
0 teams with 0 entities
-----------------------------------
Setting MOTD...
GeoIP is enabled. Database memory size: 1213.45 kb
[WolfAdmin] Module 1.2.0 (4 January 2019) loaded successfully. Created by Timo 'Timothy' Smit.
[WolfAdmin] WolfAdmin running in standalone mode on unix.
[WolfAdmin] commands.load(): 61 entries loaded in 80 ms
Game Initialization completed in 0.42 seconds.
Omni-bot: Looking for ./legacy/omni-bot/omnibot_et.so, found.
Omni-bot: Found Omni-bot: ./legacy/omni-bot/omnibot_et.so, Attempting to Initialize
ERROR Loading Waypoints.
Omni-bot 0.86 initialized in 0.01 seconds.
Omni-bot: Omni-bot Loaded Successfully
Omni-Bot Initialization completed in 0.05 seconds.
broadcast: print "Server: g_balancedteams changed to 1\n"
Setting Allied autospawn to Allied Camp
Setting Axis autospawn to Old City
0 Goals Loaded, 0 Goals Deferred, 0 Goals could not load. elapsed time: 0.00 seconds
-----------------------------------
Omni-Bot DEBUG Build : Oct  5 2018 19:53:22
Version : 0.86
Interface # : 17
Hitch warning: 653 msec frame time
Resolving etmaster.idsoftware.com (IPv4)
etmaster.idsoftware.com resolved to 192.246.40.60:27950
Sending heartbeat to etmaster.idsoftware.com
Resolving master.etlegacy.com (IPv4)
master.etlegacy.com resolved to 5.135.27.11:27950
Sending heartbeat to master.etlegacy.com
Hitch warning: 1475 msec frame time
Lua 5.3 API: Lua module [luascripts/wolfadmin/main.lua] [878F637FCB67BC94790C5E0BA6953C320A579CE0] unloaded.
==== ShutdownGame (1 - oasis) ====
gametime: Mon May 06 13:18:17 2019
<EndGame>
-- Script System Info --
Current Memory Usage 140.629 KB
Soft Memory Usage 1.8 MB
Hard Memory Limit 2 MB
System Memory Usage 157.688 KB
Full Collects 1
Inc Collects 1
GC Warnings 0
Threads: 0, 0 Running, 0 Blocked, 0 Sleeping
ShutdownOmniBot
Sys_LoadDll(/home/pi/.etlegacy/legacy/qagame.mp.arm.so)... failed: "/home/pi/.etlegacy/legacy/qagame.mp.arm.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(./legacy/qagame.mp.arm.so)... succeeded
Sys_LoadDll(legacy/qagame) found vmMain function at 0x69475260
Initializing Legacy game v2.76-236-g86bf356c
------- Game Initialization -------
gamename: legacy
gamedate: Apr 26 2019
197 cvars in use.
map: oasis
gametype: Map Voting
gametime: Mon May 06 13:18:17 2019
Not logging to disk.
Lua 5.3 API: file 'luascripts/wolfadmin/main.lua' loaded into Lua VM
Enable spawning!
Disable spawning!
0 teams with 0 entities
-----------------------------------
Setting MOTD...
GeoIP is enabled. Database memory size: 1213.45 kb
[WolfAdmin] Module 1.2.0 (4 January 2019) loaded successfully. Created by Timo 'Timothy' Smit.
[WolfAdmin] WolfAdmin running in standalone mode on unix.
[WolfAdmin] commands.load(): 61 entries loaded in 80 ms
Game Initialization completed in 0.41 seconds.
Omni-bot: Looking for ./legacy/omni-bot/omnibot_et.so, found.
Omni-bot: Found Omni-bot: ./legacy/omni-bot/omnibot_et.so, Attempting to Initialize
ERROR Loading Waypoints.
Omni-bot 0.86 initialized in 0.01 seconds.
Omni-bot: Omni-bot Loaded Successfully
Omni-Bot Initialization completed in 0.01 seconds.
Setting Allied autospawn to Allied Camp
Setting Axis autospawn to Old City
0 Goals Loaded, 0 Goals Deferred, 0 Goals could not load. elapsed time: 0.00 seconds
Omni-Bot DEBUG Build : Oct  5 2018 19:53:22
Version : 0.86
Interface # : 17

from omni-bot.

 avatar commented on August 11, 2024

mmm... it didnt load anything. I need to reconstruct the tree folders.
ok, now it is better
but the ERROR Loading Waypoints remains

Setting MOTD...
GeoIP is enabled. Database memory size: 1213.45 kb
[WolfAdmin] Module 1.2.0 (4 January 2019) loaded successfully. Created by Timo 'Timothy' Smit.
[WolfAdmin] WolfAdmin running in standalone mode on unix.
[WolfAdmin] commands.load(): 61 entries loaded in 90 ms
Game Initialization completed in 0.64 seconds.
Omni-bot: Looking for ./legacy/omni-bot/omnibot_et.so, found.
Omni-bot: Found Omni-bot: ./legacy/omni-bot/omnibot_et.so, Attempting to Initialize
getdot failed.
 
scripts/mapgoals/mapgoal_returnflag.gm(5) : this.GoalStateFunction = InternalGoalState.FlagState;
 
callstack..
scripts/mapgoals/mapgoal_returnflag.gm(5): __main
 
getdot failed.
 
scripts/mapgoals/mapgoal_flag.gm(6) : this.GoalStateFunction = InternalGoalState.FlagState;
 
callstack..
scripts/mapgoals/mapgoal_flag.gm(6): __main
 
ET autoexec script executed. 
ERROR Loading Waypoints.
Omni-bot 0.86 initialized in 1.05 seconds.
Omni-bot: Omni-bot Loaded Successfully
Omni-Bot Initialization completed in 1.29 seconds.
broadcast: print "Server: g_balancedteams changed to 1\n"
Setting Allied autospawn to Allied Camp
Setting Axis autospawn to Old City
147 Goals Loaded, 23 Goals Deferred, 0 Goals could not load. elapsed time: 1.08 seconds

from omni-bot.

techyian avatar techyian commented on August 11, 2024

Ok I've just finished installing Boost again on my Pi so I'll try and have a look at it tomorrow.

from omni-bot.

techyian avatar techyian commented on August 11, 2024

Hey @plastovicka, I've noticed the game monkey directory reference in omnibot's Jamfile is incorrect. In the Jamfile the directory begins with "dependencies/gmsrc_ex" whereas the directory that's cloned as part of the submodule is "dependencies/gmscriptex/gmsrc_ex". Not sure if this has changed recently?

I will update my install guide accordingly, just thought you'd like to know.

from omni-bot.

 avatar commented on August 11, 2024

This is my last test @techyian

https://youtu.be/jfEkwqfcGSQ

Thanks!

from omni-bot.

techyian avatar techyian commented on August 11, 2024

Looking good. I've got boost compiled and got an Omni bot binary compiled again. Haven't had time to fire ET up tonight though. The ET legacy devs are keen to get a stable build of Omni bot on arm so they can officially support Raspberry Pi.

@plastovicka ET legacy appears to have custom bindings in their compiled qagame. Is the qagame binary compiled in the Omni bot source important or will the ET legacy one be sufficient?

There is still the outstanding issue of having to comment out the chunks of code I've referenced earlier in this thread. I haven't yet checked against iortcw.

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

Hi @techyian. Do you run Omnibot with the same version of ETlegacy as last year ?

from omni-bot.

5000watts avatar 5000watts commented on August 11, 2024

Would it be outrageous if I kindly asked you for the binaries of omnibot and the lua.so to run both on my arm64 RPi4 with Ubuntu server? I'd like to set it up for RtCW on a 24/7 server, with lua modules as well, just like it already perfectly runs on my PC.
So yesterday and today I spent a whole day learning, reading and trying to compile omnibot and LUA and make it run on the RPi4. And I tested techyian's great tutorial! Unfortunately, I did not completely succeed, because I am still too "intermediate". I fixed a lot of issues in order to hopefully make the compilation work, but I stopped when it began to complain about unexpected opening braces in the end. LOL However, I think this was most probably just my fault.

Don't you think it could be an interesting alternative to run Q3A-engine based games with bots on an overclocked Raspberry Pi?
I'd like to make it run with iowolfded.aarch64 (1.51c) or even with the standard iowolfmp from the official repository, running headlessly with xvfb (=fake X server for testing purposes or headless setups for programs, which require an X server).
Your help would be very much appreciated!
If I could help you by anything, please tell me! I'd like to contribute something useful to this awesome project!

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

techyian's tutorial is for Enemy Territory which is complicated because it has a lot of dependencies (CMAKE, OpenGL, Vorbis, ...). If you only want to compile Omni-bot for RTCW, it should be easier.

  1. Install C++ compiler: sudo apt-get install libudev-dev g++
  2. Install Boost. You need packages libboost-filesystem libboost-regex libboost-date-time
  3. Get Omni-bot source code from the Git stable branch. (The master branch is broken.)
  4. Edit files buildbot.sh and buildrtcw.sh which are in Omnibot/linux folder. Correct all paths and then run the scripts.

from omni-bot.

5000watts avatar 5000watts commented on August 11, 2024

Thank you so much for your helpful response!

I did everything as you told me and it worked very well for me until the last step, when I wanted to run ./buildbot.sh.
It says:

ubuntu@ubuntu:$ ./buildbot.sh
./buildbot.sh: 8: $HOME/Downloads/omni-bot-stable/0.83/Omnibot/bjam: Exec format error

Btw, I already did chmod +x -R to the omni-bot-stable & the boost_1_74_0 dirs to be sure that no executable bit is missing.

What do you think how this issues can be fixed? Could it be a CPU architecture incompatibility of the bjam binary?

ubuntu@ubuntu:$ uname -m
aarch64
ubuntu@ubuntu:$ file $HOME/Downloads/omni-bot-stable/0.83/Omnibot/bjam
$HOME/Downloads/omni-bot-stable/0.83/Omnibot/bjam: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.4.1, stripped
https://unix.stackexchange.com/questions/421049/troubleshooting-advice-for-bash-cannot-execute-binary-file-exec-format-error

Is it the 32-bit executable on my 64-bit OS, that causes the issue?
Do you know which path is correct for the BOOST_BUILD_PATH env variable? Is is the /build directory or the Jamfile.v2?

Thank you in advance!

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

You also have to install packages libboost-dev and libboost-tools-dev.
Paths depend on your Linux distribution and the boost version.
#!/bin/sh
export BOOST=/usr/include
export BOOST_BUILD_PATH=/usr/share/boost-build/src
export BOOST_LIB=/usr/lib/arm-linux-gnueabihf
export BOOST_SUFFIX=
cd /home/pi/Downloads/omni-bot/0.83/Omnibot
/usr/bin/bjam -q release

from omni-bot.

5000watts avatar 5000watts commented on August 11, 2024

Thank you so much plastovicka!

I install everything you suggested. Do you still have a clue what's going wrong?
This was the output of running ./buildbot.sh:

`ubuntu@ubuntu:~/Downloads/omni-bot-stable/0.83/Omnibot/linux$ ./buildbot.sh
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
...patience...
...found 1091 targets...
...updating 91 targets...
gcc.compile.c++ build/Common/gcc-9/release/link-static/Wm3Vector3.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c++ build/Common/gcc-9/release/link-static/Wm3Vector2.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c++ build/Common/gcc-9/release/link-static/Wm3Matrix3.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c++ build/Common/gcc-9/release/link-static/Wm3Quaternion.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c++ build/ET/gcc-9/release/ET_BatchBuild.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
In file included from Common/common.h:192,
from Common/PrecompCommon.h:9,
from ET/PrecompET.h:9,
from ET/ET_BatchBuild.cpp:1:
Common/CallbackParameters.h:17:10: fatal error: gmVariable.h: No such file or directory
17 | #include "gmVariable.h"
| ^~~~~~~~~~~~~~
compilation terminated.

"g++"   -fPIC -O3 -finline-functions -Wno-inline -Wall -ffriend-injection -fno-strict-aliasing -w -DNDEBUG -D__linux__  -I"/usr/include/boost" -I"Common" -I"ET" -I"dependencies/gmscriptex/gmsrc_ex/src/3rdParty" -I"dependencies/gmscriptex/gmsrc_ex/src/3rdParty/gmbinder2" -I"dependencies/gmscriptex/gmsrc_ex/src/binds" -I"dependencies/gmscriptex/gmsrc_ex/src/gm" -I"dependencies/gmscriptex/gmsrc_ex/src/platform/win32gcc" -I"dependencies/iprof" -I"dependencies/wildmagic" -c -o "build/ET/gcc-9/release/ET_BatchBuild.o" "ET/ET_BatchBuild.cpp"

...failed gcc.compile.c++ build/ET/gcc-9/release/ET_BatchBuild.o...
gcc.compile.c++ build/RTCW/gcc-9/release/RTCW_BatchBuild.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
In file included from Common/common.h:192,
from Common/PrecompCommon.h:9,
from RTCW/PrecompRTCW.h:9,
from RTCW/RTCW_BatchBuild.cpp:1:
Common/CallbackParameters.h:17:10: fatal error: gmVariable.h: No such file or directory
17 | #include "gmVariable.h"
| ^~~~~~~~~~~~~~
compilation terminated.

"g++"   -fPIC -O3 -finline-functions -Wno-inline -Wall -ffriend-injection -fno-strict-aliasing -w -DNDEBUG -D__linux__  -I"/usr/include/boost" -I"Common" -I"RTCW" -I"dependencies/gmscriptex/gmsrc_ex/src/3rdParty" -I"dependencies/gmscriptex/gmsrc_ex/src/3rdParty/gmbinder2" -I"dependencies/gmscriptex/gmsrc_ex/src/binds" -I"dependencies/gmscriptex/gmsrc_ex/src/gm" -I"dependencies/gmscriptex/gmsrc_ex/src/platform/win32gcc" -I"dependencies/iprof" -I"dependencies/wildmagic" -c -o "build/RTCW/gcc-9/release/RTCW_BatchBuild.o" "RTCW/RTCW_BatchBuild.cpp"

...failed gcc.compile.c++ build/RTCW/gcc-9/release/RTCW_BatchBuild.o...
gcc.compile.c++ build/Common/gcc-9/release/link-static/Wm3Math.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c++ build/Common/gcc-9/release/link-static/Wm3IntrSegment3Plane3.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c++ build/Common/gcc-9/release/link-static/Wm3IntrPlane3Plane3.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c++ build/Common/gcc-9/release/link-static/Wm3Intersector.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/mvl.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/physfs_unicode.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/grp.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c++ build/Common/gcc-9/release/link-static/Wm3DistVector3Ray3.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/Sort.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/7zCrc.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/7zExtract.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/LzmaStateDecode.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/7zAlloc.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/7zItem.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/BranchARM.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/BranchPPC.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/BranchX86_2.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/inffast.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/zip.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/adler32.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/trees.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/deflate.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/prof_unix.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/prof_draw.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
gcc.compile.c build/Common/gcc-9/release/link-static/posix.o
g++: warning: switch ‘-ffriend-injection’ is no longer supported
...failed updating 2 targets...
...updated 38 targets...`

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

The gmscript project is defined as a module so that git can usually pull it automatically. Look into folder omni-bot-stable/0.83/Omnibot/dependencies/gmscriptex. If nothing is there, you can download it from https://github.com/jswigart/gmscriptex

from omni-bot.

5000watts avatar 5000watts commented on August 11, 2024

Well yes, you were right! It was indeed missing and the compilation made a huge progress, but please have a look at the output of the shell now:

from omni-bot.

5000watts avatar 5000watts commented on August 11, 2024

https://drive.google.com/file/d/18lIp5ekvvXNyBh0lus70Xew4TkMNy0Ei/view?usp=sharing

from omni-bot.

plastovicka avatar plastovicka commented on August 11, 2024

All those errors are related to -fPIC parameter which is required for 64-bit processors.
Try to change the last line in buildbot.sh:
/usr/bin/bjam -q address-model=64 release

from omni-bot.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.