![]() |
Level file size bug
Um. There is this bad bug where if the level filesize is too large, the level appears corrupt and stuff online. Like my 73kb .NW level. It always appears scrambled. I even had other people upload it, and it still is scrambled online. Either that, or the Bravo NPCServer is having a sever panic attack or something...
|
Bah.
|
~AlphaFlame~
Delteria has large-sized levels like that as well. |
Yes, but I have saved it under 10 different file names, 2 different file formats, even copied all the npc's to a different level, uploaded it with 2 different FTP programs, and even had somebody else upload it and each and every stupid time the level is corrupted X_X
|
Quote:
|
I really wanted to try my level online =[
|
The limit for levels and images (auto-download)
is 64k, you should optimize some stuff instead of complaining about the file size limit ... |
yes boco stop complaining....o_O
|
That certainly was mean Stefan.......:P
Stefan, he's not complaining about the limit, neither of us knew that there WAS a limit on level file sizes.
|
Yes! I never knew of a limit......, until now. Thanks Stefan! Time to "optimize" level.....
|
Oh, and please don't tell me npc's are restricted to like, 20k. My main system NPC is like, 60k in size X_X
|
AAAAAAARRRRRRRRGGGGGGGHHHHHH!!!!
Crap. There is a restriction..... 21.1kb restriction on npcs... =[ I wonder how I can work around this for Rha. Might just have to scrap the whole server...... =[ |
sounds like a virus is infecting the level
|
No. No Virus. Just limits. 64k limit on levels, 22k limit on npcs. My main system npc for Rha is 54kb. So, I think I have to scrap Rha. -_-"
|
There's no hope of splitting the system into multiple parts (if that's possible with your particular system)? -Yin
|
I already split it into 5 parts:
Inventory Walking Attacking Damage Status Bar Inventory is the one that is too big. See, each window mode (items, magic, skill, equipment, status, ect) has it's own keydown code, so there are like, 4 different sets of keydown codes (I managed to put Items, Magic, Skill, and Equipment codes into 1 section since they are relatively the same). So, a big chunk of the npc is keydown related stuff. Then the other big chunk is the section that does draws everything. I have a good sized function that draws each item and name in the item window, and another for drawing each item and it's name for the equipment window. So, no, I can't split the npc =[ |
Ah =( -Yin
|
my sys for dq is huge and yet it only takes up like 20kb
|
The thing that takes up so much space in my Custom Inventory npc is that I have to have keydown code for like, 3 or 4 different modes. This is what one looks like. This is the 'D' key code for the modes that require the default item select window to open.
NPC Code: |
That is only for 1 key. There are 8 keys total that I test in that section alone. Also, this is a routine that draws some stuff on the screen:
NPC Code: That draws the stuff when you select Magic from the options window. I have many other routines like these, which just add up space. Hmm. I can extract the Level Up code from here. Forgot about it..... But that still won't do any good for the npc =[ |
Weapons can be max 28k or so
|
Hmm..I'm not sure (as I haven't had much experience with the npcserver), but could you possibly place the scripts in class files and take advantage of the 'join' command? Again, I have next to no experience when it comes to scripting for the npcserver so if this idea is incredibly stupid, forgive me. -Yin
|
| All times are GMT +2. The time now is 10:37 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.