#1 26-04-2011 22:26

Manoel Victor
From: Minas Gerais
Registered: 26-04-2011
Posts: 44
Website

Trouble CLEO_SAVES! Help please!

Guys, I used a code, the Sanny Builder to park vehicles.
My problem is that when I start a new game, the vehicles appear there, but when I load my saved game, the vículos not appear!
This problem is in CLEO_SAVES?
Because I had deleted what I had in my folder CLEO_SAVES, now it is always empty.
Nothing gets saved in it.
I use the library CLEO 4.
Have uninstalled and installed the bookstore a lot of times, but solves nothing.
When I get into my saved game, the vehicles do not appear when I start the new game they appear, but I need to play my saved game!
Help me please friends!
Now thanks.

Offline

#2 27-04-2011 11:07

Den_spb
From: Ленинград
Registered: 23-11-2008
Posts: 941
Website

Re: Trouble CLEO_SAVES! Help please!

You shouldn't delete cleo saves, but it isn't reason of this problem. Do vehicles appear with another savegames?

Last edited by Den_spb (27-04-2011 11:08)

Offline

#3 27-04-2011 15:57

Manoel Victor
From: Minas Gerais
Registered: 26-04-2011
Posts: 44
Website

Re: Trouble CLEO_SAVES! Help please!

Yes, yes it was a big mistake I delete the CLEO_SAVES, but it did not hinder any of the other mod's cleo, until I thought I could be the cause of the problem.
And yes, the vehicles will not appear in my savegames, they only appear when I start a new game!
I even put the code:
enable_tread_saving in my code, but to no avail, the vehicles still do not appear.
But it appears only one vehicle, a police motorcycle that I put.
Only it appears.
The others do not appear!
Would car_generate?
Can you help please?
Because it appears only one vehicle, and others did not appear??
I await help.

Offline

#4 27-04-2011 21:40

Den_spb
From: Ленинград
Registered: 23-11-2008
Posts: 941
Website

Re: Trouble CLEO_SAVES! Help please!

Compare your code with example:

{$CLEO}
0A95:
014B: 0@ = init_parked_car_generator #RHINO color -1 -1 1 alarm 0 door_lock 0 0 10000 at 2435.302 -1671.848 12.8007 angle 90.0
014C: set_parked_car_generator 0@ cars_to_generate_to 101
0A93:

a)Variable in 014B is identic with variable in 014C.
b)Value of parameter in 014B after "color X X" is 1 (it's means: "create vehicle always")
c)Value of parameter in 014C is 101 ("parked generator is enabled")
Make sure also that point of parked generator isn't nearer to another parked generator or static objects (buildings, ground) than dimensions of parked vehicles.

Offline

#5 27-04-2011 23:49

Manoel Victor
From: Minas Gerais
Registered: 26-04-2011
Posts: 44
Website

Re: Trouble CLEO_SAVES! Help please!

Den_spb wrote:

Compare your code with example:

{$CLEO}
0A95:
014B: 0@ = init_parked_car_generator #RHINO color -1 -1 1 alarm 0 door_lock 0 0 10000 at 2435.302 -1671.848 12.8007 angle 90.0
014C: set_parked_car_generator 0@ cars_to_generate_to 101
0A93:

a)Variable in 014B is identic with variable in 014C.
b)Value of parameter in 014B after "color X X" is 1 (it's means: "create vehicle always")
c)Value of parameter in 014C is 101 ("parked generator is enabled")
Make sure also that point of parked generator isn't nearer to another parked generator or static objects (buildings, ground) than dimensions of parked vehicles.

See my code:

//------------- MAIN ---------------
thread "CAR"
wait 1000
0A95: enable_thread_saving
014B: 1 @ = # init_parked_car_generator CLOVER color -1 -1 1 alarm 0 0 0 10 000 door_lock at 20.0 angle 0.0 2393.0 -1677.52
014C: 1 set_parked_car_generator cars_to_generate_to @ 101
end_thread

I think it's all right, eh?
But if there's something wrong, because when I start a new game, it appears, and when I load my savegame it does not appear?
Oh, and besides, some unique vehicles in the game, they should appear, not appearing too!
Does this drug problem is in my savegame??
I'm starting to find it!
What is your opinion?

Offline

#6 28-04-2011 00:22

Den_spb
From: Ленинград
Registered: 23-11-2008
Posts: 941
Website

Re: Trouble CLEO_SAVES! Help please!

Is it CLEO-script or part of main.scm? Command end_thread is used only in main.scm. Analogue for CLEO is 0A93:
Second question: did you use another scripts which had parked vehicles, before saving of game?

Last edited by Den_spb (28-04-2011 00:23)

Offline

#7 28-04-2011 15:59

Manoel Victor
From: Minas Gerais
Registered: 26-04-2011
Posts: 44
Website

Re: Trouble CLEO_SAVES! Help please!

Well, yes, this code was that my colleague gave me.
Please then let me get a CLEO original code that works.
Regarding saving the game, I think I changed the script does.
Well, I'll pick up another friend savegame even then.
Can you please pass me the original code CLEO to park cars?
But they stay there forever, do not disappear.
Thanks.:D

Last edited by Manoel Victor (28-04-2011 16:00)

Offline

#8 28-04-2011 16:10

Den_spb
From: Ленинград
Registered: 23-11-2008
Posts: 941
Website

Re: Trouble CLEO_SAVES! Help please!

Can you please pass me the original code CLEO to park cars?

Look above (post #4). You should write commands 014B and 014C for each vehicle.

Offline

#9 29-04-2011 19:34

Manoel Victor
From: Minas Gerais
Registered: 26-04-2011
Posts: 44
Website

Re: Trouble CLEO_SAVES! Help please!

Friend did not understand, could fix the code for me? Thanks.

Offline

#10 30-04-2011 07:33

ZAZ
Registered: 05-12-2007
Posts: 55

Re: Trouble CLEO_SAVES! Help please!

Manoel Victor wrote:

Friend did not understand, could fix the code for me? Thanks.

{$CLEO .cs}
:PaCar_1
03A4: name_thread 'PACR'
0001: wait  1000 ms
0A95: enable_thread_saving
014B: 0@ = init_parked_car_generator #CLOVER -1 -1 1 alarm  0 door_lock  0  0  10000 at  2393.0 -1677.52  14.5 angle  0.0 
014C: set_parked_car_generator 0@ cars_to_generate_to 101
0A93: end_custom_thread

Offline

#11 01-05-2011 03:06

Manoel Victor
From: Minas Gerais
Registered: 26-04-2011
Posts: 44
Website

Re: Trouble CLEO_SAVES! Help please!

Is not appearing in my savegames! What is this?
I've picked up another savegame, but to no avail!
No vehicle appears!
What can this be??
What?
Is there any other code?
Anything else that works?
Please help!:cry::cry::cry::cry::cry::cry:

Offline

Board footer

Powered by FluxBB