Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > Code Gallery
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #41  
Old 02-01-2012, 03:20 AM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
New bug :P

I have a NPC with this script:

PHP Code:
//#CLIENTSIDE
function onCreated()
{
  
showcharacter();
  
this.head "head434.png";
  
this.colors[0] = "white";
  
this.colors[1] = "blue";
  
this.colors[2] = "blue";
  
this.colors[3] = "black";
  
this.colors[4] = "lightblue":
  
this.shield "no-shield.png";
  
this.attr[1] = "hat92.png";
  
this.dir 3;

You'll notice I made a typo in this.colors[4] and used a : instead of a ; on accident.

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.)
__________________
Quote:
Originally Posted by Satoru Iwata
On the other hand, free-to-play games, if unbalanced, could result in some consumers paying extremely large amounts of money, and we can certainly not expect to build a good relationship with our consumers in this fashion. In order to have a favorable long-term relationship, we would like to offer free-to-play games that are balanced and reasonable.
Quote:
Originally Posted by Unximad
Eurocenter Games remains attached to the values of indies game developer and to the service our playerbase community.
Reply With Quote
  #42  
Old 02-01-2012, 05:42 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Try this version.
__________________
Quote:

Last edited by TSAdmin; 09-07-2013 at 08:58 PM..
Reply With Quote
  #43  
Old 04-08-2012, 02:24 AM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
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?
Reply With Quote
  #44  
Old 04-14-2012, 05:47 PM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
Reinstalled and now the entire editor isn't working.

Is anybody else experiencing problems? Perhaps Stefan changed something that's breaking it.
Reply With Quote
  #45  
Old 04-14-2012, 06:07 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
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.
__________________
Reply With Quote
  #46  
Old 04-14-2012, 09:43 PM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
There must have been some GS2 change that's breaking this, Emera.

Which is annoying, can it be fixed?
Reply With Quote
  #47  
Old 04-14-2012, 10:23 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by MattKan View Post
There must have been some GS2 change that's breaking this, Emera.

Which is annoying, can it be fixed?
I believe it's related to the fact I store the script in the showimg object, and it gets re-created which wipes out the script. It can be fixed it just needs to be re-written in a couple sections.
__________________
Quote:
Reply With Quote
  #48  
Old 04-15-2012, 09:30 PM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
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.
Reply With Quote
  #49  
Old 05-04-2012, 12:21 AM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
Fp4 will you please fix this if you have a chance?
Reply With Quote
  #50  
Old 06-22-2012, 04:26 AM
torfbeta torfbeta is offline
CokeZero
torfbeta's Avatar
Join Date: Jun 2012
Posts: 3
torfbeta is on a distinguished road
It keeps saying this to me: Could not find the file myworld_a8.nw for this level! check your configuration.
Reply With Quote
  #51  
Old 06-22-2012, 05:10 AM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
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?
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz



Reply With Quote
  #52  
Old 06-22-2012, 05:32 AM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
It probably has something to do with another script on Shaded Legend.
Reply With Quote
  #53  
Old 06-22-2012, 03:05 PM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
I have experienced client crash yes.
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #54  
Old 06-22-2012, 04:11 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Devil_Lord2 View Post
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?
I haven't noticed any of this on v6 on OS X.
__________________
Reply With Quote
  #55  
Old 10-27-2012, 10:35 PM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
This stopped working today...

PHP Code:
Scripttriggerclient() was used with wrong target: -Dev/NPCEditor (must be weapon or guiat line 48 in script of -Dev/NPCEditor (in level stroseria_10-05.nw at pos (00)) 
Sure it has something to do with Stefan restarting our server today and all the changes he made to triggerclient(). Will be interesting to see if the rest of our server is broken, too.
__________________
Quote:
Originally Posted by Satoru Iwata
On the other hand, free-to-play games, if unbalanced, could result in some consumers paying extremely large amounts of money, and we can certainly not expect to build a good relationship with our consumers in this fashion. In order to have a favorable long-term relationship, we would like to offer free-to-play games that are balanced and reasonable.
Quote:
Originally Posted by Unximad
Eurocenter Games remains attached to the values of indies game developer and to the service our playerbase community.
Reply With Quote
  #56  
Old 10-27-2012, 11:49 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by MattKan View Post
This stopped working today...

PHP Code:
Scripttriggerclient() was used with wrong target: -Dev/NPCEditor (must be weapon or guiat line 48 in script of -Dev/NPCEditor (in level stroseria_10-05.nw at pos (00)) 
Sure it has something to do with Stefan restarting our server today and all the changes he made to triggerclient(). Will be interesting to see if the rest of our server is broken, too.
He warned about this a few weeks ago. It shouldn't be surprising that this broke.
__________________
Reply With Quote
  #57  
Old 10-27-2012, 11:54 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
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.
__________________
Quote:

Last edited by TSAdmin; 09-07-2013 at 08:58 PM..
Reply With Quote
  #58  
Old 10-28-2012, 01:29 AM
Kiwi27 Kiwi27 is offline
Not the fruit.
Kiwi27's Avatar
Join Date: Mar 2011
Location: New Zealand
Posts: 173
Kiwi27 will become famous soon enough
[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.
__________________
Reply With Quote
  #59  
Old 10-28-2012, 02:48 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Kiwi27 View Post
[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.
Fixed. Either re-download the entire script from my post above or replace the function at the bottom with this one:

PHP Code:
function onApplyScript(obj) {
  if (!
this.active) {
    
obj.parent.destroy();
    return;
  }
  
temp.npc_id obj.parent.npc_id;
  
temp.npc_script obj.parent.scriptctrl.getlines();
  
temp.npc_img obj.parent.imgctrl.text.trim();
  
obj.parent.destroy();
  
with (findimg(temp.npc_id)) {
    
image temp.npc_img;
    
image fileexists(image) ? image PLACEHOLDER;
    
temp.npc_x 64;
    
temp.npc_y 64;
  }
  
setNPCImage(temp.npc_idtemp.npc_img);
  
setNPCScript(temp.npc_idtemp.npc_script);
  if (
temp.npc_id 0) {
    
changesMade();
    
updateNPCImage(temp.npc_idtemp.npc_imgtemp.npc_xtemp.npc_ytemp.npc_script);
  }

__________________
Quote:
Reply With Quote
  #60  
Old 12-07-2012, 09:05 PM
greggiles greggiles is offline
Registered User
greggiles's Avatar
Join Date: Sep 2007
Posts: 149
greggiles has a spectacular aura about
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
Reply With Quote
  #61  
Old 12-07-2012, 09:26 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by greggiles View Post
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
change line 82 to this:

PHP Code:
player.triggerclient("gui"this.name"leveldata"temp.leveldatatemp.readonly); 
__________________
MEEP!
Reply With Quote
  #62  
Old 12-07-2012, 11:36 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by greggiles View Post
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
Read the ~4 posts before yours.
__________________
Reply With Quote
  #63  
Old 03-10-2013, 04:11 AM
Draenin Draenin is offline
Magnificent Bastard
Draenin's Avatar
Join Date: Dec 2004
Location: Bermuda Triangle
Posts: 6,790
Draenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud of
Send a message via AIM to Draenin Send a message via MSN to Draenin Send a message via Yahoo to Draenin
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.
Reply With Quote
  #64  
Old 03-10-2013, 10:16 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
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:
Reply With Quote
  #65  
Old 03-10-2013, 05:32 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by fowlplay4 View Post
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)'
sounds awesome! would love to see that happen
__________________
MEEP!
Reply With Quote
  #66  
Old 04-03-2013, 02:11 AM
Joshua_P2P Joshua_P2P is offline
Graal Developer
Joshua_P2P's Avatar
Join Date: Dec 2012
Posts: 74
Joshua_P2P is on a distinguished road
question does there have to be a npc in the level to use it or can it place npcs in a new level?
__________________
Keeping it real in Graal since 2010
Reply With Quote
  #67  
Old 04-03-2013, 02:38 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Joshua_P2P View Post
question does there have to be a npc in the level to use it
No.
__________________
Quote:
Reply With Quote
  #68  
Old 04-21-2013, 11:48 PM
iAxeis iAxeis is offline
Owner of GraalOnlineElite
Join Date: Nov 2012
Location: Scotland
Posts: 28
iAxeis is on a distinguished road
Very nice so flexible and easy to work with !
Reply With Quote
  #69  
Old 09-07-2013, 07:35 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
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:
function getVarValue(varinpc_script) {
  
// Find Variable
  
temp.aa npc_script.positions(vari);
  for (
temp.atemp.aa) {
    
// Check for Assignment
    
temp.npc_script.substring(temp.a);
    
temp.temp.s.pos("=");
    
temp.temp.s.pos(";");
    
// Make Sure Semi-Colon is After Assignment
    
if (temp.temp.c) {
      
// Ignore ""
      
if (temp.s.pos("\"\"") >= 0) return "";
      
// Determine Value
      
temp.temp.s.substring(temp.e+1);
      
temp.sc temp.s.pos(";");
      
temp.temp.s.substring(0, (temp.sc == -temp.s.length() : temp.sc));
      
temp.temp.s.trim();
      if (
temp.s.size() == 2) {
        
temp.s.delete(0);
        
temp.temp.s[0];
      }
      
// Remove Double-Quotes
      
while (temp.s.starts('"')) temp.temp.s.substring(0);
      while (
temp.s.ends('"')) temp.temp.s.substring(0,temp.s.length()-1);
      
// (0) White Color Fix
      
if (vari.starts("colors") && (temp.== "0")) {
        
temp."white";
      }
      
// Return Value
      
return temp.s;
    }
  }
  return 
NULL;

@Mods:

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.
Attached Files
File Type: txt olne.txt (38.7 KB, 804 views)
__________________
Quote:
Reply With Quote
  #70  
Old 09-07-2013, 09:05 PM
TSAdmin TSAdmin is offline
Forum Moderator
TSAdmin's Avatar
Join Date: Aug 2006
Location: Australia
Posts: 1,980
TSAdmin has much to be proud ofTSAdmin has much to be proud ofTSAdmin has much to be proud ofTSAdmin has much to be proud ofTSAdmin has much to be proud ofTSAdmin has much to be proud of
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
__________________
TSAdmin (Forum Moderator)
Welcome to the Official GraalOnline Forums! Where sharing an opinion may be seen as a declaration of war!
------------------------
· User Agreement · Code of Conduct · Forum Rules ·
· Graal Support · Administrative Contacts ·
Reply With Quote
  #71  
Old 09-07-2013, 11:28 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
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.
__________________
Quote:
Reply With Quote
  #72  
Old 02-19-2015, 03:22 PM
Alpho Alpho is offline
Registered User
Alpho's Avatar
Join Date: Dec 2011
Location: California, USA
Posts: 80
Alpho will become famous soon enough
Are any more updates coming to the NPC Editor?
Reply With Quote
  #73  
Old 04-14-2015, 09:00 PM
Alpho Alpho is offline
Registered User
Alpho's Avatar
Join Date: Dec 2011
Location: California, USA
Posts: 80
Alpho will become famous soon enough
Here's what I've done to the NPC Editor

Reply With Quote
  #74  
Old 04-20-2015, 08:35 PM
Draenin Draenin is offline
Magnificent Bastard
Draenin's Avatar
Join Date: Dec 2004
Location: Bermuda Triangle
Posts: 6,790
Draenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud of
Send a message via AIM to Draenin Send a message via MSN to Draenin Send a message via Yahoo to Draenin
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
Reply With Quote
  #75  
Old 04-22-2015, 03:03 PM
Alpho Alpho is offline
Registered User
Alpho's Avatar
Join Date: Dec 2011
Location: California, USA
Posts: 80
Alpho will become famous soon enough
Quote:
Originally Posted by Draenin View Post
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
That has happened to me before. Do this instead:
PHP Code:
function onCreated() {
  
this.join("foo_bar");

Reply With Quote
  #76  
Old 04-23-2015, 11:29 AM
Anero Anero is offline
Era iPhone PRA
Anero's Avatar
Join Date: Mar 2015
Location: Germany
Posts: 29
Anero is an unknown quantity at this point
Pretty useful tool. Thumbs up!
Reply With Quote
  #77  
Old 04-23-2015, 01:06 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
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?
__________________
Reply With Quote
  #78  
Old 04-23-2015, 06:08 PM
Tim_Rocks Tim_Rocks is offline
a true gentlemen
Tim_Rocks's Avatar
Join Date: Aug 2008
Location: USA
Posts: 1,863
Tim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to beholdTim_Rocks is a splendid one to behold
Notepad ++ ?
__________________
Reply With Quote
  #79  
Old 04-24-2015, 02:47 AM
Draenin Draenin is offline
Magnificent Bastard
Draenin's Avatar
Join Date: Dec 2004
Location: Bermuda Triangle
Posts: 6,790
Draenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud of
Send a message via AIM to Draenin Send a message via MSN to Draenin Send a message via Yahoo to Draenin
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.
Reply With Quote
  #80  
Old 04-24-2015, 02:32 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by Draenin View Post
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.
Yeah I know, but I want an in game notepad haha.

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


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