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

[ANY] Custom Unusual Effects


Post New Thread Reply   
 
Thread Tools Display Modes
EricPaulZ467
New Member
Join Date: Jun 2017
Old 07-13-2018 , 05:35   Re: [ANY] Custom Unusual Effects
Reply With Quote #41

I installed this in my listen server and the plugin command showed everything, but the problem is, whenever I typed "sm_unusual", it says something about client was cancelled reason -4. Did I do anything wrong?
EricPaulZ467 is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 07-19-2018 , 19:47   Re: [ANY] Custom Unusual Effects
Reply With Quote #42

Quote:
Originally Posted by EricPaulZ467 View Post
I installed this in my listen server and the plugin command showed everything, but the problem is, whenever I typed "sm_unusual", it says something about client was cancelled reason -4. Did I do anything wrong?
Nothing important, it worked for me with this warning so just ignore it.
Its propably something about the Menu Handles
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux
DJPlaya is offline
Send a message via Skype™ to DJPlaya
404UserNotFound
BANNED
Join Date: Dec 2011
Old 05-06-2019 , 16:42   Re: [ANY] Custom Unusual Effects
Reply With Quote #43

This plugin is very old and very badly written. Just looking at the source code I can see that it's bad. For example, this bit of code isn't called anywhere in the plugin. It's an event, but it's not even hooked in OnPluginStart;



PHP Code:
public Event_RemoveItem(Handle:hEventString:strName[], bool:bDontBroadcast)
{
    new 
iClient GetClientOfUserId(GetEventInt(hEvent"userid"));
    
DeleteParticle(iClientparticle);


Then there's the fact that this doesn't use a proper integer array to store the selected particle for each individual client. The global integer particle declared on line 14 doesn't use [MAXPLAYERS+1]. Basically if one client has selected their particle and then a second client selects their particle, the first client loses their particle.


This needs to be rewritten and should not be used.
404UserNotFound is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 05-12-2019 , 16:41   Re: [ANY] Custom Unusual Effects
Reply With Quote #44

Quote:
Originally Posted by 404UNF View Post
This needs to be rewritten and should not be used.
You want todo the Job?
It is written pretty badly but the only Plugin atm that can set (custom) Unusuals on Hats.

I mean, after respawning the Particle Height even resets to 0 so yea xD
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux
DJPlaya is offline
Send a message via Skype™ to DJPlaya
404UserNotFound
BANNED
Join Date: Dec 2011
Old 05-12-2019 , 23:45   Re: [ANY] Custom Unusual Effects
Reply With Quote #45

Quote:
Originally Posted by DJPlaya View Post
You want todo the Job?
It is written pretty badly but the only Plugin atm that can set (custom) Unusuals on Hats.

I mean, after respawning the Particle Height even resets to 0 so yea xD
Funnily enough, I'm already fixing this plugin up for someone.
404UserNotFound is offline
Wandering Dude The Modder
New Member
Join Date: Jan 2021
Old 02-23-2021 , 07:50   Re: [ANY] Custom Unusual Effects
Reply With Quote #46

I can't get this to work. Any help? SM_Downloader doesn't wanna download the file
I put it under //Any but still.
Wandering Dude The Modder 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 18:18.


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