Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

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.

Continuing NooseMod: Action Errors

Featured Replies

Well... so much fun with the V and RDE I started to forget my NooseMod project, now I'm back to continue it.

 

Okay, got my next run of this project using LCPDFR API as the basis and edited some of the codes as I code and "joke" around, and still got some errors. I'm holding advices from @LtFlash until this is sorted out. During my run with the NooseMod I got errors like this:

[ERROR - 4:03:29 PM] [Script.CalloutManager] Error while processing callout: NooseMod: Object reference not set to an instance of an object.   at NooseMod_LCPDFR.Callouts.NooseMod.Initialize() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C#\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Callouts\NooseMod.cs:line 1339
   at NooseMod_LCPDFR.Callouts.NooseMod.WaitFor2ndTeam() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C#\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Callouts\NooseMod.cs:line 1189
   at NooseMod_LCPDFR.Callouts.NooseMod.Process() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C#\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Callouts\NooseMod.cs:line 1750
   at ‮‌‫‫‏‫‎‬‭‌‮‏‌‎‫‏‮‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\Callouts\CalloutManager.cs:line 250
[ERROR - 4:03:29 PM] [Script.NooseMod] System.NullReferenceException: Object reference not set to an instance of an object.
   at NooseMod_LCPDFR.Callouts.NooseMod.Initialize() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Callouts\NooseMod.cs:line 1339
   at NooseMod_LCPDFR.Callouts.NooseMod.WaitFor2ndTeam() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Callouts\NooseMod.cs:line 1189
   at NooseMod_LCPDFR.Callouts.NooseMod.Process() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Callouts\NooseMod.cs:line 1750
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\Callouts\CalloutManager.cs:line 250
[ERROR - 4:03:29 PM] [ExceptionHandler]  NooseMod_LCPDFR.Callouts.NooseMod.Initialize() L_0563 
 NooseMod_LCPDFR.Callouts.NooseMod.WaitFor2ndTeam() L_0075 
 NooseMod_LCPDFR.Callouts.NooseMod.Process() L_0053 
 ‮‌‫‫‏‫‎‬‭‌‮‏‌‎‫‏‮‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_0331 
Error hash: F5C1B28FE99C95E846787D02448A769F5ABD3B63
[ERROR - 4:03:29 PM] [Script.NooseMod] Cannot execute cleanup on peds: System.NullReferenceException: Object reference not set to an instance of an object.
   at NooseMod_LCPDFR.Callouts.NooseMod.End() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C#\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Callouts\NooseMod.cs:line 1857

Source Code of NooseMod.cs

 

I also include the last screenshot where the error happens.

I really don't know the last thing I edited on it after 3 months of RDE configuration modding and I just continue it all the way in. While I try to sort this out, any help will be appreciated.

EFLC 2017-12-23 16-32-02-27.jpg

“I never go back on my word, that’s my Ninja Way!” – Naruto Uzumaki

You use an existence check with an improper condition: "entity != null || entity.Exists()" means that it is enough for an entity to be not null. It should look like this: "entity != null && entity.Exists()". I recommend to add to your project an extension methods for all entities so you can make your life easier.

public static bool Valid(this LPed ped)
{
	return ped != null && ped.Exists();
}

public static bool Valid(this LVehicle veh)
{
	return veh != null && veh.Exists();
}

public static bool Valid(this GTA.@base.Object obj)
{
	return obj != null && obj.Exists();
}

If you are not aware of what extension methods are and how to implement them, google will help you.

 

One more thing, you should consider breaking your class into smaller (eg. you could create a dedicated class for a squad). 2k lines is too much to comprehend.

Edited by LtFlash

  • Author
13 hours ago, LtFlash said:

You use an existence check with an improper condition: "entity != null || entity.Exists()" means that it is enough for an entity to be not null. It should look like this: "entity != null && entity.Exists()". I recommend to add to your project an extension methods for all entities so you can make your life easier.


public static bool Valid(this LPed ped)
{
	return ped != null && ped.Exists();
}

public static bool Valid(this LVehicle veh)
{
	return veh != null && veh.Exists();
}

public static bool Valid(this GTA.@base.Object obj)
{
	return obj != null && obj.Exists();
}

If you are not aware of what extension methods are and how to implement them, google will help you.

 

One more thing, you should consider breaking your class into smaller (eg. you could create a dedicated class for a squad). 2k lines is too much to comprehend.

Hold on, that means... should I break the callout script content into parts? Like Squad placed in a new controller called Squad.cs and called from there?

 

For the extension methods, I saw that once on one of JulioNIB's scripts called RocketLock that was open-source in VB. Still, well... idk how to explain this, but I'm getting confused about how to use extension method. My programming language are basics only, of which I learned Pascal and Java (and a bit of C++) from the college. C# is autodidact that none in the college lessons learn it, so I learned it from the book.

 

Also, I've added some part of coding from the original NooseMod into mine for custom player rearming when the player is near an Enforcer (while on duty as a SWAT member), but eventually I got an error that caused Main plugin to halt:

[ERROR - 3:29:29 PM] [PluginManager] Unhandled exception caught while processing plugin: NooseMod. Plugin will no longer be executed.
[ERROR - 3:29:29 PM] [Plugin.NooseMod] System.NullReferenceException: Object reference not set to an instance of an object.
   at .(  Vehicle ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Entities\Extensions  Wrappers\CVehicleExtension.cs:line 55
   at LCPD_First_Response.LCPDFR.API.LVehicle.FromGTAVehicle(Vehicle vehicle) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\API\LVehicle.cs:line 167
   at NooseMod_LCPDFR.Main.GetEnforcerArmoryState() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Main.cs:line 532
   at NooseMod_LCPDFR.Main.ProcessEnforcerAbility() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Main.cs:line 541
   at NooseMod_LCPDFR.Main.Process() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Main.cs:line 325
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Plugins\PluginManager.cs:line 158
[ERROR - 3:29:29 PM] [ExceptionHandler]  ‫‭‌‭‪‬‪‪‪‮‏‫‍‌‭‬‎‍‌‮‪‬‬‮.‌‬‮‎‪‭‬‏‪‍‍‎‭‏‏‏‪‍‏‮‬‍‮‌‮(‭‏‪‬‫‫‮‌‫‎‏‮‮‮‫‍‏‌‍‎‌‎‭‍‍‮ , Vehicle ) L_0056 
 LCPD_First_Response.LCPDFR.API.LVehicle.FromGTAVehicle(Vehicle vehicle) L_0000 
 NooseMod_LCPDFR.Main.GetEnforcerArmoryState() L_001b 
 NooseMod_LCPDFR.Main.ProcessEnforcerAbility() L_000e 
 NooseMod_LCPDFR.Main.Process() L_0001 
 ‍‬‏‏‍‏‭‏‏‎‫‌‫‮‪‍‮‮‪‫‏‪‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_0026 
Error hash: E300819A782774E0CF928BE24EC1CA26AE7B0E20

The codes are usual pushed to my GitHub for debugging. Source Code

 

The error was taken the moment after close to the Enforcer, rearm, and left. I've modified the code since the last one caused me to unable to get back into Enforcer when rearming "in live". I think the issues might be the GetEnforcerArmoryState() since it was an old coding (and modified a bit for LCPDFR API), but maybe I'll consider breaking it instead of that.

        private bool GetEnforcerArmoryState()
        {
            LVehicle closestVehicle = LVehicle.FromGTAVehicle(World.GetClosestVehicle(lcpdfrPlayer.Ped.Position, 3f));
            return closestVehicle != null && closestVehicle.Model.ModelInfo.Hash == Enforcer;
}

 

“I never go back on my word, that’s my Ninja Way!” – Naruto Uzumaki

Okay, let's try to not to over-complicate it.

1) Extension methods:

create a separate static class and put your extension methods inside:

public static class MyExtensions
{
  public static bool Valid(this LPed ped)
  {
    return ped != null && ped.Exists();
  }
}

then you can use Valid() on all LPeds like this:

LPed myPed = new LPed(...);

if(myPed.Valid())
{
	//do something
}

2) You need to understand classes to break your plugin into more comprehensible parts. For now I'd say keep it as it is and get some theory on classes.

3) You are not checking if the result of GetClosestVehicle() is a valid entity. It should be like this:

private bool GetEnforcerArmoryState()
{
  Vehicle v = World.GetClosestVehicle(lcpdfrPlayer.Ped.Position, 3f);
  if(v != null && v.Exists())
  {
  	LVehicle closestVehicle = LVehicle.FromGTAVehicle(v);
  	return closestVehicle != null && closestVehicle.Exists() && closestVehicle.Model.ModelInfo.Hash == Enforcer;
  }
  else return false;
}

 

  • Author
13 hours ago, LtFlash said:

Okay, let's try to not to over-complicate it.

1) Extension methods:

create a separate static class and put your extension methods inside:


public static class MyExtensions
{
  public static bool Valid(this LPed ped)
  {
    return ped != null && ped.Exists();
  }
}

then you can use Valid() on all LPeds like this:


LPed myPed = new LPed(...);

if(myPed.Valid())
{
	//do something
}

2) You need to understand classes to break your plugin into more comprehensible parts. For now I'd say keep it as it is and get some theory on classes.

3) You are not checking if the result of GetClosestVehicle() is a valid entity. It should be like this:


private bool GetEnforcerArmoryState()
{
  Vehicle v = World.GetClosestVehicle(lcpdfrPlayer.Ped.Position, 3f);
  if(v != null && v.Exists())
  {
  	LVehicle closestVehicle = LVehicle.FromGTAVehicle(v);
  	return closestVehicle != null && closestVehicle.Exists() && closestVehicle.Model.ModelInfo.Hash == Enforcer;
  }
  else return false;
}

 

I'll keep that in mind. ATM I'm far away from my computer because of holiday trip to Singapore. I'll let you know if there're problems again, @LtFlash, thanks.

“I never go back on my word, that’s my Ninja Way!” – Naruto Uzumaki

  • 3 weeks later...
  • Author

Alright, now the shit happens.

 

Sorry for the rude word, ever since I was sick for 3 days and running college exams for 2 weeks, but now got another problem. The error was logged awkwardly when I modified the code to make it less bugs, in which unfortunately, was introduced another "bug" in the NooseMod.

 

Last log:

Spoiler

[INFO - 3:07:58 AM] [Log] Started
[INFO - 3:07:58 AM] [Main] Main: Initializing...
[INFO - 3:07:58 AM] [Main] Main: LCPDFR Engine (C) 2011-2013 LMS
[INFO - 3:07:58 AM] [Main] Main: DO NOT USE THIS WITHOUT PERMISSION. YOU MAY NOT SHARE, MODIFY OR DECOMPILE THIS FILE.
[INFO - 3:07:58 AM] [PluginManager] Initialize: Loading custom plugins
[WARNING - 3:07:58 AM] [Settings] ReadSettings: Invalid entry 
[INFO - 3:07:58 AM] [Settings] ReadSettings: Suspect transporter POLICE
[INFO - 3:07:58 AM] [Settings] ReadSettings: Suspect transporter POLICE2
[INFO - 3:07:58 AM] [Settings] ReadSettings: Suspect transporter PSTOCKADE
[WARNING - 3:07:58 AM] [Settings] ReadSettings: Invalid option: POLICE3
[INFO - 3:07:58 AM] [Plugin.Main] Changing language to en-US
[INFO - 3:07:58 AM] [Plugin.Callouts+] Plugin detected version: 0.7.3.38
[INFO - 3:07:58 AM] [Plugin.Callouts+] Checking calloutsPlus.ini file...
[INFO - 3:07:58 AM] [Plugin.Callouts+] Reading keybinds from configuration file
[INFO - 3:07:58 AM] [Plugin.Callouts+] Plugin started
[INFO - 3:07:59 AM] [Plugin.NooseMod] Started
[INFO - 3:07:59 AM] [Plugin.NooseMod] Mission Stats Adapter details: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\LCPDFR\Plugins\NooseMod\Stats.mdb
[INFO - 3:07:59 AM] [Plugin.NooseMod] Server Version:  04.00.0000
[INFO - 3:07:59 AM] [Plugin.NooseMod] Overall Stats Adapter details: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\LCPDFR\Plugins\NooseMod\Stats.mdb
[INFO - 3:07:59 AM] [Plugin.NooseMod] Server Version:  04.00.0000
[INFO - 3:07:59 AM] [Plugin.NooseMod.RelationshipSwitcher] Relationship Switcher: Ready
[INFO - 3:07:59 AM] [Plugin.SecuricarThefts] Started
[INFO - 3:07:59 AM] [Plugin.Supervillains] Started
[INFO - 3:07:59 AM] [Plugin.TheWasteland] TheWasteland: initialized.
[INFO - 3:07:59 AM] [Plugin.WoutersCallouts] Started WoutersCallouts v1.1
[INFO - 3:07:59 AM] [Main] Main: Initializing done
[INFO - 03.07.59] [ServerCommunication] InitializeConnection: Internet connection available
[INFO - 03.07.59] [ServerCommunication] InitializeConnection: Public IP Address is: 111.94.143.175
[INFO - 3:08:00 AM] [Plugin.Main] Running LCPD First Response LCPDFR 1.1 2011-2015 LMS (1.0.5552.34577) 3/15/2015 7:12:34 PM
[INFO - 3:08:00 AM] [Plugin.Main] Copyright © 2010-2015, G17 Media, www.lcpdfr.com
[INFO - 03.08.03] [ServerCommunication] InitializeConnection: Found configuration for the masterserver, going to use API server v2.legacy.os.g17media.net
[INFO - 03.08.03] [ServerCommunication] InitializeConnection: Establishing session with the LCPDFR server...
[INFO - 03.08.04] [ServerCommunication] GetSession: Got session ID of 17ece79b-a3bd-739e-a590-53fbe62d87c2 from masterserver.
[WARNING - 03.08.05] [Stats] CollectSystemInformation: Failed to upload stats: The remote server returned an error: (404) Not Found.
[INFO - 3:08:12 AM] [NetworkManager] NetworkManager: In network session: False Is host: False
[INFO - 03.08.12] [Authentication] Authentication: Server available, using online authentication
[INFO - 03.08.14] [Authentication] PerformOnlineAuthentication: Lease renewed
[INFO - 03.08.14] [Authentication] Authentication: Authentication successful
[INFO - 03.08.14] [Authentication] Authentication: Logged in as "Naruto607"
[INFO - 3:09:13 AM] [Script.Ambient] Autosave is disabled
[INFO - 3:09:13 AM] [Plugin.SecuricarThefts] Callouts have been registered successfully
[INFO - 3:09:13 AM] [Plugin.TheWasteland] OnDutyStateChanged performed properly.
[WARNING - 3:37:26 AM] [SoundEngine] PlayExternalSound: IO error while opening wave stream from D:\Grand Theft Auto IV - Complete Edition\EFLC\lcpdfr\Audio\PoliceScanner\RANDOMCHAT_07.wav. File already in use?
[INFO - 3:39:36 AM] [NooseMod Controller] NooseMod successfully loaded 8 missions into the list.
[INFO - 3:39:36 AM] [Script.NooseMod] Loading mission with ID 0
[WARNING - 03.39.36] [AudioDatabase] GetAudioFileForAction: No file found for: EAST_BOROUGH_BRIDGE
[INFO - 3:39:40 AM] [Script.NooseMod] Only you responds to the crime scene, creating car with NOOSE...
[WARNING - 3:40:58 AM] [NooseMod Controller] LoadRandomRegisteredPeds(): Invalid entry
[WARNING - 3:40:58 AM] [NooseMod Controller] LoadRandomRegisteredPeds(): Invalid entry
[WARNING - 3:40:58 AM] [NooseMod Controller] LoadRandomRegisteredPeds(): Invalid entry
[WARNING - 3:40:58 AM] [NooseMod Controller] LoadRandomRegisteredPeds(): Invalid entry
[WARNING - 03.41.01] [AudioDatabase] GetAudioFileForAction: No file found for: SAVANNAH_AVE
[WARNING - 3:41:05 AM] [Chase] SetAsCurrentPlayerChase: Player already has an active chase!
[WARNING - 03.41.09] [AudioDatabase] GetAudioFileForAction: No file found for: CHARLESTON_AVE
[WARNING - 03.41.09] [AudioDatabase] GetAudioFileForAction: No file found for: SAN_JACINTO_AVE
[ERROR - 3:41:13 AM] [PluginManager] Unhandled exception caught while processing plugin: NooseMod. Plugin will no longer be executed.
[ERROR - 3:41:13 AM] [Plugin.NooseMod] System.NullReferenceException: Object reference not set to an instance of an object.
   at .(  Vehicle ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Entities\Extensions  Wrappers\CVehicleExtension.cs:line 55
   at LCPD_First_Response.LCPDFR.API.LVehicle.FromGTAVehicle(Vehicle vehicle) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\LCPDFR\API\LVehicle.cs:line 167
   at NooseMod_LCPDFR.Main.GetEnforcerArmoryState() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Main.cs:line 525
   at NooseMod_LCPDFR.Main.ProcessEnforcerAbility() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Main.cs:line 534
   at NooseMod_LCPDFR.Main.Process() in c:\Users\USER\Documents\Visual Studio 2012\Projects\C\proyek_gta\NooseMod_LCPDFR\NooseMod_LCPDFR\Main.cs:line 316
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Plugins\PluginManager.cs:line 158
[ERROR - 3:41:13 AM] [ExceptionHandler]  ‫‭‌‭‪‬‪‪‪‮‏‫‍‌‭‬‎‍‌‮‪‬‬‮.‌‬‮‎‪‭‬‏‪‍‍‎‭‏‏‏‪‍‏‮‬‍‮‌‮(‭‏‪‬‫‫‮‌‫‎‏‮‮‮‫‍‏‌‍‎‌‎‭‍‍‮ , Vehicle ) L_0056 
 LCPD_First_Response.LCPDFR.API.LVehicle.FromGTAVehicle(Vehicle vehicle) L_0000 
 NooseMod_LCPDFR.Main.GetEnforcerArmoryState() L_001a 
 NooseMod_LCPDFR.Main.ProcessEnforcerAbility() L_000d 
 NooseMod_LCPDFR.Main.Process() L_0001 
 ‍‬‏‏‍‏‭‏‏‎‫‌‫‮‪‍‮‮‪‫‏‪‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_0026 
Error hash: 47A4B169F3B8777E108C6F3C2E1E8CD5229A9E51
[ERROR - 3:41:20 AM] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.
[ERROR - 3:41:20 AM] [] System.Exception: Entity already has an owner Name: NooseMod Requesting owner name: Chase
   at .(  Boolean ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Entities\CEntity.cs:line 191
   at .(  Boolean ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Chase.cs:line 995
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Chase.cs:line 1036
   at ..ctor( cop  criminal) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Events\EventCopReadyToChase.cs:line 20
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskCop.cs:line 69
   at ..Invoke( event)
   at ..ctor( criminal) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Events\EventFleeingCriminal.cs:line 18
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskFleeEvadeCops.cs:line 118
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskManager.cs:line 272
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\PedIntelligence.cs:line 702
   at LCPD_First_Response.Engine.Main.() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 287
[ERROR - 3:41:20 AM] [ExceptionHandler]  ‎‌‪‌‌‮‮‫‫‪‍‌‎‭‏‪‮‮‏‬‎‬‮.‌‍‎‍‫‬‫‮‪‬‏‍‏‫‬‭‬‏‎‭‪‮(‍‫‏‌‫‪‪‪‎‮‫‫‮‭‍‪‎‏‪‮ , Boolean ) L_0000 
 ‍‮‫‭‫‮‬‎‪‮‮‭‍‬‏‮‍‏‍‌‫‮.‮‫‎‎‮‭‪‍‌‬‍‎‫‍‍‮‎‎‬‌‎‏‬‬‪‮‮(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ , Boolean ) L_021a 
 ‍‮‫‭‫‮‬‎‪‮‮‭‍‬‏‮‍‏‍‌‫‮.‮‪‪‭‫‫‎‮‪‭‏‎‭‮‎‍‏‬‭‮‏‪‮(‪‫‏‪‬‎‭‎‪‏‪‫‫‏‭‭‎‬‮‫‬‮‏‍‍‭‮ ) L_0070 
 ‪‫‏‪‬‎‭‎‪‏‪‫‫‏‭‭‎‬‮‫‬‮‏‍‍‭‮..ctor(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ cop, ‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ criminal) L_0030 
 ‌‬‍‌‪‪‭‮‎‌‫‫‮‎‌‫‬‪‮.‍‪‫‌‪‮‫‬‬‌‮‬‭‮‎‌‬‏‍‮‫‏‮‪‮(‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮ ) L_00bf 
 ‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮+‎‍‏‬‫‪‫‮‏‍‌‫‌‭‍‭‎‬‌‭‪‭‌‬‮.Invoke(‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮ event) L_ffffffff 
 ‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮..ctor(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ criminal) L_0052 
 ‌‭‎‫‌‎‌‎‎‫‬‬‌‎‬‏‭‮‌‬‬‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ ) L_04aa 
 ‌‪‌‭‌‏‍‏‍‏‏‬‪‫‮‌‏‫‍‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_015b 
 ‎‫‎‍‫‏‎‫‏‎‌‏‮‪‍‪‌‫‭‫‏‪‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_033e 
 LCPD_First_Response.Engine.Main.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_011e 
Error hash: FD0E6B3C560B72AFF3FD6A6F3341C9896055522B
[ERROR - 3:41:26 AM] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.
[ERROR - 3:41:26 AM] [] System.Exception: Entity already has an owner Name: NooseMod Requesting owner name: Chase
   at .(  Boolean ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Entities\CEntity.cs:line 191
   at .(  Boolean ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Chase.cs:line 995
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Chase.cs:line 1036
   at ..ctor( cop  criminal) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Events\EventCopReadyToChase.cs:line 20
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskCop.cs:line 69
   at ..Invoke( event)
   at ..ctor( criminal) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Events\EventFleeingCriminal.cs:line 18
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskFleeEvadeCops.cs:line 118
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskManager.cs:line 272
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\PedIntelligence.cs:line 702
   at LCPD_First_Response.Engine.Main.() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 287
[ERROR - 3:41:26 AM] [ExceptionHandler]  ‎‌‪‌‌‮‮‫‫‪‍‌‎‭‏‪‮‮‏‬‎‬‮.‌‍‎‍‫‬‫‮‪‬‏‍‏‫‬‭‬‏‎‭‪‮(‍‫‏‌‫‪‪‪‎‮‫‫‮‭‍‪‎‏‪‮ , Boolean ) L_0000 
 ‍‮‫‭‫‮‬‎‪‮‮‭‍‬‏‮‍‏‍‌‫‮.‮‫‎‎‮‭‪‍‌‬‍‎‫‍‍‮‎‎‬‌‎‏‬‬‪‮‮(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ , Boolean ) L_021a 
 ‍‮‫‭‫‮‬‎‪‮‮‭‍‬‏‮‍‏‍‌‫‮.‮‪‪‭‫‫‎‮‪‭‏‎‭‮‎‍‏‬‭‮‏‪‮(‪‫‏‪‬‎‭‎‪‏‪‫‫‏‭‭‎‬‮‫‬‮‏‍‍‭‮ ) L_0070 
 ‪‫‏‪‬‎‭‎‪‏‪‫‫‏‭‭‎‬‮‫‬‮‏‍‍‭‮..ctor(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ cop, ‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ criminal) L_0030 
 ‌‬‍‌‪‪‭‮‎‌‫‫‮‎‌‫‬‪‮.‍‪‫‌‪‮‫‬‬‌‮‬‭‮‎‌‬‏‍‮‫‏‮‪‮(‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮ ) L_00bf 
 ‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮+‎‍‏‬‫‪‫‮‏‍‌‫‌‭‍‭‎‬‌‭‪‭‌‬‮.Invoke(‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮ event) L_ffffffff 
 ‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮..ctor(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ criminal) L_0052 
 ‌‭‎‫‌‎‌‎‎‫‬‬‌‎‬‏‭‮‌‬‬‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ ) L_04aa 
 ‌‪‌‭‌‏‍‏‍‏‏‬‪‫‮‌‏‫‍‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_015b 
 ‎‫‎‍‫‏‎‫‏‎‌‏‮‪‍‪‌‫‭‫‏‪‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_033e 
 LCPD_First_Response.Engine.Main.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_011e 
Error hash: FD0E6B3C560B72AFF3FD6A6F3341C9896055522B
[ERROR - 3:41:29 AM] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.
[ERROR - 3:41:29 AM] [] System.Exception: Entity already has an owner Name: NooseMod Requesting owner name: Chase
   at .(  Boolean ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Entities\CEntity.cs:line 191
   at .(  Boolean ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Chase.cs:line 995
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Chase.cs:line 1036
   at ..ctor( cop  criminal) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Events\EventCopReadyToChase.cs:line 20
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskCop.cs:line 69
   at ..Invoke( event)
   at ..ctor( criminal) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Events\EventFleeingCriminal.cs:line 18
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskFleeEvadeCops.cs:line 118
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskManager.cs:line 272
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\PedIntelligence.cs:line 702
   at LCPD_First_Response.Engine.Main.() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 287
[ERROR - 3:41:29 AM] [ExceptionHandler]  ‎‌‪‌‌‮‮‫‫‪‍‌‎‭‏‪‮‮‏‬‎‬‮.‌‍‎‍‫‬‫‮‪‬‏‍‏‫‬‭‬‏‎‭‪‮(‍‫‏‌‫‪‪‪‎‮‫‫‮‭‍‪‎‏‪‮ , Boolean ) L_0000 
 ‍‮‫‭‫‮‬‎‪‮‮‭‍‬‏‮‍‏‍‌‫‮.‮‫‎‎‮‭‪‍‌‬‍‎‫‍‍‮‎‎‬‌‎‏‬‬‪‮‮(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ , Boolean ) L_021a 
 ‍‮‫‭‫‮‬‎‪‮‮‭‍‬‏‮‍‏‍‌‫‮.‮‪‪‭‫‫‎‮‪‭‏‎‭‮‎‍‏‬‭‮‏‪‮(‪‫‏‪‬‎‭‎‪‏‪‫‫‏‭‭‎‬‮‫‬‮‏‍‍‭‮ ) L_0070 
 ‪‫‏‪‬‎‭‎‪‏‪‫‫‏‭‭‎‬‮‫‬‮‏‍‍‭‮..ctor(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ cop, ‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ criminal) L_0030 
 ‌‬‍‌‪‪‭‮‎‌‫‫‮‎‌‫‬‪‮.‍‪‫‌‪‮‫‬‬‌‮‬‭‮‎‌‬‏‍‮‫‏‮‪‮(‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮ ) L_00bf 
 ‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮+‎‍‏‬‫‪‫‮‏‍‌‫‌‭‍‭‎‬‌‭‪‭‌‬‮.Invoke(‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮ event) L_ffffffff 
 ‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮..ctor(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ criminal) L_0052 
 ‌‭‎‫‌‎‌‎‎‫‬‬‌‎‬‏‭‮‌‬‬‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ ) L_04aa 
 ‌‪‌‭‌‏‍‏‍‏‏‬‪‫‮‌‏‫‍‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_015b 
 ‎‫‎‍‫‏‎‫‏‎‌‏‮‪‍‪‌‫‭‫‏‪‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_033e 
 LCPD_First_Response.Engine.Main.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_011e 
Error hash: FD0E6B3C560B72AFF3FD6A6F3341C9896055522B
[WARNING - 03.41.30] [AudioDatabase] GetAudioFileForAction: No file found for: CHARLESTON_AVE
[WARNING - 03.41.30] [AudioDatabase] GetAudioFileForAction: No file found for: SAN_JACINTO_AVE
[ERROR - 3:41:32 AM] [Main] CRITICAL ERROR DURING MAINLOOP! REPORT THIS ISSUE AT LCPDFR.COM BY INCLUDING THIS LOGFILE.
[ERROR - 3:41:32 AM] [] System.Exception: Entity already has an owner Name: NooseMod Requesting owner name: Chase
   at .(  Boolean ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Entities\CEntity.cs:line 191
   at .(  Boolean ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Chase.cs:line 995
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Chase.cs:line 1036
   at ..ctor( cop  criminal) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Events\EventCopReadyToChase.cs:line 20
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskCop.cs:line 69
   at ..Invoke( event)
   at ..ctor( criminal) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Events\EventFleeingCriminal.cs:line 18
   at .( ) in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskFleeEvadeCops.cs:line 118
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\TaskManager.cs:line 272
   at .() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Scripting\Tasks\PedIntelligence.cs:line 702
   at LCPD_First_Response.Engine.Main.() in d:\GTA IV\LCPDFR\SVN\trunk\LCPD First Response\Engine\Main.cs:line 287
[ERROR - 3:41:32 AM] [ExceptionHandler]  ‎‌‪‌‌‮‮‫‫‪‍‌‎‭‏‪‮‮‏‬‎‬‮.‌‍‎‍‫‬‫‮‪‬‏‍‏‫‬‭‬‏‎‭‪‮(‍‫‏‌‫‪‪‪‎‮‫‫‮‭‍‪‎‏‪‮ , Boolean ) L_0000 
 ‍‮‫‭‫‮‬‎‪‮‮‭‍‬‏‮‍‏‍‌‫‮.‮‫‎‎‮‭‪‍‌‬‍‎‫‍‍‮‎‎‬‌‎‏‬‬‪‮‮(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ , Boolean ) L_021a 
 ‍‮‫‭‫‮‬‎‪‮‮‭‍‬‏‮‍‏‍‌‫‮.‮‪‪‭‫‫‎‮‪‭‏‎‭‮‎‍‏‬‭‮‏‪‮(‪‫‏‪‬‎‭‎‪‏‪‫‫‏‭‭‎‬‮‫‬‮‏‍‍‭‮ ) L_0070 
 ‪‫‏‪‬‎‭‎‪‏‪‫‫‏‭‭‎‬‮‫‬‮‏‍‍‭‮..ctor(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ cop, ‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ criminal) L_0030 
 ‌‬‍‌‪‪‭‮‎‌‫‫‮‎‌‫‬‪‮.‍‪‫‌‪‮‫‬‬‌‮‬‭‮‎‌‬‏‍‮‫‏‮‪‮(‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮ ) L_00bf 
 ‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮+‎‍‏‬‫‪‫‮‏‍‌‫‌‭‍‭‎‬‌‭‪‭‌‬‮.Invoke(‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮ event) L_ffffffff 
 ‭‌‎‎‏‪‌‌‪‏‏‭‬‏‮‫‬‪‮‪‍‭‮..ctor(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ criminal) L_0052 
 ‌‭‎‫‌‎‌‎‎‫‬‬‌‎‬‏‭‮‌‬‬‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮(‬‫‭‏‭‬‍‮‭‏‎‏‍‬‪‭‫‮‌‍‌‮ ) L_04aa 
 ‌‪‌‭‌‏‍‏‍‏‏‬‪‫‮‌‏‫‍‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_015b 
 ‎‫‎‍‫‏‎‫‏‎‌‏‮‪‍‪‌‫‭‫‏‪‮.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_033e 
 LCPD_First_Response.Engine.Main.‌‪‫‫‏‮‍‫‎‭‍‮‫‏‭‏‮‬‏‭‍‎‍‍‬‫‌‮() L_011e 
Error hash: FD0E6B3C560B72AFF3FD6A6F3341C9896055522B

 

 

There was something that caused it in the source code - I can't be able to tell where it is, even though I've read again the lines for more than 2 times.

 

The criminals (terrorists) and hostages are somewhat disappear when entering the interior and when the chase happens, the callout script then BOOM! Errors.

 

Also I'm thinking about "patience timer" for the terrorists, however was deemed not so good about it. The ETA timer was incorrect and always said on the top left corner about the time that's exactly when the callout starts, even though I set them lower or higher. Also the tick timer was... how can I say this... unsure. Last time I set them higher and the ticker drains slower that you may think it is. Now I set lower and it was damn fast, like... if you respond from Alderney, for example, a hostage will be killed when arrived on a scene if you're a second late (in which you encounter factors like traffic and sudden collision from a civilian or a car, or maybe ticketing the guy in a car that just bumped your police car that takes a minute or two).

 

Screenshots provided as well. Really a damn lousy one if you look more than twice on it.

EFLC 2018-01-17 03-41-23-88.jpg

EFLC 2018-01-17 03-41-34-28.jpg

EFLC 2018-01-17 03-41-45-74.jpg

EFLC 2018-01-17 03-42-13-12.jpg

“I never go back on my word, that’s my Ninja Way!” – Naruto Uzumaki

  • 3 weeks later...
  • Author

You know what... I think this plugin mod for LCPDFR will be a big roundup since most of the features are not supported in LCPDFR (such as cash reward for player and suspect detection system whether he/she's dead or busted). I'm dropping the progress of this NooseMod API development for LCPDFR for a considerably unknown time because I already started other API projects that use LCPDFR.

 

Any of you reading this want to pull my codes from GitHub and wanted to contribute, feel free. My script mods are open-source and can be opened with Visual Studio 2012 or later.

“I never go back on my word, that’s my Ninja Way!” – Naruto Uzumaki

  • 1 month later...

Maybe don't make this mod like plugin for LCPDFR, but more like script to put in scripts folder.. there will be always harder to make something, when you combinate with lcpdfr

Edited by Janis28

  • Author
On 3/4/2018 at 5:08 PM, Janis28 said:

Maybe don't make this mod like plugin for LCPDFR, but more like script to put in scripts folder.. there will be always harder to make something, when you combinate with lcpdfr

Yea, you got that right. I've already got a backup plan for creating NooseMod without LCPDFR support. Besides, I've already made other cool stuffs for this LCPDFR, one of them is the redux version of SuperVillains. Thanks for the advice. :thumbsup:

“I never go back on my word, that’s my Ninja Way!” – Naruto Uzumaki

7 hours ago, Naruto607 said:

Yea, you got that right. I've already got a backup plan for creating NooseMod without LCPDFR support. Besides, I've already made other cool stuffs for this LCPDFR, one of them is the redux version of SuperVillains. Thanks for the advice. :thumbsup:

Awesome, can't wait to try it out  :thumbsup:  I think It's very hard to make these mods for gta IV, I try it myself and that was impossible, people should need donate for such a job

  • Author
On 11/4/2018 at 3:49 PM, Janis28 said:

Awesome, can't wait to try it out  :thumbsup:  I think It's very hard to make these mods for gta IV, I try it myself and that was impossible, people should need donate for such a job

Actually, I'm gonna hold the testing development due to the problems I got. I seem can't be able to access the police station even though my LCPDFR account isn't linked. The game stucks on permanent loading, like... I can't get access to anything at all. When I try the forceduty command after pressing Alt+P, all seems fine, but the game stucks when I accept a callout, or else, join an ambient pursuit.

 

Dunno why, but me and LCPDFR gets along well if I link my account to the server. This is the rarest issue I got even before I had a new computer... like, since around 2014/2015 (and frequent crashes when I installed a car pack). I haven't had time to tell the LCPDFR/LSPDFR developers about this, but in the end they suggested to buy the game; but I know it's not that I wanted, because legit or not, it's all the same.

 

O yeah, I mod just for fun. About donation, I'll pass. Sorry for being off-topic.

“I never go back on my word, that’s my Ninja Way!” – Naruto Uzumaki

Join the conversation

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

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

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.