• Shoutbox
    Active Users: 0
     
  • Notice: N/A
    Loading...
 
  • Active Users
     
  • There are currently no users chatting.
 
Results 1 to 6 of 6
  1. #1

    Problem in map 7

    Hello
    please guys need fast help
    my server running normal but when the server change the map to dm/moh7 my own game crach and disconnect, then go to main menu so i must to reconnect to the server again to found the server running as well
    and the server change the maps normal

    but in map 7 the server kicks some players out

    and this is ss from the game console...
    Attached Images Attached Images
    Last edited by Old Fox; 02-28-2018 at 02:27 AM.
    Regards Old Fox

  2. #2
    Have you tried to play in the server with your 'maintt' folder empty of mods? sometimes custom files can do that.

  3. #3
    Quote Originally Posted by Soares93 View Post
    Have you tried to play in the server with your 'maintt' folder empty of mods? sometimes custom files can do that.

    yes and everything is ok
    but what the problem in my mod ?
    Regards Old Fox

  4. #4
    Well, since the error message is "bad command type" I'm assuming that there must be some line in a custom file of your mod, lets say a .scr file of your map. The mohdm7.scr of your mod must have some command that makes the game kick you. you have to read all the text in that file and try to figure it out.

    The people that have more experience on this are the ones that should be responding, but I can try locate the problem. Could you send me the link of the mod or just the mohdm7.scr in .txt format?

  5. #5
    //************************************************** *******************//
    //=[[ TOP GUN ]]= Founder //
    //By Admin =[|T-G|]={ Old Fox }=Ldr //
    //Web www.tg-clan.net //
    //e-mail tg.oldfox@gmail.com //
    //************************************************** *******************//
    /////////////////////////////////////////////////////////////////////////

    //# Algiers...

    main:

    //# set scoreboard messages...
    setcvar "g_obj_alliedtext1" "( Algiers )"
    setcvar "g_obj_alliedtext2" ""
    setcvar "g_obj_alliedtext3" ""
    setcvar "g_obj_axistext1" ""
    setcvar "g_obj_axistext2" ""
    setcvar "g_obj_axistext3" "Next map ›› Bahnhof"

    setcvar "g_scoreboardpic" "mohdm7"

    exec global/clock.scr

    setcvar "dmflags" "67371016"

    switch (waitthread global/libmef/util.scr::get_gametype)
    {
    case "ctf":
    case "ftctf":
    case "dem":
    case "ftdem":
    break
    }

    level waittill prespawn

    //*** Precache Dm Stuff ***//
    exec global/DMprecache.scr

    exec global/door_locked.scr::lock
    level.script = maps/dm/mohdm7.scr
    exec global/ambient.scr mohdm7

    $world farplane 5000
    $world farplane_color (.333 .333 .329)

    level waittill spawn

    $world farclipoverride -1

    exec maps/mods/mohdm7-mods_1.scr
    exec maps/mods/mohdm7-mods_2.scr

    end
    Regards Old Fox

  6. #6
    Administrator Major_A's Avatar
    Join Date
    Jul 2016
    Location
    Huntington, IN USA
    Posts
    391
    Trophies
    Blog Entries
    15
    Do this to these one at a time or remove these from server one at a time.
    Probly better to just remove and put back one at a time.
    Did you already have exec global/clock.scr and not have issues?
    I ask as I don't know what it does.


    Code:
         //exec maps/mods/mohdm7-mods_1.scr
         //exec maps/mods/mohdm7-mods_2.scr
    Occasionally, if I leave things for reference, or checking broken stuff, I rename them to _BAK
    In my experiences, that stops the server from reading an .scr file and you don't have to remove stuff
    .
    Just depends on how you have them in there I guess which is easier.
    This would be done from the .pk3 your working in.
    Code:
         maps/mods/mohdm7-mods_1.scr_BAK
         maps/mods/mohdm7-mods_2.scr_BAK


    Doing this will most likely narrow down which one or both is an issue.

    Once that is sorted, then can try and go from there.

    btw, if you need to post the .scr contents of a large file, you can use the #code in Advanced reply.
    This will shorten large posts.
    Your above post is not big by any means, but when you have us see the scr
    contents of those other files, it will be easier than trying to upload and download a file lol

    Last edited by Major_A; 03-05-2018 at 09:46 PM.



Posting Permissions

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