The Daily Click ::. Forums ::. Klik Coding Help ::. String Parcer 2 problem
 

Post Reply  Post Oekaki 
 

Posted By Message

The T.C.



Registered
  05/05/2005
Points
  64
15th July, 2005 at 01:27:23 -

as you can guess I've run into another problem with vitalize :/

The String parcer won't load .txt files when vitalized
It works A-O.K. as an .exe as usual, but when vitalized it just dies inside!

another thing I'd like to ask while I'm at it; I used the html code for vitalize from clickteam.com, but the loadin bar doesn't work.. it shows, but it doesn't move.
Very odd.

 
I always have a thought in my mind & a song in my head.

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
15th July, 2005 at 03:19:49 -

When its on the internet, it doesnt have access to the txt file your loading on your computer if thats the case. Thats the only reasion it might work for EXE but not for CCN. Never really found out how exactly it would be fixed, but I believe it has something to do with loading the txt files through FTP. If thats the case, a nice Sitesled account & a tutorial on how to do it, & you should be set.

Currect me if I'm wrong, like I said, thats my only explination for why it would work offline, but not online.

 
http://www.facebook.com/truediamondgame

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
15th July, 2005 at 08:08:07 -

Yeah, I'm not sure of the specifics of Vitalize games. As far as I know, file loading/saving is disabled for security reasons.

However, I *think* that Vitalize extensions have access to the temp directory. Basically, your vitalize files are downloaded to a folder in temp, and any files within that folder can be executed.

The Vitalize Plugin extension for MMF gives you the option to download a file into the temp directory. Once it's done, that file can then be read by your game.

The filenames are relative to the temp folder. So if you download a file and call it 'bill.txt', then to load it again you must call it 'bill.txt'.

You don't need to give a directory for it.

(Note. This may be total rubbish. I haven't used Vitalize for years, but I *think* it's correct)

 
191 / 9999 * 7 + 191 * 7

-Vinny-



Registered
  12/01/2005
Points
  436
15th July, 2005 at 10:49:43 -

have you tried to set the source file as such - {appdrive$ + appdir$ + "file" + ".txt"}?
then upload that text file to your server or webhost

i find that specifying the file extension helps reduce errors (i've never really experienced them, but that's my own mentality) this might work for you, maybe you haven't uploaded the file (Maybe you should give us more details, like what exactly you uploaded, the *.ccn the *.txt etc)

 
Vinny

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
15th July, 2005 at 12:51:52 -

That only works if the txt file your looking for is actually on the persons computer, it wont automaticly go & look for the publishers computer & search there PC for it.

 
http://www.facebook.com/truediamondgame

The T.C.



Registered
  05/05/2005
Points
  64
15th July, 2005 at 13:12:04 -

well it won't load directly from site, tried the temp thing, but it won't download...
do you have to have the complet URL to download something using the vitalize plugin?

 
I always have a thought in my mind & a song in my head.

The T.C.



Registered
  05/05/2005
Points
  64
15th July, 2005 at 13:19:18 -

P.S. Brandon & Sensation, the appdrive etc. didn't work on my computer
I don't upload it until it works at least on my computer

 
I always have a thought in my mind & a song in my head.

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
15th July, 2005 at 15:19:16 -

It's supposed to be appdrive$ + appdir$ + "filename.txt".

 
a/n

The T.C.



Registered
  05/05/2005
Points
  64
15th July, 2005 at 16:34:59 -

Vitalize isn't gonna load directly apparently

I try downloading, but it just won't download

Edit: I did use Modfusion to open mods directly & it worked just fine

Image Edited by the Author.

 
I always have a thought in my mind & a song in my head.

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
15th July, 2005 at 18:28:08 -

With winsock you can get the text from an html page on the web, so you could make an html file or see if that works with txt files.

 
n/a

The T.C.



Registered
  05/05/2005
Points
  64
15th July, 2005 at 21:37:56 -

everytime I try to do an action with the winsock extention MMF crashes

 
I always have a thought in my mind & a song in my head.
   

Post Reply



 



Advertisement

Worth A Click