Thread: Lift the texture amount limit

Results 1 to 9 of 9
  1. #1 Lift the texture amount limit 
    Registered Member
    Join Date
    Jan 2013
    Posts
    369
    Thanks given
    166
    Thanks received
    31
    Rep Power
    29
    Alright so I tried to look around in the client specifically in client, Rasterizer and Texture class but without any success.

    So basically if the problem isn't really clear, I tried adding a lot of textures to my client which ended over 100+ but for some reasons it seems that the client cannot have more than 100 textures. (I tried removing them 1 by 1 to know what was the exact amount)
    and turns out the client stopped having an Out of Memory error when I had 100 or less textures.

    I looked around to find any sign of an array limit or any clues in general that would cause the problem but like mentionned above, no success.

    I was wondering if any of you guys know how to lift that texture amount limit ? Thanks in advance!
    Reply With Quote  
     

  2. #2  
    true

    DerekH's Avatar
    Join Date
    Dec 2011
    Age
    19
    Posts
    1,183
    Thanks given
    590
    Thanks received
    261
    Rep Power
    164
    well one of your arrays r 100
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2013
    Posts
    369
    Thanks given
    166
    Thanks received
    31
    Rep Power
    29
    Quote Originally Posted by DerekH View Post
    well one of your arrays r 100
    I looked around and the only array which the max is 100 is this one :
    anIntArray1240 = new int[100];

    Which I tried to lift, but it did not work sadly
    Reply With Quote  
     

  4. #4  
    2021
    SoulSplit's Avatar
    Join Date
    Nov 2011
    Posts
    830
    Thanks given
    620
    Thanks received
    654
    Rep Power
    528
    Limit is set to < 50 default, not 100
    Last edited by SoulSplit; 01-20-2018 at 11:54 PM.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2013
    Posts
    369
    Thanks given
    166
    Thanks received
    31
    Rep Power
    29
    Quote Originally Posted by Technotik View Post
    Limit is set to 60ish default, not 100
    Mhhh that's interresting, my last texture is #100 and all the ids are used before that (I added a bunch lol). The client only gives me an out of memory error when adding the texture id #101
    Reply With Quote  
     

  6. #6  
    2021
    SoulSplit's Avatar
    Join Date
    Nov 2011
    Posts
    830
    Thanks given
    620
    Thanks received
    654
    Rep Power
    528
    Quote Originally Posted by Landscape View Post
    I'm pretty sure the default is 49 for a 317 client.
    I doublechecked and you're right. Editing my post
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Default is 49. You can’t add random textures you have to use the 317 cache format
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jan 2013
    Posts
    369
    Thanks given
    166
    Thanks received
    31
    Rep Power
    29
    Quote Originally Posted by _Patrick_ View Post
    Default is 49. You can’t add random textures you have to use the 317 cache format
    I made sure that my textures fit the 317 cache format. I added just 1 to make sure and its working 100% fine. I did lift the array's limit in Rasterizer and Texture to add for example, new fire cape textures, but for some odd reasons, when I lift the array's limit to more than 100, the client gives me an out of memory error which I cannot seems to fix.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Jan 2013
    Posts
    369
    Thanks given
    166
    Thanks received
    31
    Rep Power
    29
    Quote Originally Posted by Landscape View Post
    Why would you need anywhere close to 100 textures?
    For one of my project, I was testing something
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [EASY] How to Change the 'Buy' Amount in Shops
    By imcool121 in forum Tutorials
    Replies: 12
    Last Post: 04-23-2010, 09:12 PM
  2. Replies: 7
    Last Post: 03-13-2010, 05:38 PM
  3. Replies: 6
    Last Post: 12-20-2009, 03:00 PM
  4. Server with the least amount of features
    By funkE in forum Requests
    Replies: 2
    Last Post: 07-07-2009, 05:35 PM
  5. Changing the max amount of an Item
    By Elid in forum Tutorials
    Replies: 10
    Last Post: 10-06-2008, 10:58 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •