Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: Spawn Protect Mod IN Mohaa

  1. #21

    Default

    Quote Originally Posted by Purple Elephant1au View Post
    Yes I tested it, that's the main reason I called my script test.scr when I ran it on my own servers
    hmmmmmm. ok look i will tell you what should i do then if i made a mistake tell me
    1- copy the script into .TXT file and change it to .SCR file then rename it to spawnprotect.scr file then change from script
    local.spawn = registerev "spawn" test.scr::spawn /// <<<< CHANGE THIS LINE TO THE NAME AND PATH OF YOUR SCRIPT
    to
    local.spawn = registerev "spawn" global/spawnprotect.scr::spawn /// <<<< CHANGE THIS LINE TO THE NAME AND PATH OF YOUR SCRIPT
    2- open DMPrechach and execute mod "exec global/spawnprotect.scr"
    3- open server.cfg file and turn on the mod "set spawn_protect 5"
    that what i did !!!
    what's wronge m8 ?

  2. #22
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default

    Post log file up

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  3. #23

    Default

    what is the meaning of log file

  4. #24
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default

    Your servers log file, default is called qconsole.log located in main/ folder. May be different on a Linux host depending on how it was set up

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  5. #25

    Default

    i didn't find it

  6. #26
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default

    Please ensure you have atleast turned logging on and developer to atleast 2

    Add to your server.cfg
    set logfile 3
    set developer 2

    And restart server

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  7. #27

    Default

    i have downloaded this mod http://www.mohaaaa.co.uk/AAAAMOHAA/c.../spawn-protect

    i putt in server.cfg:

    set spawn_protect 1

    restart server and it works


    notice that the global folder in your gamefolder will overwrite the global folder of your mods....

    so remove all your mods and clean your global folder of the installation of your game.... than putt in the mod from this comment in your main.... and putt in your server.cfg set spawn_protect 1 and restart server and test


    edit: i saw u did putt set spawn_protect 5....... but that doesnt work..... u can only do 0 or 1... 0 = off and 1 is on..... 5 is nothing... so u need ---->set spawn_protect 1
    Last edited by Slimbips {sfx}; June 22nd, 2018 at 04:05 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •