![]() |
New bug :P
I have a NPC with this script: PHP Code:
Now, when I press "Apply", I see the button get pushed, but the GUI remains and is not destroyed. If I minimize it and try to press F9 to exit OLE, I'm told "MattKan is currently editing this level's NPCs". I relog. The NPC Editor is now unable to select the NPC, and I'm forced to edit the level as a .txt to remove it. (When I attempt to select it I get the same error message, that I'm editing the level.) |
Try this version.
|
Er, when I try to use set a NPC with a new image not used anywhere else in the level, the NPC just resets itself and removes the entire script. o_o
This wasn't happening before now... any tips? |
Reinstalled and now the entire editor isn't working.
Is anybody else experiencing problems? Perhaps Stefan changed something that's breaking it. |
I've been attempting to use it on Era iPhone Dev, and when I press F9 literally nothing happens. I don't know if it's related to the server or the script though. I've checked through it and everything seems OK.
|
There must have been some GS2 change that's breaking this, Emera.
Which is annoying, can it be fixed? |
Quote:
|
Emera, delete the weapon for it, restart the NPC Server, then reinstall and it should work.
Edit: Nope, doesn't actually work. Back to the original issue of not being able to spawn new NPCs with new images. |
Fp4 will you please fix this if you have a chance? :)
|
It keeps saying this to me: Could not find the file myworld_a8.nw for this level! check your configuration.
|
Does anyone else have problems with both the Client RC and Online Level NPC Editor both causing client crashes? (I am on a Mac and V6)
NPCs being wiped on death? Or random Icons showing up / light effects hovering around as icons? |
It probably has something to do with another script on Shaded Legend.
|
I have experienced client crash yes.
|
Quote:
|
This stopped working today...
PHP Code:
|
Quote:
|
Here's an updated version, I've also changed it so the script and image aren't stored in the findimg object anymore.
Edit: Fixed applying the image. |
[9:56:33 AM] Vinka: Could you tell fp4 that whenever u edit an npc script within a level with olne and click apply, the line where image name is inserted turns to "-".
From Vinka. |
Quote:
PHP Code:
|
Script: triggerclient() was used with wrong target: npcEdit (must be weapon or gui) at line 82 in script of npcEdit (in level cabi_ak-02.nw at pos (0, 0))
It keeps doing this :( |
Quote:
PHP Code:
|
Quote:
|
Suggestion for the next version, if you should happen to update it:
An option to copy-paste NPCs from level to level on a gmap. Basically, you'd need to store the information in a 'clipboard,' similar to the way Pixel's tile editor utilizes that kind of function as well. |
I've been using it quite a bit lately (extremely useful in dungeon work), and would of found copying sets of certain npcs (was doing light details in numerous levels) really handy.
I will look into making a clipboard feature. My idea: Press CTRL+[0-9] to set the clipboard position. (Position 0 by default) Press CTRL+C to copy to the clipboard. (Save clipboard data locally in text files) Press CTRL+V to paste NPC at your mouse position based on clipboard data. I also think if you put a comment in the NPC like: //DESC:Tree When you change clipboard slots it will say 'Clipboard Slot # (Tree)' |
Quote:
|
question does there have to be a npc in the level to use it or can it place npcs in a new level?
|
Quote:
|
Very nice so flexible and easy to work with :D!
|
1 Attachment(s)
There was a bug in getVarValue, values set to ( I.e. this.attr[1] = ""; ) would cause the script to hit the loop limit and break during the loading phase.
You can either replace getVarValue with this one, or re-download the script I'm going to attach. PHP Code:
Remove the attachments from these posts: http://forums.graalonline.com/forums...5&postcount=39 http://forums.graalonline.com/forums...1&postcount=42 http://forums.graalonline.com/forums...2&postcount=57 And update the script in my main post with this one or link it to here. |
I've made the changes you requested and linked the latest download in the main post to your post above. Let me know if there's anything I've overlooked :)
|
thx m8
Just debugged another issue. If get errors you "You don't have access to this level!" or similar and your rights and (npcserver) are set correctly then make sure you haven't replaced the default hasright function with one in a player joined class. |
Are any more updates coming to the NPC Editor?
|
|
A major error has been coming up for Kraak, who is currently using a mac for editing. Basically as soon as he types in the 'join' command, Graal as a whole will crash, and we're not entirely sure why since the issue doesn't happen on Windows.
This is what the error report kicks back to him: http://pastebin.com/k6iVgEFj |
Quote:
PHP Code:
|
Pretty useful tool. Thumbs up!
|
Is there a tool similar to a notepad? So you can view all NPCs in the level like a text editor and modify the scripts that way?
|
Notepad ++ ?
|
Yeah, just opening up a NW file with notepad / wordpad should allow you to edit the file directly, although you'll have to kind of blindly place the NPCs unless you know exactly where their coordinates are going to be.
It's especially useful for checking levels for script errors or to make sure nobody's trying to hide a script that tampers with the game. |
Quote:
All the iEra staff use online tools because they're awesome :) I'd use the online text editor to read all the NPCs in the level |
| All times are GMT +2. The time now is 09:37 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.