ID:155153
 
As the title implies, I have two questions... Let me start with the easiest one first...

1) My game has audio in it, and when I host the game myself, the audio works just fine, but if I have someone else host for me, the audio does not work at all? I would like to know why this is and if possible, how to fix it.

2) I have tried to write a verb for this many times over the years and I simply cannot figure it out. Any assistance would be great, but I need a verb that let's me update the dmb and rsc files directly to my host. I have someone else hosting my game for me, but... He's usually AFK or busy. I want to be able to do updates at my whim and not have to wait for my host to get online. Is there a way to code this as a verb, and if so, how?
1) When packaging your game and you see the option to include additional files, type the names of the audio files separated by comma's. I have had this same problem with my game Deltoid and this is how I solved it.
2) I have tried to write a verb for this many times over the years and I simply cannot figure it out. Any assistance would be great, but I need a verb that let's me update the dmb and rsc files directly to my host. I have someone else hosting my game for me, but... He's usually AFK or busy. I want to be able to do updates at my whim and not have to wait for my host to get online. Is there a way to code this as a verb, and if so, how?

You will use fcopy() proc to copy the DMB file and then Reboot. But I don't know if you can copy the RSC file as well.

- Hashir
Updating the DMB and RSC can't be done with a simple verb. This question has been answered many times. You can use a batch file to do it for you but you would need to know how to write batch files first and then find out how to use them through BYOND.
In response to ExPixel (#3)
Alright, I got things situated. The audio works now my f-up was that I had it like this src<<"audiofile.wav" when we all know it should have been this; src<<'audiofile.wav', but that aside... I'm currently hosting on shell server and now my loading system is not working correctly. When you login to the game, it lets you save, but if you log out and try to load that same character, it says there is no character in that slot. When you try to create a new character in that same slot, it says there is already a character file there. At that point, I have to go into the shell and manually delete the file before the player can use that again. Does anyone know how to fix this problem? I don't want to waste my time putting my game on the shell server if this is what i'm going to have to worry about.

Thanks for your help guys.
In response to Genesismagician (#4)
This problem has been resolved. Staff may close this thread.