Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,209 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Stop all Functions #294787
10/21/09 08:26
10/21/09 08:26
Joined: Mar 2009
Posts: 42
Dominican Republic
keilyn3d Offline OP
Newbie
keilyn3d  Offline OP
Newbie

Joined: Mar 2009
Posts: 42
Dominican Republic
I don't speak a good english, but I need help. I need Stop all the functions and start one, how can I do this.

Is for mix two games, when one game is runing, if one key is pressed, the current game stop and the other game start.

If you know how I can do this, please help me.

Re: Stop all Functions [Re: keilyn3d] #294788
10/21/09 08:33
10/21/09 08:33
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
never tested it but this should work

proc_kill(16);
your_func();


"empty"
Re: Stop all Functions [Re: flits] #294790
10/21/09 08:46
10/21/09 08:46
Joined: Mar 2009
Posts: 42
Dominican Republic
keilyn3d Offline OP
Newbie
keilyn3d  Offline OP
Newbie

Joined: Mar 2009
Posts: 42
Dominican Republic
I haved try this but when I use proc_kill the engine crash.

Note: I use a version of 3d gamestudio download from a warez site, but using my key, why I am making a game a time ago and don't work with the modern 3d gamestudio, and I don't know download a legal version of an old a7 (I think that this is legal).

Re: Stop all Functions [Re: keilyn3d] #294792
10/21/09 08:49
10/21/09 08:49
Joined: Mar 2009
Posts: 42
Dominican Republic
keilyn3d Offline OP
Newbie
keilyn3d  Offline OP
Newbie

Joined: Mar 2009
Posts: 42
Dominican Republic
If you know another way to do this?

Re: Stop all Functions [Re: keilyn3d] #294793
10/21/09 08:53
10/21/09 08:53
Joined: Mar 2009
Posts: 42
Dominican Republic
keilyn3d Offline OP
Newbie
keilyn3d  Offline OP
Newbie

Joined: Mar 2009
Posts: 42
Dominican Republic
Now, I tested with a legal A7 (7.7) and the engine crash.

Re: Stop all Functions [Re: keilyn3d] #294844
10/21/09 14:06
10/21/09 14:06
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
The newest is 7.8 - where you got the 7.7????


And: Why do you use a Warez Version?????

Re: Stop all Functions [Re: Rei_Ayanami] #294903
10/21/09 20:36
10/21/09 20:36
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
just try it white 7.8 because here it works

level_load does the job 2 but a litlle different

and if you use warez please buy a legal version


"empty"
Re: Stop all Functions [Re: flits] #294909
10/21/09 21:05
10/21/09 21:05
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
There is a [Search] button above.

7.70

7.77


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Stop all Functions [Re: Superku] #294948
10/22/09 06:28
10/22/09 06:28
Joined: Mar 2009
Posts: 42
Dominican Republic
keilyn3d Offline OP
Newbie
keilyn3d  Offline OP
Newbie

Joined: Mar 2009
Posts: 42
Dominican Republic
I solved the problem and I use a warez version, why I am making a game and I am using a code Like the dugeon creator from aum, and it don't work in the new A7 I don't know the reason, but I wish can use the new A7, and if you know the reason you can help me, here I put the details.

This is the code for make that the level been read from a text file that use # for the walls and B for buttons and J for the player, but in the new A7 the level appear empty and in the warez run without problems.

The version of the warez is 7.05.4
Click to reveal..



function leerdatos(){
file_handle = file_open_read(archivo); //abrir el archivo
tamano_x = file_var_read(file_handle); //tamaņo X del mapa en la primera linea
tamano_y = file_var_read(file_handle); // Tamaņo Y del mapa en la segunda linea
loaddividido /= tamano_y;
file_str_read(file_handle,dat); //tercera linea se copia a el string dat
while(tamano_y > lectura_y){//wait(1); // loop de lectura
str_clip(dat,character); //borra el numero de letras que diga character desde el principio
str_cpy(letra,dat);// copiar la letra que se lee a el string letra

if(str_cmp(letra, "#") == 1){ // si el string letra es igual a # se crea una pared
if(Tipodenivel == 1){ent_create("CAJA4.WMB", posicion, cajaF);}
if(Tipodenivel >= 2){ent_create("CAJA4.WMB", posicion, cajaF);}
ent_create("SombraC.tga", vector(posicion.x + 10, posicion.y - 10, posicion.z), sombracaja);
// ent_create("CAJA2.WMB", posicion, cajaF);
}
if(str_cmp(letra, "j") == 1){ // si el string letra es igual a j se crea el jugador
//ent_create("hombrenuevo.mdl",Vector(posicion.x,posicion.y,31),PlayerK3d);////hombre
ent_create("player.mdl",Vector(posicion.x,posicion.y,19),PlayerK3d);///test cari
//ent_create("hombrenuevo.mdl",Vector(posicion.x,posicion.y,0),PlayerK3d);
ent_create("sombra.tga",Vector(posicion.x,posicion.y,0),sombraf);
vec_set(jugadorinicio,posicion); jugadorinicio.z = 19;
}

if(str_cmp(letra, "t") == 1){ // si el string letra es igual a T se crea una torre
// ent_create(null,vector(posicion.x, posicion.y, posicion.z + 64),finalf);
// ent_create(null,vector(posicion.x, posicion.y, posicion.z + 64),finalf);
// ent_create(null,vector(posicion.x, posicion.y, posicion.z + 64),finalf);
ent_create("finishw.mdl", vector(posicion.x , posicion.y, posicion.z - 5), finalf);
}
if(str_cmp(letra, "b") == 1){ // si el string letra es igual a B se crea un boton
ent_create("boton.mdl", posicion, botonF); cantidaddebotones +=1;
}
if(str_cmp(letra, "p") == 1){ // si el string letra es igual a p se crea una puerta
ent_create("puerta1.wmb", vector(posicion.x,posicion.y,64), puertaF);
}

posicion.y -= 128; //cada vez que lee una letra se le restan 64 a la posicion Y
if(character == 0){character += 1;} //esto es para que al principio no borre nada
lectura_x +=1; //esto es un marcador para saber por que letra va lellendo

if(lectura_x == tamano_x)&&(lectura_y < tamano_y){ //para que lea la proxima linea
file_str_read(file_handle,dat);
loading += loaddividido;
character = 0; //para que no borre la primera letra de la nueva linea
posicion.y = 3000; // para que cree la proxima entidad a la isquierda
posicion.x -= 128;// para que se cree la proxima entidad mas abajo
lectura_x = 0; // resetea el string lectura
lectura_y += 1; //para el loading
// wait(1); loadingp.alpha = 100 - loading;
}}}



I only use the Engine of the warez version, and I use WED, and MED of the legal version.

Last edited by keilyn3d; 10/22/09 06:37.
Re: Stop all Functions [Re: keilyn3d] #295000
10/22/09 13:37
10/22/09 13:37
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Originally Posted By: keilyn3d
...
I only use the Engine of the warez version, and I use WED, and MED of the legal version.


Why do you use a illegal engine version while you seem to have a legal one (because WED is not freeware, thus you must have a legal 3DGamestudio licence)

And by the way: Asking for help and using a warez version is pretty impudent.

Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1