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 01-28-2011, 07:55 PM
Toxen Toxen is offline
A Toxic Fellow
Join Date: Jan 2008
Location: Georgia
Posts: 36
Toxen is on a distinguished road
GUI Flash Help!

Alright, Well I have my gui flash , and what i'm trying to do is use the gui flash to have a tinychat working in graal, problem is it trys to load the .swf file but the connection cant happen, is their anyway that I can make it work so their is a connection between the server or no?
__________________
UN NAT.
Reply With Quote
  #2  
Old 01-28-2011, 11:17 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Show us how you're implementing it. Just downloading the swf file and playing it won't work.

There's also probably some unknown Graal limitations preventing it from working anyway.
__________________
Quote:
Reply With Quote
  #3  
Old 01-28-2011, 11:23 PM
Fulg0reSama Fulg0reSama is offline
Extrinsical Anomaly
Fulg0reSama's Avatar
Join Date: Sep 2009
Location: Ohio
Posts: 3,049
Fulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant future
Quote:
Originally Posted by fowlplay4 View Post
Show us how you're implementing it. Just downloading the swf file and playing it won't work.

There's also probably some unknown Graal limitations preventing it from working anyway.
Iunno man, back on N-Pulse Downsider was able to write a youtube video viewer NPC. You just put in the name of the video serial at the end of a link and you could watch it from the NPC.
__________________

Careful, thoughts and opinions here scare people.
Reply With Quote
  #4  
Old 01-28-2011, 11:37 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
This might help.
__________________
Reply With Quote
  #5  
Old 01-29-2011, 03:34 AM
Toxen Toxen is offline
A Toxic Fellow
Join Date: Jan 2008
Location: Georgia
Posts: 36
Toxen is on a distinguished road
Quote:
cbk1994 This might help.
That is basically what i used to start it out :O i was going to personalize it really once i started to get it to run but, I hit a wall.
PHP Code:
function onWeaponFired() {
  
this.active = !this.active;
  if (
this.active) {
    
Flash_Movie.destroy();
    
Flash_Loader.destroy(); 
  }else{
    
Flash_Movie.destroy();
    
Flash_Loader.destroy();
    
    new 
GuiFlash"Flash_Movie" ) {
      
width 500;
      
height 400;
      
= ( screenwidth width ) / 2;
      
= ( screenheight height ) / 2;
      
requiresactivex false;
      
requiresplugin false;
      
tryactivex true;
      
tryplugin true;
      
loopmovie false;
      
downloadwebfiles true;
      
moviename "http://tinychat.com/tinychat.swf";
    }
  
    new 
GuiFlash"Flash_Loader" ) {
      
Flash_Movie.x;
      
Flash_Movie.y;
      
width Flash_Movie.width;
      
height Flash_Movie.height;
      
requiresactivex false;
      
requiresplugin false;
      
tryactivex true;
      
tryplugin true;
      
loopmovie false;
      
downloadwebfiles true;
      
moviename "http://tinychat.com/tinychat.swf";
    }
  
   
sleep);
   
Flash_Loader.destroy();
  } 

Both gui flashes are both have the same link to it aswell, but the error i recieve from the tinychat once it plays is
"Connection failed.
Please check you network and proxy settings."

Any clue?
__________________
UN NAT.
Reply With Quote
  #6  
Old 01-29-2011, 03:52 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
There's probably some variables and values that need to be set as well.

Take a gander at: http://tinychat.com/developer/ and see if you can find anything.

Quote:
Originally Posted by Fulg0reSama View Post
Iunno man, back on N-Pulse Downsider was able to write a youtube video viewer NPC. You just put in the name of the video serial at the end of a link and you could watch it from the NPC.
It's quite possible that it only allows communication via port 80 which should be enough to stream/download the flv files but this is just my speculation.
__________________
Quote:

Last edited by fowlplay4; 01-29-2011 at 04:02 AM..
Reply With Quote
  #7  
Old 01-29-2011, 04:02 AM
Toxen Toxen is offline
A Toxic Fellow
Join Date: Jan 2008
Location: Georgia
Posts: 36
Toxen is on a distinguished road
@ fowlplay4 , I've been actually looking at that stuff, and to my understanding but this is just a guess, but i think it might be because the gui flash player just grabs the file and plays it theirs not really a connection or anything going back to it.
__________________
UN NAT.
Reply With Quote
  #8  
Old 01-29-2011, 04:09 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Which client are you using?
__________________
Quote:
Reply With Quote
  #9  
Old 01-29-2011, 04:11 AM
Toxen Toxen is offline
A Toxic Fellow
Join Date: Jan 2008
Location: Georgia
Posts: 36
Toxen is on a distinguished road
v5 , should I try v6? I mean I don't think it wld be able to be done D:
__________________
UN NAT.
Reply With Quote
  #10  
Old 01-29-2011, 04:14 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Toxen View Post
v5 , should I try v6? I mean I don't think it wld be able to be done D:
I think V6 is just as broken as far as Flash is concerned. All I see right now is some HTML.
__________________
Quote:
Reply With Quote
  #11  
Old 01-29-2011, 04:16 AM
Toxen Toxen is offline
A Toxic Fellow
Join Date: Jan 2008
Location: Georgia
Posts: 36
Toxen is on a distinguished road
wait a second, graal can take html in someway?
__________________
UN NAT.
Reply With Quote
  #12  
Old 01-29-2011, 04:28 AM
Fulg0reSama Fulg0reSama is offline
Extrinsical Anomaly
Fulg0reSama's Avatar
Join Date: Sep 2009
Location: Ohio
Posts: 3,049
Fulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant future
Quote:
Originally Posted by Toxen View Post
wait a second, graal can take html in someway?
Yeah O.o
__________________

Careful, thoughts and opinions here scare people.
Reply With Quote
  #13  
Old 01-29-2011, 04:41 AM
Toxen Toxen is offline
A Toxic Fellow
Join Date: Jan 2008
Location: Georgia
Posts: 36
Toxen is on a distinguished road
Okay Where could I put like an html code and it would work, in a guimltextctrl?
__________________
UN NAT.
Reply With Quote
  #14  
Old 01-29-2011, 05:00 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
isnt it just like
PHP Code:
text "<center>here you should be able to write your stuff :D</center>"
what you have to add there?
Reply With Quote
  #15  
Old 01-29-2011, 05:08 AM
Toxen Toxen is offline
A Toxic Fellow
Join Date: Jan 2008
Location: Georgia
Posts: 36
Toxen is on a distinguished road
Tryed that, well i tryed using an html object with a bunch of variables but I could not get it to work without rc giving me errors .
__________________
UN NAT.
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 02:22 PM.


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