Raised This Month: $91 Target: $400
 22% 

[CS:GO] Hats (with editor menu and 3rd person)


Post New Thread Reply   
 
Thread Tools Display Modes
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 11-28-2015 , 10:57   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #21

@gamemann
Wouldn't it be better to add a translation phrase for the noaccess string (or simply use SM's built-in one).
Then you would have it translated too.
__________________
Stopped hosting servers as of November 2018, no longer active around here.
pcmaster is offline
gamemann
Veteran Member
Join Date: Sep 2009
Location: San Antonio, Texas
Old 11-28-2015 , 11:00   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #22

Quote:
Originally Posted by pcmaster View Post
@gamemann
Wouldn't it be better to add a translation phrase for the noaccess string (or simply use SM's built-in one).
Then you would have it translated too.
Yes. I haven't written plugins using translations in SourceMod yet. However, I will look into it soon.

Thanks for the suggestion!

EDIT:
The modified plugin now uses a translation file.
__________________

Click here for my GitHub page!

Last edited by gamemann; 11-28-2015 at 11:38.
gamemann is offline
Send a message via Skype™ to gamemann
Lannister
Veteran Member
Join Date: Apr 2015
Old 11-28-2015 , 11:39   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #23

Look at THOSE BEAUTIFUL WINGS ! jesus... you made me smile alot when i saw the pictures you uploaded in your profile showing off the wings...

KEEP UP THE GOOD WORK!
Lannister is offline
DramaLlama
Member
Join Date: Jan 2015
Location: Vancouver
Old 11-28-2015 , 17:21   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #24

can you make obama mask?
__________________

DramaLlama is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 11-28-2015 , 19:34   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #25

people are saying it causes server lag, when server has 30+ players

anyway to fix this other than making the hats admin only
__________________
PresidentEvil is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 11-28-2015 , 19:49   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #26

Quote:
Originally Posted by PresidentEvil View Post
people are saying it causes server lag, when server has 30+ players

anyway to fix this other than making the hats admin only
yep can confirm this. 28 slot and ppl using hats the var is very high. unloading the plugin and the var goes instant down to normal values.

Last edited by asdfxD; 11-28-2015 at 19:51.
asdfxD is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 11-28-2015 , 20:21   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #27

@gamemann I will add the features that you made to the next version

Quote:
Originally Posted by Lannister View Post
Look at THOSE BEAUTIFUL WINGS ! jesus... you made me smile alot when i saw the pictures you uploaded in your profile showing off the wings...

KEEP UP THE GOOD WORK!
Thanks, I love that you like it

Quote:
Originally Posted by DramaLlama View Post
can you make obama mask?
I dont create models, only plugins.

Quote:
Originally Posted by PresidentEvil View Post
people are saying it causes server lag, when server has 30+ players

anyway to fix this other than making the hats admin only
Surely is because SDKHook_SetTransmit require a lot of resources, so I can remove it but the hats will appear in the client view... unless I set the hat in a position where the client cant view it (like the wings). I will try to found a solution for this problem.
__________________
Veteran SourceMod Coder -> Activity channel
I am available for participate on communities for free -> INFO

You like my work? Drop a +Rep in my steam profile comments


Last edited by Franc1sco; 11-28-2015 at 20:26.
Franc1sco is offline
Send a message via MSN to Franc1sco
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 11-28-2015 , 23:33   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.3
Reply With Quote #28

Quote:
Originally Posted by PresidentEvil View Post
people are saying it causes server lag, when server has 30+ players

anyway to fix this other than making the hats admin only
Try the new version. And try only setting wings for public access and with "hide" "0" for dont use SDKHook_SetTransmit on it



New version 2.3

-Optimizations in the SDKHook_SetTransmit function.
-Added new "hide" value to the configuration file for dont use SDKHook_SetTransmit if not needed (less cpu usage). Check it in the example of the first post.
-Added one new ConVar (see below).
-Added a translation file.
-Improved the flags system.
-Fixed a crash with bots.
-New cvar
Code:
sm_franughats_thirdperson "1" // Enable/disable third-person while using "sm_hats" or "sm_editor"

Download the new version in the first post
__________________
Veteran SourceMod Coder -> Activity channel
I am available for participate on communities for free -> INFO

You like my work? Drop a +Rep in my steam profile comments


Last edited by Franc1sco; 11-28-2015 at 23:35.
Franc1sco is offline
Send a message via MSN to Franc1sco
Jaykrog
Senior Member
Join Date: May 2015
Old 11-29-2015 , 05:26   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.3
Reply With Quote #29

I get nothing but crashes and I've disabled everything. Not sure how to diagnose... not getting any errors or anything valuable in crash log.

I've updated to use the latest version of dhooks, and server only crashes when this plugin is loaded.

Here's the version of dhooks I installed:

http://users.alliedmods.net/~drifter...0-linux.tar.gz

Added Franc1sco on steam in case you'd like to look further.

Last edited by Jaykrog; 11-29-2015 at 05:57.
Jaykrog is offline
FuTOM
Junior Member
Join Date: Nov 2015
Old 11-29-2015 , 06:02   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.3
Reply With Quote #30

Quote:
Originally Posted by Jaykrog View Post
I get nothing but crashes and I've disabled everything. Not sure how to diagnose... not getting any errors or anything valuable in crash log.

I've updated to use the latest version of dhooks, and server only crashes when this plugin is loaded.

Here's the version of dhooks I installed:

http://users.alliedmods.net/~drifter...0-linux.tar.gz

Added Franc1sco on steam in case you'd like to look further.
I'm getting crashes as well. I was also wondering how to use this with global overrides, include what the sm_command is possibly. I added you on Steam and sent you a pm earlier. I decided to comment here for anyone else who wants to do the same. By just providing a sm_command I can do a global override on a tag to give to special people. Thanks for any help.

Edit: May I also add that it was working before, then I started messing with an mp_timelimit for my surf server and did sm plugins refresh and my server crashed until removing this plugin.

Last edited by FuTOM; 11-29-2015 at 06:03. Reason: Adding information.
FuTOM 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 07:58.


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