Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Newbie Question: Ganis and NPC Server (https://forums.graalonline.com/forums/showthread.php?t=56281)

Zickle 12-03-2004 05:53 AM

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.

Kaimetsu 12-03-2004 06:04 AM

You're doing this serverside, I hope?

Zickle 12-03-2004 06:11 AM

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.

Kaimetsu 12-03-2004 06:15 AM

setcharani should work fine. Post the relevant parts of the script.

Zickle 12-03-2004 06:18 AM

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,;
}


Slash-P2P 12-03-2004 06:20 AM

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).

Zickle 12-03-2004 06:24 AM

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.. >_<

Kaimetsu 12-03-2004 06:27 AM

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.

Zickle 12-03-2004 06:40 AM

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.

Kaimetsu 12-03-2004 06:47 AM

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.

Luigi203 12-03-2004 08:47 PM

NPC Code:
if (created) {
showcharacter;
setcharani drball-idle,;
}



?!?!

ZeroTrack 12-03-2004 09:05 PM

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...

Luigi203 12-03-2004 09:40 PM

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 :D

ZeroTrack 12-03-2004 10:02 PM

Quote:

Originally Posted by Luigi203
To flame: kinda what Lance does to you every time you post :D

so to flame means to deny ones love for anther ;) >_<

Luigi203 12-03-2004 10:09 PM

you're sick in the head man...

Slash-P2P 12-04-2004 02:43 AM

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.

Kaimetsu 12-04-2004 03:06 AM

Quote:

Originally Posted by Slash-P2P
I bet someone else had the idea first though

Several people, probably. Including #gscript?

Slash-P2P 12-04-2004 03:11 AM

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.

ZeroTrack 12-04-2004 03:14 AM

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

Slash-P2P 12-04-2004 04:43 AM

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.

ZeroTrack 12-04-2004 07:20 AM

so it does so it does <3

Crono 12-04-2004 12:05 PM

Like I said a long time ago, I thought scripters were calm and smart. :x

Slash-P2P 12-04-2004 05:25 PM

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.

Lance 12-04-2004 07:55 PM

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.

VeX_RaT_Boy 12-05-2004 02:05 PM

This may be a problem with the folder config, since he can see sword.gani, but not his own?

Zickle 12-05-2004 05:33 PM

I think so too, the configuration is:

gani ganis/*.gani
gani levels/ganis/*.gani

ZeroTrack 12-05-2004 11:43 PM

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/*

ApothiX 12-07-2004 01:57 PM

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 ?

ZeroTrack 12-07-2004 06:09 PM

Quote:

Originally Posted by ApothiX
is it gani ganis/*.gani or just file ganis/*.gani ?

whoops my bad , its file ganis/*.gani


All times are GMT +2. The time now is 05:24 AM.

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