Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


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 - Pipec

Pages: [1] 2 3 4
1
Общий форум / Re: "QuestCast" - подкаст о квестах
« on: September 02, 2015, 01:38:51 PM »
После недельного перерыва четвертый выпуск. Не совсем обычный, тематический. Рассказываю о студии "Daedalic Entertaiment".
http://questcast.podster.fm/4

2
А вот и третий выпуск
http://questcast.podster.fm/3

3
Общий форум / "QuestCast" - подкаст о квестах
« on: August 12, 2015, 03:11:19 PM »
Всем привет, кого давно не видел.  ::wave
Теперь я еще и ведущий подкаста о квестах.



Встречайте подкаст "QuestCast"

Уже записал пару выпусков. Присоединяйтесь, слушайте, критикуйте. Надеюсь вам понравится.

4
Технический форум / Re: Эффекты
« on: August 28, 2009, 05:30:44 PM »

5
Технический форум / Re: Разговор актёра.
« on: August 10, 2009, 05:15:43 PM »
CHARSET изменить значение на 1

8
Technical forum / Re: DLL loading
« on: August 02, 2009, 07:31:09 PM »
There is no way to identify the null pointer  ???

9
Технический форум / Re: Взаимодей?твие
« on: July 29, 2009, 05:35:56 PM »

10
Технический форум / Re: Взаимодей?твие
« on: July 29, 2009, 04:27:38 PM »

11
Code: [Select]
on "lom"
{
  ... зде?ь выбиваем дверь ...
}
var tmp=Scene.GetNode("dver");

12
Technical forum / Re: DLL loading
« on: July 28, 2009, 09:55:57 AM »
And yet the question  ;)

The external function is called in a loop and returns a pointer at structure (membuffer object) or null. Null - a sign of the end of the loop. I use script:
Code: [Select]
external "magic.dll" cdecl membuffer Magic_GetNextParticle();

var doPart = true;
var struc = new MemBuffer(20);

while(doPart)
{
  struc = Magic_GetNextParticle();
  if (struc == null)
  {
    doPart = false;
  }
  else
  {
    ... operations on the data from the structure ...
  }
}

But the condition if (struc == null) is not fulfilled, when external function return null.
I used the condition if (struc.GetInt == null), but received an error, when external function return null
Quote
11:43:   Cannot use Set/Get methods on an uninitialized memory buffer

Question: How in my case, to determine that the external function returns a null?

13
Технический форум / Re: Вопро?ы
« on: July 27, 2009, 05:16:33 PM »

14
Technical forum / Re: DLL loading
« on: July 27, 2009, 02:51:08 PM »
Realized their mistake!   ::)

"HM_FILE* hmFile" this is not a variable, this pointer. Solved the problem using MemBuffer

15
Technical forum / Re: DLL loading
« on: July 27, 2009, 11:01:29 AM »
Then another question. DLL have function:
Code: [Select]
int Magic_OpenFile(
   const char* file_name,
   HM_FILE* hmFile
);

Сalling convention - cdecl

In the engine, I declare it so:
Code: [Select]
external "magic.dll" cdecl int Magic_OpenFile(string, int);

That is right?
Because when I is calling:
Code: [Select]
var PtcFile;
Magic_OpenFile("test.ptc", PtcFile);
WME crushing with application error.

Quote
-----------------------------------------------------------------
---------- wme 1.8.010 crash report: 27-07-2009, 12:55 ----------
-----------------------------------------------------------------
wme.exe caused a EXCEPTION_ACCESS_VIOLATION in module magic.dll at 001B:6A581334
EAX=00000000  EBX=00000001  ECX=6A5D1060  EDX=0000000A  ESI=003E4880
EDI=0012FDA4  EBP=0012FD74  ESP=0012FD0C  EIP=6A581334  FLG=00010213
CS=001B   DS=0023  SS=0023  ES=0023   FS=003B  GS=0000
Stack trace:
001B:6A581334 (0x6A5D1060 0x024E0FF0 0x00000000 0x00BE7AE0) magic.dll
001B:6A58B9F1 (0x024E0FF0 0x00000000 0xB677B752 0x00000010) magic.dll, Magic_OpenFile()+33 byte(s)
001B:00455D48 (0x00BE7D90 0x00BE7CE0 0x00BE7AE0 0x00000010) wme.exe
001B:00456A82 (0x00AB43B8 0xFFFFFFFF 0x00BE6F40 0x00000000) wme.exe
001B:00AB0101 (0x00454790 0x00455920 0x69726353 0x63207470) <UNKNOWN>
001B:00455FD0 (0x8B550C41 0x5614246C 0x5718718D 0x18247C8B) wme.exe
001B:8D53128B (0x00000000 0x00000000 0x00000000 0x00000000) <UNKNOWN>

Pages: [1] 2 3 4

Page created in 0.138 seconds with 22 queries.