Raised This Month: $32 Target: $400
 8% 

[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 06-13-2014 , 22:35   Re: [CS:GO] Multi-1v1 (v0.3.2, 2014-6-05)
Reply With Quote #31

Quote:
Originally Posted by Prime247cs View Post
Sorry for me question and hopefully noone comes with the RTFM

I am new to GO, old to 1.6 and this was friggin hard a few weeks ago. Now I have alot bigger understanding of how sourcemod works but still, I need help. I have googeled I have searched this forum and I have gone blind to find what I seek.

I get this plugin to work with standard maps like dust2 and so on, but as soon as I add workshop maps the server hibernates. Anyone kind out there whant to give me a point in the right direction?? Would appreciate it very much



Prime
One issue I have with workshop maps is that sometimes I need to delete the csgo/subscribed_* files (subscribed_file_ids.txt and subscribed_file_collections.txt or something similar, I forget the exact names.)



I'll have to think about the private arena idea... I'm not sure how well it would mesh with a public server. (I generally try to delineate whether I envision a plugin running publicly or privately).

I mulled over trying microsoft's true skill system instead of elo but quickly realized I didn't want to implement a bunch of numerical recipes in a sourcemod plugin. (cumulative error function, cumulative Gaussian function...). The elo stuff works in 2 lines while this would take at least 200.


I'm also thinking about scrapping the ladder-arena approach and do matching differently. This could allow for things to happen quicker than every 30 seconds, though I'm not sure if I need to hide blood or dead bodies to prevent the arenas from becoming a confusing mess.

On that note, I am probably going to make some slightly backwards-incompatible changes going forward, but I will leave the 0.3.2 release on github and will use a separate updater directory so nobody gets screwed over by it. The changes would likely include: assuming the existence of the lastTime field in the table and removing the default rating cvar.
__________________
splewis is offline
Prime247cs
Junior Member
Join Date: Aug 2013
Old 06-14-2014 , 17:03   Re: [CS:GO] Multi-1v1 (v0.3.2, 2014-6-05)
Reply With Quote #32

dv9unknown and splewis. Thanks for your help. I did both and it worked

splewis, thanks for this awesome plugin, runs great Will be using this much so will come with feeback with issues or ideas to make in leaner ;)


Prime

Last edited by Prime247cs; 06-14-2014 at 17:03.
Prime247cs is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 06-14-2014 , 17:54   Re: [CS:GO] Multi-1v1 (v0.3.2, 2014-6-05)
Reply With Quote #33

Quote:
Originally Posted by Prime247cs View Post
dv9unknown and splewis. Thanks for your help. I did both and it worked

splewis, thanks for this awesome plugin, runs great Will be using this much so will come with feeback with issues or ideas to make in leaner ;)


Prime
Glad to hear it.


The CS_SetClientClanTag should work again (at least it automatically updated the gamedata to work on my windows server), so you can put that back in if you want to.

I'm probably not going to make drastic changes anytime soon, but the 0.4.x versions should be a bit cleaner. (and include dv9's web interface!)


Edit: some notes on the web stuff:

I get really slow performance loading the main page, I haven't quite figured out why yet. I went ahead and made some stylistic spacing consistency changes since I found it hard to read, but I don't plan on editing it that much. One probably insignificant suggestion, should
Code:
			$totalplayers = mysql_num_rows(mysql_query("SELECT * FROM $mysql_table"));

be

Code:
			$totalplayers = mysql_query("SELECT COUNT(*) FROM $mysql_table");
or something similar (that way it avoids a select * over the entire table)?
__________________

Last edited by splewis; 06-15-2014 at 12:09.
splewis is offline
maRoff
Member
Join Date: Apr 2007
Location: Poland
Old 06-15-2014 , 01:55   Re: [CS:GO] Multi-1v1 (v0.3.2, 2014-6-05)
Reply With Quote #34

I'm waiting for new version ;)

I have one other question:
Why in server browser I have:
workshop/252790660/aim_beach_v7



but You have only: /251121916/am_must

I read that valve remove "workshop" from map name, but I still have it.
I starting server with workshop collection:
Code:
+host_workshop_collection 249376192
__________________
maRoff is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 06-15-2014 , 12:08   Re: [CS:GO] Multi-1v1 (v0.3.2, 2014-6-05)
Reply With Quote #35

Quote:
Originally Posted by maRoff View Post
I'm waiting for new version ;)

I have one other question:
Why in server browser I have:
workshop/252790660/aim_beach_v7



but You have only: /251121916/am_must

I read that valve remove "workshop" from map name, but I still have it.
I starting server with workshop collection:
Code:
+host_workshop_collection 249376192
I have no idea what determines if the "workshop" prefix is removed or not, I've never changed anything to get it removed. I use the same launch option as you, though.
__________________
splewis is offline
dv9unknown
Senior Member
Join Date: Aug 2009
Old 06-15-2014 , 13:39   Re: [CS:GO] Multi-1v1 (v0.3.2, 2014-6-05)
Reply With Quote #36

Quote:
Originally Posted by splewis View Post
I get really slow performance loading the main page, I haven't quite figured out why yet. I went ahead and made some stylistic spacing consistency changes since I found it hard to read, but I don't plan on editing it that much. One probably insignificant suggestion, should
Code:
			$totalplayers = mysql_num_rows(mysql_query("SELECT * FROM $mysql_table"));

be

Code:
			$totalplayers = mysql_query("SELECT COUNT(*) FROM $mysql_table");
or something similar (that way it avoids a select * over the entire table)?
Yeah, I recently made that change locally. What parts exactly are taking long to load? Is it the whole page or just the stuff that uses the Steam API (profile picture, online status)? Before I switched to cURL from get_file_contents, the load times were about 5-6 seconds.

This is what I have set up atm. Load times are usually around 0.5 seconds.
http://107.181.129.39/1v1/

Last edited by dv9unknown; 06-15-2014 at 13:41.
dv9unknown is offline
dv9unknown
Senior Member
Join Date: Aug 2009
Old 06-16-2014 , 21:22   Re: [CS:GO] Multi-1v1 (v0.3.2, 2014-6-05)
Reply With Quote #37

Quote:
Originally Posted by splewis View Post
I'll have to think about the private arena idea... I'm not sure how well it would mesh with a public server. (I generally try to delineate whether I envision a plugin running publicly or privately).
I don't know which part you see causing a problem with the public arenas, but you could have it so there's only a certain number of private arenas that way not all people are in private arenas. Everything else could work the same, except those two players will always be against each other.

Was just a just a thought I had because a lot of people were asking about it. No real rush for it since you're working on the new rating system, just a suggestion for the future.
dv9unknown is offline
aroo
New Member
Join Date: Jun 2014
Old 06-17-2014 , 14:21   Re: [CS:GO] Multi-1v1 (v0.3.2, 2014-6-05)
Reply With Quote #38

Hi, I am fairly new to this, just bought a server from gameservers.com and downloaded the required mods. Where do I put the mapcycle.txt and how do I run the 1v1 arena after I have it all extracted into my server?

Also, is there any beginner guides you would recommend?

Thanks!

Last edited by aroo; 06-17-2014 at 14:21.
aroo is offline
maRoff
Member
Join Date: Apr 2007
Location: Poland
Old 06-17-2014 , 15:57   Re: [CS:GO] Multi-1v1 (v0.3.2, 2014-6-05)
Reply With Quote #39

https://wiki.alliedmods.net/Installing_SourceMod
https://wiki.alliedmods.net/SourceMod_Configuration

Install plugin (Plugin Loading):
https://wiki.alliedmods.net/SourceMod_Configuration

Put mapcycle.txt in:
Code:
csgo/mapcycle.txt
Put maps in maps folder.
__________________
maRoff is offline
redf0x
AlliedModders Donor
Join Date: Jan 2013
Location: NE
Old 06-19-2014 , 22:06   Re: [CS:GO] Multi-1v1 (v0.3.2, 2014-6-05)
Reply With Quote #40

OP is a god damn genius for making this plugin.
redf0x 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 00:58.


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