Crashing Et´s


(Scennative) #1

if there are several players (5-6) on my server … then everyone is getting a gamecrash in a while (all at the same time) … but the server is still running on the current map … any ideas?

Here the Server: 86.110.94.15:35200
Thats a 2.55 Server

Unfortunately, the Et still breaks down in the play. Know, however, also like or when. If it are a cover top and you spect somebody, and you choose another weapon Et breaks down. Spect you nobody also breaks down Et not. I have the patch datei again uploadet.
But i dont can found the mistake…

These is fixed from IronMonkey, Thx"[QUOTE]A other Player have on Windows7 These Bug:

[QUOTE]… and there’s another weird bug
… when i join his server and take a heavy weapon
… so i cant “scroll up and down”
… otherwise my game is ****ed/screwed
… never seen/had those a bug before
[/QUOTE][/QUOTE]

Can you help me, plz?

Thx, Greetz Scenna :stroggtapir:


(Wezelkrozum) #2

What does the serverconsole print when the players disconnect?


(Scennative) #3

hmm, i look today and write the error log here, ok?


(crapshoot) #4

ET_Config.h is a header that is shared between the omnibot lib and the game. it should not be altered unless you can compile both. I’m surprised that the game even loaded tbh.

as far as the client crash, compile a debug version so the callstacks aren’t useless. ideally you would be able to reproduce the crash locally with a debugger attached.


(Scennative) #5

Yes, ok i have now the original et-config.h.

But the error with the Switch from a heavy Weapon to the Pistole its Crash the Et but et dont write a Crashlog…

Any Idea?


(Nail) #6

try switching to 2.60


(Scennative) #7

i use the 2.55+ server patch: 2.55 and 2.60b are allowed to play. And on 2.60b its crashing too!


(Nail) #8

then it’s probably the “chaos” mod


(reaply) #9

That crap doesn’t work. Stick either to 2.55 or 2.60b.


(Scennative) #10

I have now testet on a 2.55 Server. The “Switch Weapon” is only, when you have cg_panzerhack on 1. When you have cg_panzerhack on 0, the Client Side isnt crashing when you Scroll the Mouse…

Here the Server: 188.40.93.109:27960
PW: test

Can you help me, plz?


(reaply) #11

Get a redirect server, no one will ever join if not. I am only getting 2kb to download. So please come back when you do.


(Scennative) #12

Sorry… Now you can downloading the files…


(reaply) #13

Alright, give me 6 hours I got to go to school >.>.


(Scennative) #14

yeah ok.

Hey you can write me on:

xfire: scenna92
skype: sagurado
icq: 444498404
msn: kef.h@web.de

:stuck_out_tongue:


(-IronMonkey-) #15

ok so, probably it’s because you added custom weapons to your MOD,
the problem happens when the client get LVL 4 soldier and Thompson + Mp40 are moved from weaponbank3 to weaponbank2…

since you have new weapons added to weaponbank3, and Thompson + Mp40 get moved, you will have a problem with weaponbank3 rotation

so:

go into “cg_weapons.c” and look for “CG_WeaponIndex”

this is how i modifyed the code with my custom weapons


   if(cgs.clientinfo[ cg.clientNum ].skill[SK_HEAVY_WEAPONS] == 4){
        //heavy weapons
	weapBanksMultiPlayer[2][7]  = WP_MP40;
	weapBanksMultiPlayer[2][8]  = WP_THOMPSON;
	weapBanksMultiPlayer[2][9]  = WP_DOUBLE_MAC10;
	weapBanksMultiPlayer[3][11] = WP_RPD;			//Monkey fix rotation
	weapBanksMultiPlayer[3][12] = WP_M3A1;			//Monkey fix rotation
	weapBanksMultiPlayer[3][13] = WP_SHOTGUN;		//Monkey fix rotation
	weapBanksMultiPlayer[3][14] = WP_M79;		        //Monkey fix rotation
	weapBanksMultiPlayer[3][15] = 0;			//Monkey fix rotation
	weapBanksMultiPlayer[3][16] = 0;			//Monkey fix rotation
   }
} else {
	//non heavy weapons
	weapBanksMultiPlayer[2][7]  = WP_DOUBLE_MAC10;
	weapBanksMultiPlayer[2][8]  = 0;
	weapBanksMultiPlayer[2][9]  = 0;
	weapBanksMultiPlayer[3][11] = WP_MP40;
	weapBanksMultiPlayer[3][12] = WP_THOMPSON;
	weapBanksMultiPlayer[3][13] = WP_RPD;			//Monkey fix rotation
	weapBanksMultiPlayer[3][14] = WP_M3A1;			//Monkey fix rotation
	weapBanksMultiPlayer[3][15] = WP_SHOTGUN;		//Monkey fix rotation
	weapBanksMultiPlayer[3][16] = WP_M79;			//Monkey fix rotation

   }

so try to do the same with your custom weapons and you should fix the problem

cheers Monkey


(Scennative) #16

Hey, thank you very much! I will these try out.

Hey do you have Msn or Icq?

-.- Its Crashing with the fix…

int CG_WeaponIndex( int weapnum, int *bank, int *cycle) {
	static int bnk, cyc;

	if(weapnum <=0 || weapnum >= WP_NUM_WEAPONS) {
		if(bank)	*bank = 0;
		if(cycle)	*cycle = 0;
		return 0;
	}
	
	if( cg_panzerhack.integer && (
			COM_BitCheck( cg.predictedPlayerState.weapons, WP_PANZERFAUST ) ||
			COM_BitCheck( cg.predictedPlayerState.weapons, WP_MOBILE_MG42 ) ||
			COM_BitCheck( cg.predictedPlayerState.weapons, WP_FLAMETHROWER ) ||
			COM_BitCheck( cg.predictedPlayerState.weapons, WP_MORTAR ) )
		) {
		
		//heavy weapons
		weapBanksMultiPlayer[2][6] = WP_MP40;
		weapBanksMultiPlayer[2][7] = WP_THOMPSON;
		weapBanksMultiPlayer[2][8] = WP_MG34;
		weapBanksMultiPlayer[2][9] = WP_PPSH;
		weapBanksMultiPlayer[2][10] = WP_M3A1;
		weapBanksMultiPlayer[3][11] = 0;
		weapBanksMultiPlayer[3][12] = 0;

	} else {
		//non heavy weapons
		weapBanksMultiPlayer[2][6] = 0;
		weapBanksMultiPlayer[2][7] = 0;
		weapBanksMultiPlayer[3][8] = WP_MP40;
		weapBanksMultiPlayer[3][9] = WP_THOMPSON;
		weapBanksMultiPlayer[3][10] = WP_MG34;
		weapBanksMultiPlayer[3][11] = WP_PPSH;
		weapBanksMultiPlayer[3][12] = WP_M3A1;

	}

Any Ideas?


(-IronMonkey-) #17

you wrote


   //heavy weapons
  weapBanksMultiPlayer[2][6] = WP_MP40;
  weapBanksMultiPlayer[2][7] = WP_THOMPSON;
  weapBanksMultiPlayer[2][8] = WP_MG34;          <--- bank2
  weapBanksMultiPlayer[2][9] = WP_PPSH;          <--- bank2
  weapBanksMultiPlayer[2][10] = WP_M3A1;         <--- bank2
  weapBanksMultiPlayer[3][11] = 0;
  weapBanksMultiPlayer[3][12] = 0;

this way you are moving all those weapons from bank 3 to bank 2 but
MG34, PPSH and M3A1 should stay into bank 3 so:


   //heavy weapons
  weapBanksMultiPlayer[2][6] = WP_MP40;
  weapBanksMultiPlayer[2][7] = WP_THOMPSON;
  weapBanksMultiPlayer[3][8] = WP_MG34;           <--- bank3
  weapBanksMultiPlayer[3][9] = WP_PPSH;           <--- bank3
  weapBanksMultiPlayer[3][10] = WP_M3A1;          <--- bank3
  weapBanksMultiPlayer[3][11] = 0;
  weapBanksMultiPlayer[3][12] = 0;

obviously the slots you assign here must match with your “weapBanksMultiPlayer” table defined into “bg_misc.c”


(Scennative) #18

thx -IronMonkey- for help on Msn :slight_smile:
Greetz scenna


(Scennative) #19

Hello. Unfortunately, the Et still breaks down in the play. Know, however, also like or when. If it are a cover top and you spect somebody, and you choose another weapon Et breaks down. Spect you nobody also breaks down Et not. I have the patch datei again uploadet.

But i dont can found the mistake… Can you help me?


(Nail) #20

is this a mod of etpub ?