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

[CSGO] Is it possible to unload a plugin before mapchange?


Post New Thread Reply   
 
Thread Tools Display Modes
Vaggelis
Senior Member
Join Date: May 2017
Old 09-20-2018 , 12:46   Re: [CSGO] Is it possible to unload a plugin before mapchange?
Reply With Quote #11

What about OnMapEnd()? Did you try with that?
Vaggelis is offline
Hunter6272
Senior Member
Join Date: Jun 2015
Location: Don't know
Old 09-20-2018 , 13:20   Re: [CSGO] Is it possible to unload a plugin before mapchange?
Reply With Quote #12

Quote:
Originally Posted by Vaggelis View Post
What about OnMapEnd()? Did you try with that?
That doesn't works either.
__________________
Patience is the key to success.
Hunter6272 is offline
Vaggelis
Senior Member
Join Date: May 2017
Old 09-20-2018 , 13:26   Re: [CSGO] Is it possible to unload a plugin before mapchange?
Reply With Quote #13

What's the plugin that crashes the server?
Vaggelis is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 09-20-2018 , 13:35   Re: [CSGO] Is it possible to unload a plugin before mapchange?
Reply With Quote #14

Quote:
Originally Posted by Hunter6272 View Post
Perfect If you could fix the issue on my unload thread it would be great
You haven't post any code or a name to the plugin with the real issue.
__________________
coding & free software
shanapu is offline
Hunter6272
Senior Member
Join Date: Jun 2015
Location: Don't know
Old 09-20-2018 , 13:43   Re: [CSGO] Is it possible to unload a plugin before mapchange?
Reply With Quote #15

Quote:
Originally Posted by shanapu View Post
You haven't post any code or a name to the plugin with the real issue.
One of them is store zephstore, other one is private. Apparantely with zephstore in the plugins folder, it crashes server on every mapchange. Without each other they both work perfectly
__________________
Patience is the key to success.
Hunter6272 is offline
Vaggelis
Senior Member
Join Date: May 2017
Old 09-20-2018 , 13:47   Re: [CSGO] Is it possible to unload a plugin before mapchange?
Reply With Quote #16

Quote:
Originally Posted by Hunter6272 View Post
One of them is store zephstore, other one is private. Apparantely with zephstore in the plugins folder, it crashes server on every mapchange. Without each other they both work perfectly
How you except us to help you when you say one of the plugins that crash your server is private?
Vaggelis is offline
Hunter6272
Senior Member
Join Date: Jun 2015
Location: Don't know
Old 09-20-2018 , 13:54   Re: [CSGO] Is it possible to unload a plugin before mapchange?
Reply With Quote #17

Quote:
Originally Posted by Vaggelis View Post
How you except us to help you when you say one of the plugins that crash your server is private?
If you see the title , i asked for help with unloading rather than editing the plugin.
__________________
Patience is the key to success.
Hunter6272 is offline
Vaggelis
Senior Member
Join Date: May 2017
Old 09-20-2018 , 14:32   Re: [CSGO] Is it possible to unload a plugin before mapchange?
Reply With Quote #18

Quote:
Originally Posted by Hunter6272 View Post
If you see the title , i asked for help with unloading rather than editing the plugin.
If you think unloading a plugin just not to crash the server is good solution anyway. So a workaround i guess is that you can remove the plugin at this line for rockthevote https://github.com/alliedmodders/sou...hevote.sp#L233
and at that line for mapchooser https://github.com/alliedmodders/sou...hooser.sp#L774 and here https://github.com/alliedmodders/sou...hooser.sp#L430 and here https://github.com/alliedmodders/sou...hooser.sp#L388
About changing map with the rcon command do it like this /rcon sm_map mapname

Last edited by Vaggelis; 09-20-2018 at 14:35.
Vaggelis is offline
Hunter6272
Senior Member
Join Date: Jun 2015
Location: Don't know
Old 09-20-2018 , 15:36   Re: [CSGO] Is it possible to unload a plugin before mapchange?
Reply With Quote #19

Quote:
Originally Posted by Vaggelis View Post
If you think unloading a plugin just not to crash the server is good solution anyway. So a workaround i guess is that you can remove the plugin at this line for rockthevote https://github.com/alliedmodders/sou...hevote.sp#L233
and at that line for mapchooser https://github.com/alliedmodders/sou...hooser.sp#L774 and here https://github.com/alliedmodders/sou...hooser.sp#L430 and here https://github.com/alliedmodders/sou...hooser.sp#L388
About changing map with the rcon command do it like this /rcon sm_map mapname
I am using umc mapchooser. This one : here , If you can share coding example for this. It would be really great.
__________________
Patience is the key to success.

Last edited by Hunter6272; 09-20-2018 at 15:37. Reason: Fixed the link.
Hunter6272 is offline
Vaggelis
Senior Member
Join Date: May 2017
Old 09-20-2018 , 15:50   Re: [CSGO] Is it possible to unload a plugin before mapchange?
Reply With Quote #20

Remove the plugin here https://github.com/Silenci0/UMC/blob...utils.inc#L649
Because thats the include file you need to recompile the plugins again
Vaggelis 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 07:03.


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