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-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
  #6  
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
  #7  
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
  #8  
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
  #9  
Old 09-03-2004, 09:46 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by Lance
I would first suggest refining one's scripting rather than playing around with variable names and styling.
I totaly agree with you.

And I already went over this...
Read my signiture.

Quote:
Originally Posted by ZeroTrack
LoL hence why i deleted it =p <3
The only reason you deleted that npc was because you couldn't understand it, you didn't like me and because you can't script something like that.
__________________
Do it with a DON!
Reply With Quote
  #10  
Old 09-03-2004, 01:51 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
Quote:
Originally Posted by zokemon
The only reason you deleted that npc was because you couldn't understand it, you didn't like me and because you can't script something like that.
LoL.... are you totally seriously making that statement, because if you are you shouldnt be allowed to even speak anymore

#1- scripters don't put down other scripters. that's just the way things go you'd have to be very immature and dimwitted to do so, you should be shunned from the name scripter.

#2- I didn’t know how to script, that’s why I made almost every single NPC on that server and what did you do... make a staff NPC that seems to be your pride and joy? -_- oh please spare your breath; I am very intimidated that you made a staff npc and I didn’t.

BTW I don’t hate anyone; I disliked your arrogance and your unwillingness to do any real work we needed.
__________________

Reply With Quote
  #11  
Old 09-03-2004, 06:01 PM
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 ZeroTrack
#1- scripters don't put down other scripters.
You probably don't know Kaimetsu then.
__________________
"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
  #12  
Old 09-07-2004, 11:54 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by ZeroTrack
LoL.... are you totally seriously making that statement, because if you are you shouldnt be allowed to even speak anymore

#1- scripters don't put down other scripters. that's just the way things go you'd have to be very immature and dimwitted to do so, you should be shunned from the name scripter.

#2- I didn’t know how to script, that’s why I made almost every single NPC on that server and what did you do... make a staff NPC that seems to be your pride and joy? -_- oh please spare your breath; I am very intimidated that you made a staff npc and I didn’t.

BTW I don’t hate anyone; I disliked your arrogance and your unwillingness to do any real work we needed.
Excuse me but I didn't make that staff npc UNTIL I did that car and bank.
And I still see those there but you will probly go delete those now too huh?
__________________
Do it with a DON!
Reply With Quote
  #13  
Old 09-08-2004, 12:12 AM
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 ZeroTrack
#1- scripters don't put down other scripters. that's just the way things go you'd have to be very immature and dimwitted to do so, you should be shunned from the name scripter.
Yet you still called yourself one of the best scripters of Graal and insisted that I could not possibly compare when you worked on Bravo.
Reply With Quote
  #14  
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
  #15  
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
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 12:19 AM.


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