PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Lineage II



Fishi
12.04.04, 20:25
Hallo

Kennt einer von euch das Game Lineage II.
Naja wen nicht das game ist gerade in der open Beta und gibs hier zu downloaden.
http://www.lineage2.com/

Das game kann man super per wine installiren.
Und dann mit winex3.X oder winex-cvs starten.
Das problemm ist nur wenn man in das Menü kommt Kann man die Maus nima bewegen, heist die maus swicht immer wieder in die mitte des bildschirmes zurück so das es unmöglich wird edwas anzuklicken oder der gleichen.

Bei Transgaming steht auch was dazu das man in einer /maus/main.cpp was ändern soll. Naja was steht da leider nicht.

Hat jemand sons noch ne idee was ich in der config einstellen könnte???

Fishi
14.04.04, 22:20
Huhu

Ist ja schon auf der zweiten seite.

*Hochschieb* man was für ne arbeit.

Fishi
01.05.04, 11:28
Huhu

So hab auf Transgaming mal was gefunden.

ttp://www.transgaming.com/showthread.php?msg=38757&forum=1111&thread=38142

Ich sol also in der dlls/dinput/mouse/main.c edwas ändern.
Das ist der Original Code.

static void dinput_check_warp(SysMouseAImpl* This)
{
/* try to recover from lost warp events by retrying
* the warp if no event received within 20ms */
if (This->need_warp == WARP_STARTED &&
((GetCurrentTime() - This->warp_time) > 20) &&
WARP_CONDITION(This)) {
This->need_warp = WARP_NEEDED;
}
}



Und so sol der später aussehn Glaub ich.

static void dinput_check_warp(SysMouseAImpl* This)
{
CURSORINFO pci;
DWORD current = GetCurrentTime();

/* try to recover from lost warp events by retrying
* the warp if no event received within 20ms */
if (This->need_warp == WARP_STARTED &&
((GetCurrentTime() - This->warp_time) > 20)) {
This->need_warp = WARP_NEEDED;
if ((This->need_warp == WARP_STARTED && ((current - This->warp_time) > 20)) ||
This->need_warp == WARP_NEEDED) {
/* find out whether the cursor is being drawn by the o/s */
GetCursorInfo(&pci);
if (pci.flags && pci.hCursor) {
This->warp_time = current;
This->need_warp = WARP_STARTED;
}
else
This->need_warp = WARP_NEEDED;
}
}

So wen ich das nun Kompiligcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o mouse/main.o mouse/main.c
mouse/main.c: In function `dinput_check_warp':
mouse/main.c:1224: error: initializer element is not constant
mouse/main.c:1224: error: (near initialization for `SysMouseAvt.GetCapabilities')
mouse/main.c:1225: error: initializer element is not constant
mouse/main.c:1225: error: (near initialization for `SysMouseAvt.EnumObjects')
mouse/main.c:1226: error: initializer element is not constant
mouse/main.c:1226: error: (near initialization for `SysMouseAvt.GetProperty')
mouse/main.c:1227: error: initializer element is not constant
mouse/main.c:1227: error: (near initialization for `SysMouseAvt.SetProperty')
mouse/main.c:1228: error: initializer element is not constant
mouse/main.c:1228: error: (near initialization for `SysMouseAvt.Acquire')
mouse/main.c:1229: error: initializer element is not constant
mouse/main.c:1229: error: (near initialization for `SysMouseAvt.Unacquire')
mouse/main.c:1230: error: initializer element is not constant
mouse/main.c:1230: error: (near initialization for `SysMouseAvt.GetDeviceState')
mouse/main.c:1231: error: initializer element is not constant
mouse/main.c:1231: error: (near initialization for `SysMouseAvt.GetDeviceData')
mouse/main.c:1233: error: initializer element is not constant
mouse/main.c:1233: error: (near initialization for `SysMouseAvt.SetEventNotification')
mouse/main.c:1235: error: initializer element is not constant
mouse/main.c:1235: error: (near initialization for `SysMouseAvt.GetObjectInfo')
mouse/main.c:1236: error: initializer element is not constant
mouse/main.c:1236: error: (near initialization for `SysMouseAvt.GetDeviceInfo')
mouse/main.c:1253: error: syntax error at end of input
mouse/main.c:1218: warning: unused variable `SysMouseAvt'
make[2]: *** [mouse/main.o] Error 1
make[2]: Leaving directory `/home/fishi/win/winex/dlls/dinput'
make[1]: *** [dinput/libdinput.so] Error 2
make[1]: Leaving directory `/home/fishi/win/winex/dlls'
make: *** [dlls] Error 2
ere bekomm ich folgende fehler meldung.

Kann mir wer sagen ob ich da was falsch geändert habe kenne mich in C nicht besonders gut aus.

Fishi
01.05.04, 12:06
Hmm
Habs hinbekomme.

es muss so aussehn.


static void dinput_check_warp(SysMouseAImpl* This)
{
CURSORINFO pci;
DWORD current = GetCurrentTime();

/* try to recover from lost warp events by retrying
* the warp if no event received within 20ms */
if ((This->need_warp == WARP_STARTED && ((current - This->warp_time) > 20)) ||
This->need_warp == WARP_NEEDED)
{
/* find out whether the cursor is being drawn by the o/s */
GetCursorInfo(&pci);
if (pci.flags && pci.hCursor)
{
This->warp_time = current;
This->need_warp = WARP_STARTED;
}
else
This->need_warp = WARP_NEEDED;
}
}


Aber bei was für ein glück ich ja immer habe ist die openbeta nun vorbei.
:(.