Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MMR

Pages: 1 ... 19 20 [21] 22 23 24
301
Technical forum / Re:PROBLEM WITH VIDEOS
« on: October 27, 2003, 11:45:30 AM »
Thanks Jan!!

BTW: No problem about the missed post ;)

302
Technical forum / Re:PROBLEM WITH VIDEOS
« on: October 26, 2003, 07:10:10 PM »
Mnemonic???

303
Technical forum / Re:Character is stuck
« on: October 26, 2003, 05:36:32 PM »
Maybe another "non-walkable" layer over the walkable one???

The "order" of the layers is very important

304
Technical forum / PROBLEM WITH VIDEOS
« on: October 22, 2003, 08:24:23 PM »
I've created a game with a small video. In test mode (through ProjectMan), the video works perfectly, but if i compile the game, when i execute it, the video doesn't show. It jumps the video part. Maybe the packages don't have the video inside them (a bug???)

What's the problem ??

305
Technical forum / Re:Startup scene doesn't work?
« on: October 17, 2003, 08:39:39 PM »
Yep, solved  ;D

306
Technical forum / Re:ENTITY Problem
« on: October 17, 2003, 08:38:45 PM »
Thanks Mnemonic!

 8)

307
Technical forum / ENTITY Problem
« on: October 17, 2003, 07:13:45 PM »
I have a problem with an Entity referenced by an Entity Container inside a Window:

// I load the Window and Store it into a variable
global Notas = Game.LoadWindow("ventanas\notas.window");
// I Store the Entity Container into a variable
global Doc = Notas.GetControl("imagen");

I don't know how to reference now by CODE the Entity inside the Entity Container.

308
Technical forum / DLL Problem
« on: October 17, 2003, 02:37:50 PM »
Continuing the work that McCoy and I did in the past...

I have program this lines, and they work in WME, but i don't know why everytime I use one of this functions, WME shows a Message like this... "Script Runtime Error. View log for details" (BTW: The log doesn't appear):

Code: [Select]
#include <windows.h>
#include <fstream>
#include <iostream>
#include <string>

using namespace std;

extern "C" __declspec(dllexport) void write_file(char* fileName, char* text)
{  
    string texto(text);
   
   ofstream file(fileName);
   
   file << texto << endl;
   file.close();
}

extern "C" __declspec(dllexport) char* read_file(char* fileName)
{  
    string m, aux;
     
   ifstream read(fileName);
   
   if(!read.fail())
   {
      while(read)
      {
        getline(read, aux, '\n');
        m = m + aux + "\n";
      }
   }
   
   else cerr << "Error opening the file: Maybe the file doesn't exist or has a different name";
   
   read.close();
   
   char* k;
   k = new char[m.length()];
   strcpy(k, m.c_str());
   
   return k;
   
}

I tried to eliminate the "cerr <<" and i "always" have a file created in the same folder i have the DLL and the game (i tried both, compiled game and from ProjectMan).

I hope you could help me.

309
Technical forum / Re:Startup scene doesn't work?
« on: October 17, 2003, 12:12:22 PM »
it displays no name, like the entity / entity container didn't exist

310
Technical forum / Re:Startup scene doesn't work?
« on: October 16, 2003, 05:47:20 PM »
Another question:

I have in a window an entity container with an entity... but if i move the mouse over the entity (running the game), the entity appears non-interactive, and i put Explicitly INTERACTIVE = TRUE in the entity definition.

311
Technical forum / Re:Startup scene doesn't work?
« on: October 16, 2003, 05:45:50 PM »
ahhhh i thought it wasn't necesary. Now it works ;)

312
Technical forum / Re:Startup scene doesn't work?
« on: October 16, 2003, 04:37:40 PM »
Do I need to put Game.ChangeScene when i use the Startup Scene???

I only mark the Scene as Startup Scene

313
Technical forum / Re:Startup scene doesn't work?
« on: October 15, 2003, 10:58:34 PM »
I'm using the last WME.exe and No errors in the log.

Here is the last try:

PROJECTMAN
Code: [Select]
23:58: ********** DEBUG LOG OPENED 15-10-2003 (Release Build) *****************
23:58: DEAD:CODE Games Framework ver 1.01 (Build 35), Compiled on Sep 16 2003, 22:26:50
23:58: Platform: Windows XP Service Pack 1 (Build 2600)
23:58: DirectX version: 9.0
23:58: BugslayerUtil.dll is bound
23:58:
23:58: Scanning packages...
23:58:   Registered 0 files in 0 package(s)
23:58: Initializing scripting engine...
23:58:   Script compiler 'dcscomp.dll' bound successfuly
23:58: Scanning packages...
23:58:   Registered 0 files in 0 package(s)
23:58: Enumerating Direct3D devices...
23:58: Enumerating DirectSound devices...
23:58: Available video devices:
23:58:   RADEON 9800 PRO (accelerated)
23:58: Available audio devices:
23:58:   Controlador primario de sonido
23:58:   SoundMAX Digital Audio
23:58:   [no sound]
23:58: Auto selecting devices for windowed mode:
23:58:   Video: RADEON 9800 PRO (accelerated)
23:58:          Windowed:yes  Colors:16bit  T&L:no  Multisample:0
23:58:   Audio: Controlador primario de sonido
23:58: Maximum texture size: 2048x2048
23:58: ----- Open file: 'C:\Documents and Settings\Manolo\Mis documentos\Otros Archivos\Notas\Notas.wpr' -----
23:58: Scanning packages...
23:58:   Registered 0 files in 0 package(s)
23:59:
23:59: Shutting down...
23:59: Shutting down scripting engine
23:59: ********** DEBUG LOG CLOSED ********************************************

WME.EXE
Code: [Select]
23:59: ********** DEBUG LOG OPENED 15-10-2003 (Release Build) *****************
23:59: DEAD:CODE Games Framework ver 1.01 (Build 35), Compiled on Sep 16 2003, 22:26:50
23:59: Platform: Windows XP Service Pack 1 (Build 2600)
23:59: DirectX version: 9.0
23:59: BugslayerUtil.dll is bound
23:59:
23:59: Scanning packages...
23:59:   Registered 0 files in 0 package(s)
23:59: Initializing scripting engine...
23:59:   Script compiler 'dcscomp.dll' bound successfuly
23:59: Loading string table...
23:59:   23 strings loaded
23:59: Enumerating Direct3D devices...
23:59: Enumerating DirectDraw devices...
23:59: Enumerating DirectSound devices...
23:59: Available video devices:
23:59:   RADEON 9800 PRO (accelerated)
23:59:   RADEON 9800 PRO (non accelerated)
23:59: Available audio devices:
23:59:   Controlador primario de sonido
23:59:   SoundMAX Digital Audio
23:59:   [sin sonido]
23:59:
23:59: User selected:
23:59:   Video: RADEON 9800 PRO (accelerated)
23:59:          Windowed:no  Colors:32bit  T&L:no  Multisample:0
23:59:   Audio: Controlador primario de sonido
23:59: Maximum texture size: 2048x2048
23:59: Data initialized in 32 ms
23:59:
23:59: Shutting down...
23:59: Shutting down scripting engine
23:59: ********** DEBUG LOG CLOSED ********************************************

314
Technical forum / Startup scene doesn't work?
« on: October 15, 2003, 10:06:32 PM »
I tested it in Debug Mode in 2 different computers and it doesn't work.

Win2000 & WinXP

BTW: No problem about the joke ;)

315
Game announcements / Re:Five magical amulets
« on: October 15, 2003, 07:58:29 PM »
I don't know why she answered me with an insult. I asked in a polite way thought.  :o

BTW: (off-topic) Mnemonic, the StartScene (in ProjectMan), doesn't work.
BTW2: (off-topic) Mnemonic 666 messages ;)

Pages: 1 ... 19 20 [21] 22 23 24

Page created in 0.186 seconds with 19 queries.