Plugins

Discussion in 'Coding' started by Lightning, Sep 9, 2016.

  1. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    The problem is one needs to test each plugin because many that seem valid do not work with empires or has stopped working or has issues. One needs to read through the threads of each plugin they are interested in because many plugins even though approved stopped working. There is alot of time needed going into finding plugins needed, testing them and reading through each thread to see what issues there are with each plugin. Some times within a plugins thread a members posts an updated version of their own that fixes an issue that the original plugin has.
     
  2. Neoony

    Neoony Member

    Messages:
    1,366
    Likes Received:
    106
    Trophy Points:
    0
    Like exactly what im just doing, and I even said pretty much the exact same thing in this thread xD
    I usually mention if I didnt test it.

    Unless the reply wasnt aimed at me xD
     
  3. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    ah because the one you linked does not work fully so I did not think it was fully tested.
    and no it was aimed at anyone looking for a plugin.
     
  4. Neoony

    Neoony Member

    Messages:
    1,366
    Likes Received:
    106
    Trophy Points:
    0
    what? Chat triggers?
    How about you tell me what doesnt work?

    I posted like 10 of them.

    "doesnt work" doesnt help
     
  5. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    I tried !disablespec and didnt work
    !addtime only works once durin comm vote and even though I had it set to 250 it changed it to 225
    !fixsound not sure becasue my sound wasn't broken
     
  6. Neoony

    Neoony Member

    Messages:
    1,366
    Likes Received:
    106
    Trophy Points:
    0
    how did you set it up?
    You might also need to set up triggers_rcon if you only want to use the R flags and have admins with specific flags use it.
    Otherwise you wanna use for example Rf{h} flag if you want your cvar admins to be able to use it. But I probably didnt even try that, as I first did the triggers_rcon thing.
    Its either one way or the other.

    !addtime probably doesnt work, because you are constantly changing it to the same value and the add commander vote time is weird like that, im sure you know.
    Iam just about to test how would I make you be able to input any value after !addtime ###

    Other than that, all of the following commands work flawless for me:
    Code:
    !us C emp_unstuck
    !unstuck C emp_unstuck
    !recwalls F emp_eng_recycle_walls
    !addtime R emp_sv_vote_commander_time 250
    !fixsound C snd_restart
    !enablespec R emp_allowspectators 1
    !disablespec R emp_allowspectators 0
    While I have "triggers_rcon rzh". And I also tested them while only having h flag on me.

    If you want to try something about !addtime.
    You can try having multiple different values. And then try switching between them.
    Example:
    !addtime250 R emp_sv_vote_commander_time 250
    !addtime100 R emp_sv_vote_commander_time 100
    !addtime50 R emp_sv_vote_commander_time 50

    EDIT:
    With fix sound, you might notice all the ambient or other sounds will stop and start again if you do it while having no issues.
     
    Last edited: Mar 20, 2017
  7. Neoony

    Neoony Member

    Messages:
    1,366
    Likes Received:
    106
    Trophy Points:
    0
    Just confirmed that !addtime doesnt work multiple times because its changing it to same value.
    To test. Try !addtime and then change emp_sv_vote_commander_time 150 and then do again.

    Disable spec retested and works.
     
  8. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    i added what you put in the commandlist.txt
     
  9. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    how did u get disablespec to work I added what you showed as the code,

    but I did put it in admin menu when I first set up the server so I dont really need a chat trigger.

    is triggers_rcon a different plugin or part of this one?
     
  10. Neoony

    Neoony Member

    Messages:
    1,366
    Likes Received:
    106
    Trophy Points:
    0
    Have you got the R or Z flag as admin in sm?
    It just works like that.
    But it wont announce it, as it is done as rcon.
     
  11. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    z oh ok so Id have to change the flag to Z n that plugin for it to work for me. or I need to change z to r in sm?
     
  12. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    also when you used !additme did it change it to 225 or 250 mine it changed to 225.

    in any case i got cmds for specs in admin menu i try and put most admin cmds in the menu when the plugin doesn't offer it, for it to be easier for admins..
     
    Last edited: Mar 20, 2017
  13. Neoony

    Neoony Member

    Messages:
    1,366
    Likes Received:
    106
    Trophy Points:
    0
    you can just set whatever flags for this plugin with command "triggers_rcon"
    And all admins with those flags will be able to use the chat commands with R flag.
    place it in server.cfg if you want it execute every time.

    And:
    [​IMG]
    [​IMG]
     
  14. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
    ty but I added it to the custom admin menu which gives more options for each command.
     
  15. Neoony

    Neoony Member

    Messages:
    1,366
    Likes Received:
    106
    Trophy Points:
    0
    To be able to !addtime ###
    You need to use quotes.
    Example:
    Code:
    "!addtime R emp_sv_vote_commander_time"
    Guessing it might even be better using quotes for all of them.

    Updated wiki with more details on this plugin.
     
    Last edited: Mar 20, 2017
  16. vipervicki

    vipervicki Member

    Messages:
    2,611
    Likes Received:
    130
    Trophy Points:
    0
  17. Neoony

    Neoony Member

    Messages:
    1,366
    Likes Received:
    106
    Trophy Points:
    0
    Updated Execute configs: https://github.com/Neoony/Execute-Configs-Empiresfix/releases

    Original plugin by DJ Tsunami: https://forums.alliedmods.net/showthread.php?t=67620
    Added unofficial version by Franc1sco 1.2.3 (bugfixes, new commands)
    Added empires rount start and game start events. And added more updated readme in executeconfigs, including new commands 1.2.4

    + unassigned should now be counted just like spectators (1.2.3)

    Added this version to wiki.
     
    Last edited: Mar 22, 2017
  18. Neoony

    Neoony Member

    Messages:
    1,366
    Likes Received:
    106
    Trophy Points:
    0
    "Find sm_dump"
    And then use the found dump commands to make dumps of tons of useful stuff which you can use for plugin making and doing stuff with enitites.

    Class
    Datamap
    Netprop
    Tempentity
    or other similar things.

    Code:
             "sm_dump_teprops"
              - Dumps tempentity props to a file
             "sm_dump_netprops_xml"
              - Dumps the networkable property table as an XML file
             "sm_dump_netprops"
              - Dumps the networkable property table as a text file
             "sm_dump_classes"
              - Dumps the class list as a text file
             "sm_dump_datamaps"
              - Dumps the data map list as a text file
             "sm_dump_admcache"
              - Dumps the admin cache for debugging
             "sm_dump_handles"
              - Dumps Handle usage to a file for finding Handle leaks
    There was at least one guy asking for list of some of these :P
    Will add to wiki.
     
    Last edited: Mar 27, 2017
  19. !@zy(!z@r!) = Lazylizard

    !@zy(!z@r!) = Lazylizard Member

    Messages:
    25
    Likes Received:
    5
    Trophy Points:
    0
  20. !@zy(!z@r!) = Lazylizard

    !@zy(!z@r!) = Lazylizard Member

    Messages:
    25
    Likes Received:
    5
    Trophy Points:
    0

Share This Page