September 18, 2021, 12:39:09 pm

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: [1]

Author Topic: [Mod] - [Derpduck] - [Better Server Plugin Restart Mod]  (Read 2408 times)

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5770
[Mod] - [Derpduck] - [Better Server Plugin Restart Mod]
« on: August 27, 2013, 06:51:38 am »

I've entered a mod every year (I think) and I'm not going to stop now.

https://www.dropbox.com/s/slryoy0yua2u52i/Better_Server_Plugin_Restart_Mod.zip

This doesn't force you to restart or quit when you leave a server that is using server plugins. Instead it remembers all of the plugins you have downloaded, then when you try to join another server it will show your plugins and the plugins the server has, and allow you to choose between continuing at your own risk, restarting or quitting.
« Last Edit: August 27, 2013, 08:20:30 am by Derpduck [LORD] »
Logged

Lorgan

  • Retired Randomizer Mod Developer
  • Resident Miku
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 3657
    • My own website
Re: [Mod] - [Derpduck] - [Better Server Plugin Restart Mod]
« Reply #1 on: August 27, 2013, 07:50:36 am »

What kind of error?
Logged
Unfortunately, turning a section into a communist oppressive regime is not against the forum rules, so there is really nothing we can do.
Quote from: steam
21:08 - Hullusorsa: lorgan, when will you buy us the keys?
21:09 - Lorgan: i'm waiting for greece to collapse so the value of the euro drops
21:09 - Lorgan: not even joking

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5770
Re: [Mod] - [Derpduck] - [Better Server Plugin Restart Mod]
« Reply #2 on: August 27, 2013, 07:58:17 am »

Code: [Select]
ERROR in
action number 1
of End Step Event
for object __newobject813:

Error in code at line 15:
           }  else if keyboard_check_pressed(global.chatTeam) && global.myself.team != TEAM_SPECTATOR && !open {
                                                                              ^
at position 77: Unknown variable team

It goes on forever.

It only started happening after 2.4 (or 2.5 idk).
« Last Edit: August 27, 2013, 07:59:22 am by Derpduck [LORD] »
Logged

Lorgan

  • Retired Randomizer Mod Developer
  • Resident Miku
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 3657
    • My own website
Re: [Mod] - [Derpduck] - [Better Server Plugin Restart Mod]
« Reply #3 on: August 27, 2013, 08:06:41 am »

I suppose that the chatWindow stays open after you disconnected from the server...
I'll fix it in my chat/console version i'm working on but it's gonna take a while before i can release that (if i release it at all).

You could destroy chatWindow after disconnecting from the server yourself (if chat is loaded)
Logged
Unfortunately, turning a section into a communist oppressive regime is not against the forum rules, so there is really nothing we can do.
Quote from: steam
21:08 - Hullusorsa: lorgan, when will you buy us the keys?
21:09 - Lorgan: i'm waiting for greece to collapse so the value of the euro drops
21:09 - Lorgan: not even joking

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5770
Re: [Mod] - [Derpduck] - [Better Server Plugin Restart Mod]
« Reply #4 on: August 27, 2013, 08:10:05 am »

I tried that, I removed it from the mod though because it does nothing.

I'll try again but something slightly different.

Ok, so that worked. I'll upload now.  :drool: I don't know why I didn't do that before, I just wasn't thinking properly.
« Last Edit: August 27, 2013, 08:16:39 am by Derpduck [LORD] »
Logged

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5770
Re: [Mod] - [Derpduck] - [Better Server Plugin Restart Mod]
« Reply #5 on: August 27, 2013, 08:19:46 am »

Uploaded, and due to the magic of dropbox the link is the same.

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3492
  • she's never quite as dead as you think
Re: [Mod] - [Derpduck] - [Better Server Plugin Restart Mod]
« Reply #6 on: August 29, 2013, 02:10:47 pm »

I'm kind of scared this will break shit horribly because the only cleanup whatsoever for plugins is done by restarting :drool:
Logged
aka Andrea.

did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5770
Re: [Mod] - [Derpduck] - [Better Server Plugin Restart Mod]
« Reply #7 on: August 31, 2013, 12:40:58 pm »

It doesn't cause any problems, it just relies on the user deciding that problems may be caused by having the wrong plugins.
Pages: [1]
 

Page created in 0.04 seconds with 50 queries.