Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-12-2007, 07:42 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
GS1-be gone?

a weak back i noticed that a bunch of invisable blocks just started re-apering x.x

i think it has something to do with gs1... or graal 5
heres the script that wont work anymore

note: this worked for over a year!

PHP Code:
if (created){
setshape 1,3232;
}
//#CLIENTSIDE
if (playerenters) {
  
setcoloreffect 1,1,1,0.01;

__________________
**FLIP OUT**
Reply With Quote
  #2  
Old 07-12-2007, 08:01 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
... you're not setting the image anywhere in the script.


PHP Code:
if (created){
setimg block.png;
setshape 1,3232;
}
//#CLIENTSIDE
if (playerenters) {
  
setcoloreffect 1,1,1,0.01;

__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #3  
Old 07-12-2007, 08:04 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by xXziroXx View Post
... you're not setting the image anywhere in the script.


PHP Code:
if (created){
setimg block.png;
setshape 1,3232;
}
//#CLIENTSIDE
if (playerenters) {
  
setcoloreffect 1,1,1,0.01;

yeah, but the thing is, it worked before, and it worked for a long time!
__________________
**FLIP OUT**
Reply With Quote
  #4  
Old 07-12-2007, 08:15 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by theHAWKER View Post
yeah, but the thing is, it worked before, and it worked for a long time!
You or somebody else must have removed that line at some point. It will always be invisible unless you set its image (assuming that this is a class btw).
Reply With Quote
  #5  
Old 07-12-2007, 09:27 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
no one could have removed a line in all the npc's there are tones of invisable blocks in levels!
__________________
**FLIP OUT**
Reply With Quote
  #6  
Old 07-12-2007, 09:38 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by theHAWKER View Post
no one could have removed a line in all the npc's there are tones of invisable blocks in levels!
That's why Twinny said "assuming it is in a class"
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #7  
Old 07-12-2007, 09:43 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Darlene159 View Post
That's why Twinny said "assuming it is in a class"
That's really the only likely scenario.. I mean.. It's IMPOSSIBLE for a whole lot of "invisible blocks" to just appear in a level. Someone must have used a block spawner of some sort, and spammed the levels with invisible blocks (probably since they forgott to set the image in the script).
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #8  
Old 07-12-2007, 10:16 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
:O, u guys aren't getting to mean of this thread! is that scripts are just malfunctioning randomly!
__________________
**FLIP OUT**
Reply With Quote
  #9  
Old 07-12-2007, 10:20 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by theHAWKER View Post
:O, u guys aren't getting to mean of this thread! is that scripts are just malfunctioning randomly!
I think I get the gist of what you said...

do a /clearnpcs levelnamehere in each affected level (/clearnpcs blah.gmap works). Then go through and make sure all your classes have an image set (if they are blocks).

If this doesn't solve your problem, someone may have created alot of invisible blocks directly into a level. Punt that staff member off a cliff then remove them manually

Scripts don't 'randomly malfunction' : a scripter edited them.
Reply With Quote
  #10  
Old 07-12-2007, 10:39 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by Twinny View Post
I think I get the gist of what you said...

do a /clearnpcs levelnamehere in each affected level (/clearnpcs blah.gmap works). Then go through and make sure all your classes have an image set (if they are blocks).

If this doesn't solve your problem, someone may have created alot of invisible blocks directly into a level. Punt that staff member off a cliff then remove them manually

Scripts don't 'randomly malfunction' : a scripter edited them.
the blocks aren't in a class, it happend with barrels, trees and other stuff.
for example in a tree effect:
PHP Code:
// NPC made by theHAWKER
//#CLIENTSIDE
if (created) {
  
setcoloreffect 0.5,1,0.5,0.30;
  
drawaslight;
dontblock;
drawoverplayer;
x-=.5;

it just shows the tree, but this npc was working for at least a year...
__________________
**FLIP OUT**
Reply With Quote
  #11  
Old 07-12-2007, 10:41 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by theHAWKER View Post
the blocks aren't in a class, it happend with barrels, trees and other stuff.
for example in a tree effect:
PHP Code:
// NPC made by theHAWKER
//#CLIENTSIDE
if (created) {
  
setcoloreffect 0.5,1,0.5,0.30;
  
drawaslight;
dontblock;
drawoverplayer;
x-=.5;

it just shows the tree, but this npc was working for at least a year...
That also has a lack of setimg. Go through and add setimg to all these npcs and they might just start working. Also, are the images still in the server?
Reply With Quote
  #12  
Old 07-12-2007, 10:47 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by Twinny View Post
That also has a lack of setimg. Go through and add setimg to all these npcs and they might just start working. Also, are the images still in the server?
yeah they are using default images like treetop and block.png

but the set img part isn't helping
__________________
**FLIP OUT**
Reply With Quote
  #13  
Old 07-13-2007, 06:08 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
I think theHAWKER has failed to mention what type of NPCs these are. I have a feeling he is talking about level npcs for some reason. Is this true?
__________________
Do it with a DON!
Reply With Quote
  #14  
Old 07-13-2007, 06:49 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by zokemon View Post
I think theHAWKER has failed to mention what type of NPCs these are. I have a feeling he is talking about level npcs for some reason. Is this true?
oh sry, yeah if it matters the npc's are in levels lol
__________________
**FLIP OUT**
Reply With Quote
  #15  
Old 07-13-2007, 09:02 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 theHAWKER View Post
oh sry, yeah if it matters the npc's are in levels lol
It does! I have no idea why this would happen. Does anyone else see this error too? I would help you fix it but my VIP is dead and gone.
__________________
Do it with a DON!
Reply With Quote
  #16  
Old 07-13-2007, 09:36 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
is this just on a GMAP?
__________________
Deep into the Darkness peering...
Reply With Quote
  #17  
Old 07-14-2007, 02:46 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
there are some on the gmap and others in normal levels x.x
__________________
**FLIP OUT**
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:13 PM.


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