Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   putnewcomp (https://forums.graalonline.com/forums/showthread.php?t=26030)

SaijinGohan 03-21-2002 07:48 AM

putnewcomp
 
I can't seem to really figure this out. Everything works fine except the putnewcomp. It works fine in offline mode but when it is on a p2p server it doesnt work. As it is it does nothing, put #CLIENTSIDE before it and it disconnects me with that illegal info crap. What do I do? It isnt a graphic problem cause I added setimg to it and it showed the proper image for the baddies so, the images are on the server but baddies WILL NOT SHOW. Please help. Heres the script:

// NPC made by SaijinGohan
if (created || initialized){
putnewcomp lizardon,42,58,norin_forestbaddy.png,5;
putnewcomp lizardon,56,50,norin_forestbaddy.png,5;
putnewcomp lizardon,51,18,norin_forestbaddy.png,5;
putnewcomp octopus,36,44,norin_forestspider.png,5;
putnewcomp octopus,56,37,norin_forestspider.png,5;
putnewcomp octopus,60,14,norin_forestspider.png,5;
}
//#CLIENTSUDE
if (created) {
seteffect 0,.1,0,0.44;
setmap norin-baddyrealm1_bigmap.png,norin_baddyrealm1.txt,mapx, mapy;
}

Python523 03-21-2002 09:16 AM

try giving the npc an image and using hide; to hide the image

Spanko 03-21-2002 08:16 PM

Perhaps it doesn't work on P2P servers?

SaijinGohan 03-21-2002 08:38 PM

Quote:

Maybe it's deprecated.
I hope not.

Quote:

Perhaps it doesn't work on P2P servers?
It has to!

Quote:

try giving the npc an image and using hide; to hide the image
Nope. =/

SaijinGohan 03-22-2002 08:22 AM

Ok Stefan said it was impossible for putnewcomp on a p2p server and that you must make a whole new baddy, which stinks, but oh well.

SaijinGohan 03-23-2002 06:01 AM

Quote:

And you'd rather use clientside baddies? Some P2P scripter you are...
Hey I am not the best, but I shure as heck am not stupid.

nyghtGT 03-23-2002 12:02 PM

Quote:

Originally posted by SaijinGohan
Ok Stefan said it was impossible for putnewcomp on a p2p server and that you must make a whole new baddy, which stinks, but oh well.
that crappy cave quest on andor has old fashioned baddies, right ?


All times are GMT +2. The time now is 08:42 AM.

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