The Gang Garrison 2 Forum
May 18, 2013, 06:33:09 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
  Print  
Author Topic: Downloading Server Mods  (Read 1560 times)
♫Sani Sani Disco♫
Onion Knight
******
Offline Offline

Posts: 10469


yo let's suck face and listen to rap music


WWW
« Reply #15 on: August 28, 2010, 11:27:28 pm »

I like the idea of blacklisting commands. Alternatively, if it's possible, you could make it so those functions are canceled out.

Well canceling functions could make a mod possibly useless, so I'd rather just give a popup message "illegal action: blah, permission/validation necessary"
Yeah, that works.
Logged

Quote from: mop
Quote from: MR MAGN3TIC
I don't like it.  Nah
Oh, well, you might as well pack up and stop now, because he doesn't like it
Asdf64: "ultros turned me on" - sani 2013
SH James
Hero Member
*****
Offline Offline

Posts: 1029


This is just what I see when my Skulltag crashes.


« Reply #16 on: August 29, 2010, 08:55:30 am »

why's it that our mods section doesn't have viruses anyways?

Don't give me a reason like: "because the people there aren't lifeless pricks"

Not many people write mods, and those who are proficient enough in GML to write a even a half-assed "virus" wouldn't bother to. Plus, there's nothing to gain and GML isn't powerful enough to be virus-y.

Now, can things be trojan'd? Yes, but atleast one person on these forums has to have an AV, and would announce on the thread OMFG VIRUS WTF.
The closest I found to virus in a GM game was a DLL that was TREATED as one by the antivirus. The DLL however was for getting files from a specific folder to allow you to use your own characters in Super Smash Bros Nes
Logged
I_am_awesome
Guest
« Reply #17 on: August 30, 2010, 11:43:10 am »

why's it that our mods section doesn't have viruses anyways?

Don't give me a reason like: "because the people there aren't lifeless pricks"

Not many people write mods, and those who are proficient enough in GML to write a even a half-assed "virus" wouldn't bother to. Plus, there's nothing to gain and GML isn't powerful enough to be virus-y.

Now, can things be trojan'd? Yes, but atleast one person on these forums has to have an AV, and would announce on the thread OMFG VIRUS WTF.
The closest I found to virus in a GM game was a DLL that was TREATED as one by the antivirus. The DLL however was for getting files from a specific folder to allow you to use your own characters in Super Smash Bros Nes
The DLL was also for getting your credit card number :V
Logged
Xesjah
Guest
« Reply #18 on: August 30, 2010, 03:55:45 pm »

Why not have the game maker browser open the page where you download the mod?

It would be just as virus-prone as the mods section is now.
Logged
NAGN
Developer
******
Offline Offline

Posts: 16895


Yeah so now I have an idea


« Reply #19 on: August 30, 2010, 05:45:56 pm »

Why not have the game maker browser open the page where you download the mod?

It would be just as virus-prone as the mods section is now.

Because that's annoying and I'm not entirely sure GM can execute external programs.
yes it can
Logged



[im
CandleJack
Hero Member
*****
Offline Offline

Posts: 2053


+15/-130


WWW
« Reply #20 on: August 30, 2010, 06:23:03 pm »

Suddenly I ask: How would they send you a virus? They'd have to host a server with that virus running, wouldn't they crash their own computer?

I have a feeling that this question is incredibly stupid but I need to ask anyways...
Logged

I'm gonna need more rope...


Shamefully Stolen
♫Sani Sani Disco♫
Onion Knight
******
Offline Offline

Posts: 10469


yo let's suck face and listen to rap music


WWW
« Reply #21 on: August 30, 2010, 06:36:18 pm »

Essentially the same way you could send a person a virus via map, but the same check also applies. The game checks the file extension before it allows you to download it, so if it leads to something malicious, the process is ended.
Logged

Quote from: mop
Quote from: MR MAGN3TIC
I don't like it.  Nah
Oh, well, you might as well pack up and stop now, because he doesn't like it
Asdf64: "ultros turned me on" - sani 2013
Orangestar
Hero Member
*****
Offline Offline

Posts: 4814


Base names, yo.


WWW
« Reply #22 on: September 03, 2010, 12:27:58 pm »

Why not have the game maker browser open the page where you download the mod?

It would be just as virus-prone as the mods section is now.

Because that's annoying and I'm not entirely sure GM can execute external programs.
yes it can
GM can splash webpage.

(I hope this isn't a bump!)

Also

I like the idea of blacklisting commands. Alternatively, if it's possible, you could make it so those functions are canceled out.

Well canceling functions could make a mod possibly useless, so I'd rather just give a popup message "illegal action: blah, permission/validation necessary"
Yeah, that works.
This plus
Well, me and bassie discussed this a little bit, and here was my idea;

We can put in an internal command filter to block any script that contains potentially dangerous commands (such as file_write), any script that DOESN'T contain any of those words will be free to be sent server to client raw.

However, if someone wants to use those potentially dangerous commands for a legitimate reason, they can submit it to a team of some sort for proof reading and validation. If it is validated, it will be uploaded to some server coupled with a keycode. This way, servers are free to distribute the keycode, which will be used by the client to download from the server.

My idea of a command blacklist would be anything that allows you to write files, connect to somewhere, or otherwise affect the computer external of the game.
this.
Logged

SH James
Hero Member
*****
Offline Offline

Posts: 1029


This is just what I see when my Skulltag crashes.


« Reply #23 on: September 03, 2010, 04:01:01 pm »

Let's see... Some game nowadays deal with LUA Scripts... I wonder if something like this is possible?
Logged
CandleJack
Hero Member
*****
Offline Offline

Posts: 2053


+15/-130


WWW
« Reply #24 on: September 03, 2010, 04:17:10 pm »

Let's see... Some game nowadays deal with LUA Scripts... I wonder if something like this is possible?
but we're talking about this game which is on GML
Logged

I'm gonna need more rope...


Shamefully Stolen
Dusty
Hero Member
*****
Offline Offline

Posts: 10646


Dust in a box under a table


« Reply #25 on: September 03, 2010, 04:19:02 pm »

He said something. removing the file writing functions may be troublesome in rare cases, but those would be rare cases. I'm all for it.
Logged

Orangestar
Hero Member
*****
Offline Offline

Posts: 4814


Base names, yo.


WWW
« Reply #26 on: September 04, 2010, 11:30:11 am »

A'ight! lets do this!
Logged

♫Ozoh
Hero Member
*****
Offline Offline

Posts: 4036



WWW
« Reply #27 on: September 04, 2010, 11:46:52 am »

the idea sounds awesome, how about you make it work like in Counter strike, when you enter a Zombie/Random/GL/anyother mod server, the engine DL you the needed files
not re writing the old ones, but making a new file

if someone suggettesd this before, i was too damn lazy to check

« Last Edit: September 04, 2010, 11:47:45 am by Ozoh 'x29' » 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
Pages: « 1 2
  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.371 seconds with 19 queries.