Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: file methods  (Read 7245 times)

0 Members and 1 Guest are viewing this topic.

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
file methods
« on: April 10, 2003, 10:18:14 AM »

How about adding methods for handle files?
Like CreateFile, DeleteFile, CopyFile, PutLineInFile, DeleteLineFromFile, e.t.c.....

I'm thinking about Grim Fandango where everytime you saved a game it genarated an html file which contained all the dialogues you had in the current game.

(I'm not goint to use that for my first small adventure but I think it could be usefull for some other people or me in the future.)
Logged
fl*p

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:file methods
« Reply #1 on: April 10, 2003, 10:43:42 AM »

(This could be a perfect application for an extension DLL library ;))

OK, not a big problem, although I'm a bit cautious about that, a malicious WME script could do a damage to your system...
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re:file methods
« Reply #2 on: April 10, 2003, 10:58:02 AM »

Yes it could be dangerous if some person decides to create a small demo which does Game.DeleteDir(c:\winnt). But you could bound the methods to work only in the games' dir and not outside it and unless someone decides to install a game in a system folder it's not going to be dangerous  :)

(I wish i was a good programer so I could create a few dlls for this great engine.)
Logged
fl*p
 

Page created in 0.033 seconds with 19 queries.