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-09-2007, 07:10 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
MP3 Problem

I want to use some mp3s on a server and uploaded it into our sounds folder, but it just gives a console error that it could not be found when I try to play it.

NPC Code:
//#CLIENTSIDE
function onCreated() {
play("forest2.mp3");
}

Reply With Quote
  #2  
Old 01-09-2007, 08:33 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Crow View Post
I want to use some mp3s on a server and uploaded it into our sounds folder, but it just gives a console error that it could not be found when I try to play it.

NPC Code:
//#CLIENTSIDE
function onCreated() {
play("forest2.mp3");
}

/find forest2.mp3 in rc chat

do it return like not downloadable or something?
__________________
Reply With Quote
  #3  
Old 01-09-2007, 09:09 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
It is downloadable :/
Reply With Quote
  #4  
Old 01-09-2007, 09:15 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
hmm, when I am thinking of it, uploading .wav to levels/sounds/ don't always work :[
__________________
Reply With Quote
  #5  
Old 01-09-2007, 09:31 PM
pig132 pig132 is offline
professional troll
Join Date: May 2006
Posts: 260
pig132 will become famous soon enough
Is .mp3 in your folder config?
Reply With Quote
  #6  
Old 01-09-2007, 09:49 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by pig132 View Post
Is .mp3 in your folder config?
Already checked that, yes it is.
Reply With Quote
  #7  
Old 01-09-2007, 10:12 PM
pig132 pig132 is offline
professional troll
Join Date: May 2006
Posts: 260
pig132 will become famous soon enough
Hm..convert it to wav then? If not, not sure why.
Reply With Quote
  #8  
Old 01-09-2007, 10:22 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by pig132 View Post
Hm..convert it to wav then? If not, not sure why.
Would be 16mb after converting -_-
Reply With Quote
  #9  
Old 01-09-2007, 10:38 PM
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
Maximum download size on regular gservers is 1MByte for a single file. Only the login-servers and Graal3D are allowed to send bigger files.
Reply With Quote
  #10  
Old 01-10-2007, 12:49 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Quote:
Originally Posted by Stefan View Post
Maximum download size on regular gservers is 1MByte for a single file. Only the login-servers and Graal3D are allowed to send bigger files.
If I wanted could I pay a little more for the ability for bigger files?
__________________
Deep into the Darkness peering...
Reply With Quote
  #11  
Old 01-10-2007, 03:57 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Stefan View Post
Maximum download size on regular gservers is 1MByte for a single file. Only the login-servers and Graal3D are allowed to send bigger files.
Kinda stupid in my opinion, because converting to midi is impossible and converting to wav makes it even bigger...I could upload it to my VIP webhosting, but the configuration suxx and it always fails to upload a file thats bigger then 1mb...
Reply With Quote
  #12  
Old 01-12-2007, 10:32 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Stefan View Post
Maximum download size on regular gservers is 1MByte for a single file. Only the login-servers and Graal3D are allowed to send bigger files.
Sorry for double post, but could you maybe higher it to 5 mb when using update packages?:/
Reply With Quote
  #13  
Old 01-13-2007, 07:17 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
I thought you weren't supposed to upload things like Mp3's and midis to Gservers anyways? Just host them somewhere else and play them from there.
Reply With Quote
  #14  
Old 01-13-2007, 10:32 AM
Draenin Draenin is offline
Magnificent Bastard
Draenin's Avatar
Join Date: Dec 2004
Location: Bermuda Triangle
Posts: 6,790
Draenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud of
Send a message via AIM to Draenin Send a message via MSN to Draenin Send a message via Yahoo to Draenin
Quote:
Originally Posted by Twinny
I thought you weren't supposed to upload things like Mp3's and midis to Gservers anyways? Just host them somewhere else and play them from there.
That will suck bandwidth from your host. Hopefully, they won't mind it, but otherwise you may be in trouble.
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 05:14 PM.


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