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
  #16  
Old 12-04-2004, 02:43 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 ZeroTrack
so to flame means to deny ones love for anther
I love how your stole my guild idea
[edit] I bet someone else had the idea first though. [/edit]

And yes.

Last edited by Slash-P2P; 12-04-2004 at 03:00 AM..
Reply With Quote
  #17  
Old 12-04-2004, 03:06 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by Slash-P2P
I bet someone else had the idea first though
Several people, probably. Including #gscript?
__________________
Reply With Quote
  #18  
Old 12-04-2004, 03:11 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 Kaimetsu
Several people, probably. Including #gscript?
Yeah. I got the idea from #gscript.

Who does the Guild Administration? My guild has had over 10 members for a while now and it still hasn't been activated.
Reply With Quote
  #19  
Old 12-04-2004, 03:14 AM
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 Slash-P2P
I love how your stole my guild idea
[edit] I bet someone else had the idea first though. [/edit]

And yes.
hehe you like that right =p haha it took ya long enough to catch it , i was a joke to yours =p

i made u guild sex-a-fied =D , btw u forgot playersays and toweapons silly slash haha
__________________

Reply With Quote
  #20  
Old 12-04-2004, 04:43 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 ZeroTrack
hehe you like that right =p haha it took ya long enough to catch it , i was a joke to yours =p

i made u guild sex-a-fied =D , btw u forgot playersays and toweapons silly slash haha
You dont post much so I didn't notice it fool.

I thought I said playersays? I checked my app thing. Yeah I said it. Foolio.
Reply With Quote
  #21  
Old 12-04-2004, 07:20 AM
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
so it does so it does <3
__________________

Reply With Quote
  #22  
Old 12-04-2004, 12:05 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
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
Like I said a long time ago, I thought scripters were calm and smart. :x
__________________
Reply With Quote
  #23  
Old 12-04-2004, 05:25 PM
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 Gerami
Like I said a long time ago, I thought scripters were calm and smart. :x
Its hard to keep calm when people post horrible scripts. I try to keep calm and help because I can remember when I sucked at scripting. I bet someones gonna post saying I still do suck.
Reply With Quote
  #24  
Old 12-04-2004, 07:55 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by Zickle
How do you get a NPC Gani to show online (with a npc).

I've tried setcharani and setcharprop.
I'll pretend I didn't see //#SERVERSIDE.

You were missing the line 'showcharacter;' which means that the script should be treated as a character and thus possess certain properties, one of which is animation.

Quote:
Originally Posted by Gerami
Like I said a long time ago, I thought scripters were calm and smart. :x
We are. You are just having some trouble recognizing who the scripters are.
Reply With Quote
  #25  
Old 12-05-2004, 02:05 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
This may be a problem with the folder config, since he can see sword.gani, but not his own?
__________________
-Kjetil Valen
Reply With Quote
  #26  
Old 12-05-2004, 05:33 PM
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
I think so too, the configuration is:

gani ganis/*.gani
gani levels/ganis/*.gani
__________________
Reply With Quote
  #27  
Old 12-05-2004, 11:43 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
I think so too, the configuration is:

gani ganis/*.gani
gani levels/ganis/*.gani
it just has to be

gani ganis/*.gani

and the rights to that folder should be

rw levels/ganis/*
__________________

Reply With Quote
  #28  
Old 12-07-2004, 01:57 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by ZeroTrack
it just has to be

gani ganis/*.gani

and the rights to that folder should be

rw levels/ganis/*
is it gani ganis/*.gani or just file ganis/*.gani ?
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #29  
Old 12-07-2004, 06:09 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 ApothiX
is it gani ganis/*.gani or just file ganis/*.gani ?
whoops my bad , its file ganis/*.gani
__________________

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 11:23 PM.


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