Page 2 of 2

OH NO! A PROBLEM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

PostPosted: Sat Jun 23, 2007 11:11 pm
by Rux
iPROBLEM!
The script didn't work.
(I also did the second script: menu, draw actor, Script Editor
Code: Select all
FILE*file;
PlayB_Var = PlayB.x;
Menu_var = Menu.x;
QuitB_Var = QuitB.x;
Register_Var = Register.x;
registerthegame_Var = registerthegame.x;
Seirial_Var = Seirial.x;
sep_Var = sep.x;
session_Var = session.x;
Sessions_Var = Sessions.x;
file = fopen("Game", "w+b");
fwrite(&PlayB_Var, sizeof(PlayB_Var), 1, file);
fwrite(&Menu_var, sizeof(Menu_var), 1, file);
fwrite(&QuitB_Var, sizeof(QuitB_Var), 1, file);
fwrite(&Register_Var, sizeof(Register_Var), 1, file);
fwrite(&Seirial_Var, sizeof(Seirial_Var), 1, file);
fwrite(&Sessions_Var, sizeof(Sessions_Var), 1, file);
fwrite(&registerthegame_Var, sizeof(registerthegame_Var), 1, file);
fwrite(&sep_Var, sizeof(sep_Var), 1, file);
fwrite(&session_Var, sizeof(session_Var), 1, file);
fclose(file);
)
Any suggestsions?

PostPosted: Mon Jun 25, 2007 4:08 pm
by Sgt. Sparky
what is it not doing? :(

PostPosted: Mon Jun 25, 2007 5:11 pm
by Rux
It's not loading the file correctly.
You see, I'm making a trial with sessions (15 sessions) and I want it to save(saving works)and load every time it creates the menu actor, the menu and game are seperate exe files, and after you register...... ?mabey?
you have to make it save after you register, duh myself! So like in a acceped notification, create actor, and the script, I'll try it and edit this post if it doesn't work.

EDIT: Didn't work!!!

PostPosted: Sat Jun 30, 2007 5:37 am
by Sgt. Sparky
I made a registering Demo:
http://game-editor.com/forum/tp-3742-Re ... Demo-.html
but I am still not sure what you are trying to say.
:(