MrGTAmodsgerman Posted September 18, 2015 Share Posted September 18, 2015 (edited) Hey, I want to load the map of the police cells from the heist update into the Singleplayer. First, i dont really know how to load the map exactly the second problem is, i dont know the name of the map that i have to use. I saw 2 Mods that can load this map but nothing more, it seems like that are a small group of people they know the name of the map Edited September 18, 2015 by MrGTAmodsgerman Link to comment Share on other sites More sharing options...
Michael Wojtanis Posted September 19, 2015 Share Posted September 19, 2015 Did You check source code? If not - You need search IPL functions in decompiled scripts. The easy way to check is mission when R* load North Yankon. You could recreate that with most IPLs. Link to comment Share on other sites More sharing options...
Graphicscore Posted September 21, 2015 Share Posted September 21, 2015 (edited) Well technically you could load the map with the following code (code my not runnnable, written out of memory without Editor) : using GTA;using GTA.Natives;public void toggleIPL(String iplName){ if(Function.call<Boolean>(Hash.IS_IPL_ACTIVE, new InputArguments[] { iplName })){ Function.call(Hash.REMOVE_IPL, new InputArguments[] { iplName }); }else{ Function.call(Hash.REQUEST_IPL, new InputArguments[] { iplName }); }} This code toggles an IPL by name, you have to find out what the ipl's name is to load it. There are some IPL Lists with coords but if the map is new I don't think it's on there. Just for reference I attach some lists of "old" maps too : http://pastebin.com/FyV5mMma http://pastebin.com/42JDPZBr http://gtaforums.com/topic/792877-list-of-over-100-coordinates-more-comming/ //EDIT : Which mods loads these cells ? //EDIT 2: Are you sure that's an extra IPL ? Since I am not at home I had to look up where those cells are , regarding older Videos you could just walk in there on older patches. Sine the last patches the door is locked. As far as I know rockstar they just locked the door if that's true you can just teleport there. I am at work right now so I can't confirm, I'll check when I'm home. Edited September 21, 2015 by Graphicscore MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted September 24, 2015 Author Share Posted September 24, 2015 Well technically you could load the map with the following code (code my not runnnable, written out of memory without Editor) : using GTA;using GTA.Natives;public void toggleIPL(String iplName){ if(Function.call<Boolean>(Hash.IS_IPL_ACTIVE, new InputArguments[] { iplName })){ Function.call(Hash.REMOVE_IPL, new InputArguments[] { iplName }); }else{ Function.call(Hash.REQUEST_IPL, new InputArguments[] { iplName }); }} This code toggles an IPL by name, you have to find out what the ipl's name is to load it. There are some IPL Lists with coords but if the map is new I don't think it's on there. Just for reference I attach some lists of "old" maps too : http://pastebin.com/FyV5mMma http://pastebin.com/42JDPZBr http://gtaforums.com/topic/792877-list-of-over-100-coordinates-more-comming/ //EDIT : Which mods loads these cells ? //EDIT 2: Are you sure that's an extra IPL ? Since I am not at home I had to look up where those cells are , regarding older Videos you could just walk in there on older patches. Sine the last patches the door is locked. As far as I know rockstar they just locked the door if that's true you can just teleport there. I am at work right now so I can't confirm, I'll check when I'm home. Thanks, i dont need to open the Doors, i only need to load the map but i dont get it! I cant run the Code, so i know how to setup but after i try it, stupid ".call" errors comes up. I dont know if that is based on the code or the project settings Link to comment Share on other sites More sharing options...
Graphicscore Posted September 24, 2015 Share Posted September 24, 2015 (edited) Did you know how the ipls is called though ? I fixed the toggle code : public void toggleIPL(String iplName) { Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Edited September 24, 2015 by Graphicscore MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted September 24, 2015 Author Share Posted September 24, 2015 Did you know how the ipls is called though ? I fixed the toggle code : public void toggleIPL(String iplName) { Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Danke, ich habe noch nie einen neuen Void erstellt, wo muss denn der jetzt gesetzt werden? Ich habe nämlich im Spiel einfach nichts, keine Anzeige kein garnichts, einen IPL Namen scheine ich zu wissen, ich weiß nur nicht ob der richtig ist. Mods die diese Map freischalten finde ich nicht mehr wieder, jedenfalls weiß ich die Namen nicht mehr. Ich habe den IPL String einfach zugewiesen { public void toggleIPL(String iplName) { iplName = "hei_dlc_heist_police"; Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Ist doch so richtig oder etwa nicht? Sorry habe grad kein Bock auf Englisch zu schreiben Link to comment Share on other sites More sharing options...
alloc8or Posted September 24, 2015 Share Posted September 24, 2015 (edited) Did you know how the ipls is called though ? I fixed the toggle code : public void toggleIPL(String iplName) { Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Danke, ich habe noch nie einen neuen Void erstellt, wo muss denn der jetzt gesetzt werden? Ich habe nämlich im Spiel einfach nichts, keine Anzeige kein garnichts, einen IPL Namen scheine ich zu wissen, ich weiß nur nicht ob der richtig ist. Mods die diese Map freischalten finde ich nicht mehr wieder, jedenfalls weiß ich die Namen nicht mehr. Ich habe den IPL String einfach zugewiesen { public void toggleIPL(String iplName) { iplName = "hei_dlc_heist_police"; Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Ist doch so richtig oder etwa nicht? Sorry habe grad kein Bock auf Englisch zu schreiben Also ich code zwar nicht in C# bei GTA, vom Prinzip her sollte es aber funktionieren. EDIT: Hab mal aus Neugier das IPL angefordert, nur ich kriege von meinem Menu die Fehlermeldung, dass "hei_dlc_heist_police" nicht existiert. Bist du dir sicher, dass das der richtige Name ist? Edited September 24, 2015 by Unknown_Modder MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted September 24, 2015 Author Share Posted September 24, 2015 Did you know how the ipls is called though ? I fixed the toggle code : public void toggleIPL(String iplName) { Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Danke, ich habe noch nie einen neuen Void erstellt, wo muss denn der jetzt gesetzt werden? Ich habe nämlich im Spiel einfach nichts, keine Anzeige kein garnichts, einen IPL Namen scheine ich zu wissen, ich weiß nur nicht ob der richtig ist. Mods die diese Map freischalten finde ich nicht mehr wieder, jedenfalls weiß ich die Namen nicht mehr. Ich habe den IPL String einfach zugewiesen { public void toggleIPL(String iplName) { iplName = "hei_dlc_heist_police"; Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Ist doch so richtig oder etwa nicht? Sorry habe grad kein Bock auf Englisch zu schreiben Also ich code zwar nicht in C# bei GTA, vom Prinzip her sollte es aber funktionieren. EDIT: Hab mal aus Neugier das IPL angefordert, nur ich kriege von meinem Menu die Fehlermeldung, dass "hei_dlc_heist_police" nicht existiert. Bist du dir sicher, dass das der richtige Name ist? Nein ich bin mir nicht sicher, ich muss abhaken einen anderen Weg kenne ich nicht. Versuch mal bitte "dlc_heist_police" ob das klappt hei_dlc_heist_police.ytyp ist die verantwortliche Datei Link to comment Share on other sites More sharing options...
alloc8or Posted September 24, 2015 Share Posted September 24, 2015 Did you know how the ipls is called though ? I fixed the toggle code : public void toggleIPL(String iplName) { Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Danke, ich habe noch nie einen neuen Void erstellt, wo muss denn der jetzt gesetzt werden? Ich habe nämlich im Spiel einfach nichts, keine Anzeige kein garnichts, einen IPL Namen scheine ich zu wissen, ich weiß nur nicht ob der richtig ist. Mods die diese Map freischalten finde ich nicht mehr wieder, jedenfalls weiß ich die Namen nicht mehr. Ich habe den IPL String einfach zugewiesen { public void toggleIPL(String iplName) { iplName = "hei_dlc_heist_police"; Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Ist doch so richtig oder etwa nicht? Sorry habe grad kein Bock auf Englisch zu schreiben Also ich code zwar nicht in C# bei GTA, vom Prinzip her sollte es aber funktionieren. EDIT: Hab mal aus Neugier das IPL angefordert, nur ich kriege von meinem Menu die Fehlermeldung, dass "hei_dlc_heist_police" nicht existiert. Bist du dir sicher, dass das der richtige Name ist? Nein ich bin mir nicht sicher, ich muss abhaken einen anderen Weg kenne ich nicht. Versuch mal bitte "dlc_heist_police" ob das klappt hei_dlc_heist_police.ytyp ist die verantwortliche Datei Hab so gut wie alle möglichen Kombinationen versucht, aber bei allen die Fehlermeldung, dass das IPL nicht existiert. (Tried almost every possible combination but I get the error that the IPL doesn't exist.) MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
Graphicscore Posted September 24, 2015 Share Posted September 24, 2015 Did you know how the ipls is called though ? I fixed the toggle code : public void toggleIPL(String iplName) { Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Danke, ich habe noch nie einen neuen Void erstellt, wo muss denn der jetzt gesetzt werden? Ich habe nämlich im Spiel einfach nichts, keine Anzeige kein garnichts, einen IPL Namen scheine ich zu wissen, ich weiß nur nicht ob der richtig ist. Mods die diese Map freischalten finde ich nicht mehr wieder, jedenfalls weiß ich die Namen nicht mehr. Ich habe den IPL String einfach zugewiesen { public void toggleIPL(String iplName) { iplName = "hei_dlc_heist_police"; Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Ist doch so richtig oder etwa nicht? Sorry habe grad kein Bock auf Englisch zu schreiben Also ich code zwar nicht in C# bei GTA, vom Prinzip her sollte es aber funktionieren. EDIT: Hab mal aus Neugier das IPL angefordert, nur ich kriege von meinem Menu die Fehlermeldung, dass "hei_dlc_heist_police" nicht existiert. Bist du dir sicher, dass das der richtige Name ist? Nein ich bin mir nicht sicher, ich muss abhaken einen anderen Weg kenne ich nicht. Versuch mal bitte "dlc_heist_police" ob das klappt hei_dlc_heist_police.ytyp ist die verantwortliche Datei Hab so gut wie alle möglichen Kombinationen versucht, aber bei allen die Fehlermeldung, dass das IPL nicht existiert. (Tried almost every possible combination but I get the error that the IPL doesn't exist.) Ich habe eine liste mit allen IPL Namen bei mir auf dem Rechner, kann ich aber erst Freitag Abend posten. (Sind ca. 18k). Ich schau mal ob da was mit police dabei ist. Nur mal so als frage nebenbei, gibt es eine Möglichkeit, die Position eines ipl's per Namen auszulesen ? (I have a list with all ipl names since the last update on my computer but I can't post it until Friday evening when I am back home (it's about 18 thousand names). I will look around if I see something with police. Just a quick question (off topic) , do you guys know a way to retrieve an ipl's location (x/y/z) per name ?) MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted September 24, 2015 Author Share Posted September 24, 2015 (edited) Ich habe jetzt in der Liste eine IPL gefunden die es eventuell sein kann, Nein ich bin mir nicht sicher, ich muss abhaken einen anderen Weg kenne ich nicht. Also ich code zwar nicht in C# bei GTA, vom Prinzip her sollte es aber funktionieren. Did you know how the ipls is called though ? I fixed the toggle code : public void toggleIPL(String iplName) { Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Danke, ich habe noch nie einen neuen Void erstellt, wo muss denn der jetzt gesetzt werden? Ich habe nämlich im Spiel einfach nichts, keine Anzeige kein garnichts, einen IPL Namen scheine ich zu wissen, ich weiß nur nicht ob der richtig ist. Mods die diese Map freischalten finde ich nicht mehr wieder, jedenfalls weiß ich die Namen nicht mehr. Ich habe den IPL String einfach zugewiesen { public void toggleIPL(String iplName) { iplName = "hei_dlc_heist_police"; Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, new GTA.Native.InputArgument[] { iplName }); if (isLobbyActive) { UI.ShowSubtitle("Unloading"); GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, new GTA.Native.InputArgument[] { iplName }); } else { UI.ShowSubtitle("LOADING"); GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, new GTA.Native.InputArgument[] { iplName }); } UI.Notify("Done"); } Ist doch so richtig oder etwa nicht? Sorry habe grad kein Bock auf Englisch zu schreiben EDIT: Hab mal aus Neugier das IPL angefordert, nur ich kriege von meinem Menu die Fehlermeldung, dass "hei_dlc_heist_police" nicht existiert. Bist du dir sicher, dass das der richtige Name ist? Versuch mal bitte "dlc_heist_police" ob das klappthei_dlc_heist_police.ytyp ist die verantwortliche Datei Hab so gut wie alle möglichen Kombinationen versucht, aber bei allen die Fehlermeldung, dass das IPL nicht existiert. (Tried almost every possible combination but I get the error that the IPL doesn't exist.) "post_hiest_unload" Ich glaube die Abrkürzung steht für policestation_heist_unload Aber unload wäre ja das was schon da ist?? Vielleicht hilft dieser Screenshot ja In der LS Polizeistation muss es sein. English: I found a other IPL name in the list that could be the right map."post_heist_unload" I think that stands for policestation_heist_unload But unload is that what already is or not?? maybe this screenshot can help?? [picture] @Graphicscore Woher hast du diese Liste? Und nein es ist nicht möglich, IPL Datein besitzen die Information über ganz viele Map Objekt Koordinaten und Objektnamen. IPLs werden zum laden benutzt um mehrere Map Objekte richtig positioniert zu spawnen Edited September 24, 2015 by MrGTAmodsgerman Link to comment Share on other sites More sharing options...
Graphicscore Posted September 24, 2015 Share Posted September 24, 2015 (edited) @MrGTAmodsgerman I know where this is =). The problem is that this is an online map (heist map) So we have to do some additional steps before loading the actual ipl Before you CAN load an multiplayer ipl you have to call the following functions in the following order : http://www.dev-c.com/nativedb/func/info/0888c3502dbbeef5 GTA.Native.Function.Call(GTA.Native.Hash._LOAD_MP_DLC_MAPS); http://dev-c.com/nativedb/func/info/9bae5ad2508df078 GTA.Native.Function.Call(GTA.Native.Hash._ENABLE_MP_DLC_MAPS, new GTA.Natives.InputArguments[]{ 1 }); And I actually managed to get access to my ipl list =) (it's 8k not 18k) . Have fun ! http://pastebin.com/QV0fubAu EDIT : // Okay, the only ipl name I found, with police in it is : "hei_dt1_19_interior_0_heist_police_dlc_milo_" Edited September 24, 2015 by Graphicscore MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted September 24, 2015 Author Share Posted September 24, 2015 @MrGTAmodsgerman I know where this is =). The problem is that this is an online map (heist map) So we have to do some additional steps before loading the actual ipl Before you CAN load an multiplayer ipl you have to call the following functions in the following order : http://www.dev-c.com/nativedb/func/info/0888c3502dbbeef5 GTA.Native.Function.Call(GTA.Native.Hash._LOAD_MP_DLC_MAPS); http://dev-c.com/nativedb/func/info/9bae5ad2508df078 GTA.Native.Function.Call(GTA.Native.Hash._ENABLE_MP_DLC_MAPS, new GTA.Natives.InputArguments[]{ 1 }); And I actually managed to get access to my ipl list =) (it's 8k not 18k) . Have fun ! http://pastebin.com/QV0fubAuEDIT : // EDIT : // Okay, the only ipl name I found, with police in it is : "hei_dt1_19_interior_0_heist_police_dlc_milo_" Danke, die Native Funktion ist ja neu entdeckt worden aber wenn ich die MP Maps aktivieren kann, wozu brauche ich dann noch einen String zu nutzen? und warum machst du new GTA.Natives.InputArguments[]{ 1 }); dort hin wenn doch ein true oder false verlangt wird? Link to comment Share on other sites More sharing options...
Graphicscore Posted September 24, 2015 Share Posted September 24, 2015 false = 0 true = 1 You have to "load" the ipls, these methods only active them (if I am right). If I am correct you have to activate them and then you have to load them, but I can't confirm right now since I am not at home. If it works let me know haha. MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
Graphicscore Posted September 25, 2015 Share Posted September 25, 2015 Did anyone tried to load the ipl "hei_dt1_19_interior_0_heist_police_dlc_milo_" yet ? Link to comment Share on other sites More sharing options...
ISOFX Posted September 25, 2015 Share Posted September 25, 2015 (edited) Did anyone tried to load the ipl "hei_dt1_19_interior_0_heist_police_dlc_milo_" yet ? Just tested it and it doesnt load anything. I went to the place where its supposed to spawn and i got nothing. No doors open, no interior either. Edit: i found this in your list of IPL's : dt1_19_interior_v_policehub_milo_ Not sure what it does but ill try and ill tell you what it does. Edited September 25, 2015 by ISOFX Link to comment Share on other sites More sharing options...
alloc8or Posted September 25, 2015 Share Posted September 25, 2015 (edited) I found a other IPL name in the list that could be the right map. "post_heist_unload" I think that stands for policestation_heist_unload But unload is that what already is or not?? "post_hiest_unload" is the Jewelry Store. Edited September 25, 2015 by Unknown_Modder MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
Graphicscore Posted September 25, 2015 Share Posted September 25, 2015 (edited) Did anyone tried to load the ipl "hei_dt1_19_interior_0_heist_police_dlc_milo_" yet ? Just tested it and it doesnt load anything. I went to the place where its supposed to spawn and i got nothing. No doors open, no interior either. Edit: i found this in your list of IPL's : dt1_19_interior_v_policehub_milo_ Not sure what it does but ill try and ill tell you what it does. Have you executed the mentioned methods above ? Since that's a multiplayer map you have to call some methods to be able to load them. Since I am still stuck at my office I can't test it out myself Edited September 25, 2015 by Graphicscore Link to comment Share on other sites More sharing options...
ISOFX Posted September 25, 2015 Share Posted September 25, 2015 (edited) Working Code: Function.Call((Hash)0x0888C3502DBBEEF5);Function.Call((Hash)0x9BAE5AD2508DF078, true);Function.Call(Hash.REQUEST_IPL, "hei_dt1_19_interior_0_heist_police_dlc_milo_");UI.Notify("Police Cells ~g~Sucessfully~w~ Loaded."); It will say "Loading Online" but it doesnt take you online. it just makes the game let you load online maps in SP. Screenshot. Edited September 25, 2015 by ISOFX Link to comment Share on other sites More sharing options...
alloc8or Posted September 25, 2015 Share Posted September 25, 2015 (edited) Does work in C++ as well. void enable_dlc_maps(){ _LOAD_DLC_MAPS(); // 0x0888C3502DBBEEF5 _ENABLE_DLC_MAPS(1); // 0x9BAE5AD2508DF078} Coords in screenshot: 464.097f, -997.810f, 24.915f Edited September 25, 2015 by Unknown_Modder ChOcOsKiZo 1 Link to comment Share on other sites More sharing options...
Graphicscore Posted September 25, 2015 Share Posted September 25, 2015 Does work in C++ as well. void ipl_test(){ _LOAD_DLC_MAPS(); // 0x0888C3502DBBEEF5 _ENABLE_DLC_MAPS(1); // 0x9BAE5AD2508DF078 REQUEST_IPL("hei_dt1_19_interior_0_heist_police_dlc_milo_"); // Coords: 464.097f, -997.810f, 24.915f} BOOOYAAAAA. Great work guys ! alloc8or and MrGTAmodsgerman 2 Link to comment Share on other sites More sharing options...
alloc8or Posted September 25, 2015 Share Posted September 25, 2015 (edited) Just noticed the IPL isn't needed. Only thing you have to do is: void enable_dlc_maps(){ _LOAD_DLC_MAPS(); // _0x0888C3502DBBEEF5() _ENABLE_DLC_MAPS(1); // _0x9BAE5AD2508DF078(1)} Edited September 25, 2015 by Unknown_Modder MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted September 25, 2015 Author Share Posted September 25, 2015 (edited) Just noticed the IPL isn't needed. Only thing you have to do is: void enable_dlc_maps(){ _LOAD_DLC_MAPS(); // _0x0888C3502DBBEEF5() _ENABLE_DLC_MAPS(1); // _0x9BAE5AD2508DF078(1)} Danke, aber irgendwie passiert bei mir nichts, Muss ich irgendwas beachten wenn ich einen neuen void erstelle? Gute Arbeit schonmal, dies wird einem sehr guten bekannten Mod zugute kommen @ISOFXThanks man Edited September 25, 2015 by MrGTAmodsgerman Link to comment Share on other sites More sharing options...
alloc8or Posted September 25, 2015 Share Posted September 25, 2015 Just noticed the IPL isn't needed. Only thing you have to do is: void enable_dlc_maps(){ _LOAD_DLC_MAPS(); // _0x0888C3502DBBEEF5() _ENABLE_DLC_MAPS(1); // _0x9BAE5AD2508DF078(1)} Danke, aber irgendwie passiert bei mir nichts, Muss ich irgendwas beachten wenn ich einen neuen void erstelle? Gute Arbeit schonmal, dies wird einem sehr guten bekannten Mod zugute kommen @ISOFXThanks man Bei C# wäre das dann ja irgendwie Function.Call((Hash)0x0888C3502DBBEEF5);Function.Call((Hash)0x9BAE5AD2508DF078, true); oder so (code wie gesagt bei GTA nicht mit C#) und das wars. MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted September 25, 2015 Author Share Posted September 25, 2015 Just noticed the IPL isn't needed. Only thing you have to do is: void enable_dlc_maps(){ _LOAD_DLC_MAPS(); // _0x0888C3502DBBEEF5() _ENABLE_DLC_MAPS(1); // _0x9BAE5AD2508DF078(1)} Danke, aber irgendwie passiert bei mir nichts, Muss ich irgendwas beachten wenn ich einen neuen void erstelle? Gute Arbeit schonmal, dies wird einem sehr guten bekannten Mod zugute kommen @ISOFXThanks man Bei C# wäre das dann ja irgendwie Function.Call((Hash)0x0888C3502DBBEEF5);Function.Call((Hash)0x9BAE5AD2508DF078, true); oder so (code wie gesagt bei GTA nicht mit C#) und das wars. Komisch ich habe jetzt mal versucht per Taste die Map zu laden aber es passiert einfach nichts. void OnKeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Y) { GTA.Native.Function.Call(GTA.Native.Hash._LOAD_MP_DLC_MAPS); GTA.Native.Function.Call(GTA.Native.Hash._ENABLE_MP_DLC_MAPS, 1); //Boolean isLobbyActive = GTA.Native.Function.Call<Boolean>(GTA.Native.Hash.IS_IPL_ACTIVE, "hei_dt1_19_interior_0_heist_police_dlc_milo"); //if (isLobbyActive) //{ // UI.ShowSubtitle("Unloading"); //GTA.Native.Function.Call(GTA.Native.Hash.REMOVE_IPL, "hei_dt1_19_interior_0_heist_police_dlc_milo"); //} //else //{ //UI.ShowSubtitle("LOADING"); //GTA.Native.Function.Call(GTA.Native.Hash.REQUEST_IPL, "hei_dt1_19_interior_0_heist_police_dlc_milo"); //} //UI.Notify("Done"); } }} Wunder dich nicht über die ausgeblendeten Sachen, ich habe nur Schrittweise abgehakt damit ich sehen kann was alles nicht funktioniert Link to comment Share on other sites More sharing options...
alloc8or Posted September 25, 2015 Share Posted September 25, 2015 (edited) Komisch ich habe jetzt mal versucht per Taste die Map zu laden aber es passiert einfach nichts. void OnKeyUp(object sender, KeyEventArgs e){ if (e.KeyCode == Keys.Y) { GTA.Native.Function.Call(GTA.Native.Hash._LOAD_MP_DLC_MAPS); GTA.Native.Function.Call(GTA.Native.Hash._ENABLE_MP_DLC_MAPS, 1); }} Dann nimm einfach mal die Hashwerte und versuchs damit. Und ich habe gesehen, dass du anstatt _ENABLE_DLC_MAPS _ENABLE_MP_DLC_MAPS genommen hast. Beabsichtigt? Edited September 25, 2015 by Unknown_Modder MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted September 25, 2015 Author Share Posted September 25, 2015 (edited) Komisch ich habe jetzt mal versucht per Taste die Map zu laden aber es passiert einfach nichts. void OnKeyUp(object sender, KeyEventArgs e){ if (e.KeyCode == Keys.Y) { GTA.Native.Function.Call(GTA.Native.Hash._LOAD_MP_DLC_MAPS); GTA.Native.Function.Call(GTA.Native.Hash._ENABLE_MP_DLC_MAPS, 1); }} Dann nimm einfach mal die Hashwerte und versuchs damit. Und ich habe gesehen, dass du anstatt _ENABLE_DLC_MAPS _ENABLE_MP_DLC_MAPS genommen hast. Beabsichtigt? JA habs, war ein dummer Fehler von mir, wegen meinen tausend Ausklammerungen habe ich einen nicht funktionierenden Teil nicht ausgeklammert und es hat mich gehindert. Jetzt gehts mega geil, english: Now i got it, it was a stupid problem by myself because i didnt clean my code and a wrong code part block it. Nur kann ich die Map auch alleine laden ohne alle anderen? But can i load this Cells Map only? Danke Edited September 25, 2015 by MrGTAmodsgerman Link to comment Share on other sites More sharing options...
Graphicscore Posted September 25, 2015 Share Posted September 25, 2015 Why would you want that ? MrGTAmodsgerman 1 Link to comment Share on other sites More sharing options...
MrGTAmodsgerman Posted September 25, 2015 Author Share Posted September 25, 2015 (edited) Why would you want that ? Because i only need this map Edited September 25, 2015 by MrGTAmodsgerman Link to comment Share on other sites More sharing options...
timnboys Posted October 4, 2015 Share Posted October 4, 2015 (edited) Okay I need to ask how to enable all areas of this police station open? like the locker rooms and other areas in the jail area. So a little offtopic but a byproduct of trying to figure this out for myself; how would I disable the Steve Haines mode I somehow enabled by accident trying to figure this out? Edited October 4, 2015 by timnboys Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now