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

[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 12-29-2014 , 14:18   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #511

Quote:
Originally Posted by WhyteDem0n View Post
I'm using whatever files were included in https://github.com/splewis/csgo-mult...i1v1_0.5.2.zip . As for my web interface, I pulled it directly from the repo.
Then it's the problem I mentioned when I said

Code:
If you pulled the most recent version of the web interface from the git repo it won't work unless your plugin is updated as well.
(and by updated I meant compiling the plugin currently in the git repo)

There's no official release version of the web interface yet - that should come in the next release of the plugin though.

For now I'd suggest rolling your web interface back to this point: https://github.com/splewis/csgo-mult...20a6c7a020/web

(another alternative, if you're comfortable doing sql stuff, is to add "serverID INT NOT NULL default 0" to the multi1v1_stats table)
__________________
splewis is offline
WhyteDem0n
Junior Member
Join Date: Dec 2014
Old 12-29-2014 , 14:32   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #512

Quote:
Originally Posted by splewis View Post
and by updated I meant compiling the plugin currently in the git repo
I'm sorry, I'm literally brand new to github. How would I compile the latest version of the plugin in the repo and would doing so likely fix the issue? I know you've offered other alternatives, but I'm just being curious.

Quote:
Originally Posted by splewis View Post
another alternative, if you're comfortable doing sql stuff, is to add "serverID INT NOT NULL default 0" to the multi1v1_stats table
My SQL table already has a serverID with a default of 0 and not NULL as I followed the structure described in the readme in the repo.

Edit upon edits upon edits: I reverted to the old web interface and everything works smoothly.

Last edited by WhyteDem0n; 12-29-2014 at 14:59.
WhyteDem0n is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 12-29-2014 , 14:59   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #513

Quote:
Originally Posted by WhyteDem0n View Post
I'm sorry, I'm literally brand new to github. How would I compile the latest version of the plugin in the repo and would doing so likely fix the issue? I know you've offered other alternatives, but I'm just being curious.
Yes. If it didn't, that would be a bug and I'd work to fix it. What's on the master branch should always work when installed.

Here's how to compile plugins in general: https://wiki.alliedmods.net/Compiling_SourceMod_Plugins

But you'd have to use the 1.7 compiler and have sourcemod 1.7 on the server, so it'd need a snapshot from http://www.sourcemod.net/snapshots.php

Quote:
Originally Posted by WhyteDem0n View Post
My SQL table already has a serverID with a default of 0 and not NULL as I followed the structure described in the readme in the repo.

Edit: I reverted to the old web interface, now I'm getting an error when the stats/rank command is used: Warning: mysqli_num_rows() expects parameter to be mysqli_result, boolean given in /usr/www/resistgaming/public/stats/index.php on line 51

You can pm the website link if you want and I'll try to take a look.
__________________
splewis is offline
WhyteDem0n
Junior Member
Join Date: Dec 2014
Old 12-29-2014 , 15:08   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #514

Quote:
Originally Posted by splewis View Post
You can pm the website link if you want and I'll try to take a look.
Guess you posted right before my last edit, I was a doof and forgot to change the url to match the old web interface, it's working now. Thanks for all your help, it's much appreciated! :-D
WhyteDem0n is offline
hackeballe
New Member
Join Date: Aug 2012
Old 01-03-2015 , 12:12   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #515

I got some issue with guns not showing up, gun menu is there but it doesnt spawn any weapons.

edit:
Client console output: 'Unknown command: sm_guns'

Last edited by hackeballe; 01-03-2015 at 12:38.
hackeballe is offline
qiuhaian
Senior Member
Join Date: Nov 2009
Old 01-04-2015 , 08:16   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #516

can you remove the map guns on the ground ?
qiuhaian is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 01-04-2015 , 12:02   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #517

Hm.. Does anyone else have 50% choke with the arena plugin? I only seem to have it on my arena servers.
Ejziponken is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-04-2015 , 12:05   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #518

Quote:
Originally Posted by qiuhaian View Post
can you remove the map guns on the ground ?
Set the cvar mp_weapons_allow_map_placed to 0
h3bus is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 01-04-2015 , 17:10   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #519

Quote:
Originally Posted by hackeballe View Post
I got some issue with guns not showing up, gun menu is there but it doesnt spawn any weapons.
Try restarting your server. If it still doesn't work, manually update the CS:GO gamedata files then restart and try again.
__________________
splewis is offline
s38
Junior Member
Join Date: Jan 2015
Old 01-07-2015 , 10:07   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #520

Hello, I want to add kniferounds to my server i try compile multi1v1_kniferounds.sp with sourcemod 1.7 and latest smlib but it fails, errors i get:

Code:
SourcePawn Compiler 1.7.0-dev+5124
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

multi1v1/generic.sp(12) : error 017: undefined symbol "g_PluginTeamSwitch"
multi1v1/generic.sp(12) : warning 215: expression has no effect
multi1v1/generic.sp(12) : error 001: expected token: ";", but found "]"
multi1v1/generic.sp(12) : error 029: invalid expression, assumed zero
multi1v1/generic.sp(12) : fatal error 187: too many error messages on one line

Compilation aborted.
4 Errors.
And I have a question about this improvement and rank, does this knife rounds adds kills/points to database?
Code:
#include <sourcemod>
#include <smlib>
#include "include/multi1v1.inc"
#include "multi1v1/generic.sp"

#pragma semicolon 1

public Plugin:myinfo = {
    name = "CS:GO Multi1v1: knife round addon",
    author = "splewis",
    description = "Adds a knife-round option when both playes in an arena allow it",
    version = PLUGIN_VERSION,
    url = "https://github.com/splewis/csgo-multi-1v1"
};

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

public void KnifeHandler(int client) {
    Client_RemoveAllWeapons(client, "", true);
    Client_SetArmor(client, 100);
    GivePlayerItem(client, "weapon_knife");
}
And this knife rounds will work with multi1v1 0.5.2?
s38 is offline
Reply


Thread Tools
Display Modes

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 10:49.


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