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 05-18-2004, 05:04 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
Zero owned Gscript!!!

Wow...
Did anyone else ever do this? (Not using useless crap but an actual script that works)

Quote:
Script of weapon Player/Staff Tool added/updated.
Warning: Script limit exceeded (29055 > 28671 bytes)
Zero: wtf
Zero: you are s***ing me!
*Sky: rofl
Jakk: Oh
Jakk: My
Jakk: God
Jakk: SOMEONE SCRIPTED TO MUCH
Jakk: GREATEST DAY EVER
Zero: this sucks ***
Jakk: I know
Jakk: but
Jakk: You
Jakk: Owned gscript...
[EDIT]
Quote:
IllIllziroIllIll: rofl
IllIllziroIllIll: someone will probably flame you now
IllIllziroIllIll: saying you're stupid
IllIllziroIllIll: and they've done it
IllIllziroIllIll: while 95% of the people start using what you learned to play around and have fun with their servers
2 words: Bring it.
(If you count the as a word then it is 3 words)
[/EDIT]
__________________
Do it with a DON!
Reply With Quote
  #2  
Old 05-18-2004, 05:09 AM
DIABLO2099 DIABLO2099 is offline
Registered User
Join Date: Sep 2002
Location: New York
Posts: 290
DIABLO2099 is on a distinguished road
I think Googi exceeded the character limit before or something like that, don't think it's too healthy for a script to be so lengthy unless...o_O.
__________________
-Former UnholyNation Server Manager.

Call me Xecutor.
Reply With Quote
  #3  
Old 05-18-2004, 05:10 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 DIABLO2099
I think Googi exceeded the character limit before or something like that, don't think it's too healthy for a script to be so lengthy unless...o_O.
The script is in functions and they are only called if you have certian strings...
I know how to do it and it don't lag so don't worry ;P
__________________
Do it with a DON!
Reply With Quote
  #4  
Old 05-18-2004, 05:40 AM
EsCanavi EsCanavi is offline
No Longer Graalian.
EsCanavi's Avatar
Join Date: Oct 2003
Location: ..:: Lassomption/Quebec/Canada ]::...
Posts: 214
EsCanavi is on a distinguished road
Send a message via AIM to EsCanavi Send a message via MSN to EsCanavi
Lol That used to hapend to me alot time =P
__________________
:: Free Gift... 40$ ::
:: WrsHosting ::
:: Need a webhost, contact me ( free ) 99.9% Online ::
Contact me: [email protected] (msn|mailbox)
Reply With Quote
  #5  
Old 05-18-2004, 07:08 AM
MysticalDragonP2P MysticalDragonP2P is offline
Endorian
Join Date: May 2002
Location: Lynn,Mass
Posts: 216
MysticalDragonP2P is on a distinguished road
Send a message via AIM to MysticalDragonP2P Send a message via MSN to MysticalDragonP2P
Happened to me after a year of editing the same script hahaha
__________________
MysticalDragon Manager of Endora
Reply With Quote
  #6  
Old 05-18-2004, 07:20 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 MysticalDragonP2P
Happened to me after a year of editing the same script hahaha
lmao!
This was only like a month at most of scripting this?
__________________
Do it with a DON!
Reply With Quote
  #7  
Old 05-19-2004, 08:31 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
its happened before, Tyhm even suggested the limit be raised, not sure if it was though... or did he just suggest the amount of weapons carryable by players?? either way
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #8  
Old 05-20-2004, 02:21 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
Few weapons should need to be bigger than this. If your weapon is not very complicated (my definition, not yours), it is quite probably inefficient.
Reply With Quote
  #9  
Old 05-20-2004, 03:32 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
Quote:
Originally Posted by Lance
Few weapons should need to be bigger than this. If your weapon is not very complicated (my definition, not yours), it is quite probably inefficient.
tis a staff tool, so chances are it is the swiss army knife of pockets' nightmares
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #10  
Old 05-20-2004, 06:37 AM
Alexander Alexander is offline
Registered User
Join Date: Apr 2003
Location: California
Posts: 246
Alexander is on a distinguished road
Send a message via AIM to Alexander
I never ever hit that size problem, most of my scripts are short and complicated :x
Reply With Quote
  #11  
Old 05-20-2004, 02:59 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
That script probably comes with a portable microwave and a year's supply of ban hammers.
__________________
Reply With Quote
  #12  
Old 05-20-2004, 06:46 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
Never had a script that long.. not one for npc server anyway. What you should do is optimize out everything, perhaps moving derverside function calls (using triggeraction) to a seperate weapon if needed.
__________________
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
  #13  
Old 05-20-2004, 07:36 PM
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
Few weapons should need to be bigger than this. If your weapon is not very complicated (my definition, not yours), it is quite probably inefficient.
It is actually extremly efficient as I make sure my scripts are very orginized and work well...
The reason it is so long is because of the user-friendly GUI that I made for it and all the features it has like being able to set people's staff tool rights (Not RC rights) from the player. If you see it you would understand. I have shown this staff tool to a lot of people and everyone says it is the best one they have ever seen.

Quote:
Originally Posted by Dach
tis a staff tool, so chances are it is the swiss army knife of pockets' nightmares
Wrong. There is absoluly nothing in this tool that can harm a player in anyway short of being able to jail. My main perpose in making it was for it to NOT be abused.

Quote:
Originally Posted by Polo
Never had a script that long.. not one for npc server anyway. What you should do is optimize out everything, perhaps moving derverside function calls (using triggeraction) to a seperate weapon if needed.
What I did was a very simple solution: Just put the script into a class and have the NPCW only have 1 line of script in it:
NPC Code:
join stafftool;


Works just fine

I didn't post this for questions or complaint or anything but rather to see who else has ever come across this. And of course to point out my solution.
__________________
Do it with a DON!
Reply With Quote
  #14  
Old 05-20-2004, 09:32 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 zokemon
Wrong. There is absoluly nothing in this tool that can harm a player in anyway short of being able to jail. My main perpose in making it was for it to NOT be abused.
that is soo incredibly not what I meant... I meant it probably has tons of tools/toys/whathaveya in it

I was proud of that phrase too

Quote:
What I did was a very simple solution: Just put the script into a class and have the NPCW only have 1 line of script in it:
[John Elway commercial]I'd of broken it into parts[/John Elway commercial] <- not trying to compete, just saying what I'd do o.O wait, you can have a weapon join a class? well, that's not that strange, ohwell
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #15  
Old 05-20-2004, 10:59 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 zokemon
It is actually extremly efficient as I make sure my scripts are very orginized and work well...
You'll excuse my natural doubt as to that statement's accuracy, then. You'll also reread my statement and refer to the "unnecessarily complicated or inefficient" clause.

Quote:
The reason it is so long is because of the user-friendly GUI that I made for it and all the features it has like being able to set people's staff tool rights (Not RC rights) from the player.
TMTOWTDI.

Quote:
If you see it you would understand. I have shown this staff tool to a lot of people and everyone says it is the best one they have ever seen.
So what if Tom and Fred think your script is the best in the world? Simple things impress people who can't script. You're missing my point. 28K is more than enough room for the vast majority of scripts. Those that take up more than this could quite probably be improved, optimized, or edited somehow. You also don't seem to grasp the concept of efficiency. Efficiency is neither measured by how organized your code is nor by the result of the script. It measures how well your code runs.

Sigh.
Reply With Quote
  #16  
Old 05-21-2004, 09:55 AM
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
Quote:
Originally Posted by zokemon
What I did was a very simple solution: Just put the script into a class and have the NPCW only have 1 line of script in it:
NPC Code:
join stafftool;

I was unsure if there was a similar length limit on classes.
__________________
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
  #17  
Old 05-21-2004, 09:53 PM
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 Dach
that is soo incredibly not what I meant... I meant it probably has tons of tools/toys/whathaveya in it
Nope no toys with MAYBE the exception of the staff block which is only intended to block people from levels and such with out having to edit the level it self. (Or to do other UC things like such)

Quote:
Originally Posted by Polo
I was unsure if there was a similar length limit on classes.
The limit is just the limit for file uploads (I think?)
__________________
Do it with a DON!
Reply With Quote
  #18  
Old 05-29-2004, 03:21 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Quote:
Originally Posted by DIABLO2099
I think Googi exceeded the character limit before or something like that
Yes, while trying to make bomy battling, I exceeded the script character limit.
__________________
Reply With Quote
  #19  
Old 05-31-2004, 03:58 AM
Deek2 Deek2 is offline
Registered User
Join Date: May 2002
Location: Springfield, Missouri
Posts: 1,578
Deek2 is on a distinguished road
Quote:
Few weapons should need to be bigger than this. If your weapon is not very complicated (my definition, not yours), it is quite probably inefficient.
Looks like GScript owned you.
Reply With Quote
  #20  
Old 05-31-2004, 09:20 PM
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 Deek2
Looks like GScript owned you.
Not really since I ended up getting around it with in 5 seconds.
__________________
Do it with a DON!
Reply With Quote
  #21  
Old 06-01-2004, 12:54 AM
Kappa00p2p Kappa00p2p is offline
Registered theRapist
Kappa00p2p's Avatar
Join Date: Jul 2003
Posts: 198
Kappa00p2p is an unknown quantity at this point
Send a message via AIM to Kappa00p2p
osnap .
__________________

-Kappa
Reply With Quote
  #22  
Old 06-01-2004, 05:06 AM
Deek2 Deek2 is offline
Registered User
Join Date: May 2002
Location: Springfield, Missouri
Posts: 1,578
Deek2 is on a distinguished road
Quote:
Originally Posted by zokemon
Not really since I ended up getting around it with in 5 seconds.
It doesn't even really make sense. You didn't own GScript. It was just merely giving you advice that your script is too long and you need to cut it down a bit. And somehow, you misinterpreted that. Or you probably did, and just made this thread for absolutely no reason.
Reply With Quote
  #23  
Old 06-01-2004, 05:17 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 Deek2
It doesn't even really make sense. You didn't own GScript. It was just merely giving you advice that your script is too long and you need to cut it down a bit. And somehow, you misinterpreted that. Or you probably did, and just made this thread for absolutely no reason.
Are you stupid?
If you read the conversation, I was not the one who originaly said that "I owned GScript". In addition, I posted this to see who else had encountered this and to provide a usefull solution to get around it.
__________________
Do it with a DON!
Reply With Quote
  #24  
Old 06-01-2004, 06:15 AM
Deek2 Deek2 is offline
Registered User
Join Date: May 2002
Location: Springfield, Missouri
Posts: 1,578
Deek2 is on a distinguished road
Quote:
Originally Posted by zokemon
Are you stupid?
If you read the conversation, I was not the one who originaly said that "I owned GScript". In addition, I posted this to see who else had encountered this and to provide a usefull solution to get around it.
Alas, you missed my point. It's still pointless to use it in that context, for the reason that it's very incorrect. Plus the fact that calling me "stupid" isn't really proving anything, and is a waste on your side. It's like calling someone a retard because they made a typo.

Oh, and by the way, you were the one that made the thread title "Zero owned GScript!!!(and more unecessary !s)". So, therefore, you were the one that said it. Am I not wrong?

Last edited by Deek2; 06-01-2004 at 08:05 AM..
Reply With Quote
  #25  
Old 06-01-2004, 05:57 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 zokemon
and to provide a usefull solution to get around it.
I like mine better


note: you still missed my point, but I don't care and I'd rather this thread die
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #26  
Old 06-02-2004, 04:29 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 Deek2
Alas, you missed my point. It's still pointless to use it in that context, for the reason that it's very incorrect. Plus the fact that calling me "stupid" isn't really proving anything, and is a waste on your side. It's like calling someone a retard because they made a typo.

Oh, and by the way, you were the one that made the thread title "Zero owned GScript!!!(and more unecessary !s)". So, therefore, you were the one that said it. Am I not wrong?
Then I apologize (sp?) for saying that.
__________________
Do it with a DON!
Reply With Quote
  #27  
Old 06-04-2004, 06:21 PM
CaTigus CaTigus is offline
Scripter
Join Date: Oct 2002
Posts: 80
CaTigus is on a distinguished road
Quote:
Originally Posted by zokemon
Wow...
Did anyone else ever do this? (Not using useless crap but an actual script that works)



[EDIT]

2 words: Bring it.
(If you count the as a word then it is 3 words)
[/EDIT]

I have done that many times, Nothing special.
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 08:57 AM.


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