Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS "RemoveObjectives" "0" Doesn't Work #10

Open
KrillinsWorld opened this issue Oct 19, 2020 · 4 comments
Open

CSS "RemoveObjectives" "0" Doesn't Work #10

KrillinsWorld opened this issue Oct 19, 2020 · 4 comments

Comments

@KrillinsWorld
Copy link

Our Section for Objectives:

` /* ----- [1.3. objectives] ----- */

    /* Give x number of level by completing the bomb planting/defusing objectives.
     * Amount giving base on the value setting.
     */
    "ObjectiveBonus" "1"

    /* Enables objective bonus on last level */
    "ObjectiveBonusWin" "1"
    
    /** 
     * Gives objective bonus on exploding the bomb instead of planting
     * 0 - bonus on planting
     * 1 - bonus on exploding
     */
    "ObjectiveBonusExplode" "1"

    /* Remove objectives from map. 0 = Disabled, 1 = BOMB, 2 = HOSTAGE, 3 = BOTH*/
    "RemoveObjectives" "0"`

In de_ maps, team terrorist get stripped of the bomb, yet in cs_ maps CT get to rescue hostages, And they do not get a bonus for rescuing. I cannot say what happens with the bomb because they get stripped of the bomb when it is set NOT to do so.

Krillin

@KrillinsWorld
Copy link
Author

KrillinsWorld commented Oct 19, 2020

I sat down this morning and I got ALL the errors worked out, except one small problem:
gungame/util.sp(1272) : warning 213: tag mismatch
Getting the rest of the errors corrected took some doing being as 1 or two of them were "invisible" issues. I am not sure if I caused them by retyping some of the lines. But I must say, after a few hours, here is the end result. The mod is NOT tracking player data. The file doesn't exists in sourcemod\data\player.txt.

//// gungame.sp
//
// gungame/util.sp(1272) : warning 213: tag mismatch
// Code size: 117520 bytes
// Data size: 31448 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 165352 bytes
//
// 1 Warning.
//
// Compilation Time: 1.66 sec
// ----------------------------------------

//// gungame_afk.sp
//
// Code size: 10696 bytes
// Data size: 5128 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 32208 bytes
//
// Compilation Time: 0.42 sec
// ----------------------------------------

//// gungame_bot.sp
//
// Code size: 9660 bytes
// Data size: 3840 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 29884 bytes
//
// Compilation Time: 0.36 sec
// ----------------------------------------

//// gungame_config.sp
//
// Code size: 6992 bytes
// Data size: 3708 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 27084 bytes
//
// Compilation Time: 0.34 sec
// ----------------------------------------

//// gungame_display_winner.sp
//
// Code size: 6424 bytes
// Data size: 7824 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 30632 bytes
//
// Compilation Time: 0.33 sec
// ----------------------------------------

//// gungame_logging.sp
//
// Code size: 4412 bytes
// Data size: 2776 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 23572 bytes
//
// Compilation Time: 0.27 sec
// ----------------------------------------

//// gungame_mapvoting.sp
//
// Code size: 3192 bytes
// Data size: 2660 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 22236 bytes
//
// Compilation Time: 0.25 sec
// ----------------------------------------

//// gungame_stats.sp
//
// Code size: 30116 bytes
// Data size: 10124 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 56624 bytes
//
// Compilation Time: 0.53 sec
// ----------------------------------------

//// gungame_tk.sp
//
// Code size: 10368 bytes
// Data size: 3692 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 30444 bytes
//
// Compilation Time: 0.36 sec
// ----------------------------------------

//// gungame_warmup_configs.sp
//
// Code size: 3192 bytes
// Data size: 2680 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 22256 bytes
//
// Compilation Time: 0.25 sec
// ----------------------------------------

//// gungame_winner_effects.sp
//
// Code size: 6368 bytes
// Data size: 3004 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 25756 bytes
//
// Compilation Time: 0.41 sec
// ----------------------------------------

There isn't any way I can update commit your master file with these corrected changes. But I see I can attach. I do not know what to do here.

Krillin

@SugarD-x
Copy link

You can probably submit a pull request with the fixes. It would be up to the owner of the repository to merge them, but it would at least give players the ability to manually update their copies in the mean time.

@Rathard
Copy link

Rathard commented Feb 3, 2024

Hello, do you still have the edited code? I'd love if you could send it to me

@KrillinsWorld
Copy link
Author

I have it, but I do not have access to it. It is in storage at this time until we can get into a home and that is unknown at this time as we keep getting burned by these people as expensed keep going up but pay does not. When I get my servers set back up, I will post the file(s). Until then I am sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants