![]() |
showimg/changeimgpart & mng
showimg/changeimgpart do NOT work with MNGs which makes me mad. If they do work & my scripts are just messed let me know but ive tryed every thing & they never workd....
|
...
this should be in like future improvements, or scripting forum.
And usually ppl make gani's with mng files, (like my pet NPC) |
Re: ...
Quote:
|
Re: ...
Quote:
|
?
Lookit the rat. That uses mngs. It works fine. Lemme take a look at your script... |
NPC Code: this is a server side script...... IT NO WORKIE!!!! |
try this, just edit it to get the andor hat stuff, I had to change it to work it offline since I don't have those graphics
if(created){ this.item = 10; setstring this.layer,#a; setshape 1,48,48; setimg hat#v(this.item).png; setimgpart hat#v(this.item).png,40,0,60,50; } if (playertouchsme) { setstring client.hatc#v(this.item),#v(strtofloat(#s(client.h atc#v(this.item)))+1); savelog2 hat-log.txt, +hat: #v(this.item) at (x,y) in #L from #s(this.layer); destroy; } |
DUH!!!!!!! I need it to work with MNG!!!! not png >=\
|
mng files worked for me when I tried it =/
|
Like i said its server side. duh
|
I'm guessing that this is a Join-Class? Just make part of it clientsided
if(created){ this.item = 10; setstring this.layer,#a; setshape 1,48,48; } if (playertouchsme) { setstring client.hatc#v(this.item),#v(strtofloat(#s(client.h atc#v(this.item)))+1); savelog2 hat-log.txt, +hat: #v(this.item) at (x,y) in #L from #s(this.layer); destroy; } //#CLIENTSIDE if(created){ setimg andor_hat#v(this.item).mng; setimgpart andor_hat#v(this.item).mng,40,0,60,50; } |
Quote:
Bhala, you're NPC Admin on Andor? What are their standards? x_x |
Quote:
|
What I'm guessing you're doing wrong is that you didn't upload the MNG file into the proper location... in RC use the /find command and see if it could find your hat file. If it can't find it, then the folder the image is in isn't accessable from the *******, only FTP, so you would need to change the folder setup or move the file.
|
Yes, just check the folder configuration of the server
(upper left button in the RC), it must allow the image you want to set, may be add a *.mng for the image folder |
Another simple solution would be to rename the
image to png, graal doesn't care, it reads the file type (first 8 characters) to know the real type. |
| All times are GMT +2. The time now is 04:52 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.