hit - sound problem

Ask for help regarding any technical issue or report any bug or OS independent issues.
Locked
nachdenki
Peon
Peon
Posts: 9
Joined: 20 Feb 2005, 19:04
Location: Germany -> Hamburg
Contact:

hit - sound problem

Post by nachdenki » 12 Apr 2005, 16:57

hiiii x3
I got the latest cvs version... and when I push strg (attack) the game crashs :<

Code: Select all

#0  0xb7dad27b in Mix_VolumeChunk () from /usr/lib/libSDL_mixer-1.2.so.0
#1  0x08087e0c in SoundEffect::play(int, int) (this=0x8181400, loops=0, 
    volume=0) at resources/soundeffect.cpp:60
#2  0x080997ba in Sound::playSfx(char const*) (this=0x0, 
    path=0x80a0ae9 "sfx/fist-swish.ogg") at sound.cpp:215
#3  0x080905e3 in do_input() () at game.cpp:536
#4  0x080932c1 in game() () at game.cpp:121
#5  0x080959f3 in main (argc=1, argv=0x0) at main.cpp:372
#6  0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
that's what backtrace says D: any ideas how to fix that? :/
snarl
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 12 Apr 2005, 17:09

can you post tmw.log?
nachdenki
Peon
Peon
Posts: 9
Joined: 20 Feb 2005, 19:04
Location: Germany -> Hamburg
Contact:

Post by nachdenki » 12 Apr 2005, 17:15

of course :D
[15:39:52] Using video driver: x11
[15:39:52] Possible to create hardware surfaces: no
[15:39:52] Window manager available: yes
[15:39:52] Accelerated hardware to hardware blits: no
[15:39:52] Accelerated hardware to hardware colorkey blits: no
[15:39:52] Accelerated hardware to hardware alpha blits: no
[15:39:52] Accelerated software to hardware blits: no
[15:39:52] Accelerated software to hardware colorkey blits: no
[15:39:52] Accelerated software to hardware alpha blits: no
[15:39:52] Accelerated color fills: no
[15:39:52] Available video memory: 0
[15:39:52] ResourceManager::get(graphics/gui/mouse.png)
[15:39:52] ResourceManager::get(graphics/images/login_wallpaper.png)
[15:39:52] ResourceManager::get(graphics/sprites/player_male_base.png)
[15:39:52] ResourceManager::get(graphics/sprites/player_male_hair.png)
[15:39:53] Sound::init() Initializing sound...
[15:39:53] Sound::info() SDL_mixer: 1.2.4 (compiled)
[15:39:53] Sound::info() SDL_mixer: 1.2.4 (linked)
[15:39:53] Sound::info() Driver: esd
[15:39:53] Sound::init() Format: S16LSB
[15:39:53] Sound::init() Rate: 22050
[15:39:53] Sound::init() Channels: 2
[15:39:53] State: LOGIN
[15:39:53] Sound::startMusic() Playing "data/music/Ivano(de)Jeanette.ogg" -1 times
[15:39:53] Sound::startMusic() Warning: error loading file.
[15:39:53] Window::Window("Login")
[15:39:53] ResourceManager::get(graphics/gui/vscroll_grey.png)
[15:39:53] ResourceManager::get(graphics/gui/bg_quad_dis.png)
[15:39:53] ResourceManager::get(graphics/gui/textbox.png)
[15:39:53] ResourceManager::get(graphics/gui/checkbox.png)
[15:39:53] ResourceManager::get(graphics/gui/button.png)
[15:39:53] ResourceManager::get(graphics/gui/buttonhi.png)
[15:39:53] ResourceManager::get(graphics/gui/buttonpress.png)
[15:39:53] ResourceManager::get(graphics/gui/button_disabled.png)
[15:39:55] Network: Username is nachdenki
[15:39:56] Network: Server: Mana World (80.126.228.195:6122)
[15:39:56] Window::~Window("Login")
[15:39:56] State: CHAR_SERVER
[15:39:56] Window::Window("Select Server")
[15:39:56] ResourceManager::get(graphics/gui/hscroll_left_default.png)
[15:39:56] ResourceManager::get(graphics/gui/hscroll_right_default.png)
[15:39:56] ResourceManager::get(graphics/gui/vscroll_down_default.png)
[15:39:56] ResourceManager::get(graphics/gui/vscroll_up_default.png)
[15:39:56] ResourceManager::get(graphics/gui/hscroll_left_pressed.png)
[15:39:57] ResourceManager::get(graphics/gui/hscroll_right_pressed.png)
[15:39:57] ResourceManager::get(graphics/gui/vscroll_down_pressed.png)
[15:39:57] ResourceManager::get(graphics/gui/vscroll_up_pressed.png)
[15:39:57] CharServer: Player: nachdenki (Packet ID: 6b, Length: 130)
[15:39:57] Window::~Window("Select Server")
[15:39:57] State: CHAR_SELECT
[15:39:57] Window::Window("Select Character")
[15:39:58] CharSelect: Packet ID: 71, Length: 28, Packet_in_size 20682
[15:39:58] CharSelect: In_size: 28
[15:39:58] CharSelect: Map:
[15:39:58] CharSelect: Server: 80.126.228.195:5122
[15:39:58] Window::~Window("Select Character")
[15:39:58] Sound::fadeOutMusic() Fading-out (3000 ms)
[15:39:58] State: GAME
[15:39:58] Protocol: Player start position: (60, 36), Direction: 0
[15:39:58] Map::load(data/maps/new_1-1.tmx)
[15:39:58] No such file!
[15:39:58] Map::load(data/maps/new_1-1.tmx.gz)
[15:39:58] ResourceManager::get(graphics/tiles/desert1.png)
[15:39:58] ResourceManager::get(graphics/tiles/desert2.png)
[15:39:58] ResourceManager::get(graphics/tiles/collision.png)
[15:39:58] - Loading layer 0
[15:39:58] - Loading layer 1
[15:39:58] - Loading layer 2
[15:39:58] - Loading layer 3
[15:39:58] Window::Window("")
[15:39:58] Window::Window("%s Lvl: % 2i Job: % 2i")
[15:39:58] Window::Window("Buy")
[15:39:58] ResourceManager::get(graphics/gui/slider.png)
[15:39:58] Window::Window("Sell")
[15:39:58] Window::Window("Shop")
[15:39:58] Window::Window("Inventory")
[15:39:58] ResourceManager::get(graphics/sprites/items.png)
[15:39:58] ResourceManager::get(graphics/gui/selection.png)
[15:39:59] Window::Window("Select amount of items to drop.")
[15:39:59] Window::Window("NPC")
[15:39:59] Window::Window("NPC")
[15:39:59] Window::Window("Skills")
[15:39:59] Window::Window("Skills")
[15:39:59] Window::Window("Stats")
[15:39:59] Window::Window("Setup")
[15:39:59] ResourceManager::get(graphics/gui/radioout.png)
[15:39:59] ResourceManager::get(graphics/gui/radioin.png)
[15:39:59] Window::Window("Window")
[15:39:59] Window::Window("Equipment")
[15:39:59] Window::Window("")
[15:39:59] Window::Window("Trade: You")
[15:39:59] Window::Window("Request for Trade")
[15:39:59] ResourceManager::get(graphics/sprites/npcs.png)
[15:39:59] ResourceManager::get(graphics/sprites/emotions.png)
[15:39:59] ResourceManager::get(graphics/sprites/monsters.png)
[15:39:59] ResourceManager::get(graphics/sprites/weapons.png)
[15:39:59] Unhandled packet: 13a
[15:40:01] ResourceManager::get(sfx/fist-swish.ogg)
:>
snarl
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 12 Apr 2005, 19:40

Check if you have fist-swish.ogg...
nachdenki
Peon
Peon
Posts: 9
Joined: 20 Feb 2005, 19:04
Location: Germany -> Hamburg
Contact:

Post by nachdenki » 12 Apr 2005, 19:47

jep, it's in the data/sfx directory :?
snarl
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 12 Apr 2005, 19:53

Oh I see you have sdl_mixer 1.2.4, try to upgrade to 1.2.6, it fixed a lot of issues about playing ogg files
nachdenki
Peon
Peon
Posts: 9
Joined: 20 Feb 2005, 19:04
Location: Germany -> Hamburg
Contact:

Post by nachdenki » 12 Apr 2005, 23:12

oh, yeah. that was the problem x_x thanks.
snarl
Locked