![]() |
Staff Block Glitch
So I came across a pretty bad glitch.
I've placed all around the Gmap, A ton of Staff Blocks with chat on them telling me what i'm going to need to add. They are everywhere. Little did I know, Updating Staff Blocks would make it so i cannot delete them either. The only thing I changed was chat, So it had nothing to do with deleting them. I'm unable to delete any of these staff blocks what-so-ever. Help?! It's pretty bad |
This is not a bug with the game client. I'm going to request this be moved into the NPC scripting forum...
...and in that case, post all scripts involved. We can't possibly help you without information. There is no single staff block script; hundreds have existed throughout Graal's history. |
try chatting update level and delete them. If you don't have a delete function in your script already, then you've been silly and you'll need to go to RC and type /clearnpcs [your level or gmap] to get rid of them.
Example: /clearnpcs mymap.gmap /clearnpcs mylevel.nw |
Quote:
|
Quote:
Using the colors I saw Graal Generate can also use |
Quote:
|
Quote:
Quote:
|
Quote:
I thought maybe If i generated a new Gmap, It would delete them since they're images. They don't show up in Offline Editor either. |
Quote:
edit: thanks Tig for moving the thread; Fysez, please pay attention to where you're making threads. |
I cannot
|
Just please tell me how to duplicate a Gmap...
|
Quote:
Fysez, he's trying to help you here, there no need to be impatient. You could use loadFolder() to get a list of the level names you need to clone from the folder you GMAP levels are located in, but you're going to have to find a way to create a new GMAP file with all of the level names sorted in order. If there's an easier way to do it, I'm sure one of the more advanced scripters on the forums will be able to help you out. |
Quote:
I figured maybe if I deleted the scripts, It would delete them all. What was I thinking? I don't know. I have a back-up folder in which I store scripts. I didn't store this one x.x |
I'm assuming you used putnpc2 to drop the npc then joined it to a class.
So, recreate the class? And maybe delete it when they enter the level. function onPlayerEnters(){ this.destroy(); } Its not a glitch, its your fault you didn't add a destroy() method. |
Quote:
You would benefit from reading this, especially the sections "Be precise and informative about your problem" and "Describe the goal, not the step". To delete all staff blocks in a level, assuming all staff blocks have the image "block.png": PHP Code:
|
| All times are GMT +2. The time now is 05:12 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.