Coding

 Reply to this postStart new topic

Playing Videos via SCM

DK22
post Jul 16 2011, 06:55 AM
Post #21


Member

Posts: 197
From: Liberty City, Shoreside
Joined: 15-July 10



Still have the same problem, even with this ^^ code.
I haven't error information. cause it just becomes to black screen, then when I go to Windows, I see the dialog window with "gta_sa.exe was stopped......."
Go to the top of the page
 
+Quote Post
Arijit Sen
post Jan 23 2013, 12:57 PM
Post #22


Trained Member

Posts: 85
Joined: 21-September 12



*BUMP*

I tried the following script but only the sound was heard the video wasn't rendered :
CODE
{$cleo}
0000:
wait 1000


while true
    wait 0
      
                                                                                                                      
    if
        0AB0:  key_pressed 9      
    then
0A8D: 10@ = read_memory 0xBA6814 size 1 virtual_protect 0
0AA5: call 0x7F8A90 num_params 1 pop 1 1
wait 1000    
0A8C: write_memory 0xB5F852 size 1 value 1 virtual_protect 0
0A8C: write_memory 0x748BC5 size 2 value 0x13C virtual_protect 1
0AA5: call 0x747660 num_params 2 pop 2 "movies\\intro.avi" 0
0A8C: write_memory 0xC8D4C0 size 1 value 4 virtual_protect 0
003D:
0AA5: call 0x746740 num_params 0 pop 0
0A8C: write_memory 0xBA677B size 1 value 0 virtual_protect 0
0A8C: write_memory 0xB5F852 size 1 value 0 virtual_protect 0

while true
wait 0
0A8D: 0@ = read_memory 0xB5F852 size 1 virtual_protect 0
if
0@ == 0
then
0AA5: call 0x7F8A90 num_params 1 pop 1 10@
0A93:
end

end

//0A93:
    end
    
    if
        0AB0:  key_pressed 16      
    then
    
wait 600
    end
    
    
end


Can someone tell me wat's wrong with it ..I saw the script some pages back but it isn't working..!!


--------------------
Go to the top of the page
 
+Quote Post
Silent
post Jan 23 2013, 02:03 PM
Post #23


The master of cut retort

Group Icon

Posts: 239
From: Warsaw, PL
Joined: 21-July 10



San Andreas video player just sucks. It's works so random so you can't predict whether it will work or not.
Go to the top of the page
 
+Quote Post
Deji
post Jan 23 2013, 07:55 PM
Post #24


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



The method I first posted worked for me consistently, but only on one of my EXE versions, it seems (either hoodlum's or listener's). But I figured 1.01 would have more chance of working after R*'s fixes.


--------------------
Go to the top of the page
 
+Quote Post
Silent
post Jan 23 2013, 08:32 PM
Post #25


The master of cut retort

Group Icon

Posts: 239
From: Warsaw, PL
Joined: 21-July 10



Or better yet, ditch SA video player and replace it with BINK tongue.gif
Go to the top of the page
 
+Quote Post
Arijit Sen
post Jan 24 2013, 02:16 AM
Post #26


Trained Member

Posts: 85
Joined: 21-September 12



Hmm..Then let's replace SA video player with VLC ..tongue.gif


--------------------
Go to the top of the page
 
+Quote Post
Silent
post Jan 24 2013, 04:07 PM
Post #27


The master of cut retort

Group Icon

Posts: 239
From: Warsaw, PL
Joined: 21-July 10



BINK does the trick better.

http://youtu.be/Gi-gn_Mrl9E

http://youtu.be/hJ-E0p_2CuA
Go to the top of the page
 
+Quote Post
Deji
post Jan 24 2013, 07:20 PM
Post #28


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



'Live TV' code in play there? smile.gif


--------------------
Go to the top of the page
 
+Quote Post
LINK/2012
post Jan 24 2013, 10:05 PM
Post #29


I will kill you

Posts: 126
Joined: 13-May 11



You don't have any trouble by using BINK without a license?
Go to the top of the page
 
+Quote Post
Arijit Sen
post Jan 25 2013, 01:35 AM
Post #30


Trained Member

Posts: 85
Joined: 21-September 12



Guys this ain't a question game..Or is it ?


--------------------
Go to the top of the page
 
+Quote Post
Silent
post Jan 25 2013, 03:58 PM
Post #31


The master of cut retort

Group Icon

Posts: 239
From: Warsaw, PL
Joined: 21-July 10



QUOTE (Deji @ Jan 24 2013, 08:20 PM) *
'Live TV' code in play there? smile.gif


No.

QUOTE (LINK2012 @ Jan 24 2013, 11:05 PM) *
You don't have any trouble by using BINK without a license?


No.

QUOTE (Arijit Sen @ Jan 25 2013, 02:35 AM) *
Guys this ain't a question game..Or is it ?


No.

To sum up, (No)^3.
Go to the top of the page
 
+Quote Post
Wesser
post Jan 25 2013, 06:55 PM
Post #32


The Assistant

Posts: 84
From: Matera, IT
Joined: 16-June 11



No, it's (No) * 3. Now we have just reached x4 multiplier. tongue.gif
Go to the top of the page
 
+Quote Post
Silent
post Jan 25 2013, 10:29 PM
Post #33


The master of cut retort

Group Icon

Posts: 239
From: Warsaw, PL
Joined: 21-July 10



No Wess, it's now (No)^5.

/* No's from here not gonna be counted:
x * x * x * x * x = x^5, so
N * o * N * o * N * o * N * o * N * o = N^5 * o^5 = (No)^5

Easy, isn't it? tongue.gif */

Got an answer to GTAF message yet?
Go to the top of the page
 
+Quote Post
Wesser
post Jan 26 2013, 04:11 PM
Post #34


The Assistant

Posts: 84
From: Matera, IT
Joined: 16-June 11



QUOTE (Silent @ Jan 25 2013, 11:29 PM) *
No, it's now (No)^5.

/* Math brainteaser */

Actually, you didn't say as many NOs as your computations. However, it depends on how we wanna interpret it. tongue.gif

QUOTE (Silent @ Jan 25 2013, 11:29 PM) *
Got an answer to GTAF message yet?

Sure, I'll reply in the free time. thumbsup.gif

EOOT (End Of Off Topic).
Go to the top of the page
 
+Quote Post
Arijit Sen
post Jan 27 2013, 11:43 AM
Post #35


Trained Member

Posts: 85
Joined: 21-September 12



Well now I understand why it is advised not to BUMP Old topics..Anyways let's be ontopic ..
And try if we can get able to play videos in SA,..But I guess SA really needs BINK or any alternative..tongue.gif


--------------------
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: