Jump to content

[REL] pDownloader (better looking progress bar)


Patrick

Recommended Posts

  • Patrick changed the title to [REL] pDownloader (better looking progress bar)
  • 3 weeks later...

Can I only disable default download and not use your event handlers? I just want to use the nice looking download bar for all of my server's resources but i can't edit each script to include the custom events in it - they're just too many :s

Link to comment
  • Moderators
On 02/07/2020 at 09:13, koragg said:

Also does this work for Lua files as well or only for models etc? 

No, only with <files/>. Scripts are different, and hard to load them well.

 

On 02/07/2020 at 08:44, koragg said:

Can I only disable default download and not use your event handlers?

No, but here is a modified version, to load files easier.
Just set model ID in meta, and its load for you.

Available in latest version.

Edited by Patrick
  • Thanks 1
Link to comment
  • 2 weeks later...
  • 4 months later...

aclrequest allow pdownloader all - OK
reloadacl - OK

meta.xml
 

<meta>
    <pDownloader>true</pDownloader> <!-- STEP 2 - enable pDownloader -->
  
    <!-- script file isn't needed -->
  
    <!-- STEP 3 - disable downloading with  download="false"  attribute -->
    <!-- and set model ID for the model-loader with  model="ID"  attribute-->

    <file src="files/city.txd" download="false" model="3048" />
    <file src="files/Land_areia.dff" download="false" model="3048" />
    <file src="files/Land_areia.col" download="false" model="3048" />
    
    <file src="files/city.txd" download="false" model="3522" />
    <file src="files/Land_areia_1.dff" download="false" model="3522" />
    <file src="files/Land_areia_1.col" download="false" model="3522" />
</meta>

Download is stuck, why?

 

Link to comment
  • Moderators
3 hours ago, Gaimo said:

aclrequest allow pdownloader all - OK
reloadacl - OK

meta.xml
 


<meta>
    <pDownloader>true</pDownloader> <!-- STEP 2 - enable pDownloader -->
  
    <!-- script file isn't needed -->
  
    <!-- STEP 3 - disable downloading with  download="false"  attribute -->
    <!-- and set model ID for the model-loader with  model="ID"  attribute-->

    <file src="files/city.txd" download="false" model="3048" />
    <file src="files/Land_areia.dff" download="false" model="3048" />
    <file src="files/Land_areia.col" download="false" model="3048" />
    
    <file src="files/city.txd" download="false" model="3522" />
    <file src="files/Land_areia_1.dff" download="false" model="3522" />
    <file src="files/Land_areia_1.col" download="false" model="3522" />
</meta>

Download is stuck, why?

 

Can you send me the whole resource in private please?

But I guess because "files/city.txd" used twice.

Edited by Patrick
Link to comment
  • Moderators
9 hours ago, Gaimo said:

Can't use the same txd? it is used in both dff.

Hi. I uploaded a new version of the resource, download it and use like this:

<meta>
    <pDownloader>true</pDownloader> <!-- STEP 2 - enable pDownloader -->
  
    <!-- script file isn't needed -->
  
    <!-- STEP 3 - disable downloading with  download="false"  attribute -->
    <!-- and set model ID for the model-loader with  model="ID"  attribute-->

    <file src="files/city.txd" download="false" model="3048,3522" />

    <file src="files/Land_areia.dff" download="false" model="3048" />
    <file src="files/Land_areia.col" download="false" model="3048" />
    
    <file src="files/Land_areia_1.dff" download="false" model="3522" />
    <file src="files/Land_areia_1.col" download="false" model="3522" />
</meta>

 

Edited by Patrick
  • Thanks 1
Link to comment
  • 1 year later...

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...