Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-03-2004, 05:53 AM
Zickle Zickle is offline
Awesome
Zickle's Avatar
Join Date: Dec 2002
Posts: 121
Zickle is on a distinguished road
Send a message via ICQ to Zickle Send a message via AIM to Zickle Send a message via MSN to Zickle Send a message via Yahoo to Zickle
Newbie Question: Ganis and NPC Server

How do you get a NPC Gani to show online (with a npc).

I've tried setcharani and setcharprop.
__________________
Reply With Quote
  #2  
Old 12-03-2004, 06:04 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
You're doing this serverside, I hope?
__________________
Reply With Quote
  #3  
Old 12-03-2004, 06:11 AM
Zickle Zickle is offline
Awesome
Zickle's Avatar
Join Date: Dec 2002
Posts: 121
Zickle is on a distinguished road
Send a message via ICQ to Zickle Send a message via AIM to Zickle Send a message via MSN to Zickle Send a message via Yahoo to Zickle
Quote:
Originally Posted by Kaimetsu
You're doing this serverside, I hope?
I wasn't. But I just tried it and it still didnt work.
__________________
Reply With Quote
  #4  
Old 12-03-2004, 06:15 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
setcharani should work fine. Post the relevant parts of the script.
__________________
Reply With Quote
  #5  
Old 12-03-2004, 06:18 AM
Zickle Zickle is offline
Awesome
Zickle's Avatar
Join Date: Dec 2002
Posts: 121
Zickle is on a distinguished road
Send a message via ICQ to Zickle Send a message via AIM to Zickle Send a message via MSN to Zickle Send a message via Yahoo to Zickle
Quote:
Originally Posted by Kaimetsu
setcharani should work fine. Post the relevant parts of the script.
NPC Code:
// NPC made by ZicklePop
//#SERVERSIDE
if (created) {
setcharani drball-idle,;
}

__________________
Reply With Quote
  #6  
Old 12-03-2004, 06:20 AM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
Quote:
Originally Posted by Zickle
NPC Code:
// NPC made by ZicklePop
//#SERVERSIDE
if (created) {
setcharani drball-idle,;
}

Your gonna get flamed for //#SERVERSIDE , which I might add does not exist (incase you didn't know).
Reply With Quote
  #7  
Old 12-03-2004, 06:24 AM
Zickle Zickle is offline
Awesome
Zickle's Avatar
Join Date: Dec 2002
Posts: 121
Zickle is on a distinguished road
Send a message via ICQ to Zickle Send a message via AIM to Zickle Send a message via MSN to Zickle Send a message via Yahoo to Zickle
Quote:
Originally Posted by Slash-P2P
Your gonna get flamed for //#SERVERSIDE , which I might add does not exist (incase you didn't know).
LOL! Thats why I never see it work!!! Thanks lol..
__________________
Reply With Quote
  #8  
Old 12-03-2004, 06:27 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Tried using a more conventional gani? Something that the client is guaranteed to have, like sword.gani or whatever?

Regarding //#SERVERSIDE: There is nothing particularly wrong about the line, as long as it is understood that it functions as a comment rather than a directive.
__________________
Reply With Quote
  #9  
Old 12-03-2004, 06:40 AM
Zickle Zickle is offline
Awesome
Zickle's Avatar
Join Date: Dec 2002
Posts: 121
Zickle is on a distinguished road
Send a message via ICQ to Zickle Send a message via AIM to Zickle Send a message via MSN to Zickle Send a message via Yahoo to Zickle
Quote:
Originally Posted by Kaimetsu
Tried using a more conventional gani? Something that the client is guaranteed to have, like sword.gani or whatever?

Regarding //#SERVERSIDE: There is nothing particularly wrong about the line, as long as it is understood that it functions as a comment rather than a directive.
That worked, but the Ganis don't work for me on anything on this server.. But this one I heard doesnt work for anyone.
__________________
Reply With Quote
  #10  
Old 12-03-2004, 06:47 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
If the common ganis work then it's not a scripting problem; the clients just don't have or can't display what you've made. Someone else can take over.
__________________
Reply With Quote
  #11  
Old 12-03-2004, 08:47 PM
Luigi203 Luigi203 is offline
Hamma Time
Luigi203's Avatar
Join Date: Mar 2003
Location: North East PA
Posts: 285
Luigi203 is on a distinguished road
Send a message via AIM to Luigi203
NPC Code:
if (created) {
showcharacter;
setcharani drball-idle,;
}



?!?!
__________________


CAUTION
Reply With Quote
  #12  
Old 12-03-2004, 09:05 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
Quote:
Originally Posted by Zickle
NPC Code:
// NPC made by ZicklePop
//#SERVERSIDE
if (created) {
setcharani drball-idle,;
}

*FLAMS!* .. what the duce is flamed slash =p haha anyways ,,, yea take that out ... please...
__________________

Reply With Quote
  #13  
Old 12-03-2004, 09:40 PM
Luigi203 Luigi203 is offline
Hamma Time
Luigi203's Avatar
Join Date: Mar 2003
Location: North East PA
Posts: 285
Luigi203 is on a distinguished road
Send a message via AIM to Luigi203
Quote:
Originally Posted by ZeroTrack
*FLAMS!* .. what the duce is flamed slash =p haha anyways ,,, yea take that out ... please...

To flame: kinda what Lance does to you every time you post
__________________


CAUTION
Reply With Quote
  #14  
Old 12-03-2004, 10:02 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
Quote:
Originally Posted by Luigi203
To flame: kinda what Lance does to you every time you post
so to flame means to deny ones love for anther
__________________

Reply With Quote
  #15  
Old 12-03-2004, 10:09 PM
Luigi203 Luigi203 is offline
Hamma Time
Luigi203's Avatar
Join Date: Mar 2003
Location: North East PA
Posts: 285
Luigi203 is on a distinguished road
Send a message via AIM to Luigi203
you're sick in the head man...
__________________


CAUTION
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:52 AM.


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