Jump to content

Mount

Members
  • Posts

    26
  • Joined

  • Last visited

Posts posted by Mount

  1. TY VRocker

    Wishlist:

    - Custom QUIT messages

    - Custom Realname and ident

    Enchanted !players script! (just replace it in the lua file):

        elseif string.find( szText, "!players" ) == 1 then 
            local c = 0 
            local str = " " 
            for index, thePlayer in ipairs(getElementsByType("player")) do 
            if (str ~= " ") then 
            str = str .. ", " 
            end 
                str = str .. getClientName(thePlayer) 
                c = c + 1 
            end 
            if (c == 0) then 
                ircMessage(pIRC, channel1, "There are no players online") 
            elseif (c == 1) then 
                ircMessage(pIRC, channel1, "1 player online:" .. str) 
            else 
                ircMessage(pIRC, channel1, tostring(c) .. " players online:" .. str) 
            end 
        end 
    

  2.    <group name="Pingkicker"> 
          <acl name="Pingkicker"/> 
          <object name="resource.pingkicker"/> 
       </group> 
    

          <acl name="Pingkicker"> 
          <right name="function.kickPlayer" access="true"/> 
          <right name="function.xmlLoadFile" access="true"/> 
       </acl> 
    

  3. ok eAI i did what you said and it still doesnt work... i tried both of these

       <group name="ScriptEditor"/> 
          <acl name="ScriptEditor"/> 
          <object name="resource.ScriptEditor"/> 
       </group> 
    

       <group name="ScriptEditor"/> 
          <acl name="ScriptEditor"/> 
          <right name="general.ModifyOtherObjects" access="true"/> 
          <object name="resource.ScriptEditor"/> 
       </group> 
    

    Neither worked. script still didnt show or load :(

    You defined 2 times a group, you need to define the ACL too. Like this (untested):

       <group name="ScriptEditor"/> 
          <acl name="ScriptEditor"/> 
          <object name="resource.ScriptEditor"/> 
       </group> 
    

       <acl name="ScriptEditor"/> 
          <right name="general.ModifyOtherObjects" access="true"/> 
       </acl> 
    

  4. Try this:

    function lolCommandFunction ( playerSource, command ) 
      outputChatBox ( "Im Laughing Out Loud!", playerSource ) 
    end 
    addCommandHandler ( "lolcommand", getRootElement(), lolCommandFunction ) 
    

    and for your script with included name:

    function lolCommandFunction ( playerSource, command ) 
      outputChatBox ( "* " .. getClientName(playerSource) .. " is Laughing Out Loud!") 
    end 
    addCommandHandler ( "lolcommand", getRootElement(), lolCommandFunction ) 
    

  5. Pingkicker v0.2 by Patrick "Mount" Rombouts

    ==========================================

    Functions:

    - Pingkicker

    - Configurable ping warning

    - FPS kicker

    - getClientFPS

    - Automaticly saves/loads config

    ==========================================

    Usage:

    - How to set the maxping to 150:

    /maxping 150

    - Disabling the Pingkicker

    /maxping 0 OR /maxping off

    - Enabling the Pingkicker

    /maxping on

    - How to set the Pingwarning to 100:

    /pingwarning 100

    - Disabling the Pingwarning

    /pingwarning 0 OR /pingwarning off

    - Enabling the Pingwarning

    /pingwarning on

    - How to set the minimal fps to 10:

    /minfps 10

    - Disabling the minimal fps checker

    /minfps 0 OR /minfps off

    - Enabling the minimal fps checker

    /minfps on

    - Calling getPlayerFPS from your script

    local playerFPS = call(getResourceFromName("pingkicker"), "getClientFPS") 
    

    Note: Returns nil when the ping is unknown, or the player doesnt exist

    ==========================================

    Changelog:

    08/01/2008 - v0.2

    - You can get the playerFPS from the script with getClientFPS (See usage)

    - Added FPS Kicker

    - Added an delay before kicking the player

    - Added ASE tags

    - Using get() and set() for settings now, command.xmlLoadFile as right is not needed anymore

    - Added some debug messages

    - Changed checkPings() to check for a pingwarning even if the maxping is turned off

    - Pingwarning now depends on the ACL of maxping, everybody who can do maxping, can do pingwarning

    05/01/2008 - v0.1

    - Inital release

    ==========================================

    DO NOT FORGET THIS!!!!

    The script needs the following right(s):

    command.kickPlayer

    Command(s) you need to protect with ACL:

    command.maxping

    command.pingwarning

    command.minfps

    ==========================================

    Credits:

    #mta.scripting and users for helping me

    AlienX for looking at my stupid bugs

    Ping Warning picture by [sG]Duckje

    Greets to:

    Rachel :D

    MTA Team

    SeriousGamers

    Download: http://www.sitebar.nl/releases/mtadm/pingkicker.zip

    Screenshot of the pingwarner: http://www.sitebar.nl/releases/mtadm/pingkicker-warning.png

    Have fun,

    Mount

  6. Hey,

    I am releasing this php class, that is able to communicate with a MTA:SA:Race v1.1.1 server. This class is easy to interigate in an php irc bot, or it just works standalone.

    Release notes:

    MTA class ver 0.1.4 by Patrick "Mount" Rombouts (http://www.sitebar.nl)

    License: GPL

    This class is able to comminucate with a MTA:SA:Race v1.1.1 Server

    For examples see example.php

    To support me, please let the !info command as it is.

    Thanks/Greetings to:

    Markus "mabako" Bauer (http://www.mabako.net) for the SendQueue idea.

    Remco "MisterGT" Pander for the handler idea.

    SeriousGamers.nl clan for providing their server and testers.

    And Jarno "Ywa" Veuger for supporting me

    changelog:

    0.1.4 17/10/2007

    = public release

    Download it Here

    (Look in example.php for an example)

    See ya,

    Mount

    PS. You still can report bugs by mailing to [email protected] or post a reply in this thread.

  7. Hello,

    Some of you knew it already, but i did release my previous project, MTA:alternative Admin. It is scripted in Delphi, but it is far from done. I stopped developing it, because i lost interest. Please read the readme before you start scripting. I didnt include binaries, because it is useless to just run it.

    For download links and more information, visit my blog.

    Greetings,

    Mount

  8. - a function to check on if u are logged in as server and what level

    like hits

    ;first check the user is logged in

    if($mta.login($1,$2) == 1) {

    ; now we check he has the good admin level.

    if($mta.level($1,$2) == 5) {

    }

    else { mta.text $1 only level 5 users }

    }

    so we can expand the server admin tools in mIRC, whitout having 2 admin systems

  9. I mean it seriosly.

    Sumone else can start his MTA fansite (DUTCH one) with no costs.

    i am providing:

    Web Space

    Domain

    etc...

    for free.

    I Havent got time for it, so anybody else that would like it, may make his DUTCH MTA fan/tips site on my hosting etc...

    greetings,

    Mount

  10. Hello MTA community,

    I've got a Domain (MTAinfo.nl) but i cant amuse that domain.

    Now i've got an idea:

    Somebody (a Netherlands/Belgian Guy) May build a website on my domain.

    He gets full control about the site. With free webhosting and domain (MTAinfo.nl).

    If someone is interested, you can response in this topic

    Greetings,

    Mount

    (PS. Sorry for my really bad english)

×
×
  • Create New...