Feature #777

Loading 64-bit Omni-bot

Added by Radegast almost 5 years ago. Updated almost 5 years ago.

Status:Fixed% Done:

100%

Priority:NormalSpent time:-
Assignee:Radegast
Category:Mod QAGAME
Target version:2.74
OS: Arch:64-bit

Description

Omni-bot is now being developed for 64-bit arch, so we need to:

  • load the right library for the current arch (omnibot_et.x86_64.so)
  • provide both 32-bit and 64-bit release for download

Associated revisions

Revision 0f8daacc
Added by Radegast almost 5 years ago

server: removed CL_GetTag call form SV_GetTag to fix crash in 64bit Omni-bot, refs #777

Revision 4f878257
Added by Radegast almost 5 years ago

server: load 64bit omni-bot library on a 64bit host, fixes #777

Revision 922d2ae5
Added by IR4T4 almost 5 years ago

game: set head & leg entity classname so we can differ in
classname string comparisons and create hash values of
classnames

Revision 04050acd
Added by IR4T4 almost 5 years ago

game: classnames added

History

#1 Updated by Radegast almost 5 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

#2 Updated by Radegast almost 5 years ago

In the last commit I tried to combine diff from upstream Omni-bot repository with our changes. It was quite a large diff, so it’s possible I missed something even though I checked multiple times. We should ask palota to merge at least our compiler warning fixes and LEGACY define.

#3 Updated by Spyhawk almost 5 years ago

  • Status changed from Fixed to In Progress
  • % Done changed from 100 to 90

Using last OB archive provided on etl mirror, I’ve got issue loading OB in 64bit:

Game Initialization completed in 0.11 seconds.
Omni-bot: Looking for /usr/lib/etlegacy/legacy/omni-bot/omnibot_et.x86_64.so, found.
Omni-bot: Found Omni-bot: /usr/lib/etlegacy/legacy/omni-bot/omnibot_et.x86_64.so, Attempting to Initialize
locale::facet::_S_create_c_locale name not valid
locale::facet::_S_create_c_locale name not valid
locale::facet::_S_create_c_locale name not valid
Omni-bot: Omni-bot Failed with Error: Error Initializing File System
Unable to Initialize Omni-Bot.
Omni-Bot Initialization completed in 0.22 seconds.
Setting Axis autospawn to Tank Depot
Setting Allied autospawn to Allied Spawn
-----------------------------------
Omni-bot not loaded.

#4 Updated by Spyhawk almost 5 years ago

  • Target version changed from 2.78 to 2.74

#5 Updated by Spyhawk almost 5 years ago

  • Status changed from In Progress to Fixed
  • % Done changed from 90 to 100

And the error suddenly went away. Don’t ask me why, but that’s great!

Also available in: Atom PDF