Jump to content

Recommended Posts

Posted (edited)

Hello,

I'm working on a server and migrate my project from 0.3.7. to DP1.1.

After updating all the code everything looks fine, also the Casino and other IPL was loaded without any issue.
But after starting the server/client several times (i did no changes on the IPL load etc.) now the Casino is not loaded, also other IPL's are not loaded. (looks like that it ignores now the IPL load)

I also trigger the load of IPL again by a command, still not working.??
Any ideas what could be wrong???

Once the player logged in i do at the end of the login:

Serverside:   c.TriggerEvent("LoadIpls");

Clientside:

mp.events.add("LoadIpls", () => {
    //Casino
    mp.game.streaming.requestIpl("hei_dlc_windows_casino");
    mp.game.streaming.requestIpl("vw_dlc_casino_door");
    mp.game.streaming.requestIpl("hei_dlc_casino_door");
    mp.game.streaming.requestIpl("hei_dlc_casino_aircon");
    mp.game.streaming.requestIpl("vw_casino_main");
    mp.game.streaming.requestIpl("vw_casino_garage");
    mp.game.streaming.requestIpl("vw_casino_carpark");
    mp.game.streaming.requestIpl("vw_casino_penthouse");
    mp.game.streaming.requestIpl("restauracja_milo_");
    mp.game.streaming.removeIpl("rc12b_fixed");
    mp.game.streaming.removeIpl("rc12b_destroyed");
    mp.game.streaming.removeIpl("rc12b_default");
    mp.game.streaming.removeIpl("rc12b_hospitalinterior_lod");
    mp.game.streaming.removeIpl("rc12b_hospitalinterior");

let phIntID = mp.game.interior.getInteriorAtCoords(976.636, 70.295, 115.164);
    let phPropList = [
    "Set_Pent_Tint_Shell",
    "Set_Pent_Pattern_02",
    "Set_Pent_Spa_Bar_Open",
    "Set_Pent_Media_Bar_Open",
    "Set_Pent_Dealer",
    "Set_Pent_Arcade_Retro",
    "Set_Pent_Bar_Clutter",
    "Set_Pent_Clutter_01",
    "set_pent_bar_light_01",
    "set_pent_bar_party_0"
    ];

    for (const propName of phPropList) {
        mp.game.interior.enableInteriorProp(phIntID, propName);
        // mp.game.invoke("0x8D8338B92AD18ED6", phIntID, propName, 1); // _SET_INTERIOR_PROP_COLOR --> native error > native stimmt nicht.
    }

    mp.game.interior.refreshInterior(phIntID);

 

It worked on 0.3.7 and also 2 days after migration, but now the IPL won't be loaded?
Please help.

I added an output in js, I got a feedback from js-script so it runs, but the IPL's wont show.

Edited by Dimitri Stupakis
  • 4 weeks later...
  • 1 month later...
Posted

Just reading, searching, try....

All the ressource have to go to: server-files\client_packages\game_resources\dlcpacks

Adding a folder: server-files\client_packages\game_resources\common\data

Putting gameconfig.xml in the data folder .. you can find it in the forum... that's it..

If you are using 3rd. party IPL/Mods => they impacting each other sometimes ... be careful and doublecheck once you add a new one.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...