The Gang Garrison 2 Forum
May 24, 2013, 05:54:32 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Chat with us on IRC: http://ganggarrison.com/irc.html
Server: irc.esper.net, Channel: #gg2
 
   Home   Help Search Login Register  
Pages: 1 2 3 4 5 »
  Print  
Author Topic: SMOKE Mod [merged into GEM]  (Read 3428 times)
notajf
Guest
« on: November 07, 2011, 05:39:26 pm »

This mod has been replaced by
GEM

::: SMOKE Mod :::

A mod with, among other things (eventually), automatically updating plugins.

Current features:
  • Plugin Management Interface - Download, Enable, Disable, Remove, Update
  • Automatic Plugin Updates
  • Multi-file plugins - new with Release 4


:: Plugins ::

A large selection by Lorgan3 and others

Plugin Makers: Read the docs! - ask me if you want an invite code so you can submit plugins


:: Download ::

Download: Release 5
Previous Releases: 4b 4 3 2 1
Source also on GitHub: https://github.com/TazeTSchnitzel/Gang-Garrison-2/tree/SMOKEmod
« Last Edit: December 15, 2011, 05:06:08 pm by AJF » Logged
Orangestar
Hero Member
*****
Offline Offline

Posts: 4814


Base names, yo.


WWW
« Reply #1 on: November 07, 2011, 06:35:42 pm »

firsties
Logged

Dusty
Hero Member
*****
Offline Offline

Posts: 10656


Dust in a box under a table


« Reply #2 on: November 07, 2011, 08:28:39 pm »

So, are these server plugins or just another kinda generic plugin mod?
Logged

MTK5012
2011 Haxxy Finalist
*
Offline Offline

Posts: 738


I was Gangsterman


« Reply #3 on: November 08, 2011, 02:36:49 am »

oh finally an auto updating mod
Logged
notajf
Guest
« Reply #4 on: November 08, 2011, 02:46:49 am »

So, are these server plugins or just another kinda generic plugin mod?
Generic. Later mod versions will include some client-specific and server-specific features. Plugins are for both.
Logged
♫Ozoh
Hero Member
*****
Offline Offline

Posts: 4037



WWW
« Reply #5 on: November 08, 2011, 08:53:19 am »

Quote
Plugin Files

A plugin is composed of two required files, plugin.gml and metdata.txt located in a directory. The directory may also contain a subdirectory named data containing additional files used by the plugin.

Quote
plugin.gml

plugin.gml is a GML script which is executed when the plugin is loaded.
metadata.ini

metadata.ini is an INI file containing metadata about the plugin.
This is automatically generated when a plugin is downloaded, however, you need to create it manually for testing.
Its format is as follows:

eh...? Have you done a typo or am I just dumb?
inb4 I'm dumb anyways
Logged

if they named one winter storm oic you would probably go on a shooting spree at the atlanta headquarters
pfft, skip the kiss and go straight for anal
Phantom Brave
All Hail Classicwell
Moderator
*****
Online Online

Posts: 9052


Another one --


WWW
« Reply #6 on: November 08, 2011, 09:21:38 am »

it's a typo
"I'm dumb anyways"
Logged

notajf
Guest
« Reply #7 on: November 08, 2011, 09:43:06 am »

Typo. I originally used INI, changed to TXT then back to INI, missed that. Fix later.
Logged
Lorgan
Retired Randomizer Mod Developer
2011 Haxxy Award Winner
*
Offline Offline

Posts: 2972


check my new game in new projects k thx bye


WWW
« Reply #8 on: November 08, 2011, 12:43:16 pm »

Currently uploading a couple of plugins.
I don't like it that you get 2 messages for every plugin you download, maybe you can make some sort of console window that shows the messages so you don't have to press 'ok' every time?

also make it work with pictures and sounds nao
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
notajf
Guest
« Reply #9 on: November 08, 2011, 12:48:34 pm »

Currently uploading a couple of plugins.
z6

I don't like it that you get 2 messages for every plugin you download, maybe you can make some sort of console window that shows the messages so you don't have to press 'ok' every time?
Yes the two messages are irritating, I'll see what I can do about that. I can't offer any indication of process with the current download system though, hmm.

also make it work with pictures and sounds nao
I'll work on that.
Logged
Orpheon
2011 Haxxy Award Winner
*
Offline Offline

Posts: 5831


Developer


« Reply #10 on: November 08, 2011, 01:11:18 pm »

Currently uploading a couple of plugins.
z6

I don't like it that you get 2 messages for every plugin you download, maybe you can make some sort of console window that shows the messages so you don't have to press 'ok' every time?
Yes the two messages are irritating, I'll see what I can do about that. I can't offer any indication of process with the current download system though, hmm.

also make it work with pictures and sounds nao
I'll work on that.

Maybe make it an ini option to automatically download and update without asking?
Logged

Your mind is software. Program it.
Your body is a shell. Change it.
Death is a disease. Cure it.
Extinction is approaching. Fight it.
notajf
Guest
« Reply #11 on: November 08, 2011, 01:21:14 pm »

Currently uploading a couple of plugins.
z6

I don't like it that you get 2 messages for every plugin you download, maybe you can make some sort of console window that shows the messages so you don't have to press 'ok' every time?
Yes the two messages are irritating, I'll see what I can do about that. I can't offer any indication of process with the current download system though, hmm.

also make it work with pictures and sounds nao
I'll work on that.

Maybe make it an ini option to automatically download and update without asking?
... it actually asks so it doesn't appear GG2 froze up for no reason. Same with the messages.

I'll think of some solution.
Logged
Orpheon
2011 Haxxy Award Winner
*
Offline Offline

Posts: 5831


Developer


« Reply #12 on: November 08, 2011, 01:47:38 pm »

Currently uploading a couple of plugins.
z6

I don't like it that you get 2 messages for every plugin you download, maybe you can make some sort of console window that shows the messages so you don't have to press 'ok' every time?
Yes the two messages are irritating, I'll see what I can do about that. I can't offer any indication of process with the current download system though, hmm.

also make it work with pictures and sounds nao
I'll work on that.

Maybe make it an ini option to automatically download and update without asking?
... it actually asks so it doesn't appear GG2 froze up for no reason. Same with the messages.

I'll think of some solution.
Use io_handle(), it'll make Game Maker continue to move the mouse and stuff. Put it inside the loop.
Then maybe make moving dots:
.
..
...
 ..
  .

You know what I mean
Logged

Your mind is software. Program it.
Your body is a shell. Change it.
Death is a disease. Cure it.
Extinction is approaching. Fight it.
notajf
Guest
« Reply #13 on: November 08, 2011, 02:38:11 pm »

Currently uploading a couple of plugins.
z6

I don't like it that you get 2 messages for every plugin you download, maybe you can make some sort of console window that shows the messages so you don't have to press 'ok' every time?
Yes the two messages are irritating, I'll see what I can do about that. I can't offer any indication of process with the current download system though, hmm.

also make it work with pictures and sounds nao
I'll work on that.

Maybe make it an ini option to automatically download and update without asking?
... it actually asks so it doesn't appear GG2 froze up for no reason. Same with the messages.

I'll think of some solution.
Use io_handle(), it'll make Game Maker continue to move the mouse and stuff. Put it inside the loop.
Then maybe make moving dots:
.
..
...
 ..
  .

You know what I mean
io_handle() doesn't help really.
Logged
notajf
Guest
« Reply #14 on: November 08, 2011, 03:56:22 pm »

Release 2 [mostly bugfixes]

  • Delete button actually disables plugin as well as remove
  • Download activity visible (so it doesn't look like it's frozen)
  • Less messages when downloading
  • Better internal plugin existence checks when downloading

Download


P.S. Lorgan, for the moment no bundled files. I'd suggest you upload to imgur.com instead, then do:
Code:
if (global.SMOKE_pluginupdated) {
    SMOKE_http_file("i.imgur.com", "/iJh76.png", global.SMOKE_plugindatapath+"myFunPicture.png", true);
}
That will download files when updated (or installed). The true argument makes it display activity (the "Downloading - 23827B" banner) to make GG2 appear less frozen.
Edit: OK that code doesn't work D:
« Last Edit: November 08, 2011, 04:55:00 pm by AJF » Logged
Pages: 1 2 3 4 5 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.583 seconds with 19 queries.