albertz / openlierox

OpenLieroX - Liero clone / Worms realtime / 2D shooter
http://openlierox.net
Other
263 stars 60 forks source link

0.59beta7: weird behaviour from gusanos and promode settings #532

Closed albertz closed 13 years ago

albertz commented 13 years ago

Converted from SourceForge issue 2969054, submitted by nobody

From the 4 preset settings (gusanos, 0.56, promode and standart), gusanos and promode have problems with the physics being all distorted (and i guess it was definitely not intended to be that way) for the worms at least: very (very indeed) weak gravity, no walking around except for the rope (which keeps the speed unnafected), when the worm "hits" rock material it just passes through, across the whole basement of the map if it's on its way, going in a straight line to the level side wall, where it eventually reaches and starts climbing the wall (again going by everything on its way) until it finally reaches one of the upper corners, and stays that way forever. trying to suicide from the console is useless, it wud say the worm suicided but it is still visible on the minimap and won't spawn, no matter how many times you do try to suicide. this happens with every combination (gus lvl + lx map, gus map + lx lvl, etc) with those 2 presets settings. hope it helps. cheers ~@uron

albertz commented 13 years ago

Submitted by albertzeyer

Hey Auron,

Does normal Gusanos mods with Standard settings still work normally?

With the Promode settings with a LX mod:

albertz commented 13 years ago

Submitted by rikycal

sorry for the late response, university projects :P

anyways, both standard and liero0.56 settings work normally with all kinds of configurations gus/lx.

i did a fresh install for the sake of it, all default options, and i'm using windows 7 in an eee pc now, but the results are the same as the other day in the desktop. ill try it again in the desktop with windows xp when i got the time and post a video or so if it proves necessary =\

promode settings, liero1.0, x-arena

this may be interesting, found it in the middle of the log:

E: server setting for feature WormGravity has wrong type 0 E: server setting for feature WormJumpForce has wrong type 0 E: server setting for feature WormSimpleFriction has wrong type 0 E: server setting for feature WormAcceleration has wrong type 0 E: server setting for feature WormAirAccelerationFactor has wrong type 0 E: server setting for feature WormBounceQuotient has wrong type 0 E: server setting for feature WormBounceLimit has wrong type 0 E: server setting for feature WormWeaponHeight has wrong type 0 E: server setting for feature WormHeight has wrong type 0 E: server setting for feature WormWidth has wrong type 0 E: server setting for feature WormMaxClimb has wrong type 0 E: server setting for feature WormBoxRadius has wrong type 0 E: server setting for feature WormBoxTop has wrong type 0 E: server setting for feature WormBoxBottom has wrong type 0 E: server setting for feature RopeSpeed has wrong type 0 E: server setting for feature WormGroundFriction has wrong type 0 E: server setting for feature WormMaxGroundMoveSpeed has wrong type 0 E: server setting for feature ShootSpawnDistance has wrong type 0

full log:

H: OpenLieroX/0.59_beta7 is starting ... n: Free memory: 1146 MB n: Current time: Tue Mar 16 02:12:11 2010 n: Searchpaths (in this order): n: C:\Users\Riky\Documents/OpenLieroX n: . n: Searchpaths finished. E: Cannot call DllRegisterServer from C:\Users\Riky\Documents\OpenLieroX\msdia80.dll n: Installing CrashHandler .. installed Breakpad handler n: Loading network texts... DONE n: Loading taunts... DONE n: Hello there, I am initializing me now... n: SDL_VIDEODRIVER not set, setting to directx n: setting video mode n: ColorDepth: 0 n: VideoPostProcessor initialisation ... using Dummy video post processor n: PixelFormat: n: BitsPerPixel: 32, BytesPerPixel: 4 n: R/G/B/A mask: ff0000/ff00/ff/0 n: R/G/B/A loss: 0/0/0/8 n: Colorkey: 0, Alpha: 255 n: using software surfaces n: video mode was set successfully H: OpenAL lib initialized n: SoundSystem initialised n: Allegro: SSE, MMX, no MMXExt n: Allegro screen format: n: PixelFormat: n: BitsPerPixel: 32, BytesPerPixel: 4 n: R/G/B/A mask: ff0000/ff00/ff/0 n: R/G/B/A loss: 0/0/0/8 n: Colorkey: 0, Alpha: 255 n: Lua: Registering as AUTH n: Sfx::registerInConsole() Gus con: <UNKNOWN COMMAND: #SetConsoleKey> Gus con: <COULDN'T EXEC user.cfg> Color Mask: 0xFEFEFE Low Pixel Mask: 0x10101 QColor Mask: 0xFCFCFC QLow Pixel Mask: 0x30303 n: Game::reset n: Lua: Registering as AUTH n: init script Gusanos.lua not found, trying common.lua n: running common.init n: Initializing ready E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 H: server started on 192.168.0.18:23400 Gus con: GUSANOS SERVER UP n: Node 1 registers with role 2 and class gusGame n: Client connect to 127.0.0.1:23400 n: sending challenge request to 127.0.0.1:23400 n: CMap::Load: level levels/X Arena.lxl is in image format n: Our external IP address is 89.155.95.203 n: Server is using OpenLieroX/0.59_beta7 n: CClient: got challenge response from OpenLieroX/0.59_beta7 server n: GameServer: our local client has connected H: Worm joined: OpenLieroXor (id 0, from local(OpenLieroX/0.59_beta7)) E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 n: CMap::Load: level levels/X Arena.lxl is in image format n: GameServer::StartGame(), mod: [LX] Liero v1.0, time: Tue Mar 16 02:12:46 2010 n: modLog: Loading game mod file Classic/script.lgs n: Server Mod loadtime: 0.681001 seconds n: CMap::Load: level levels/X Arena.lxl is in image format n: LoadTheme: Theme dirt already loaded n: Server Map loadtime: 0.0929988 seconds n: Settings (3 layers) { n: Layer 1 Settings layer { n: WormGroundSpeed : 8 n: WormAirSpeed : 4 n: WormAirFriction : 0 n: WormGravity : 100 n: WormJumpForce : -65 n: RopeMaxLength : 300 n: RopeRestLength : 27 n: RopeStrength : 4.5 n: } n: Layer 2 Settings layer { n: RespawnTime : false n: WormGravity : true n: WormJumpForce : true n: WormSimpleFriction : false n: WormAcceleration : true n: WormAirAccelerationFactor : false n: WormBounceQuotient : false n: WormBounceLimit : false n: WormWallHugging : false n: WormWeaponHeight : true n: WormHeight : true n: WormWidth : true n: WormMaxClimb : true n: WormBoxRadius : true n: WormBoxTop : true n: WormBoxBottom : true n: RopeSpeed : true n: FullAimAngle : true n: SelfHit : false n: WeaponCombos : false n: WormGroundFriction : false n: WormMaxGroundMoveSpeed : true n: GusanosWormPhysics : true n: ProjRelativeVel : false n: LX56WallShooting : false n: ShootSpawnDistance : true n: } n: Layer 3 Settings layer { n: LevelName : X Arena.lxl n: GameType : Death Match n: ModName : Classic n: Settings : ./Promode.gamesettings n: AllowEmptyGames : true n: } n: } n: Weapon restriction: Standard 100lt n: preparing game mode Death Match E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 W: prepareGameloop: server was not in lobby n: PhysicsEngine LX56 physics loaded n: MaxFPS is 95 n: GameLoopStart n: Client: Got ParsePrepareGame n: GusGame::loadModWithoutMap: Gusanos n: Game::reset n: Lua: Registering as AUTH n: Client: preparing worm 0:OpenLieroXor for battle n: Node 2 registers with role 2 and class worm n: Node 3 registers with role 2 and class player E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 W: deltatime 0.888 is too high W: server setting for feature RespawnTime has wrong type 0 but it's safe to ignore E: server setting for feature WormGravity has wrong type 0 E: server setting for feature WormJumpForce has wrong type 0 E: server setting for feature WormSimpleFriction has wrong type 0 E: server setting for feature WormAcceleration has wrong type 0 E: server setting for feature WormAirAccelerationFactor has wrong type 0 E: server setting for feature WormBounceQuotient has wrong type 0 E: server setting for feature WormBounceLimit has wrong type 0 E: server setting for feature WormWeaponHeight has wrong type 0 E: server setting for feature WormHeight has wrong type 0 E: server setting for feature WormWidth has wrong type 0 E: server setting for feature WormMaxClimb has wrong type 0 E: server setting for feature WormBoxRadius has wrong type 0 E: server setting for feature WormBoxTop has wrong type 0 E: server setting for feature WormBoxBottom has wrong type 0 E: server setting for feature RopeSpeed has wrong type 0 E: server setting for feature WormGroundFriction has wrong type 0 E: server setting for feature WormMaxGroundMoveSpeed has wrong type 0 E: server setting for feature ShootSpawnDistance has wrong type 0 H: Client: we are ready, waiting now for start game signal n: Server: client local(OpenLieroX/0.59_beta7)(0 'OpenLieroXor') got ready H: Server: BeginMatch for local(OpenLieroX/0.59_beta7)(0 'OpenLieroXor') n: Server 'dnd' game state: n: * playing, Death Match n: * level=X Arena, mod=Liero v1.0 n: * maxkills=15, lives=-1, timelimit=360 (curtime=0) n: + 0:'OpenLieroXor', alive, lives=-2, kills=0 on local(OpenLieroX/0.59_beta7) n: Client: get BeginMatch signal E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 E: SetError: Could not open joystick1 n: ParseConnect: 201.95.185.137:60507(OpenLieroX/0.57_beta8) is too old: server forces minimal version OpenLieroX 0.58 rc 1 n: Ingame console: ]dumpGameSettings n: Settings (3 layers) { n: Layer 1 Settings layer { n: WormGroundSpeed : 8 n: WormAirSpeed : 4 n: WormAirFriction : 0 n: WormGravity : 100 n: WormJumpForce : -65 n: RopeMaxLength : 300 n: RopeRestLength : 27 n: RopeStrength : 4.5 n: } n: Layer 2 Settings layer { n: RespawnTime : false n: WormGravity : true n: WormJumpForce : true n: WormSimpleFriction : false n: WormAcceleration : true n: WormAirAccelerationFactor : false n: WormBounceQuotient : false n: WormBounceLimit : false n: WormWallHugging : false n: WormWeaponHeight : true n: WormHeight : true n: WormWidth : true n: WormMaxClimb : true n: WormBoxRadius : true n: WormBoxTop : true n: WormBoxBottom : true n: RopeSpeed : true n: FullAimAngle : true n: SelfHit : false n: WeaponCombos : false n: WormGroundFriction : false n: WormMaxGroundMoveSpeed : true n: GusanosWormPhysics : true n: ProjRelativeVel : false n: LX56WallShooting : false n: ShootSpawnDistance : true n: } n: Layer 3 Settings layer { n: LevelName : X Arena.lxl n: GameType : Death Match n: ModName : Classic n: Settings : ./Promode.gamesettings n: AllowEmptyGames : true n: } n: } n: Ingame console: ]dumpGameSettings 1 n: Ingame console: ]dumpGameSettings n: Settings (3 layers) { n: Layer 1 Settings layer { n: WormGroundSpeed : 8 n: WormAirSpeed : 4 n: WormAirFriction : 0 n: WormGravity : 100 n: WormJumpForce : -65 n: RopeMaxLength : 300 n: RopeRestLength : 27 n: RopeStrength : 4.5 n: } n: Layer 2 Settings layer { n: RespawnTime : false n: WormGravity : true n: WormJumpForce : true n: WormSimpleFriction : false n: WormAcceleration : true n: WormAirAccelerationFactor : false n: WormBounceQuotient : false n: WormBounceLimit : false n: WormWallHugging : false n: WormWeaponHeight : true n: WormHeight : true n: WormWidth : true n: WormMaxClimb : true n: WormBoxRadius : true n: WormBoxTop : true n: WormBoxBottom : true n: RopeSpeed : true n: FullAimAngle : true n: SelfHit : false n: WeaponCombos : false n: WormGroundFriction : false n: WormMaxGroundMoveSpeed : true n: GusanosWormPhysics : true n: ProjRelativeVel : false n: LX56WallShooting : false n: ShootSpawnDistance : true n: } n: Layer 3 Settings layer { n: LevelName : X Arena.lxl n: GameType : Death Match n: ModName : Classic n: Settings : ./Promode.gamesettings n: AllowEmptyGames : true n: } n: } n: Ingame console: ]dumpGameSettings n: Settings (3 layers) { n: Layer 1 Settings layer { n: WormGroundSpeed : 8 n: WormAirSpeed : 4 n: WormAirFriction : 0 n: WormGravity : 100 n: WormJumpForce : -65 n: RopeMaxLength : 300 n: RopeRestLength : 27 n: RopeStrength : 4.5 n: } n: Layer 2 Settings layer { n: RespawnTime : false n: WormGravity : true n: WormJumpForce : true n: WormSimpleFriction : false n: WormAcceleration : true n: WormAirAccelerationFactor : false n: WormBounceQuotient : false n: WormBounceLimit : false n: WormWallHugging : false n: WormWeaponHeight : true n: WormHeight : true n: WormWidth : true n: WormMaxClimb : true n: WormBoxRadius : true n: WormBoxTop : true n: WormBoxBottom : true n: RopeSpeed : true n: FullAimAngle : true n: SelfHit : false n: WeaponCombos : false n: WormGroundFriction : false n: WormMaxGroundMoveSpeed : true n: GusanosWormPhysics : true n: ProjRelativeVel : false n: LX56WallShooting : false n: ShootSpawnDistance : true n: } n: Layer 3 Settings layer { n: LevelName : X Arena.lxl n: GameType : Death Match n: ModName : Classic n: Settings : ./Promode.gamesettings n: AllowEmptyGames : true n: } n: } n: Ingame console: ]exit n: Game::reset n: Node 3 with class player unregisters n: CWormInputHandler:gusShutdown: NOWORM n: CWorm:deleteThis: OpenLieroXor n: Node 2 with class worm unregisters n: unloading PhysicsEngine LX56 physics .. n: GameLoopEnd: DedicatedControl::Cmd_Quit() n: Shutting me down... n: IRC: disconnected n: Game::reset n: Lua: Registering as AUTH n: Everything was shut down n: waiting for all left threads and tasks n: Good Bye and enjoy your day...

i really dont have the time right now to get into the code, but someday i'd like to help with this sh*ts :P

~@uron

albertz commented 13 years ago

Submitted by albertzeyer

Ah thanks a lot for those logs, that says a lot! Already have some ideas. The problem is that the type of most settings variables is wrong for some reason.

No time right now to look more into it. Maybe some wrongly initialised global static var or so?

But I will definitely (hopefully) fix this for beta8.

albertz commented 13 years ago

Submitted by albertzeyer

Btw, it's also interesting that there is no problem when you play on another server with those settings. That kind of says that the problem must be somewhere in the game settings layers (esp the modsettings layer) and everything else works (the client handles the options in a different way and has no idea about the layers; all the options are handled serverside).

Seems that in general, Linux/MacOSX doesn't have any problems for the settings layers.

albertz commented 13 years ago

Submitted by nobody

i guess we can conclude that microsoft did a crappy OS then :P

albertz commented 13 years ago

Submitted by albertzeyer

ok, probably fixed in recent git. if you are able to compile on windows, can you try out? (but if you haven't setup the environment to do that yet, doesn't matter, just check out next release)