Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #46  
Old 10-06-2016, 05:17 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
Odd - we have this function which saved the level?
Attached Thumbnails
Click image for larger version

Name:	piceditor.png
Views:	124
Size:	164.2 KB
ID:	55946  
__________________
Reply With Quote
  #47  
Old 10-07-2016, 01:18 AM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 19,993
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Send a message via AIM to Crono
Quote:
Originally Posted by xAndrewx View Post
Odd - we have this function which saved the level?
off topic but i like the other guy's walk sprite

edit: aw man i just zoomed in and noticed it's prob just an idle animation after you punch or something
__________________
Reply With Quote
  #48  
Old 10-07-2016, 05:15 AM
Kamaeru Kamaeru is offline
Sandinista!
Kamaeru's Avatar
Join Date: Dec 2001
Posts: 1,040
Kamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud of
Quote:
Originally Posted by xAndrewx View Post
Odd - we have this function which saved the level?
Here's what I'm looking at.



There was no 1.4 version of this available on the links in this thread that I saw, maybe that's the issue? Also no update button, just a save button that appears to not work. Thanks for helping, if I can get this to work it will save me a ton of time and I can get all of the level work finished practically by myself.
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	294
Size:	107.2 KB
ID:	55947  
__________________
3DS friendcode: 1118-0226-7975
Reply With Quote
  #49  
Old 10-07-2016, 07:33 AM
Kamaeru Kamaeru is offline
Sandinista!
Kamaeru's Avatar
Join Date: Dec 2001
Posts: 1,040
Kamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud of
Now I've updated the script to 1.4 and I have the update level option. Still having problems. Now when I try to update the level it tells me that I haven't given the npcserver proper rights, even though I have.
__________________
3DS friendcode: 1118-0226-7975
Reply With Quote
  #50  
Old 10-07-2016, 10:56 AM
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
I had to re-script this function for it to work -

HTML Code:
function getLevelFilePath(temp.levelName) {
  temp.path = findfiles(temp.levelName, 1);
  if (temp.path == null) return;

  return temp.path[0].substring(7);


    /*  -- OLD 
  temp.fileList = {};
  temp.fileList.loadfolder("levels/*", 1);
  for (temp.filePath: temp.fileList) {
    temp.fileName = extractfilename(temp.filePath);
    if (temp.fileName == temp.levelName) {
      return temp.filePath;
    }
  }
  return NULL;
    */
}
__________________
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 08:07 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.