SourceMod Support

Discussion in 'Coding' started by recon, Jan 8, 2009.

  1. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    Update

    Empires is now supported out of the box with recent versions of SourceMod. However, when Empires is updated, the gamedata files can change, and it takes time for those changes to be included by the SourceMod developers. Updated files will be provided here until they are included in a SM release.

    The changes from 2.25 -> 2.26 only effected games.empires.txt, which has been updated to support 2.26 and attached to this post.



    Hello Everyone,

    As many of the server admins know, SourceMod hasn’t worked properly with Empires since the release of 2.2. SourceMod uses configuration data specific to each game (called gamedata) in order to work correctly. Empires 2.0 – 2.12 had gamedata included with SM, but with the release of 2.2x, those entries were no longer valid. In spite of the total lack of documentation on the subject, Theowningone and I have found the gamedata entries for Empires 2.2x.


    Instructions

    Download engine.ep2.txt and game.empires.txt and copy them to empires/addons/sourcemod/gamedata/sdktools.games/custom. Download common.games.txt and copy it to empires/addons/sourcemod/gamedata/core.games/custom. By default the custom folders don't exist, so feel free to create them.

    If you want sm_vote to work, download
    basevotes.phrases.txt and copy it to empires/addons/sourcemod/translations.

    If you want mapchooser votes to work properly, download mapchooser.phrases.txt and copy it to empires/addons/sourcemod/translations.

    These files have been tested with SourceMod 1.2 and Empires 2.24
    on Windows.
     

    Attached Files:

    Last edited: Jan 22, 2011
  2. tkeracer619

    tkeracer619 Member

    Messages:
    264
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for getting this together!

    Has this been tested on linux? For some reason i'm still not getting a response. I used 1.1 SM will try 1.0.4
     
    Last edited: Jan 8, 2009
  3. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    No this has not been tested on Linux. It should run just fine though.

    If Empires server plugins are still messed up under Linux, there's very little I can do.
     
  4. tkeracer619

    tkeracer619 Member

    Messages:
    264
    Likes Received:
    0
    Trophy Points:
    0
    Yeah I tried both 1.0.4 and 1.1. No go. I might be doing something wrong but I am pretty sure I installed it right.
     
  5. BumGravy

    BumGravy Member

    Messages:
    663
    Likes Received:
    1
    Trophy Points:
    0
    When you say 'spoken with' don't you mean blackmailed for a custom title?
     
  6. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    Could you provide more details about what happened to make you post "no go"? Does SM work properly with the basic commands like kick and ban? If it doesn't, there is probably a plugin bug in the Linux build.

    You're joking right? You think I "blackmailed" them for a little piece of text that appears under my name? Um...... No...... I didn't even ask for the title. I was offered it after I asked around about getting some kind of credit for my work. When I say spoken with, I mean that I talked with them about releasing the SM support files, and I was asking if they could bind the radio menu commands so we wouldn't have to use the ESC menus.

    Maybe someone misinterpreted what I said, or maybe I didn't say it the way I meant it, or maybe I just didn't say it the way I should've. I'm not sure what you guys think, but this is the real story.
     
    Last edited: Jan 8, 2009
  7. MOOtant

    MOOtant Member

    Messages:
    4,047
    Likes Received:
    0
    Trophy Points:
    0
    On SM wiki in the tutorial there is a note that says that Linux offsets are different (-1 or similar).
     
  8. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    The Linux offset is the Windows offset plus one.

    I don't think it's the offsets tbh, since I heard there were issues with server plugins and Empires on Linux.

    I'll fire up a Ubuntu box some time this weekend and see what's going on.
     
  9. tkeracer619

    tkeracer619 Member

    Messages:
    264
    Likes Received:
    0
    Trophy Points:
    0

    I cant get a meta version in console or any other commands to work, so no basic commands are being recognized. I can give you access to our server (ubuntu) if that will help. LMK
     
  10. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    If meta version isn't working, it's not a problem with SM. This is what I guessed in my other post. Plugins may not be working properly with the Linux build.

    If you want to PM me, I can check into it in more detail.
     
  11. Theowningone

    Theowningone Noone likes me :'(

    Messages:
    704
    Likes Received:
    0
    Trophy Points:
    0
    Fixed.
     
  12. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    I think I'll wait to see if MetaMod will even load on Empires under Linux before I spend more time on it.
     
  13. Theowningone

    Theowningone Noone likes me :'(

    Messages:
    704
    Likes Received:
    0
    Trophy Points:
    0
    Theres no reason it shouldnt.
     
  14. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    Addons have been notoriously bugged in Linux servers since 2.0 (at least, that's what 90% of the community says).
     
  15. -=GODS=-EZEKIEL

    -=GODS=-EZEKIEL Member

    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0
    eventscripts 2.x works
     
  16. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    You misspelled that. It's called Junk 2.x, not eventscripts.
     
  17. -=GODS=-EZEKIEL

    -=GODS=-EZEKIEL Member

    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0
    i loves it. i can do whatever i want with it.
     
  18. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    /me picks up Junk 2.x and throws it into the trash.

    Now that you don't have that junk, you can learn SourceMod :D
     
  19. recon

    recon SM Support Dev

    Messages:
    2,348
    Likes Received:
    0
    Trophy Points:
    0
    *** Bump

    Gamedata files for Empires 2.22 have been attached to the original post.
     
  20. Theowningone

    Theowningone Noone likes me :'(

    Messages:
    704
    Likes Received:
    0
    Trophy Points:
    0
    GameData has been renovated one again. the new one is attached till recon puts it in his post.
     

    Attached Files:

Share This Page