Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-31-2002, 05:40 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
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....
Reply With Quote
  #2  
Old 03-31-2002, 09:25 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
...

this should be in like future improvements, or scripting forum.
And usually ppl make gani's with mng files, (like my pet NPC)
__________________
maximus_asinus
Reply With Quote
  #3  
Old 03-31-2002, 03:10 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: ...

Quote:
Originally posted by darkriders_p2p
this should be in like future improvements, or scripting forum.
And usually ppl make gani's with mng files, (like my pet NPC)
I don't think I've ever seen a gani made with an mng, most of the use .png files
Reply With Quote
  #4  
Old 03-31-2002, 04:08 PM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
Re: ...

Quote:
Originally posted by darkriders_p2p
this should be in like future improvements, or scripting forum.
And usually ppl make gani's with mng files, (like my pet NPC)
uh no its a bug. MNGs should work with setimg... Im not suposed to use gifs....
Reply With Quote
  #5  
Old 04-01-2002, 04:40 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
?

Lookit the rat. That uses mngs. It works fine.

Lemme take a look at your script...
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #6  
Old 04-01-2002, 02:06 PM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
NPC Code:

if(created){
this.item = 10;
setstring this.layer,#a;
setshape 1,48,48;
setimg andor_hat#v(this.item).mng;
}
if (playertouchsme) {
hatc = strtofloat(#s(hatc#v(this.item)))+1;
setstring client.hatc#v(this.item),#v(hatc);
savelog2 hat-log.txt, +hat: #v(this.item) at (x,y) in #L from #s(this.layer);
destroy;
}



this is a server side script...... IT NO WORKIE!!!!
Reply With Quote
  #7  
Old 04-02-2002, 03:19 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
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;
}
Reply With Quote
  #8  
Old 04-02-2002, 07:15 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
DUH!!!!!!! I need it to work with MNG!!!! not png >=\
Reply With Quote
  #9  
Old 04-02-2002, 07:22 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
mng files worked for me when I tried it =/
Reply With Quote
  #10  
Old 04-02-2002, 10:56 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
Like i said its server side. duh
Reply With Quote
  #11  
Old 04-02-2002, 02:23 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
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;
}
Reply With Quote
  #12  
Old 04-03-2002, 06:35 AM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight
Quote:
Originally posted by Python523
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;
}
Yes that script works.

Bhala, you're NPC Admin on Andor? What are their standards?
Reply With Quote
  #13  
Old 04-03-2002, 09:09 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by Neonight


Yes that script works.

Bhala, you're NPC Admin on Andor? What are their standards?
LOL
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #14  
Old 04-04-2002, 01:33 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
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.
__________________
Eric Kraft
Reply With Quote
  #15  
Old 04-04-2002, 05:42 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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
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 08:01 PM.


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