About Store Forum Documentation Contact



Post Reply 
[Demande] Engine.pak
Author Message
Dwight Offline
Member

Post: #16
RE: [Demande] Engine.pak
(05-05-2011 02:21 PM)lindsay² Wrote:  arf! I do not understand: /

If you are using the mmo source code, which most likely you are, it's in Main.cpp

SnowCloud Entertainment - We are recruiting!
http://www.sc-entertainment.com
05-05-2011 07:11 PM
Find all posts by this user Quote this message in a reply
Jben Offline
Member

Post: #17
RE: [Demande] Engine.pak
ok, but server ou client
Code:
secure(code32);
void InitPre()
{
   App.name("SawgeniuS v1.0.0a");
   App.flag=APP_MINIMIZABLE|APP_MAXIMIZABLE|APP_RESIZABLE|APP_FULL_TOGGLE|APP_KB_EX​CLUSIVE|APP_MEM_LEAKS|APP_WORK_IN_BACKGROUND;
   App.x=0;
   App.y=0;
   D.sync(true).viewRange(300);
   Renderer.type(RT_FORWARD);
   D.shdMode(SHADOW_NONE);
#ifdef DEBUG
   D.mode(640,480);
#else
   D.mode(1024,768);
#endif
   ConfigLoad();

#ifdef DEBUG
   DataPath("Data"); // please use only this line
#else
   #include "../Paks.add(data.pak).cpp" // please ignore this line and always use the one above
#endif
   Paks.add("data.pak");
}
Bool Init()
{
   if(!FC.create())Exit("Can't create UDP socket");

   SetGui();
   OptionsCreate();
   ControlsCreate();
   Physics.create(CSS_MATERIALS,true,"Bin");
   Sky.frac(0.9f);
   Sun.image=Images("gfx/sky/sun.gfx"); Sun.light_color=1-D.ambColor();
   REPAO(Clouds.layered.layer).scale*=1.2f;




???
(This post was last modified: 05-05-2011 07:56 PM by Jben.)
05-05-2011 07:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Dwight Offline
Member

Post: #18
RE: [Demande] Engine.pak
Paks.add("data.pak", secure)

SnowCloud Entertainment - We are recruiting!
http://www.sc-entertainment.com
05-06-2011 09:48 AM
Find all posts by this user Quote this message in a reply
Jben Offline
Member

Post: #19
RE: [Demande] Engine.pak
secure(code32);
void InitPre()
{
App.name("SawgeniuS v1.0.0a");
App.flag=APP_MINIMIZABLE|APP_MAXIMIZABLE|APP_RESIZABLE|APP_FULL_TOGGLE|APP_KB_EX​CLUS​IVE|APP_MEM_LEAKS|APP_WORK_IN_BACKGROUND;
App.x=0;
App.y=0;
D.sync(true).viewRange(300);
Renderer.type(RT_FORWARD);
D.shdMode(SHADOW_NONE);
#ifdef DEBUG
D.mode(640,480);
#else
D.mode(1024,768);
#endif
ConfigLoad();

#ifdef DEBUG
DataPath("Data"); // please use only this line
#else
#include "../Paks.add(data.pak).cpp" // please ignore this line and always use the one above
#endif
Paks.add("data.pak", code32);
}
Bool Init()
{
if(!FC.create())Exit("Can't create UDP socket");

SetGui();
OptionsCreate();
ControlsCreate();
Physics.create(CSS_MATERIALS,true,"Bin");
Sky.frac(0.9f);
Sun.image=Images("gfx/sky/sun.gfx"); Sun.light_color=1-D.ambColor();
REPAO(Clouds.layered.layer).scale*=1.2f;



it's ok ?
05-06-2011 10:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #20
RE: [Demande] Engine.pak
Just test it with your secured pak file and look if it works..

There is always evil somewhere, you just have to look for it properly.
05-06-2011 12:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply