Gamestudio Links
Zorro Links
Newest Posts
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
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TraderTom, Akow), 1,388 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 11 1 2 3 4 5 6 7 10 11
Re: War Cloud [Re: 3run] #327643
06/07/10 18:01
06/07/10 18:01
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
thats simple:
if you "crypt" your script like that you can copy all your model files or so to any temporary folder and delete the first byte of each file. This value of byte is defined in your script. so you can hide all files, because no one can restore the files. you don't have to use exactly on byte, you can also you 40 bytes or so with a randomly generated start and a mathematic context of the following bytes.
its very simple, but it works nearly save


Visit my site: www.masterq32.de
Re: War Cloud [Re: 3run] #327644
06/07/10 18:03
06/07/10 18:03
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Look what I've done to your script, it took me about 2 min to do, it is well readable now. That's not the best way to hide script believe me.
Code:
#include <acknex.h>
#include <default.c>

PANEL* pSplash=
{
	bmap="logo_800.jpg";
}

TEXT* tHelp=
{
	pos_x=10;
	pos_y=10;
	font="Arial#24bi";
	flags=SHADOW;
	string("Press [Space] to kick the ball!");
}

ENTITY* eBall;

SOUND* sPong = "tap.wav";

VECTOR vSpeed,vAngularSpeed,vForce,vMove;

function Plop()
{
	ent_playsound(eBall,sPong,100);
}

function Kick()
{
	VECTOR vKick;
	vKick.x=150;
	vKick.y=0;
	vKick.z=75;
	vec_rotate(vKick,camera.pan);
	phent_addvelcentral(eBall,vKick);
	Plop();
}

function main()
{
	video_mode=7;
	shadow_stencil=3;
	d3d_antialias=4;
	sound_vol=100;
	set(pSplash,SHOW);
	wait(3);
	level_load("small.hmp");
	ENTITY* sky=ent_createlayer("skycube+6.dds",SKY|CUBE|SHOW,0);
	sky.z = 30;
	camera.z=30;
	eBall=ent_create("earth.mdl",vector(0,0,100),NULL);
	set(eBall,SHADOW);
	eBall.material = mat_metal;
	phent_settype(eBall,PH_RIGID,PH_SPHERE);
	phent_setmass(eBall,1,PH_SPHERE);
	phent_setfriction(eBall,90);
	phent_setelasticity(eBall,75,100);
	phent_setdamping(eBall,30,5);
	phent_addvelcentral(eBall,vector(10,10,0));
	ph_setgravity(vector(0,0,-500));
	eBall.event = Plop;
	eBall.emask|=ENABLE_FRICTION;
	pan_remove(pSplash);
	set(tHelp,SHOW);
	on_space = Kick;Plop();
	while (1)
	{
		vForce.x=-5*(key_force.x+mouse_force.x);
		vForce.y=5*(key_force.y+mouse_force.y);
		vForce.z=0;vec_accelerate(vMove,vAngularSpeed,vForce,0.8);
		vec_add(camera.pan,vMove);
		vForce.x=6*(key_w-key_s);
		vForce.y = 6*(key_a-key_d);
		vForce.z=6*(key_home- key_end);
		vec_accelerate(vMove,vSpeed,vForce,0.5);
		vec_rotate(vMove,camera.pan);
		vec_add(camera.x,vMove);wait(1);
	}
}




Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: War Cloud [Re: darkinferno] #327645
06/07/10 18:04
06/07/10 18:04
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
@darkinferno, in free version it's not compiled, it's just the acknex exe that copiles the script when it's started.

@3run,you can still buy the extra version that can compile your scripts(there fore they are hidden).

also you can use lite-c to hide your models, with free version.

Last edited by Quadraxas; 06/07/10 18:06.

3333333333
Re: War Cloud [Re: Quad] #327646
06/07/10 18:06
06/07/10 18:06
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
you can also rename your variables to something like that:
at top:
#define shshfdsfdh var

in code:
shshfdsfdh gsadjgaj;


Visit my site: www.masterq32.de
Re: War Cloud [Re: Quad] #327647
06/07/10 18:06
06/07/10 18:06
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
@darkinferno, thank you bro, I'll upload now version compiled with commercial version of my friend.
@Quadraxas, so what is the free version on the downloads page? If it's not EXTRA, what is it?!

Last edited by 3run; 06/07/10 18:09. Reason: so mistakes

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: War Cloud [Re: 3run] #327649
06/07/10 18:14
06/07/10 18:14
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
it's well, FREE version grin

http://www.3dgamestudio.com/order7.php -> diffrence of free extra version and PAID extra

PAID version has plugin support(though some plugins support free version), wdl support and compile-to-exe


3333333333
Re: War Cloud [Re: Quad] #327651
06/07/10 18:18
06/07/10 18:18
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
That is not free EXTRA that's an old free LITE-C version man grin Extra is free now dude. And it compiles to .EXE too

Last edited by 3run; 06/07/10 18:19.

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: War Cloud [Re: 3run] #327652
06/07/10 18:19
06/07/10 18:19
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
no that is the current valid list, try it for yourself free version do not support plugins.


3333333333
Re: War Cloud [Re: Quad] #327656
06/07/10 18:27
06/07/10 18:27
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Newton is a plugin isn't? wink It works well, as the same shadows plugin made by Chris3D wink


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: War Cloud [Re: 3run] #327657
06/07/10 18:38
06/07/10 18:38
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Newton is not a plugin, as i said you can write a plugin to work with free version, but normal plugins wont work.

Newton is not a plugin it's not compiled with the plugin SDK, it's just a C DLL.

You can use C DLLs directly from lite-c, you just need the header.


3333333333
Page 5 of 11 1 2 3 4 5 6 7 10 11

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