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 02-17-2004, 07:27 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Showimg serverside

So what's up with this? I didn't notice it ever happening before...

I thought showimg's with an index of 200 or less, were supposed to show serverside... But, they aren't?

No matter what I do, I can't get a showimg under index 200 to show serverside. (for all players)

If I try showimg serverside, nothing shows up. If I try showimg clientside, it shows up for the client, but not everyone else.

What's up?
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #2  
Old 02-17-2004, 12:31 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
I've had problems showing an animated GIF serverside. I don't know why, maybe try to turn it into MNG if it's a GIF?
__________________
-Kjetil Valen
Reply With Quote
  #3  
Old 02-17-2004, 03:39 PM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
I didnt think showimg worked serverside, although i have heard that only pngs work serverside with showimg.
Reply With Quote
  #4  
Old 02-17-2004, 04:08 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Re: Showimg serverside

Quote:
Originally posted by konidias
So what's up with this? I didn't notice it ever happening before...

I thought showimg's with an index of 200 or less, were supposed to show serverside... But, they aren't?

No matter what I do, I can't get a showimg under index 200 to show serverside. (for all players)

If I try showimg serverside, nothing shows up. If I try showimg clientside, it shows up for the client, but not everyone else.

What's up?
Isn't the index suppose to be 50 and below, with the excluding of 0? I tried doing showtext serverside, but didn't work. Then I switched to showimg with an index of 19 and it worked fine.
__________________
Reply With Quote
  #5  
Old 02-17-2004, 05:11 PM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Re: Re: Showimg serverside

Quote:
Originally posted by ZeLpH_MyStiK

Isn't the index suppose to be 50 and below, with the excluding of 0? I tried doing showtext serverside, but didn't work. Then I switched to showimg with an index of 19 and it worked fine.
Nah it's 200 and below, Stefan has mentioned it a lot. 200 and below is supposed to show for everyone. Maybe it's the png thing, I might have to try that, all the stuff I was using was gif.

edit: nope, don't think it has to do with being .png... still isn't working.
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #6  
Old 02-17-2004, 05:51 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
That's strange, I've always gotten showimg to work serverside with non-animated files...Test with block.png and see if the same thing happens.
__________________
-Kjetil Valen
Reply With Quote
  #7  
Old 02-17-2004, 07:43 PM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
I too have been confused by showimg's and how exactly they are shown either serverside or just clientside or clientside to all viewing (Such as ganis).
I would like how they are shown in all cases to be better verified because it is a little confusing and showimg / showtext are important factors in gameplay.

Showimg 200- and 200+ with a serverside npc
Showimg 200- and 200+ with a clientside npc
Showimg 200- and 200+ with a clientnpc inside of a gani shown by the player and shown by the npc
Could someone more close to the situation explain who see's what in everyone sees with each of these conditions?
Im pretty sure with a few but I thought I'd show most of the conditions anyways. Thanks
__________________

To the sun of your age, I arise
Reply With Quote
  #8  
Old 02-17-2004, 09:58 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
I allways thought 200- would show for everyone to, I'm pretty sure it is 200-..
__________________
V$:CONFL16T
Reply With Quote
  #9  
Old 02-17-2004, 11:03 PM
MarkB MarkB is offline
Sparked.
MarkB's Avatar
Join Date: Jun 2003
Location: Archaic
Posts: 881
MarkB is on a distinguished road
Twusk knows how it goes. We had problem showing gif images serverside with showimg. When converted to PNG they work fine.
__________________


Graal Kingdoms Event Master
I am tired to wake up the morning to see the forum going each day worst and worst because of a few people trying to ruin this forums. If you don't play any more Graal neither like the managment then what are you doing there ? I will not let anyone ruin the friendship of the community, we are there to have fun and not to have stress ! If you have bad energy to spend against something, then take a punching ball. This is the Third time i warn to not continue this way, so the next step will be to put out of the community trouble makers. -Unixmad

My point of view is your tooth are not big enough to hit me because if it were you will have eaten me since a while. Personaly i will never eat you because it will really taste bad. -Unixmad
Reply With Quote
  #10  
Old 02-18-2004, 12:21 AM
DarkShadows_Legend DarkShadows_Legend is offline
Cult of the Winky
DarkShadows_Legend's Avatar
Join Date: Apr 2003
Location: Florida
Posts: 614
DarkShadows_Legend is on a distinguished road
Send a message via AIM to DarkShadows_Legend
.gif images don't work at all for me when I use it with setimg or showimg. When I search for the files in RC I get the problem file not found even if it is there in the folder.
As for images I know that 200+ shows only for the current player clientside and 199- shows for all players.

Serverside I don't know. You'll just have to test them. I do know that showimg does work serverside.
__________________
- Criminal X

"I rather be hated for being myself, than be liked for being what you like best. I go above the influence, not under." - Me
Reply With Quote
  #11  
Old 02-18-2004, 02:23 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
Clientside scripts with a showimg below 200 is shown to all players. As for a showimg on the server, I doubt that's be able to work all too well. I haven't tested it, however I wouldn't think it would be the most effective solution none-the-less.
__________________
- Rance Vicious
Reply With Quote
  #12  
Old 02-18-2004, 02:31 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
On the contrary serverside showimg does work, although showtext doesnt work for some reason. =\ I think its just the buggy npcserver...wait until tomorrow and see if it works xD
__________________
Reply With Quote
  #13  
Old 02-18-2004, 04:02 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Okay, I've tested it all out, and here is my results:

I made an npc on a level, and made a showimg with an index under 200, serverside. This shows up for everyone. This is the only way it shows up, you can't do it clientside, you can't use an index over 200.

Next, the image had to be a png. I don't know why, but gif wasn't working, but when I turned it into png, it worked.

Finally, and most importantly. The image x,y can only be a solid value, or a half. Like 1, 1.5, 2, 2.5, 3, 3.5, 4... and so on. You can't do a serverside showimg with an x position of 1.3. It will set the image to the closest rounded off position. (1 or 1.5) So you can't really have precise x,y display.

So to sum it up, you can use showimg serverside, if you follow the below guidelines:

1. the image is png
2. the showimg is serverside (not under //#CLIENTSIDE part)
3. the image index is under 200

However there is one exception. I believe that you can use showimg under 200 clientside, if it's inside a weapon. I'm pretty sure of it, but somebody correct me if I'm mistaken.
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #14  
Old 02-18-2004, 10:10 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
.PNG don't work for me, only .GIF do
__________________
V$:CONFL16T
Reply With Quote
  #15  
Old 02-19-2004, 12:46 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by konidias
Finally, and most importantly. The image x,y can only be a solid value, or a half. Like 1, 1.5, 2, 2.5, 3, 3.5, 4... and so on. You can't do a serverside showimg with an x position of 1.3. It will set the image to the closest rounded off position. (1 or 1.5) So you can't really have precise x,y display.
This isn't unique to showimgs, it happens with NPC and player coordinates as well. I've griped all I can at Stefan about this... I just hope he actually makes it more accurate.
__________________
Kat
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 09:02 AM.


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