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

[CS:GO] Custom Status


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-21-2020 , 02:57   Re: [CS:GO] Custom Status
Reply With Quote #11

Quote:
Originally Posted by YourDignity View Post
plugin will not compile fatal error 183: cannot read from file: "PTaH"
Missing include from PTaH extension

Quote:
Originally Posted by eyal282 View Post
The syntax looks terrible. Use tab to make steam IDs align.
Tab would cause the same problems, instead display strings like "%20s" which auto pads the string when it's length is less than 20 characters for example, or "%32s" might be better for names (don't know exact name length limit).
__________________

Last edited by Silvers; 07-21-2020 at 02:57.
Silvers is offline
YourDignity
Junior Member
Join Date: Sep 2018
Old 07-21-2020 , 10:09   Re: [CS:GO] Custom Status
Reply With Quote #12

Can you make it so that if someone has a longer name it still keeps every thing inline instead of miss spacing every thing
YourDignity is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 07-25-2020 , 06:09   Re: [CS:GO] Custom Status
Reply With Quote #13

Code:
void LoadConfig()
{
	char inFile[PLATFORM_MAX_PATH];
	char line[512];
	
	BuildPath(Path_SM, inFile, sizeof(inFile), "configs/ADEPT_Status.txt");
	
	Handle file = OpenFile(inFile, "rt");
	if (file != INVALID_HANDLE)
	{
		while (!IsEndOfFile(file))
		{
			if (!ReadFileLine(file, line, sizeof(line))) {
				break;
			}
			
			TrimString(line);
			if (strlen(line) > 0)
			{
				if(strlen(line) >= 2 && line[0] == '/' && line[1] == '/')
					continue;
				
				StatusArray.PushString(line);
			}
		}
		CloseHandle(file);
	}
}
Your method of commenting a line ( // ) searches the entire line, meaning links of https:// will be marked as a comment line.

Edit: You cannot return chars, that's illegal.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334

Last edited by eyal282; 07-25-2020 at 06:35.
eyal282 is offline
Brum Brum
Junior Member
Join Date: Mar 2017
Old 07-30-2020 , 23:32   Re: [CS:GO] Custom Status
Reply With Quote #14

Hello there im here to notification you about new update What was changed?
1. Added player name characters limit to 16 (if you want change this for more characters edit 103 line). This still not look very good, but better (if you know how i can do this better write here <3)
2. Added convar for sorting player by userid (ASC)
3. Added native for hide/show player from status. Useful with admin stealth when admin is invisible in scoreboard, but you must add this native in admin stealth first.

Quote:
Originally Posted by eyal282 View Post
Your method of commenting a line ( // ) searches the entire line, meaning links of https:// will be marked as a comment line.
Yeah, but i dont think so is needed, you can add www.site.com https:// is not needed. But if you want this, just add this by self, but thanks for reply ;)

if someone have any ideas whats i can add to this plugin write it here
Brum Brum is offline
Dusto
Junior Member
Join Date: Sep 2019
Old 10-16-2020 , 14:00   Re: [CS:GO] Custom Status
Reply With Quote #15

this plugin download link not working
Dusto is offline
ownage13
AlliedModders Donor
Join Date: Apr 2015
Old 10-18-2020 , 18:33   Re: [CS:GO] Custom Status
Reply With Quote #16

Can y ou make it compatible with this too?

https://github.com/SM9CC/StealthRevived

Last edited by ownage13; 10-18-2020 at 18:33.
ownage13 is offline
Y00k
Junior Member
Join Date: Jan 2018
Old 10-23-2020 , 06:13   Re: [CS:GO] Custom Status
Reply With Quote #17

how can I add "rates" there?

Last edited by Y00k; 10-23-2020 at 06:13.
Y00k is offline
darkoplin
Junior Member
Join Date: Mar 2017
Location: Hungary
Old 11-08-2020 , 07:25   Re: [CS:GO] Custom Status
Reply With Quote #18

Those who have admin will not show this status.
Set to write to permissions
darkoplin is offline
Suluxa
Junior Member
Join Date: Oct 2021
Old 10-26-2021 , 05:45   Re: [CS:GO] Custom Status
Reply With Quote #19

Quote:
Originally Posted by starcs View Post
I found an error, the command is showing only 1 player repeatedly, when it was to show different players

What's font of that big text?
Suluxa is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 10-29-2021 , 07:31   Re: [CS:GO] Custom Status
Reply With Quote #20

Quote:
Originally Posted by Suluxa View Post
Quote:
Originally Posted by starcs View Post
I found an error, the command is showing only 1 player repeatedly, when it was to show different players

What's font of that big text?
Usually generated with the FIGlet program.

... like this
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL 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 10:18.


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