Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-09-2001, 10:26 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
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...
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #2  
Old 10-10-2001, 05:53 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Bah.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #3  
Old 10-10-2001, 06:30 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~AlphaFlame~

Delteria has large-sized levels like that as well.
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #4  
Old 10-10-2001, 06:42 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
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
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #5  
Old 10-10-2001, 07:02 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Quote:
Originally posted by BocoC
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
wow you have some persistance there!!!
Reply With Quote
  #6  
Old 10-10-2001, 12:20 PM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
I really wanted to try my level online =[
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #7  
Old 10-10-2001, 08:06 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
The limit for levels and images (auto-download)
is 64k, you should optimize some stuff instead
of complaining about the file size limit ...
Reply With Quote
  #8  
Old 10-11-2001, 12:24 AM
ZORG1986 ZORG1986 is offline
Registered User
ZORG1986's Avatar
Join Date: Jul 2001
Location: England - Yes thats the small Island in Europe that Ownz you all.
Posts: 783
ZORG1986 is on a distinguished road
Send a message via ICQ to ZORG1986 Send a message via AIM to ZORG1986
yes boco stop complaining....o_O
__________________


Zorg (Era Staff) - Contact : [email protected]
Reply With Quote
  #9  
Old 10-11-2001, 03:21 AM
Brandon_Bravo Brandon_Bravo is offline
Registered User
Join Date: Jun 2001
Location: Kalamazoo, Michigan USA
Posts: 206
Brandon_Bravo is on a distinguished road
Send a message via ICQ to Brandon_Bravo Send a message via AIM to Brandon_Bravo Send a message via MSN to Brandon_Bravo Send a message via Yahoo to Brandon_Bravo
Unhappy 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.
__________________
Brandon M.
Reply With Quote
  #10  
Old 10-11-2001, 06:13 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Yes! I never knew of a limit......, until now. Thanks Stefan! Time to "optimize" level.....
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #11  
Old 10-11-2001, 06:24 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
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
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #12  
Old 10-11-2001, 07:43 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
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...... =[
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #13  
Old 10-11-2001, 07:50 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
sounds like a virus is infecting the level
Reply With Quote
  #14  
Old 10-11-2001, 07:51 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
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. -_-"
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #15  
Old 10-11-2001, 08:05 AM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
There's no hope of splitting the system into multiple parts (if that's possible with your particular system)? -Yin
Reply With Quote
  #16  
Old 10-11-2001, 08:38 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
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 =[
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #17  
Old 10-11-2001, 08:57 AM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
Ah =( -Yin
Reply With Quote
  #18  
Old 10-11-2001, 10:09 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
my sys for dq is huge and yet it only takes up like 20kb
Reply With Quote
  #19  
Old 10-11-2001, 09:21 PM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
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:

if (this.keys[4]==1 && !this.4kd) {
x=playerx+1.5;
y=playery+2;
play rha_system_cursorselect.wav;
if (this.inventory_mode==1) {
setstring this.inventory_itemsift,-Item;
} else if (this.inventory_mode==7) {
setstring this.inventory_itemsift,#s(this.inventory_EW_Sift) ;
} else if (this.inventory_mode==4) {
setstring this.inventory_itemsift,-Magic;
} else if (this.inventory_mode==3) {
setstring this.inventory_itemsift,-Skill;
}
set this.inventory_ItemChoose;
InventoryDrawItems();
for (this.i=0;this.i<100;this.i++) {
hideimg 1000+this.i;
}
hideimg 996;
hideimg 997;
if (!this.inventory_mode==7) {
set this.inventory_noclosesound;
this.inventory_selectedItem=0;
this.inventory_selectedItem_line=1;
this.inventory_mode=0;
for (this.i=0;this.i<100;this.i++) {
hideimg 1400+this.i;
}
InventoryClose();
callweapon this.inventory_getItem,used;
} else {
this.inventory_selectedItem=0;
this.inventory_selectedItem_line=1;
this.inventory_EW_equipitem=this.inventory_getItem ;
this.inventory_mode=2;
}
unset this.infogot;
setstring client.ItemInfo,;
set this.4kd;
}
if (this.keys[4]==0 && this.4kd) { unset this.4kd; }

__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #20  
Old 10-11-2001, 09:24 PM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
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:

} else if (this.inventory_mode==4) {
hideimg 998;
showimg 999,rha_system_CW_#s(client.Options_Skin).png,scre enwidth-192,screenheight*0.35;
showimg 1000,rha_system_window_#s(client.Options_Skin).png ,screenwidth*0.1,screenheight*0.2;
if (this.inv_keyhelp==0) {
showimg 1400,rha_system_key_#s(client.Options_Skin).png,sc reenwidth*0.1-33,screenheight*0.2-48;
if (EarnedMagicHand) {
showimg 1401,@A: Equip Left,screenwidth*0.1-33+10,screenheight*0.2-48+21;
} else {
showimg 1401,@A:,screenwidth*0.1-33+10,screenheight*0.2-48+21;
}
showimg 1402,rha_system_key_#s(client.Options_Skin).png,sc reenwidth*0.1+138-33+3,screenheight*0.2-48;
if (EarnedMagicHand) {
showimg 1403,@S: Equip Right,screenwidth*0.1+138-33+10+3,screenheight*0.2-48+21;
} else {
showimg 1403,@S:,screenwidth*0.1+138-33+10+3,screenheight*0.2-48+21;
}
showimg 1404,rha_system_key_#s(client.Options_Skin).png,sc reenwidth*0.1+138+138-33+6,screenheight*0.2-48;
showimg 1405,@D: Select,screenwidth*0.1+138+138-33+10+6,screenheight*0.2-48+21;
changeimgvis 1400,4;
changeimgvis 1401,4;
changeimgvis 1402,4;
changeimgvis 1403,4;
changeimgvis 1404,4;
changeimgvis 1405,4;
}
changeimgvis 999,4;
changeimgvis 1000,4;
setstring this.inventory_itemsift,-Magic;
InventoryDrawItems();
}


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 =[
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #21  
Old 10-12-2001, 02:55 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Weapons can be max 28k or so
Reply With Quote
  #22  
Old 10-12-2001, 08:48 PM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.