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 01-07-2015 , 14:06   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #521

That will not work against 0.5.2, no.

The documentation explains whether it's ranked or not
https://github.com/splewis/csgo-mult...ti1v1.inc#L341

that knife round plugin has ranked=false, so no, it doesn't.
__________________
splewis is offline
s38
Junior Member
Join Date: Jan 2015
Old 01-09-2015 , 06:30   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #522

Ok, so i've update plugin to 1.0.0 dev and it works but in error logs i found:
Code:
L 01/09/2015 - 12:06:25: [multi1v1.smx] Warning: marked round type "knife" as unranked but passed rating field name "knifeRating"
So it looks like rating for knife rounds won't work.
But in inlude file i change bool ranked=false to true
I think I did that right.

Code:
native int Multi1v1_AddRoundType(const char[] displayName,
                                 const char[] internalName,
                                 RoundTypeWeaponHandler weaponsHandler,
                                 RoundTypeMenuHandler menuHandler=Multi1v1_NullChoiceMenu,
                                 bool optional=true,
                                 bool ranked=true,
                                 const char[] ratingFieldName="knifeRating");
s38 is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 01-09-2015 , 14:16   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #523

Quote:
Originally Posted by s38 View Post
Ok, so i've update plugin to 1.0.0 dev and it works but in error logs i found:
Code:
L 01/09/2015 - 12:06:25: [multi1v1.smx] Warning: marked round type "knife" as unranked but passed rating field name "knifeRating"
So it looks like rating for knife rounds won't work.
But in inlude file i change bool ranked=false to true
I think I did that right.
If you wanted ranked knife rounds you should be editing the knife rounds plugin, not the include (all you did was change the default value for an optional argument for that function)

So edit
https://github.com/splewis/csgo-mult...kniferounds.sp

changing
Code:
public void Multi1v1_OnRoundTypesAdded() {
    Multi1v1_AddRoundType("Knife", "knife", KnifeHandler, Multi1v1_NullChoiceMenu, true, false);
}
to

Code:
public void Multi1v1_OnRoundTypesAdded() {
    Multi1v1_AddRoundType("Knife", "knife", KnifeHandler, Multi1v1_NullChoiceMenu, true, true, "knifeRating");
}
__________________
splewis is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 01-13-2015 , 15:21   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #524

Getting alot of errors since yesterday on my arena servers and its resultning in crashes of all arenas at the same time (using the same DB). No other servers affected on same machine.

Console:
*.*.14.207:27005:corrupted packet 2135219218 at 0
*.*.14.207:27005:corrupted packet -45397383 at 0
*.*.14.207:27005:corrupted packet -844409445 at 0
*.*.14.207:27005:corrupted packet -1006724454 at 0
*.*.14.207:27005:corrupted packet 344051457 at 0
*.*.14.207:27005:corrupted packet 1172991200 at 0
*.*.14.207:27005:corrupted packet -193006676 at 0
Ejziponken is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 01-13-2015 , 15:41   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #525

Quote:
Originally Posted by Ejziponken View Post
Getting alot of errors since yesterday on my arena servers and its resultning in crashes of all arenas at the same time (using the same DB). No other servers affected on same machine.

Console:
*.*.14.207:27005:corrupted packet 2135219218 at 0
*.*.14.207:27005:corrupted packet -45397383 at 0
*.*.14.207:27005:corrupted packet -844409445 at 0
*.*.14.207:27005:corrupted packet -1006724454 at 0
*.*.14.207:27005:corrupted packet 344051457 at 0
*.*.14.207:27005:corrupted packet 1172991200 at 0
*.*.14.207:27005:corrupted packet -193006676 at 0
Nothing to do with the plugin. Restart your game and it'll be fixed for you. (let me guess, you also played a matchmaking game right before you saw that, too?)
__________________
splewis is offline
maRoff
Member
Join Date: Apr 2007
Location: Poland
Old 01-15-2015 , 01:21   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #526

That was fixed in yesterday cs:go update
Code:
[MISC]
– Fixed a corrupt packets issue that occurred when a client attempted to play on community servers after official servers.
__________________
maRoff is offline
s38
Junior Member
Join Date: Jan 2015
Old 01-15-2015 , 11:46   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #527

To remove pistols from awp rounds I should remove this fragment:
Code:
int pistolBehavior = GetConVarInt(g_hPistolBehavior);
    if (pistolBehavior == 0) {
        GiveWeapon(client, g_SecondaryWeapon[client]);
    } else if (pistolBehavior == 2 || pistolBehavior == 3) {
        char defaultPistol[32];
        GetConVarString(g_hDefaultPistol, defaultPistol, sizeof(defaultPistol));
        GiveWeapon(client,  defaultPistol);
    }
from roundtypes.sp in line where are awp rounds ?

And when i compile multi1v1.sp i get 1 warning:
Code:
multi1v1.sp(169) : warning 204: symbol is assigned a value that is never used: "
g_hDefaultPistol"

Last edited by s38; 01-15-2015 at 11:49.
s38 is offline
TUSK3N1337
SourceMod Donor
Join Date: Dec 2013
Location: Sweden
Old 01-15-2015 , 12:45   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #528

I agree with him above me the awp rounds should not have pistols in it since its awp? People are just choosing deagle/CZ and just running and gunning. A cvar would be nice.
__________________
TUSK3N1337 is offline
Send a message via Skype™ to TUSK3N1337
s38
Junior Member
Join Date: Jan 2015
Old 01-15-2015 , 14:07   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #529

ok I solve my problem by setting cvar sm_multi1v1_pistol_behavior to 1
TUSK3N1337 use this cvar to remove pistols from all non pistol rounds
s38 is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 01-15-2015 , 17:48   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #530

Quote:
Originally Posted by s38 View Post
ok I solve my problem by setting cvar sm_multi1v1_pistol_behavior to 1
TUSK3N1337 use this cvar to remove pistols from all non pistol rounds
If you use a development version you can do this. (the cvar doesn't exist in 0.5.2)

(and by development version I mean compile it yourself or use the last build at http://ci.splewis.net/job/csgo-multi...ccessfulBuild/)
__________________
splewis 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 00:28.


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