April 26, 2024, 06:26:57 pm

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Wondering where all the forums have gone?

Join the community Discord server!

Pages: 1 2 [3] 4

Author Topic: Gang Garrison 2.6.3  (Read 14083 times)

bullets (obviously)

  • Seasoned Member
  • *****
  • Karma: 40
  • Offline Offline
  • Posts: 1955
Re: Gang Garrison 2.6.3
« Reply #30 on: August 15, 2013, 07:32:59 pm »

What if you made plugins that did exactly the same thing as the original object for every object the serversent ones modified
and made every server/client run them each time they get to the lobby
Logged

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Re: Gang Garrison 2.6.3
« Reply #31 on: August 15, 2013, 07:37:52 pm »

What if you made plugins that did exactly the same thing as the original object for every object the serversent ones modified
and made every server/client run them each time they get to the lobby
too much code. that's like completely rewriting all of gg2 code in one gml file. You don't know what a plugin will modify.
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5752
Re: Gang Garrison 2.6.3
« Reply #32 on: August 15, 2013, 10:00:44 pm »

Could you make plugins log the old version of the code they overwrite, then when you exit the code is replaced and anything new from the plugins is just cleared with the event_clear function? A plugin could also manually log the old code (the plugin maker puts it in themselves), but that could affect mods. If a with statement is used with any other objects all of the related code could be logged and then replaced.
Just an idea, I don't know about implementing it. I could put it in my mod, see how that works.q
« Last Edit: August 15, 2013, 10:04:06 pm by Derpduck [LORD] »
Logged

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Re: Gang Garrison 2.6.3
« Reply #33 on: August 15, 2013, 10:37:33 pm »

actually that's interesting, you could make a plugin log which events it changed. I don't think there's a handler for listening to when events change, so you'd have to ask the plugin to tell you.

the problem is unless you want to store every single event in a gml, you'd have to find a way to retrieve the event from an object, and store it somewhere for later use, if you want to revert it. It doesn't really work like that, because you can easily turn a string into code by executing it, but you can't necessarily change code, much less compiled code back to a string.

There actually might be a way to retrieve events in string form or something of the like, but gml lacks so much documentation and user submitted questions about these kinds of things (mostly since most gmk users don't do anything really advanced with gml) that if there was a way we probably wouldn't know it.

All in all it's probably just not worth saving that small startup time.
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5752
Re: Gang Garrison 2.6.3
« Reply #34 on: August 15, 2013, 10:48:47 pm »

But restarting to remove chat so you can go on another server and get chat again is stupid.

Wait, can't we just make it so you only have to restart/quit when you go on another server that does not have the plugins you do.

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Re: Gang Garrison 2.6.3
« Reply #35 on: August 15, 2013, 10:56:54 pm »

that'd bring in other problems. for ex heff might host lorgan's chat v1 and btw's could be hosting v2 and to the server/client it'd look like the exact same plugin, (because matching source for 2 files is a bitch), even though it wouldn't work.
even a minor change like v2.0 or v2.1 (assuming some plugin had that) could be problematic.

Especially since some plugins are just on the server, newcomers would easily get confused by random game crashes, stuff like that.

Overall I doubt you'd think of a solution ajf hasn't considered.
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5752
Re: Gang Garrison 2.6.3
« Reply #36 on: August 15, 2013, 11:00:38 pm »

Err, all of the plugins are kept track of because they all have to be approved. They won't look the same to anything.

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Re: Gang Garrison 2.6.3
« Reply #37 on: August 15, 2013, 11:06:57 pm »

oh huh right. thats mybad, i totally forgot about that.
eh i guess you could do that.

but it doesnt make sense for you to leave a game and then the lobby is like you can only access the games which have the exact same plugins as you used from the previous game!
newcomers would probably be like wut
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5752
Re: Gang Garrison 2.6.3
« Reply #38 on: August 15, 2013, 11:19:12 pm »

Well, the same notification we already have can be used. I would have newcomers mildly confused than wait 20-30 seconds evee time I want to leave a server.

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Re: Gang Garrison 2.6.3
« Reply #39 on: August 15, 2013, 11:24:40 pm »

does it really take you 20-30 seconds to start up gg2? huh i'd be annoyed at that kinda time. It takes like 5 seconds for me.

how much coding do you know? If you want to not have to restart upon leaving a server, you could always make your own build. Change a line or two in the source.
Of course, you'd have to exercise your own caution to not join servers whos plugins don't match up.
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4888
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: Gang Garrison 2.6.3
« Reply #40 on: August 15, 2013, 11:27:09 pm »

well heres my idea on a lame fix, manually download the chat plugin and put it in your plugins folder. when the server asks you to download the chat plugin, click no. so the game thinks you have no serversent plugins loaded
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Re: Gang Garrison 2.6.3
« Reply #41 on: August 15, 2013, 11:29:32 pm »

yeah but then you'd have to remove it from your plugins folder if you wanted to play on a server without chat.

it'd be easier just to remove the notification and game restart, and just restart yourself when need be.
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4888
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: Gang Garrison 2.6.3
« Reply #42 on: August 15, 2013, 11:34:05 pm »

yeah but then you'd have to remove it from your plugins folder if you wanted to play on a server without chat.

it'd be easier just to remove the notification and game restart, and just restart yourself when need be.
true, actually i would rather have the restart check when you join another server. and before you join it checks the plugins you have, if they dont match, it either downloads the ones you don't have or restarts the game if the plugin you have doesn't match the ones the server doesn't have.
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 869
  • Force is always the answer.
    • Mah Resume
Re: Gang Garrison 2.6.3
« Reply #43 on: August 15, 2013, 11:42:45 pm »

i mean if you wanna take the time to write that up sure lol.
I'd rather just be like oh i know this server has different plugins and restart myself or something.
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4888
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: Gang Garrison 2.6.3
« Reply #44 on: August 15, 2013, 11:48:35 pm »

i mean if you wanna take the time to write that up sure lol.
I'd rather just be like oh i know this server has different plugins and restart myself or something.
it shouldn't be tooooo hard (spends a few minutes staring at code) i give up
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack
Pages: 1 2 [3] 4
 

Page created in 0.029 seconds with 35 queries.