Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
ouchie
Member
Join Date: Feb 2014
Old 08-01-2014 , 18:41   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #201

Quote:
Originally Posted by splewis View Post
That's a mistake on my part - you do need the updater include to compile.
hey so where do I add the include? I added it in the top line of multi1v1.sp in /sourcemod/scripting as follows:
#include <updater>#include <smlib> ............etc

is this correct? because I get the same error with not finding updater files. Where should the files be? cuz https://forums.alliedmods.net/showthread.php?t=169095 only has a updater.smx to download, and I have that in my plugins folder... so am I missing something?

Thanks again!
ouchie is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 08-01-2014 , 20:12   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #202

Quote:
Originally Posted by ouchie View Post
hey so where do I add the include? I added it in the top line of multi1v1.sp in /sourcemod/scripting as follows:
#include <updater>#include <smlib> ............etc

is this correct? because I get the same error with not finding updater files. Where should the files be? cuz https://forums.alliedmods.net/showthread.php?t=169095 only has a updater.smx to download, and I have that in my plugins folder... so am I missing something?

Thanks again!
You should be downloading the updater.inc file @ https://bitbucket.org/GoD_Tony/updat...de/updater.inc

I actually have a sourcemod download I keep with common includes packed inside the scripting/include directory, so I can just download it without having to get all the 3rd party includes. I've found it quite useful for compiling things on various servers, though I wish there was a debian package spcomp

... that's actually what my (virtually completely useless) continuous integration does: https://github.com/splewis/csgo-mult...er/.travis.yml

Hopefully there is a linter one day I can add to that, so it's slightly less useless.
__________________
splewis is offline
dv9unknown
Senior Member
Join Date: Aug 2009
Old 08-02-2014 , 00:39   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #203

Quote:
Originally Posted by extremeg View Post
can someone help me ?
Sorry about that. The top 15 list only shows up on the main page. If you want you can use this plugin to bring it up.

https://forums.alliedmods.net/showthread.php?t=244075

-

By the way, is anyone else having a weird lag when the round restarts? I don't know if it's just me but I've only ever seen it happen on my second server. The server essentially just times out for about 2-3 seconds.
__________________


Last edited by dv9unknown; 08-02-2014 at 00:42.
dv9unknown is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 08-02-2014 , 03:02   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #204

Quote:
Originally Posted by dv9unknown View Post
Sorry about that. The top 15 list only shows up on the main page. If you want you can use this plugin to bring it up.

https://forums.alliedmods.net/showthread.php?t=244075

-

By the way, is anyone else having a weird lag when the round restarts? I don't know if it's just me but I've only ever seen it happen on my second server. The server essentially just times out for about 2-3 seconds.
The ratings are fetching during freeze time, which can cause some noticeable lag. It only fetches when the ratings are missing - so it shouldn't be happening very often. I only feel a tiny (~100 ms) lag on the first round occasionally. And that's a California server talking to a New York database.

It's now done asynchronously however, so this shouldn't be an issue in the future.
__________________
splewis is offline
ouchie
Member
Join Date: Feb 2014
Old 08-02-2014 , 05:37   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #205

Quote:
Originally Posted by splewis View Post
You should be downloading the updater.inc file @ https://bitbucket.org/GoD_Tony/updat...de/updater.inc

I actually have a sourcemod download I keep with common includes packed inside the scripting/include directory, so I can just download it without having to get all the 3rd party includes. I've found it quite useful for compiling things on various servers, though I wish there was a debian package spcomp

... that's actually what my (virtually completely useless) continuous integration does: https://github.com/splewis/csgo-mult...er/.travis.yml

Hopefully there is a linter one day I can add to that, so it's slightly less useless.
Ok so this is getting closer!!! lol... heres the only error I am getting, and I don't know why..
Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// multi1v1.sp
// multi1v1/weaponmenu.sp(63) : error 017: undefined symbol "IsPlayer"
//
// 1 Error.
//
// Compilation Time: 0.72 sec
// ----------------------------------------

Press enter to exit ...

Last edited by ouchie; 08-02-2014 at 05:37.
ouchie is offline
ouchie
Member
Join Date: Feb 2014
Old 08-02-2014 , 14:35   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #206

I got it!!! Thank you for all your help!!!
ouchie is offline
ouchie
Member
Join Date: Feb 2014
Old 08-02-2014 , 17:47   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #207

Here is the plugin with a Scout added to the guns menu for anyone else who might want it.
Attached Files
File Type: smx multi1v1.smx (37.5 KB, 115 views)
ouchie is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 08-02-2014 , 21:44   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #208

My work on the next version is going pretty well. Aside from a few tweaks/bug fixes (time running out and round not ending fixed, stats fetched done async), the bigger change would be the exposure of a lot of plugin things through natives and forwards.

This enables doing some cool things without having to fork/branch the plugin. Some early things are @ https://github.com/splewis/csgo-mult...plugin-modules

If there's anything you'd want in the include (https://github.com/splewis/csgo-mult...e/multi1v1.inc) let me know!

Better comments and possible name changes are still quite possible, too.


... and if anyone wants to contribute, there's 2 skeleton plugins that need to get filled in one day.

https://github.com/splewis/csgo-mult..._elomatcher.sp

https://github.com/splewis/csgo-mult...1_quietmode.sp
__________________
splewis is offline
dv9unknown
Senior Member
Join Date: Aug 2009
Old 08-02-2014 , 21:50   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #209

One of my friends said he's gonna take a job to implement a "one in the chamber" mode for 1v1. We did a few polls on the server and around 90% of the people said yes. We're working on it right now and we will see how players like this mode.
__________________

dv9unknown is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 08-02-2014 , 21:58   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #210

Quote:
Originally Posted by dv9unknown View Post
One of my friends said he's gonna take a job to implement a "one in the chamber" mode for 1v1. We did a few polls on the server and around 90% of the people said yes. We're working on it right now and we will see how players like this mode.

Assuming that means they only get 1 bullet, it should be easy by:
- putting weapon stuff in AfterPlayerSpawn
- get the weapon entities
- set the ammo to them to 1 (seems like smlib has a function for it)
- probably take away secondary weapons if they have a primary
__________________
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 04:59.


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