Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Опубликовано:
  • Автор

have been tried so many situations...

 

and finally, reached this point:

Added IW4Play's master server (aRev stays and showing as legacy)

You can join ANY server w/o problem

BUT

now, legacy servers has ammo bug x_x

4d1 servers can playable without bugs...

 

const char* name = DB_GetXAssetNameHandlers[type](entry);
if (type == ASSET_TYPE_WEAPON)
{
	// somewhat-workaround for issue 'could not load weapon "destructible_car"' and cars not doing any damage
	if (!strcmp(name, "destructible_car"))
	{
		return true;
	}

	if (!strcmp(CURRENT_ZONE_NAME, "patch_mp"))
	{
		return false;
	}
}

 

removing "!strcmp(name, "none") || " fixes this.

 

tried add it seperately but nothing changed,

 

>>>

making comment out 1st return line => legacy gets weapon index mismatch error

making 1st return line false or 0 => you will get asset limit 1200 reached / exceeded (or something like)

seperate !strcmp(name, "none") and !strcmp(name, "destructible_car")

car area must be 1 or you will get weap index mismatch

none area 0 or 1 decides get ammo on 4d1 or legacy

1 = getting ammo on legacy, no ammo on 4d1

0 = getting ammo on 4d1, no ammo on legacy

 

tested on iw4play servers...

 

and i added dll as attachment. try it!

used build number 2-89, last dll revision is 89, 2 stands for m'2'

 

if (!strcmp(name, "destructible_car"))
	{
		return 1;
	}
if (!strcmp(name, "none"))
	{
		//return 1; //get 4d1
		//return 0; //get lgcy
	}

 

tested much more 'return's but cant join server (freeze at lobby/loading screen) or never start, crash...

note: sometimes white or crash like map loading screen showing... 1/25

Опубликовано:
have been tried so many situations...

 

and finally, reached this point:

Added IW4Play's master server (aRev stays and showing as legacy)

You can join ANY server w/o problem

BUT

now, legacy servers has ammo bug x_x

4d1 servers can playable without bugs...

 

const char* name = DB_GetXAssetNameHandlers[type](entry);
if (type == ASSET_TYPE_WEAPON)
{
	// somewhat-workaround for issue 'could not load weapon "destructible_car"' and cars not doing any damage
	if (!strcmp(name, "destructible_car"))
	{
	}

	if (!strcmp(CURRENT_ZONE_NAME, "patch_mp"))
	{
		return false;
	}
}

 

removing "!strcmp(name, "none") || " fixes this.

 

tried add it seperately but nothing changed,

 

>>>

making comment out 1st return line => legacy gets weapon index mismatch error

making 1st return line false or 0 => you will get asset limit 1200 reached / exceeded (or something like)

seperate !strcmp(name, "none") and !strcmp(name, "destructible_car")

car area must be 1 or you will get weap index mismatch

none area 0 or 1 decides get ammo on 4d1 or legacy

1 = getting ammo on legacy, no ammo on 4d1

0 = getting ammo on 4d1, no ammo on legacy

 

tested on iw4play servers...

 

and i added dll as attachment. try it!

used build number 2-89, last dll revision is 89, 2 stands for m'2'

 

tested much more 'return's but cant join server (freeze at lobby/loading screen) or never start, crash...

note: sometimes white or crash like map loading screen showing... 1/25

 

const char* name = DB_GetXAssetNameHandlers[type](entry);
  if (type == ASSET_TYPE_WEAPON)
  {
     // somewhat-workaround for issue 'could not load weapon "destructible_car"' and cars not doing any damage
     if (!strcmp(name, "destructible_car"))
     {
     }

     if (!strcmp(CURRENT_ZONE_NAME, "patch_mp"))
     {
        return false;
     }
  }

 

should work now without the ammo bug

Опубликовано:

 

const char* name = DB_GetXAssetNameHandlers[type](entry);
  if (type == ASSET_TYPE_WEAPON)
  {
     // somewhat-workaround for issue 'could not load weapon "destructible_car"' and cars not doing any damage
     if (!strcmp(name, "destructible_car"))
     {
        return true;
     }

     if (!strcmp(CURRENT_ZONE_NAME, "patch_mp"))
     {
        return false;
     }
  }

 

should work now without the ammo bug

Dude, you just messed it up even more.

Опубликовано:

 

const char* name = DB_GetXAssetNameHandlers[type](entry);
  if (type == ASSET_TYPE_WEAPON)
  {
     // somewhat-workaround for issue 'could not load weapon "destructible_car"' and cars not doing any damage
     if (!strcmp(name, "destructible_car"))
     {
     }

     if (!strcmp(CURRENT_ZONE_NAME, "patch_mp"))
     {
        return false;
     }
  }

 

should work now without the ammo bug

Dude, you just messed it up even more.

 

Try it out :lol:

Опубликовано:
  • Автор

idk anything about c or c++

 

trial and error is my way :)

 

"I have no idea what I am doing"

 

*downloading r91

**edit: toolbox, forget to change 90 to 91 in buildnumber.h, fix this mate ;)

and if you want, edit PatchMW2ServerList.cpp to add iw4play list. their address is server.iw4play.de

atleast, they changed-edited something, their dlls and executables diffrent (similar but diffrent) than aiwm1

Опубликовано:
  • Автор

add this to your patchmw2serverlist.cpp after 4d1 servers...

 

NET_StringToAdr( "master.alterrev.net", &to );
to.type = NA_IP;
to.port = htons(20810);
strcpy(command, "getservers IW4 142 full empty");
NET_OutOfBandPrint(NS_SERVER, to, command);

NET_StringToAdr( "server.iw4play.de", &to );
to.type = NA_IP;
to.port = htons(20810);
strcpy(command, "getservers IW4 142 full empty");
NET_OutOfBandPrint(NS_SERVER, to, command);

replace with aRev or add only 2nd paragraph

 

then try your 'nice' ammo fixes, they wont work in legacy servers (@alexee)

&ToolBox can you share your code plz :/ if u fix this double ammo bug problem :lol:

Опубликовано:
add this to your patchmw2serverlist.cpp after 4d1 servers...

 

NET_StringToAdr( "master.alterrev.net", &to );
to.type = NA_IP;
to.port = htons(20810);
strcpy(command, "getservers IW4 142 full empty");
NET_OutOfBandPrint(NS_SERVER, to, command);

NET_StringToAdr( "server.iw4play.de", &to );
to.type = NA_IP;
to.port = htons(20810);
strcpy(command, "getservers IW4 142 full empty");
NET_OutOfBandPrint(NS_SERVER, to, command);

replace with aRev or add only 2nd paragraph

 

then try your 'nice' ammo fixes, they wont work in legacy servers (@alexee)

&ToolBox can you share your code plz :/ if u fix this double ammo bug problem :lol:

 

there is a problem in ur source maybe....

Опубликовано:

   NET_StringToAdr( "master.alterrev.net", &to );
  cls.numglobalservers = -1;
  cls.pingUpdateSource = 0;
  to.type = NA_IP;
  to.port = htons(20810);

  strcpy(command, "getservers IW4 142 full empty");

  NET_OutOfBandPrint(NS_SERVER, to, command);

  NET_StringToAdr( "server.iw4play.de", &to );
  cls.numglobalservers = -1;
  cls.pingUpdateSource = 0;
  to.type = NA_IP;
  to.port = htons(20810);

  strcpy(command, "getservers IW4 142 full empty");

  NET_OutOfBandPrint(NS_SERVER, to, command);
}

 

And DONT change anything in PatchMW2AssetRestrict.cpp !!

Опубликовано:
  • Автор
   NET_StringToAdr( "master.alterrev.net", &to );
  cls.numglobalservers = -1;
  cls.pingUpdateSource = 0;
  to.type = NA_IP;
  to.port = htons(20810);

  strcpy(command, "getservers IW4 142 full empty");

  NET_OutOfBandPrint(NS_SERVER, to, command);

  NET_StringToAdr( "server.iw4play.de", &to );
  cls.numglobalservers = -1;
  cls.pingUpdateSource = 0;
  to.type = NA_IP;
  to.port = htons(20810);

  strcpy(command, "getservers IW4 142 full empty");

  NET_OutOfBandPrint(NS_SERVER, to, command);
}

 

And DONT change anything in PatchMW2AssetRestrict.cpp !!

 

why? you can do it in r91, not sure about 92. (can get data but not showing in the list because of version check)

Опубликовано:
   NET_StringToAdr( "master.alterrev.net", &to );
  cls.numglobalservers = -1;
  cls.pingUpdateSource = 0;
  to.type = NA_IP;
  to.port = htons(20810);

  strcpy(command, "getservers IW4 142 full empty");

  NET_OutOfBandPrint(NS_SERVER, to, command);

  NET_StringToAdr( "server.iw4play.de", &to );
  cls.numglobalservers = -1;
  cls.pingUpdateSource = 0;
  to.type = NA_IP;
  to.port = htons(20810);

  strcpy(command, "getservers IW4 142 full empty");

  NET_OutOfBandPrint(NS_SERVER, to, command);
}

 

And DONT change anything in PatchMW2AssetRestrict.cpp !!

 

why? you can do it in r91, not sure about 92. (can get data but not showing in the list because of version check)

 

Dont ask,... i tested it on r92 try it on r91 if u want!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.