Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Zero owned Gscript!!! (https://forums.graalonline.com/forums/showthread.php?t=52747)

zokemon 05-18-2004 05:04 AM

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. :redface:
(If you count the :redface: as a word then it is 3 words)
[/EDIT]

DIABLO2099 05-18-2004 05:09 AM

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.

zokemon 05-18-2004 05:10 AM

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

EsCanavi 05-18-2004 05:40 AM

Lol That used to hapend to me alot time =P

MysticalDragonP2P 05-18-2004 07:08 AM

Happened to me after a year of editing the same script hahaha

zokemon 05-18-2004 07:20 AM

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?

Dach 05-19-2004 08:31 PM

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

Lance 05-20-2004 02:21 AM

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.

Dach 05-20-2004 03:32 AM

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

Alexander 05-20-2004 06:37 AM

I never ever hit that size problem, most of my scripts are short and complicated :x

Crono 05-20-2004 02:59 PM

That script probably comes with a portable microwave and a year's supply of ban hammers.

Polo 05-20-2004 06:46 PM

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.

zokemon 05-20-2004 07:36 PM

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.

Dach 05-20-2004 09:32 PM

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

Lance 05-20-2004 10:59 PM

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.

Polo 05-21-2004 09:55 AM

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.

zokemon 05-21-2004 09:53 PM

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?)

Googi 05-29-2004 03:21 AM

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.

Deek2 05-31-2004 03:58 AM

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.

zokemon 05-31-2004 09:20 PM

Quote:

Originally Posted by Deek2
Looks like GScript owned you.

Not really since I ended up getting around it with in 5 seconds.

Kappa00p2p 06-01-2004 12:54 AM

osnap .

Deek2 06-01-2004 05:06 AM

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.

zokemon 06-01-2004 05:17 AM

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.

Deek2 06-01-2004 06:15 AM

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. :rolleyes:

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?

Dach 06-01-2004 05:57 PM

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

zokemon 06-02-2004 04:29 AM

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. :rolleyes:

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.

CaTigus 06-04-2004 06:21 PM

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. :redface:
(If you count the :redface: as a word then it is 3 words)
[/EDIT]


I have done that many times, Nothing special. :whatever:


All times are GMT +2. The time now is 12:40 AM.

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