Two Questions, Can you help me?

Game Editor comments and discussion.

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

Postby Rux » Sat Jun 23, 2007 11:11 pm

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?
I'm not good at coming up with signatures...
User avatar
Rux
 
Posts: 645
Joined: Sun Apr 29, 2007 9:26 pm
Location: Sitting on your moniter invisable.
Score: 35 Give a positive score

Postby Sgt. Sparky » Mon Jun 25, 2007 4:08 pm

what is it not doing? :(
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Rux » Mon Jun 25, 2007 5:11 pm

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!!!
I'm not good at coming up with signatures...
User avatar
Rux
 
Posts: 645
Joined: Sun Apr 29, 2007 9:26 pm
Location: Sitting on your moniter invisable.
Score: 35 Give a positive score

Postby Sgt. Sparky » Sat Jun 30, 2007 5:37 am

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.
:(
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Previous

Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron