cybersteel8 / sourcemods

A collection of my server mods for CS:GO
MIT License
1 stars 1 forks source link

Support for Retakes gamemode #25

Open mrc4tt opened 3 years ago

mrc4tt commented 3 years ago

Hello @cybersteel8

I'm using your gamechange.sp file

I did found a bug: As I typo: !gm comp de_dust2 it doesn't switch.

Cyka Means Cat: !gm comp de_dust2
[GM] Changing gamemode to Competitive...
[GM] Changing to de_dust2
[GM] Calling changelevel de_dust2de_dust2de_dust
L 02/17/2021 - 12:38:55: [SM] Exception reported: Tracker stack is out of bounds
L 02/17/2021 - 12:38:55: [SM] Blaming: gm.smx
L 02/17/2021 - 12:38:55: [SM] Call stack trace:
L 02/17/2021 - 12:38:55: [SM]   [1] Line 71, plugin.sp::Command_Gamechange
CModelLoader::Map_IsValid:  No such map 'maps/de_dust2de_dust2de_dust.bsp'
changelevel failed: de_dust2de_dust2de_dust not found

And features; Could you add retakes? game_mode 0 / game_type 0 sv_skirmish_id 12

mrc4tt commented 3 years ago

Seems the author is inactive. /closed.

cybersteel8 commented 3 years ago

Hey mate, sorry, yeah I didn't actually realise anyone would use this, I made this for personal use but thought I'd publish it here in case it was useful.

I think I have already fixed this in the dev branch, I'll publish a new version soon after I do a bit of testing and you can try that next one.

mrc4tt commented 3 years ago

Hey, @cybersteel8 sounds cool! =)

mrc4tt commented 3 years ago

Hey @cybersteel8

I did tested your dev. nothing happened but I did found this:

L 03/29/2021 - 15:26:13: [SM] Exception reported: Tracker stack is out of bounds
L 03/29/2021 - 15:26:13: [SM] Blaming: gm.smx
L 03/29/2021 - 15:26:13: [SM] Call stack trace:
L 03/29/2021 - 15:26:13: [SM]   [1] Line 55, plugin.sp::Command_Gamechange
L 03/29/2021 - 15:26:22: [SM] Exception reported: Tracker stack is out of bounds
L 03/29/2021 - 15:26:22: [SM] Blaming: gm.smx
L 03/29/2021 - 15:26:22: [SM] Call stack trace:
L 03/29/2021 - 15:26:22: [SM]   [1] Line 71, plugin.sp::Command_Gamechange
cybersteel8 commented 3 years ago

That's also a weird one, I wasn't sure what used to cause it but that one kind of magically resolved itself in my latest version. This is the exact copy of my mods that I'm running on my server, can you give them a try? mods.zip

Also, I highly recommend updating your copy of sourcemod to the latest one. I just tested it now on build 6502 (stable) and I am able to change gamemode and include the map in the command and everything fine. Please let me know if the attached version works for you

mrc4tt commented 3 years ago

Hi. @cybersteel8

The compiled gamechanger from mods.zip it works perfectly.

Do you think; you can add "Retake" to the menu? VALVe's has own retake function. Retake (if you could add it)

game_mode 0
game_type 0
sv_skirmish_id 12
cybersteel8 commented 3 years ago

Thanks, I'm glad that worked for you.

Yeah I'll consider that as a feature request, it's a good idea!

mrc4tt commented 3 years ago

@cybersteel8 let me know, once you have updated it. :) could be nice, since I use your plugin on my services =D

mrc4tt commented 3 years ago

Any update about this? :D