Raised This Month: $51 Target: $400
 12% 

[CS:GO] Multi-1v1 (v1.1.10, 2021-10-30)


Post New Thread Reply   
 
Thread Tools Display Modes
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 02-04-2015 , 21:13   Re: [CS:GO] Multi-1v1 (v1.0.0, 2015-2-4)
Reply With Quote #581

Since sourcemod 1.7 has been released, I'm happy to finally release another version. Note that you must have sourcemod 1.7 on your server to use this version.

I've updated the readme with new installation instructions: https://github.com/splewis/csgo-mult....0.0/README.md

Here are notes on upgrading your server from 0.5.2: https://github.com/splewis/csgo-mult...0.0-from-0.5.2

(it is not a trivial upgrade, so please read the above link carefully)

Download link: https://github.com/splewis/csgo-mult...ses/tag/v1.0.0

Note that the stats website is also provided along side the game-server plugin download, both should work together.

Additionally, I'm working on a simple guide to setting up the stats database & website: https://github.com/splewis/csgo-mult...rd-stats-setup


Let me know if there are any issues or problems, they should be resolved much quicker now with quicker releases as-needed.

Issues I still want resolved in the future (in a fully backwards compatible way):
- sqlite support for the stats
- not causing crashes when using the knife upgrade plugins
- fixing the p2k/usp being forced into 1 slot based on the player's in-game inventory selection
- possibly letting bots in
- enable/disable cvar

Contributions to fixing any of these are very welcome: https://github.com/splewis/csgo-multi-1v1/pulls
__________________

Last edited by splewis; 02-11-2015 at 14:54.
splewis is offline
Gdk
Member
Join Date: Oct 2014
Old 02-05-2015 , 15:43   Re: [CS:GO] Multi-1v1 (v1.0.0, 2015-2-4)
Reply With Quote #582

Quote:
Originally Posted by splewis View Post

Issues I still want to resolve in the future (in a fully backwards compatible way):

- fixing the p2k/usp being forced into 1 slot based on the player's in-game inventory selection
Pretty sure you mentioned it in one of the previous 50 something pages but https://forums.alliedmods.net/showthread.php?t=233685 is doing this.
Gdk is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 02-05-2015 , 15:51   Re: [CS:GO] Multi-1v1 (v1.0.0, 2015-2-4)
Reply With Quote #583

splewis,

Your comment on knife crashes.

Use post player weapon equip as the event to process knife switching. This stopped crashing for myself and a few other guys.
__________________
Neuro Toxin is offline
lokiboki
Junior Member
Join Date: Jan 2015
Old 02-05-2015 , 23:48   Re: [CS:GO] Multi-1v1 (v1.0.0, 2015-2-4)
Reply With Quote #584

Any plans of having knife rounds ranked too?
__________________

lokiboki is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 02-05-2015 , 23:56   Re: [CS:GO] Multi-1v1 (v1.0.0, 2015-2-4)
Reply With Quote #585

Quote:
Originally Posted by lokiboki View Post
Any plans of having knife rounds ranked too?
The provided knife rounds plugin is meant as example of how to add new rounds types.

Someone could write a plugin to read a config file that makes it even easier to add new round types, if they wanted, which might make it much more useful for some people that don't want to mess with compiling plugins. I'm not really going to bother with it myself, though.
__________________

Last edited by splewis; 02-10-2015 at 17:33.
splewis is offline
laterbreh
Junior Member
Join Date: Dec 2014
Old 02-11-2015 , 02:57   Re: [CS:GO] Multi-1v1 (v1.0.0, 2015-2-4)
Reply With Quote #586

Just wanted to chime in and say I was able to get everything running on our NFO host including stats. The instructions are well written and laid out on the GitHub page. Having zero issues.

You are an absolute genius creating this mod.

Would also like to add that I saw someone named splewis playing in our server. Am hoping its you!

Thanks for all the hard work!

Last edited by laterbreh; 02-11-2015 at 03:00.
laterbreh is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 02-11-2015 , 17:00   Re: [CS:GO] Multi-1v1 (v1.0.0, 2015-2-4)
Reply With Quote #587

How are people creating scout rounds? Do I add a new round type in the kniferound scripting?

Could I do something like this? (I don't know anything about scripting, so please don't laugh.)

Code:
#include <sourcemod>
#include <smlib>
#include "include/multi1v1.inc"
#include "multi1v1/version.sp"

#pragma semicolon 1

public Plugin:myinfo = {
    name = "CS:GO Multi1v1: knife round addon",
    author = "splewis",
    description = "Adds an unranked knife round-type",
    version = PLUGIN_VERSION,
    url = "https://github.com/splewis/csgo-multi-1v1"
};

public void Multi1v1_OnRoundTypesAdded() {
    Multi1v1_AddRoundType("Knife", "knife", KnifeHandler, Multi1v1_NullChoiceMenu, true, false);
    Multi1v1_AddRoundType("Scout", "ssg08", ScoutHandler, Multi1v1_NullChoiceMenu, true,false);
}

public void KnifeHandler(int client) {
    Client_RemoveAllWeapons(client, "", true);
    Client_SetArmor(client, 100);
    GivePlayerItem(client, "weapon_knife");
}

public void ScoutHandler(int client) {
    Client_RemoveAllWeapons(client, "", true);
    Client_SetArmor(client, 100);
    GivePlayerItem(client, "weapon_ssg08");
}
I mean, can I just make shit up like "ScoutHandler" and pretend that's a thing?

EDIT: Nope, apparently not. Let's try something else.
EDIT2: I was doing it right the whole time. I just forgot to close my bracket.
__________________
Boycott ESEA
My servers

Last edited by ghostofmybrain; 02-12-2015 at 17:24.
ghostofmybrain is offline
s38
Junior Member
Join Date: Jan 2015
Old 02-12-2015 , 14:57   Re: [CS:GO] Multi-1v1 (v1.0.0, 2015-2-4)
Reply With Quote #588

That should works
Code:
#include <sourcemod>
#include <smlib>
#include "include/multi1v1.inc"
#include "multi1v1/version.sp"

#pragma semicolon 1

public Plugin:myinfo = {
    name = "CS:GO Multi1v1: ssg08 round addon",
    author = "splewis",
    description = "Adds an ranked ssg08 round-type",
    version = PLUGIN_VERSION,
    url = "https://github.com/splewis/csgo-multi-1v1"
};

public void Multi1v1_OnRoundTypesAdded() {
    Multi1v1_AddRoundType("SSG08", "ssg08", ssgHandler, Multi1v1_NullChoiceMenu, true, true, "ssg08Rating");
}

public void ssgHandler(int client) {
    Client_RemoveAllWeapons(client, "", true);
    Client_SetArmor(client, 100);
    GivePlayerItem(client, "weapon_ssg08");
}
For rankend round types

Last edited by s38; 02-12-2015 at 15:04.
s38 is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 02-12-2015 , 16:43   Re: [CS:GO] Multi-1v1 (v1.0.0, 2015-2-4)
Reply With Quote #589

I actually tried that last night, and it wouldn't even compile.

Code:
multi1v1_scoutknife.sp(18) : error 017: undefined symbol "ssgHandler"
multi1v1_scoutknife.sp(26) : warning 217: loose indentation
multi1v1_scoutknife.sp(26) : error 029: invalid expression, assumed zero
multi1v1_scoutknife.sp(26) : warning 215: expression has no effect
multi1v1_scoutknife.sp(26) : error 001: expected token: ";", but found "void"
multi1v1_scoutknife.sp(26) : error 001: expected token: ";", but found "("
multi1v1_scoutknife.sp(26) : fatal error 187: too many error messages on one line
That's why I thought to make a seperate plugin and keep it as KnifeHandler.

I tried yours and it worked, though. I wonder what the issue was.

/facepalm. I forgot to close my fucking bracket. That's what the whole issue.
__________________
Boycott ESEA
My servers

Last edited by ghostofmybrain; 02-12-2015 at 17:22.
ghostofmybrain is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 02-16-2015 , 16:07   Re: [CS:GO] Multi-1v1 (v1.0.0, 2015-2-4)
Reply With Quote #590

I'm not sure if this is the plugin or just CS:GO, but it appears that if time runs out, the CT wins the round. It seems a larger number of the community has caught onto this and has started to take advantage of it. Eg, on a knife round, the CT will run away and refuse to engage so they will be guaranteed the win. If this is part of the plugin (not CS:GO) is it possible to make the winner random instead of the CT?
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode