Some More Amx Mod Help...

CHEESERMCHEESERM Join Date: 2004-08-05 Member: 30388Members
edited August 2004 in Tech Support
<div class="IPBDescription">please?</div> I saw this readyroom music mod on some ns servers, I found it tried to compile the file but as I've tried before with other sma files, I had no luck, could someone get me an AMX version of the ready room music mod?

Thanks! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->


EDIT: How do I use my own music?

Comments

  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
  • CHEESERMCHEESERM Join Date: 2004-08-05 Member: 30388Members
    I know, but need the file in AMX format not SMA.

    Thanks! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
    edited August 2004
    no, what you need to do is learn how to compile your own .amx files.. the .sc application works wonders provided you use it correctly.

    To clarify, you really need to be able to compile your own amx files. With as often as modns.org updates files this is a must. Depending on others for .amx compiles is pretty bad form.

    You can use the web compiler for amxx here:
    <a href='http://www.amxmodx.org/compiler.php?go=sc' target='_blank'>http://www.amxmodx.org/compiler.php?go=sc</a>

    Also these dox are pretty specific on how to get the job done:
    <a href='http://www.amxmodx.org/doc/source/plugins_compile.htm' target='_blank'>http://www.amxmodx.org/doc/source/plugins_compile.htm</a>

    These instructions are amxx specific but should work for amx as well. If you're using the older amx I'm sure you can find documentation on their site for how to get this done.
  • CHEESERMCHEESERM Join Date: 2004-08-05 Member: 30388Members
    I'm sorry, I should think before I act...sob.... <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html//emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo-->

    But thanks! I'll look into those files. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • CHEESERMCHEESERM Join Date: 2004-08-05 Member: 30388Members
    Whenever I try to compile a file it says 1 error, then when I check the compiled folder, my file isn't there. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html//emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo-->
  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
    I wouldn't bother checking in the compiled folder till you get it to say 0 errors. That one error is critical enuf to keep the file from compiling all the way. Please don't just state that you get 1 error. Post that error. What is it? If you are using the compile.bat to build your stuffs try using the advanced instructions:

    Go to Start, Run, "cmd", and click Ok
    Type: cd [mod dir]\addons\amxx\scripting
    sc [plugin name].sma

    This should allow you to see the error you are running into.

    Also, I'm noticing that the rr music mod requires NS2AMX. I don't suppose you have this installed someplace where the sc program can link it into the .amx do you?

    All of this is still in the wrong forum and really belongs on the modns forum posted under the module you are having trouble compiling.
  • CHEESERMCHEESERM Join Date: 2004-08-05 Member: 30388Members
    this is all so confusing! I'm sorry I have this in the wrong forum...

    but I do have ns2amx in a place were it can get linked to.

    I went to start, run, and i typed cmd. and clicked ok.

    it took me to a black screen that said C:\ Documents and Settings\cheese>

    After C:\ Documents and Settings\cheese> I typed cd C:\Program Files\valve\Steam\SteamApps\cheesem\Half-Life\nsp\addons\amxx\scripting sc rrmusic.SMA

    I pressed enter and it said "The system cannot find the path specified."

    <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo-->

    Please help, sorry this is in the wrong forum... <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html//emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo-->
  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
    Whew...

    cd C:\Program Files\valve\Steam\SteamApps\cheesem\Half-Life\nsp\addons\amxx\scripting
    <PRESS THE ENTER KEY>

    (If it says bad path then you are trying to CD into the incorrect dir.. Fix this and CD into a directory that has both the sc exe and the music.sma file in the same directory.)

    then:
    sc music.sma

    The point here is that the CD command and the sc command are supposed to be run on seperate lines, and it looks like you tried to run them all on the same line.
  • CHEESERMCHEESERM Join Date: 2004-08-05 Member: 30388Members
    ok i typed it like you told me and it says "small compiler 2.1.0 rrmusic.sma(52) : Fatal error 100: cannot read from file "ns2amx"
    Compilation aborted.
    1 error."


    Is it saying this because it can't link to my ns2amx file?
  • CHEESERMCHEESERM Join Date: 2004-08-05 Member: 30388Members
    ok I moved my ns2amx stuff around a bit and tryed it over. It says

    "small compiler 2.1.0

    rrmusic.sma(90) : error 017: undefined symbol "engfunc"
    rrmusic.sma(107) : error 017: undefined symbol "pef"
    rrmusic.sma(115) : error 017: undefined symbol "pef"
    rrmusic.sma(116) : Warning 202: number of argument does not match definition
    rrmusic.sma(117) : Warning 202: number of argument does not match definition
    rrmusic.sma(118) : Warning 202: number of argument does not match definition
    rrmusic.sma(119) : Warning 202: number of argument does not match definition
    rrmusic.sma(120) : Warning 202: number of argument does not match definition

    3 errors"
  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
    Well, we managed to get you compiling ok. And you made it past the missing ns2amd, which was what I figured your original issue was 4 posts ago... Steve releases new ns2amx files quite often. If you haven't got yours in the last week, I'd suggest updating.

    If updating ns2amx doesn't fix the build errors you need to post to the modns.org forums with the errors you are seeing, making sure you post in the mod topic for the mod you can't get compiled. Someone will pop up and give you suggestions but since I don't run that mod I can't give you anymore help with it.

    You now can compile your own .amx files.. That's something right there. You'll need to do this often, whenever ns2amx rebuilds and/or when amxx releases their new code next week.

    Have fun!
  • CHEESERMCHEESERM Join Date: 2004-08-05 Member: 30388Members
    Thanks! <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
Sign In or Register to comment.