Author Topic: Show image after connection  (Read 3628 times)

xxxMDjxxx

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +0/-0
  • SS-division*game hosting
    • View Profile
Show image after connection
« on: March 26, 2011, 10:09:45 am »
Hi!
I tryed to make a script that shows a image while you are choosing classes(image.gif) not class image or something like that, just a predefined image on the server.

But welll, my code doesent work and... i dont know why since im not good(at all) at Squirrel code...

Could someone please have a look at it???
http://www.megaupload.com/?d=1YY4CSD9

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Show image after connection
« Reply #1 on: March 26, 2011, 10:58:00 am »
It may be because the image is "reklama.GIF" and not "reklama.gif"
Other then that it seems fine (Made a very very quick look)

xxxMDjxxx

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +0/-0
  • SS-division*game hosting
    • View Profile
Re: Show image after connection
« Reply #2 on: March 26, 2011, 11:29:24 am »
It may be because the image is "reklama.GIF" and not "reklama.gif"
Other then that it seems fine (Made a very very quick look)

Oh, good thing you noticed that... i dint se it before...
I changet that in main.nut but... nothing changed...

This script is running now on "Anticefur" server and anyone can try connecting... maybe it will work for someone (mirracles happen) my gues is that i messed up the code totaly and that my code is a pile of ****...

Or maybe if someone sees whats wrong i would reeeeealy apreciate that!! :D:D

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Show image after connection
« Reply #3 on: March 26, 2011, 11:50:36 am »

xxxMDjxxx

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +0/-0
  • SS-division*game hosting
    • View Profile
Re: Show image after connection
« Reply #4 on: March 26, 2011, 01:25:22 pm »
Try this: http://solidfiles.com/d/167a/download/


Huh, nope... doesent work...
maybe it doesent support gif files... ill try a png and tell if it works

----EDIT-------
Nope, changed everything to png and made a png image but still nothing...
Seems its code related trouble... Maybe this just cant be done???
« Last Edit: March 26, 2011, 01:37:33 pm by xxxMDjxxx »

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Show image after connection
« Reply #5 on: March 26, 2011, 10:18:44 pm »
Ofc it can, It's one of the simplest things to make. Try this: Clicky

xxxMDjxxx

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +0/-0
  • SS-division*game hosting
    • View Profile
Re: Show image after connection
« Reply #6 on: March 27, 2011, 10:17:14 am »
Ofc it can, It's one of the simplest things to make. Try this: Clicky


Nope, still nothing.... I was reading wiki now, and now im just confused...

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Show image after connection
« Reply #7 on: March 27, 2011, 02:53:31 pm »
It's your image, Try using an other image then it works perfectly fine. (Here it does atleast.)

xxxMDjxxx

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +0/-0
  • SS-division*game hosting
    • View Profile
Re: Show image after connection
« Reply #8 on: March 27, 2011, 05:50:53 pm »
It's your image, Try using an other image then it works perfectly fine. (Here it does atleast.)

Tried diferent picture and nothing... Could you upload the picture you trird with?

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Show image after connection
« Reply #9 on: March 27, 2011, 06:11:56 pm »
Any random image from google, I've used an png tho. But I know gif also works..

xxxMDjxxx

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +0/-0
  • SS-division*game hosting
    • View Profile
Re: Show image after connection
« Reply #10 on: March 27, 2011, 08:08:50 pm »
Any random image from google, I've used an png tho. But I know gif also works..

Well i dont get it... I tried random pngs and gifs from google but just doesent work... this is to fuckedup im getting a headache...

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Show image after connection
« Reply #11 on: March 27, 2011, 09:41:27 pm »
try setting the position to 1, 1

xxxMDjxxx

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +0/-0
  • SS-division*game hosting
    • View Profile
Re: Show image after connection
« Reply #12 on: March 28, 2011, 09:35:06 am »
!WORKS!:D:D:D:D YEEEEIIII :D:D:D
uff, thanx soo much...

this topic can be closted now...

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Show image after connection
« Reply #13 on: March 28, 2011, 04:55:55 pm »
Alright ;)

 

© Liberty Unleashed Team.