Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-15-2004, 04:32 AM
haro41 haro41 is offline
zenkou
haro41's Avatar
Join Date: Jul 2003
Location: Sol Grotto
Posts: 689
haro41 will become famous soon enough
Send a message via AIM to haro41
Weapon Exceeding 28k in size

Our server has a very complex GUI which is now getting into the 24k+ range. and I was told that the max size for a weapon script is 28K. if and when we hit that limit is there a way we can have an override by an Admin to allow a larger filesize? Its something that really cant be split up into 2 separate npc's.
__________________

Zenkou for life
Reply With Quote
  #2  
Old 08-15-2004, 04:39 AM
dlang dlang is offline
Yoshi!
dlang's Avatar
Join Date: Oct 2002
Location: Houston, Texas
Posts: 406
dlang is on a distinguished road
Send a message via AIM to dlang Send a message via MSN to dlang
Load pieces of the weapon script from classes.
__________________
Where do I take this pain of mine?
I run but it stays right by my side.
So tear me open, pour me out,
there's things inside that scream and shout.
And the pain still hates me, so hold me until it sleeps.

---------------
Reply With Quote
  #3  
Old 08-15-2004, 06:59 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
I still don't see how exceeding the filesize limit should ever be a problem
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #4  
Old 08-15-2004, 07:10 PM
haro41 haro41 is offline
zenkou
haro41's Avatar
Join Date: Jul 2003
Location: Sol Grotto
Posts: 689
haro41 will become famous soon enough
Send a message via AIM to haro41
you havent seen our GUI.
__________________

Zenkou for life
Reply With Quote
  #5  
Old 08-15-2004, 07:19 PM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
Regardless of the visual complexity of your GUI, you should easily just beable to hack extra script on by joining classes to it, which is what dlang said, and I assume Dach was hinting at.

If it 'really' is a problem, then make all your variables one letter long, and remove all tabbing/spacing... but then again, I shouldn;t really incourage such malpractice.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote
  #6  
Old 08-15-2004, 07:21 PM
XiLe XiLe is offline
Lylic < Me
XiLe's Avatar
Join Date: Dec 2002
Location: My House
Posts: 224
XiLe is on a distinguished road
Send a message via AIM to XiLe Send a message via MSN to XiLe
Obviously if it is this big, it most likely contains many systems. All that needs to be done is the various systems split.
i.e. Some servers use -System to do a GUI, level system, HP system, and combat system. You would make -GUI, -Lvl System, -HP System, -Combat System.
__________________
AIM: xilesaim MSN: [email protected]
I'm the Co-Owner of Atrius... If you've got questions, ask me
Reply With Quote
  #7  
Old 08-15-2004, 07:35 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by Polo
Regardless of the visual complexity of your GUI, you should easily just beable to hack extra script on by joining classes to it, which is what dlang said, and I assume Dach was hinting at.

If it 'really' is a problem, then make all your variables one letter long, and remove all tabbing/spacing... but then again, I shouldn;t really incourage such malpractice.
I would first suggest refining one's scripting rather than playing around with variable names and styling.
Reply With Quote
  #8  
Old 08-15-2004, 07:42 PM
haro41 haro41 is offline
zenkou
haro41's Avatar
Join Date: Jul 2003
Location: Sol Grotto
Posts: 689
haro41 will become famous soon enough
Send a message via AIM to haro41
yeah we cut off as much as possible. i gues joining classes to it is our best option
__________________

Zenkou for life
Reply With Quote
  #9  
Old 08-15-2004, 08:10 PM
LordZen LordZen is offline
Registered User
LordZen's Avatar
Join Date: Jun 2002
Posts: 1,700
LordZen is on a distinguished road
Send a message via ICQ to LordZen Send a message via AIM to LordZen Send a message via Yahoo to LordZen
I think your system is kind of slow, anyways. No offense meant. =\

It would probably help to chop it up into smaller scripts that run at once rather than one giant one.
__________________

Click the picture!

FYI: I've pretty much retired from this game as it stands. Yep..

Contact Info
AIM: xxwarlordzenxx (not used so much anymore)
MSN: warlordzen(a)hotmail.com

Quote:
Originally Posted by Scott
I heard they were pregnant from the same father from a VERY reliable tabloid a couple years ago.
Quote:
Originally Posted by GryffonDurime
Etien, you are the best proof I have ever seen that the human gene pool has algee.
Reply With Quote
  #10  
Old 08-15-2004, 10:42 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally Posted by Polo
Regardless of the visual complexity of your GUI, you should easily just beable to hack extra script on by joining classes to it, which is what dlang said, and I assume Dach was hinting at.
Not really, a single system should not ever need to be that big. What Xile said is your best solution. If the situation is not as Xile assumed, you're problem is inefficient coding .

From looking at your menu system (which I do like), it is very possible to split it up into the major menus and just trigger the submenus from the main one.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #11  
Old 08-15-2004, 11:06 PM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
Ah yes, theres always optimisation/refination, but I was assuming that they had already tried to reduce the script size as much as possible. I'd do what zach suggested with the seperate submenu's, although i havn't seen th gui so cannot fairly comment. Whatever you try, lets hope it works
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote
  #12  
Old 08-16-2004, 01:25 AM
dlang dlang is offline
Yoshi!
dlang's Avatar
Join Date: Oct 2002
Location: Houston, Texas
Posts: 406
dlang is on a distinguished road
Send a message via AIM to dlang Send a message via MSN to dlang
Offtopic: I really need to get a new account -.-, I hate being called dlang

-Inverness
__________________
Where do I take this pain of mine?
I run but it stays right by my side.
So tear me open, pour me out,
there's things inside that scream and shout.
And the pain still hates me, so hold me until it sleeps.

---------------
Reply With Quote
  #13  
Old 08-16-2004, 03:27 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally Posted by haro41
you havent seen our GUI.
The graphic of the gui is too big.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #14  
Old 08-16-2004, 08:22 AM
middo middo is offline
VHE Monkey
middo's Avatar
Join Date: Aug 2002
Location: California
Posts: 327
middo is on a distinguished road
Send a message via AIM to middo
Quote:
Originally Posted by osrs
The graphic of the gui is too big.
Agreed, I can't see jack. And it takes AGES for the mini-windows to pop up.
I bet if I had the time and enthusiasm I could make something MUCH less than 28k that would be just as good.

I bet the high file size is due to lack of taking the time to make it more flexible.
Reply With Quote
  #15  
Old 08-17-2004, 04:12 AM
haro41 haro41 is offline
zenkou
haro41's Avatar
Join Date: Jul 2003
Location: Sol Grotto
Posts: 689
haro41 will become famous soon enough
Send a message via AIM to haro41
well you play many other online games full screen. this will be one of them. there is alot of data that will need to be displayed. you can just hide the gui by pressing u as well.
__________________

Zenkou for life
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 03:27 PM.


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