Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. GSC error whenever I run my zombies server

GSC error whenever I run my zombies server

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
13 Posts 4 Posters 878 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • JezuzLizardundefined JezuzLizard

    VvWANABEEvV Try running parts of your code at a time until you figure out what parts are causing the crash.

    VvWANABEEvVundefined Offline
    VvWANABEEvVundefined Offline
    VvWANABEEvV
    wrote on last edited by
    #3

    JezuzLizard I tried both and it didn't work, this is the code im using , im using simple zombies

    #include common_scripts\utility;
    #include maps\mp\zombies_zm;
    #include maps\mp\zombies_zm_utility;
    #include maps\mp\gametypes_zm_hud_util;
    #include maps\mp\gametypes_zm_hud_message;
    #include maps\mp_utility;
    #include common_scripts\utility;
    /*
    Mod: Zombies Simple MOD
    Author: DoktorSAS
    */
    init(){
    level.clientid = 0;
    level.perk_purchase_limit = 9;
    level thread onplayerconnect();
    drawZombiesCounter(); //Thanks to CabConModding
    }
    onplayerconnect(){
    for (;;){
    level waittill( "connecting", player );
    player.clientid = level.clientid;
    player thread onplayerspawned();
    level.clientid++;
    }
    }
    onplayerspawned(){
    level endon( "game_ended" );
    self endon( "disconnect" );
    self thread AnimatedTextCUSTOMPOS("Welcome to ^1Zombies \n^7Thanks to ^5DoktorSAS", 0,-200); //Welcome Messages
    for(;;){
    self waittill( "spawned_player" );
    }
    }

    AnimatedTextCUSTOMPOS(text, x, y){ //Made by DoktorSAS
    textSubStr = getSubStr(text,0,text.size);
    result = "";
    welcome = self createFontString("hudsmall",1.9);
    welcome setPoint("CENTER","CENTER",x, y);
    welcome setText("");
    for(i=0;i<textSubStr.size;i++){
    color = textSubStr[i]+textSubStr[i+1];
    if(color == "^1" || color == "^2" || color == "^3" || color == "^4" || color == "^5" || color == "^6" || color == "^7" || color == "^8" || color == "^0" || color == "\n"){
    result = result + color;
    i++;
    }else
    result = result + textSubStr[i];
    if(i == textSubStr.size){
    welcome setText(text);
    }else{
    welcome setText(result);
    wait 0.15;
    welcome setText(result + "^7_");
    }
    wait 0.15;
    }
    wait 2;
    welcome setText("");
    self iprintln("Whats Inside: \n # ^1NO ^2Perk ^7Limit \n # ^1Zombies ^7Counter");
    }

    drawZombiesCounter(){ //Thanks to CabConModding
    level.zombiesCountDisplay = createServerFontString("hudsmall" , 1.9);
    level.zombiesCountDisplay setPoint("CENTER", "CENTER", "CENTER", 200);
    thread updateZombiesCounter();
    }
    updateZombiesCounter(){ //Thanks to CabConModding
    level endon("stopUpdatingZombiesCounter");
    while(true){
    zombiesCount = get_current_zombie_count();
    if(zombiesCount >= 0){
    level.zombiesCountDisplay setText("Zombies: ^1" + zombiesCount);
    }else
    level.zombiesCountDisplay setText("Zombies: ^2" + zombiesCount);
    waitForZombieCountChanged("stopUpdatingZombiesCounter");
    }
    }
    recreateZombiesCounter(){ //Thanks to CabConModding
    level notify("stopUpdatingZombiesCounter");
    thread updateZombiesCounter();
    }
    waitForZombieCountChanged(endonNotification){ //Thanks to CabConModding
    level endon(endonNotification);
    oldZombiesCount = get_current_zombie_count();
    while(true){
    newZombiesCount = get_current_zombie_count();
    if(oldZombiesCount != newZombiesCount){
    return;
    }
    wait 0.05;
    }
    }

    1 Reply Last reply
    0
    • Sorexundefined Offline
      Sorexundefined Offline
      Sorex
      Contributor
      wrote on last edited by
      #4

      VvWANABEEvV Uhm... Its weird, where you putting he file on? Because i made this and should work correctly.
      Tell me in wich folder you put the mods

      VvWANABEEvVundefined 1 Reply Last reply
      0
      • Sorexundefined Sorex

        VvWANABEEvV Uhm... Its weird, where you putting he file on? Because i made this and should work correctly.
        Tell me in wich folder you put the mods

        VvWANABEEvVundefined Offline
        VvWANABEEvVundefined Offline
        VvWANABEEvV
        wrote on last edited by
        #5

        Sorex I put it in:
        D:\SteamLibrary\steamapps\common\Call of Duty Black Ops II\t6r\data\maps\mp\gametypes_zm

        1 Reply Last reply
        0
        • Sorexundefined Offline
          Sorexundefined Offline
          Sorex
          Contributor
          wrote on last edited by
          #6

          VvWANABEEvV
          Name of the file?
          Because is weird this error

          VvWANABEEvVundefined 1 Reply Last reply
          0
          • Sorexundefined Sorex

            VvWANABEEvV
            Name of the file?
            Because is weird this error

            VvWANABEEvVundefined Offline
            VvWANABEEvVundefined Offline
            VvWANABEEvV
            wrote on last edited by VvWANABEEvV
            #7

            Sorex _clientids.gsc this is also happening with every mod I use

            1 Reply Last reply
            0
            • Sorexundefined Offline
              Sorexundefined Offline
              Sorex
              Contributor
              wrote on last edited by
              #8

              VvWANABEEvV
              Okey is probaly client side problem. Is not mod problem and we can't do anything. I mean i can't because idk wheres the problem

              VvWANABEEvVundefined afrojanoonundefined 3 Replies Last reply
              0
              • Sorexundefined Sorex

                VvWANABEEvV
                Okey is probaly client side problem. Is not mod problem and we can't do anything. I mean i can't because idk wheres the problem

                VvWANABEEvVundefined Offline
                VvWANABEEvVundefined Offline
                VvWANABEEvV
                wrote on last edited by
                #9

                Sorex ok thanks anyway

                1 Reply Last reply
                0
                • Sorexundefined Sorex

                  VvWANABEEvV
                  Okey is probaly client side problem. Is not mod problem and we can't do anything. I mean i can't because idk wheres the problem

                  VvWANABEEvVundefined Offline
                  VvWANABEEvVundefined Offline
                  VvWANABEEvV
                  wrote on last edited by VvWANABEEvV
                  #10

                  Sorex I have one more question when I compile my gsc, what do i do with the compiled version

                  1 Reply Last reply
                  0
                  • Sorexundefined Offline
                    Sorexundefined Offline
                    Sorex
                    Contributor
                    wrote on last edited by
                    #11

                    VvWANABEEvV Put the compiled version on D:\SteamLibrary\steamapps\common\Call of Duty Black Ops II\t6r\data\maps\mp\gametypes_zm
                    and call it _clientids.gsc

                    VvWANABEEvVundefined 1 Reply Last reply
                    0
                    • Sorexundefined Sorex

                      VvWANABEEvV Put the compiled version on D:\SteamLibrary\steamapps\common\Call of Duty Black Ops II\t6r\data\maps\mp\gametypes_zm
                      and call it _clientids.gsc

                      VvWANABEEvVundefined Offline
                      VvWANABEEvVundefined Offline
                      VvWANABEEvV
                      wrote on last edited by
                      #12

                      Sorex im dumb i was putting the original in, and when i put the compiled i didnt rename it im so stupid

                      1 Reply Last reply
                      0
                      • Sorexundefined Sorex

                        VvWANABEEvV
                        Okey is probaly client side problem. Is not mod problem and we can't do anything. I mean i can't because idk wheres the problem

                        afrojanoonundefined Offline
                        afrojanoonundefined Offline
                        afrojanoon
                        wrote on last edited by afrojanoon
                        #13

                        Sorex Sorry to revive this old thread, but.... The issue is with anything > windows 10 1607 (Fall creators update). 1607 is the last version of windows 10 I could get it to work on. Tested till 1909 and the problem still remains. The game launches fine without any mods on the next versions, but as soon as I copy the mod files and scripts, it gives 0xC0000005. Hope it helps pinpointing the issue.

                        Edit: Wrong thread.

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Donate