Menu

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.

Show posts Menu

Topics - Murdock

#1
Small snippet to turn each vehicle light on or off

enum VehicleLights {
    HeadLeft    = 0x1,
    HeadRight   = 0x4,
    TailLeft    = 0x10,
    TailRight   = 0x40,
    TaxiLight   = 0x100
}

function setLights(vehicle, lightId, isVisible)
{
    if (isVisible) vehicle.LightFlags = vehicle.LightFlags & (~lightId);
    else vehicle.LightFlags = vehicle.LightFlags | lightId;
}

// Usage:
setLights( vehicle, VehicleLights.TailLeft, true );
setLights( vehicle, VehicleLights.TailRight, false );
#2
Bugs and Crashes / [BUG] Game crashes on quit
Jul 25, 2016, 02:30 PM
After the last update, the game seems to crash every time when quitting the game using /q. The message "gta-vc.exe has stopped responding" would appear and the cursor remains hidden, meaning you have to kill the process manually every time when quitting the game. Only seems to happen when playing about 10 minutes or more.
#3
When trying to change the server port by adding "port x" in the server.cfg, the server port does not change and defaults back to 8192. Only happens with the Windows server
#4
I have been trying to use the Set3DTransform method on several GUI elements since the GUI was added, but I can't seem to get it to work.
Does anyone have an example on how to use it?

I've tried setting the 3D position to the player position, and trying out difference rotations and sizes, but nothing would appear in-game. I have also tried adding the GUI_FLAG_3D_ENTITY flag before and after setting the 3D position, but this only makes the GUI element invisible.

Any help is appreciated
#5
Reproducible
Reproducible 80% of the time

What you were doing at the time of the crash
I was using GUIButtons for a game I am making, hell broke loose when I decided to add the buttons inside a GUIWindow.
Basicly you can remove a button just fine by removing all references to it. But when the button is inside a window, they seem to really love that window because you cannot remove them without the game crashing.
I noticed that sometimes the buttons do get removed, but most of the time the game would just bloat the entire chatbox with crashes on different addresses, eventually crashing the game itself.
Besides all random addresses, after trying a couple of times the game would also crash without leaving any crashlog.
Deleting the buttons would sometimes also leave "ghost buttons" on the screen, basicly it was still showing the "removed" button while missing the label it had before.
Notable addresses were 0C220200, 771BE3FB, 771BE39E which I posted below.

What you think caused the crash
GUIButtons are too "attached" to their GUIWindow.

Are you using the Steam version?
No

Crash Report 771BE39E
Address: 771BE39E error C0000005
EAX 08455B78 EBX 0C6ACAD0 ECX 00D60000 EDX 0C6ACAD0
EBP 0018D364 ESP 0018D330 ESI 3FDDCC6B EDI 0C6ACAC8
Stack:
00000000
00D60000
0C6ACAD0
0BDEA1C0
0BDEA1A8
C21FA706
0018D378
5AEC0A20
FFFFFFFF
0018D388
5AE3729B
C21FA7DA
0C6ACAC8
0018D37C
771BE003
00000034
0C6ACAD0
00000003
0C6ACAC8
0018D390
765914DD
00D60000
00000000
0C6ACAD0
0018D3A4
5AE94B79
00D60000
00000000
0C6ACAD0
0018D3B0
5AE15F8B
0C6ACAD0
0018D3D4
5AE2B130
0C6ACAD0
00000034
00000002
0C3738C8
5AE22731
00000002
0C3738C8
0018D400
5AE0F6E9
00000002
C21FA052
0C192F90
0000000E
01000001
00000000
0018D45C
5AEC0DF6
FFFFFFFF
0018D468
5ADCAED9
0C3738C8
00000002
00000000
00000001
0000000E
0C233C88
0C192F08
0DD7EA80
771C2C81
0DD7EA80
00000000
00000002
00000002
00000000
00000018
0018D45C
0018D460
5AE93F1A
0000000E
00000000
00000002
0018D49C
5AEBFAA0
FFFFFFFF
0018D4A8
5ADC7DD9
0C233C88
00000090
0000000E
000000CF
5AE649E6
00000036
00000008
0018E4C0
0C233CA9
5AC903F0
0C233C88
0018E5D8
5AEBF818
FFFFFFFF
0018E5E4
5AD4CC22
0018D4C0
0000000E
0C233CA9
000000CF
00000000
00000000
09010000
00000909
0018D638
0018DCF0
0018D718
5AE86EEC
0018DCF0
000001CC
0018D500
00000000
032BAFD4
0018D530
032BAFD4
0018D538
575B31BD
0018D54C
0018D5AC
032BAFD4
04DB2A74
0329EE5C
032BAFD4
0018D558
575B31BD
0018D56C
0018D5C8
032BAFD4
032B6DE4
032BFD70
0018D55C
032B6DE4
000000F0
003E0050
00000009
032B6DE4
032BAFD4
0018D590
575B31BD
0018D5A4
0018D604
032BAFD4
04DB37D4
00000000
0018D55C
04DB37D4
0018D848
003E0050
00000002
04DB37D4
00000000
032BFD70
0018D5B4
575B35FD
0000036C
00000000
00000015
00000000
0018D55C
00090300
0018D5E0
0018D5F4
575D67A8
00000000
00000015
00000000
00000000
00000300
0329F22C
032A2E70
032B67CC
579B0152
00000300
00000003
0329F22C
0018D5F8
579BCEEB
0018D61C
579ADCB0
03298F34
0018D604
04DB37D4
00000000
00000015
00000000
0329F22C
00000000
0018D630
00000001
0329F22C
00000000
0018D640
579B0152
03298F34
00000001
57A7F0B4
0018D654
579D5D1A
032A2E70
00000001
Net version 67000, build version 572939BC.
00400000 S 00614000 N L:\Vice City_04\gta-vc.exe
21100000 S 0005C000 N L:\Vice City_04\mss32.dll
22100000 S 00014000 N L:\Vice City_04\mss\Mssa3d.m3d
22200000 S 00015000 N L:\Vice City_04\mss\Mssa3d2.m3d
22300000 S 00011000 N L:\Vice City_04\mss\Mssds3ds.m3d
22400000 S 00014000 N L:\Vice City_04\mss\Mssds3dh.m3d
22500000 S 00014000 N L:\Vice City_04\mss\Msseax.m3d
22600000 S 00016000 N L:\Vice City_04\mss\Mssfast.m3d
22D00000 S 00062000 N L:\Vice City_04\mss\Mssrsx.m3d
22E00000 S 00019000 N L:\Vice City_04\mss\msseax3.m3d
24600000 S 00011000 N L:\Vice City_04\mss\Reverb3.flt
26F00000 S 0002A000 N L:\Vice City_04\mss\Mp3dec.asi
56DC0000 S 00799000 N C:\Windows\system32\atiumdva.dll
57560000 S 0070C000 N C:\Windows\system32\atiumdag.dll
5AC30000 S 0043B000 N C:\Users\Murdock\AppData\Local\Vice City Multiplayer\04rel004\vcmp-game.dll
5D160000 S 0001C000 N C:\Windows\system32\atiu9pag.dll
5D1A0000 S 00126000 N C:\Windows\system32\aticfx32.dll
622A0000 S 00009000 N C:\Windows\system32\HID.DLL
63030000 S 00003000 N C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL
639B0000 S 00014000 N C:\Windows\system32\MSACM32.dll
63A20000 S 00036000 N C:\Windows\system32\AUDIOSES.DLL
646F0000 S 00218000 N C:\Windows\AppPatch\AcGenral.DLL
652F0000 S 00105000 N C:\Windows\system32\d3d8.dll
65DC0000 S 00072000 N C:\Windows\system32\DSOUND.DLL
65E40000 S 00039000 N C:\Windows\System32\MMDevApi.dll
66F20000 S 00007000 N C:\Windows\system32\avrt.dll
69B40000 S 00006000 N C:\Windows\system32\d3d8thk.dll
69BE0000 S 00080000 N C:\Windows\system32\UxTheme.dll
69DA0000 S 00013000 N C:\Windows\system32\dwmapi.dll
6B520000 S 00010000 N C:\Windows\system32\NLAapi.dll
6B670000 S 0000D000 N C:\Windows\system32\sfc_os.DLL
6B9B0000 S 00018000 N C:\Windows\system32\NTDSAPI.dll
6B9D0000 S 00096000 N C:\Windows\system32\wbem\fastprox.dll
6C4A0000 S 0000F000 N C:\Windows\system32\wbem\wbemsvc.dll
6C4B0000 S 0005C000 N C:\Windows\system32\wbemcomn.dll
6C510000 S 0000A000 N C:\Windows\system32\wbem\wbemprox.dll
6C550000 S 00012000 N C:\Windows\system32\MPR.dll
6C5D0000 S 000F5000 N C:\Windows\System32\PROPSYS.dll
71110000 S 0000E000 N C:\Windows\system32\RpcRtRemote.dll
712C0000 S 00003000 N C:\Windows\system32\sfc.dll
712F0000 S 0000F000 N C:\Windows\system32\samcli.dll
71550000 S 00045000 N C:\Users\Murdock\AppData\Local\Vice City Multiplayer\04rel004\libpng15.dll
71D50000 S 00038000 N C:\Windows\System32\fwpuclnt.dll
71D90000 S 00006000 N C:\Windows\system32\rasadhlp.dll
71DA0000 S 00021000 N C:\Program Files (x86)\Bonjour\mdnsNSP.dll
71DD0000 S 00024000 N C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
71E00000 S 00005000 N C:\Windows\System32\wshtcpip.dll
71E20000 S 0003C000 N C:\Windows\System32\mswsock.dll
71FB0000 S 00008000 N C:\Windows\System32\winrnr.dll
72080000 S 00012000 N C:\Windows\system32\pnrpnsp.dll
720A0000 S 00010000 N C:\Windows\system32\napinsp.dll
72210000 S 00025000 N C:\Windows\system32\POWRPROF.dll
72250000 S 00032000 N C:\Windows\system32\winmm.dll
72500000 S 0004C000 N C:\Windows\system32\apphelp.dll
728F0000 S 00017000 N C:\Windows\system32\USERENV.dll
72E80000 S 0003B000 N C:\Windows\system32\rsaenh.dll
72EC0000 S 00016000 N C:\Windows\system32\CRYPTSP.dll
73230000 S 0000B000 N C:\Windows\system32\profapi.dll
73260000 S 00007000 N C:\Windows\system32\WINNSI.DLL
73270000 S 0001C000 N C:\Windows\system32\Iphlpapi.DLL
732B0000 S 00044000 N C:\Windows\system32\DNSAPI.dll
73880000 S 00030000 N C:\Windows\system32\dinput8.dll
74200000 S 00006000 N C:\Windows\system32\DCIMAN32.dll
74210000 S 000E7000 N C:\Windows\system32\ddraw.dll
74C20000 S 00009000 N C:\Windows\system32\VERSION.dll
74CE0000 S 0000C000 N C:\Windows\syswow64\CRYPTBASE.dll
74CF0000 S 00060000 N C:\Windows\syswow64\SspiCli.dll
74D50000 S 0000A000 N C:\Windows\syswow64\LPK.dll
74D60000 S 00005000 N C:\Windows\syswow64\PSAPI.DLL
74D70000 S 00006000 N C:\Windows\syswow64\NSI.dll
74D80000 S 000F5000 N C:\Windows\syswow64\WININET.dll
74E80000 S 00046000 N C:\Windows\syswow64\KERNELBASE.dll
74ED0000 S 00C4A000 N C:\Windows\syswow64\SHELL32.dll
75B20000 S 000A0000 N C:\Windows\syswow64\advapi32.dll
75C20000 S 00100000 N C:\Windows\syswow64\USER32.dll
75D20000 S 000F0000 N C:\Windows\syswow64\RPCRT4.dll
75E10000 S 0002D000 N C:\Windows\syswow64\WINTRUST.dll
75E40000 S 0008F000 N C:\Windows\syswow64\OLEAUT32.dll
75ED0000 S 00035000 N C:\Windows\syswow64\WS2_32.dll
75F10000 S 000AC000 N C:\Windows\syswow64\msvcrt.dll
75FC0000 S 0011D000 N C:\Windows\syswow64\CRYPT32.dll
760E0000 S 00083000 N C:\Windows\syswow64\CLBCatQ.DLL
76170000 S 00012000 N C:\Windows\syswow64\DEVOBJ.dll
761C0000 S 00090000 N C:\Windows\syswow64\GDI32.dll
762B0000 S 00057000 N C:\Windows\syswow64\SHLWAPI.dll
76310000 S 0019D000 N C:\Windows\syswow64\SETUPAPI.dll
764B0000 S 0009D000 N C:\Windows\syswow64\USP10.dll
76550000 S 00027000 N C:\Windows\syswow64\CFGMGR32.dll
76580000 S 00110000 N C:\Windows\syswow64\kernel32.dll
76690000 S 0015C000 N C:\Windows\syswow64\ole32.dll
767F0000 S 00136000 N C:\Windows\syswow64\urlmon.dll
76930000 S 00019000 N C:\Windows\SysWOW64\sechost.dll
76950000 S 000CC000 N C:\Windows\syswow64\MSCTF.dll
76A20000 S 001FB000 N C:\Windows\syswow64\iertutil.dll
76C20000 S 00060000 N C:\Windows\system32\IMM32.DLL
77160000 S 0000C000 N C:\Windows\syswow64\MSASN1.dll
77190000 S 00180000 N C:\Windows\SysWOW64\ntdll.dll



Crash Report 0C220200
Address: 0C220200 error 80000003
EAX 0C4A1578 EBX 00000002 ECX 0E25EAC0 EDX 0C233B8C
EBP 0018E914 ESP 0018E8E8 ESI 0C233B84 EDI 00000004
Stack:
5AE2462D
7CAB5447
0C233B8C
0C381468
0C3CF7A8
00000004
0C3CF7A8
0C233B50
0018EA54
5AEC2A68
00000003
0018E92C
5AE24388
00000001
0C381460
0C249EF0
0C4BAFC0
0018E944
5AE1249E
0C381468
0C381470
00000000
0C249EF0
0018E954
5AE2E3FD
0C249EF0
FFFFFFFD
0018E974
5AE1D6C5
0C249EF0
0C249F80
0C4CE2F8
0C249EF0
00000000
00000019
0018EA60
5AE1E6F9
0C4BAFC0
00000003
00000016
0018EA34
0018EA7F
7CAB5733
0C249EF0
0C249EF0
00000000
02410057
000001E5
0C249F80
00F50002
0000008D
00000001
023C0058
000001E5
0018EA7C
00F80003
00BAA5C8
08000040
0CBACA88
00BAA5C8
00000000
0C1DD350
00BAA2B8
00BAA3D8
0C2209E8
00BAA780
00BAA3D0
0018E988
00BAA6B0
0018EB44
77201ECD
11D50075
FFFFFFFE
771BE36C
771BE0D2
0C249EF0
0A008000
0E25EAF8
0C249EF0
00000010
00000000
00C2183C
08000040
08000200
0C4BAFC0
0C249EF0
0C381458
0C4CE2F8
0A008000
0C4CE378
00000000
0018EAA0
5AEC23B0
00000004
0018EAAC
5AE1D0F1
00000018
00000002
01000001
0018EAD4
00000001
00000000
7CAB57FF
00000002
0C249EF0
00000000
0C4CDBD8
0C4CDBD8
0018EAA4
5AE36B81
0018EADC
5AEC200C
FFFFFFFF
0018EAE8
5AE0F6D4
0C3813B0
00000002
00000001
0018EAD4
00000001
7CAB57BB
0C2DD540
00000004
01000001
00000000
0018EB44
5AEC0DF6
FFFFFFFF
0018EB50
5ADCAED9
0C249EF0
00000002
00000000
00000001
00000004
0C35E3F8
0C2DD4B8
08053930
0018EB20
5AE168F4
5AECD44C
00000002
00000002
00000000
00000010
0018EB44
0018EB48
5AE93F1A
00000004
00000000
00000002
0018EB84
5AEBFAA0
FFFFFFFF
0018EB90
5ADC7DD9
0C35E3F8
00000040
00000004
000000CF
00000008
00000008
0018ED38
0018FBA8
0C2323B1
5AC903F0
0C35E3F8
0018FCC0
5AEBF818
FFFFFFFF
0018FCCC
5AD4CC22
0018EBA8
00000004
0C2323B1
000000CF
00000001
0E2BA000
00C7C700
0018EBC4
56E06007
0018F3D8
0018EE00
5AE86EEC
0018F3D8
000001CC
0018EBE8
00000000
02B6AFD4
0018EC18
02B6AFD4
0018EC20
575B31BD
0018EC34
0018EC94
02B6AFD4
04CC2A74
02B4EE5C
02B6AFD4
0018EC40
Net version 67000, build version 572939BC.
00400000 S 00614000 N L:\Vice City_04\gta-vc.exe
21100000 S 0005C000 N L:\Vice City_04\mss32.dll
22100000 S 00014000 N L:\Vice City_04\mss\Mssa3d.m3d
22200000 S 00015000 N L:\Vice City_04\mss\Mssa3d2.m3d
22300000 S 00011000 N L:\Vice City_04\mss\Mssds3ds.m3d
22400000 S 00014000 N L:\Vice City_04\mss\Mssds3dh.m3d
22500000 S 00014000 N L:\Vice City_04\mss\Msseax.m3d
22600000 S 00016000 N L:\Vice City_04\mss\Mssfast.m3d
22D00000 S 00062000 N L:\Vice City_04\mss\Mssrsx.m3d
22E00000 S 00019000 N L:\Vice City_04\mss\msseax3.m3d
24600000 S 00011000 N L:\Vice City_04\mss\Reverb3.flt
26F00000 S 0002A000 N L:\Vice City_04\mss\Mp3dec.asi
56DC0000 S 00799000 N C:\Windows\system32\atiumdva.dll
57560000 S 0070C000 N C:\Windows\system32\atiumdag.dll
5AC30000 S 0043B000 N C:\Users\Murdock\AppData\Local\Vice City Multiplayer\04rel004\vcmp-game.dll
5D160000 S 0001C000 N C:\Windows\system32\atiu9pag.dll
5D1A0000 S 00126000 N C:\Windows\system32\aticfx32.dll
622A0000 S 00009000 N C:\Windows\system32\HID.DLL
63030000 S 00003000 N C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL
639B0000 S 00014000 N C:\Windows\system32\MSACM32.dll
63A20000 S 00036000 N C:\Windows\system32\AUDIOSES.DLL
644D0000 S 00218000 N C:\Windows\AppPatch\AcGenral.DLL
64E10000 S 00105000 N C:\Windows\system32\d3d8.dll
65DC0000 S 00072000 N C:\Windows\system32\DSOUND.DLL
65E40000 S 00039000 N C:\Windows\System32\MMDevApi.dll
66F20000 S 00007000 N C:\Windows\system32\avrt.dll
69900000 S 00045000 N C:\Users\Murdock\AppData\Local\Vice City Multiplayer\04rel004\libpng15.dll
69B40000 S 00006000 N C:\Windows\system32\d3d8thk.dll
69BE0000 S 00080000 N C:\Windows\system32\UxTheme.dll
69DA0000 S 00013000 N C:\Windows\system32\dwmapi.dll
6B520000 S 00010000 N C:\Windows\system32\NLAapi.dll
6B670000 S 0000D000 N C:\Windows\system32\sfc_os.DLL
6B9B0000 S 00018000 N C:\Windows\system32\NTDSAPI.dll
6B9D0000 S 00096000 N C:\Windows\system32\wbem\fastprox.dll
6C4A0000 S 0000F000 N C:\Windows\system32\wbem\wbemsvc.dll
6C4B0000 S 0005C000 N C:\Windows\system32\wbemcomn.dll
6C510000 S 0000A000 N C:\Windows\system32\wbem\wbemprox.dll
6C550000 S 00012000 N C:\Windows\system32\MPR.dll
6C5D0000 S 000F5000 N C:\Windows\System32\PROPSYS.dll
71110000 S 0000E000 N C:\Windows\system32\RpcRtRemote.dll
712C0000 S 00003000 N C:\Windows\system32\sfc.dll
712F0000 S 0000F000 N C:\Windows\system32\samcli.dll
71D50000 S 00038000 N C:\Windows\System32\fwpuclnt.dll
71D90000 S 00006000 N C:\Windows\system32\rasadhlp.dll
71DA0000 S 00021000 N C:\Program Files (x86)\Bonjour\mdnsNSP.dll
71DD0000 S 00024000 N C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
71E00000 S 00005000 N C:\Windows\System32\wshtcpip.dll
71E20000 S 0003C000 N C:\Windows\System32\mswsock.dll
71FB0000 S 00008000 N C:\Windows\System32\winrnr.dll
72080000 S 00012000 N C:\Windows\system32\pnrpnsp.dll
720A0000 S 00010000 N C:\Windows\system32\napinsp.dll
72210000 S 00025000 N C:\Windows\system32\POWRPROF.dll
72250000 S 00032000 N C:\Windows\system32\winmm.dll
72500000 S 0004C000 N C:\Windows\system32\apphelp.dll
728F0000 S 00017000 N C:\Windows\system32\USERENV.dll
72E80000 S 0003B000 N C:\Windows\system32\rsaenh.dll
72EC0000 S 00016000 N C:\Windows\system32\CRYPTSP.dll
73230000 S 0000B000 N C:\Windows\system32\profapi.dll
73260000 S 00007000 N C:\Windows\system32\WINNSI.DLL
73270000 S 0001C000 N C:\Windows\system32\Iphlpapi.DLL
732B0000 S 00044000 N C:\Windows\system32\DNSAPI.dll
73880000 S 00030000 N C:\Windows\system32\dinput8.dll
74200000 S 00006000 N C:\Windows\system32\DCIMAN32.dll
74210000 S 000E7000 N C:\Windows\system32\ddraw.dll
74C20000 S 00009000 N C:\Windows\system32\VERSION.dll
74CE0000 S 0000C000 N C:\Windows\syswow64\CRYPTBASE.dll
74CF0000 S 00060000 N C:\Windows\syswow64\SspiCli.dll
74D50000 S 0000A000 N C:\Windows\syswow64\LPK.dll
74D60000 S 00005000 N C:\Windows\syswow64\PSAPI.DLL
74D70000 S 00006000 N C:\Windows\syswow64\NSI.dll
74D80000 S 000F5000 N C:\Windows\syswow64\WININET.dll
74E80000 S 00046000 N C:\Windows\syswow64\KERNELBASE.dll
74ED0000 S 00C4A000 N C:\Windows\syswow64\SHELL32.dll
75B20000 S 000A0000 N C:\Windows\syswow64\advapi32.dll
75C20000 S 00100000 N C:\Windows\syswow64\USER32.dll
75D20000 S 000F0000 N C:\Windows\syswow64\RPCRT4.dll
75E10000 S 0002D000 N C:\Windows\syswow64\WINTRUST.dll
75E40000 S 0008F000 N C:\Windows\syswow64\OLEAUT32.dll
75ED0000 S 00035000 N C:\Windows\syswow64\WS2_32.dll
75F10000 S 000AC000 N C:\Windows\syswow64\msvcrt.dll
75FC0000 S 0011D000 N C:\Windows\syswow64\CRYPT32.dll
760E0000 S 00083000 N C:\Windows\syswow64\CLBCatQ.DLL
76170000 S 00012000 N C:\Windows\syswow64\DEVOBJ.dll
761C0000 S 00090000 N C:\Windows\syswow64\GDI32.dll
762B0000 S 00057000 N C:\Windows\syswow64\SHLWAPI.dll
76310000 S 0019D000 N C:\Windows\syswow64\SETUPAPI.dll
764B0000 S 0009D000 N C:\Windows\syswow64\USP10.dll
76550000 S 00027000 N C:\Windows\syswow64\CFGMGR32.dll
76580000 S 00110000 N C:\Windows\syswow64\kernel32.dll
76690000 S 0015C000 N C:\Windows\syswow64\ole32.dll
767F0000 S 00136000 N C:\Windows\syswow64\urlmon.dll
76930000 S 00019000 N C:\Windows\SysWOW64\sechost.dll
76950000 S 000CC000 N C:\Windows\syswow64\MSCTF.dll
76A20000 S 001FB000 N C:\Windows\syswow64\iertutil.dll
76C20000 S 00060000 N C:\Windows\system32\IMM32.DLL
77160000 S 0000C000 N C:\Windows\syswow64\MSASN1.dll
77190000 S 00180000 N C:\Windows\SysWOW64\ntdll.dll
#6
Reproducible
Sometimes

What you were doing at the time of the crash
Reconnecting to the server using /disconnect and /reconnect while having 2 GUI windows visible on screen.
Both windows were visible, draggable with titlebar and had no contents.

What you think caused the crash
I think the client crashes if you reconnect to a server while having a GUI window visible.

Are you using the Steam version?
No

Crash Report
Address: 5AE0D4FB error C0000005
EAX 00000000 EBX 00000001 ECX 00F02898 EDX 00F02898
EBP 0018F68C ESP 0018F660 ESI 00000200 EDI 00000000
Stack:
00F02898
00000001
00000000
00000000
00000000
5AD17870
00000001
0018F714
00F5A860
00000000
00F02898
0018F6C0
5ADFFC42
00F5A860
000002A8
00000180
003213AA
00000020
003213AA
02000001
5AD17870
DCBAABCD
00000180
000002A8
0018F6E8
5ADF708B
0018F6CC
00000003
018002A8
00000000
75C30000
00E80938
00E80800
00E80938
0018F71C
5ADF645D
00000003
000002A8
00000180
00000000
00000000
FFFFFFFF
00000200
0018F740
75C302A8
00180180
00000001
018002A8
5AD17945
0018F740
00000000
5AD17870
0018F784
00000000
00000001
0018F7D4
003213AA
00000200
00000000
018002A8
00000020
003213AA
02000001
75C362FA
003213AA
00000200
00000000
018002A8
5AD17870
DCBAABCD
00000000
00000000
5AD17870
0018F7FC
75C36D3A
5AD17870
003213AA
00000200
00000000
018002A8
D9F378B1
00000200
5AD17870
018002A8
00000024
00000001
00000000
00000000
00000030
FFFFFFFF
FFFFFFFF
75C36CE9
00000000
00000020
00000001
00000000
00000000
0018F7A0
0018F228
0018F920
75C9A61E
AC28E215
00000000
0018F834
75C40D27
00000000
5AD17870
003213AA
00000200
00000000
018002A8
00000000
00000000
00000000
00000200
00F0B068
00000000
0018F854
75C4794A
5AD17870
003213AA
00000200
00000000
018002A8
00000001
0018F88C
5AD27A83
5AD17870
003213AA
00000200
00000000
018002A8
00000000
5AD27A10
00000000
003213AA
00000020
003213AA
02000001
0018F8B8
75C362FA
003213AA
00000200
00000000
018002A8
5AD27A10
DCBAABCD
00000000
00000000
5AD27A10
0018F930
75C36D3A
5AD27A10
003213AA
00000200
00000000
018002A8
D9F3767D
0018F9C8
0018F9C0
012B3BE0
00000024
00000001
00000000
00000000
00000030
FFFFFFFF
FFFFFFFF
75C36CE9
00000000
771A011A
00000001
00000000
00000000
0018F8D4
0018F228
0018F980
75C9A61E
AC28E215
00000000
0018F990
75C377C4
00000000
5AD27A10
003213AA
00000200
00000000
018002A8
012B3C08
00000001
D9F376DD
00000000
00000200
00000001
75C460DC
00000000
00000000
75C37829
0018F958
0018F228
Net version 67000, build version 572939BC.
00400000 S 00614000 N L:\Vice City_04\gta-vc.exe
21100000 S 0005C000 N L:\Vice City_04\mss32.dll
22100000 S 00014000 N L:\Vice City_04\mss\Mssa3d.m3d
22200000 S 00015000 N L:\Vice City_04\mss\Mssa3d2.m3d
22300000 S 00011000 N L:\Vice City_04\mss\Mssds3ds.m3d
22400000 S 00014000 N L:\Vice City_04\mss\Mssds3dh.m3d
22500000 S 00014000 N L:\Vice City_04\mss\Msseax.m3d
22600000 S 00016000 N L:\Vice City_04\mss\Mssfast.m3d
22D00000 S 00062000 N L:\Vice City_04\mss\Mssrsx.m3d
22E00000 S 00019000 N L:\Vice City_04\mss\msseax3.m3d
24600000 S 00011000 N L:\Vice City_04\mss\Reverb3.flt
26F00000 S 0002A000 N L:\Vice City_04\mss\Mp3dec.asi
56DC0000 S 00799000 N C:\Windows\system32\atiumdva.dll
57560000 S 0070C000 N C:\Windows\system32\atiumdag.dll
5AC30000 S 0043B000 N C:\Users\Murdock\AppData\Local\Vice City Multiplayer\04rel004\vcmp-game.dll
5D160000 S 0001C000 N C:\Windows\system32\atiu9pag.dll
5D1A0000 S 00126000 N C:\Windows\system32\aticfx32.dll
622A0000 S 00009000 N C:\Windows\system32\HID.DLL
63030000 S 00003000 N C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL
639B0000 S 00014000 N C:\Windows\system32\MSACM32.dll
63A20000 S 00036000 N C:\Windows\system32\AUDIOSES.DLL
651E0000 S 00218000 N C:\Windows\AppPatch\AcGenral.DLL
65400000 S 00105000 N C:\Windows\system32\d3d8.dll
65DC0000 S 00072000 N C:\Windows\system32\DSOUND.DLL
65E40000 S 00039000 N C:\Windows\System32\MMDevApi.dll
66F20000 S 00007000 N C:\Windows\system32\avrt.dll
69B40000 S 00006000 N C:\Windows\system32\d3d8thk.dll
69BE0000 S 00080000 N C:\Windows\system32\UxTheme.dll
69DA0000 S 00013000 N C:\Windows\system32\dwmapi.dll
6AA40000 S 00045000 N C:\Users\Murdock\AppData\Local\Vice City Multiplayer\04rel004\libpng15.dll
6B520000 S 00010000 N C:\Windows\system32\NLAapi.dll
6B670000 S 0000D000 N C:\Windows\system32\sfc_os.DLL
6B9B0000 S 00018000 N C:\Windows\system32\NTDSAPI.dll
6B9D0000 S 00096000 N C:\Windows\system32\wbem\fastprox.dll
6C4A0000 S 0000F000 N C:\Windows\system32\wbem\wbemsvc.dll
6C4B0000 S 0005C000 N C:\Windows\system32\wbemcomn.dll
6C510000 S 0000A000 N C:\Windows\system32\wbem\wbemprox.dll
6C550000 S 00012000 N C:\Windows\system32\MPR.dll
6C5D0000 S 000F5000 N C:\Windows\System32\PROPSYS.dll
71110000 S 0000E000 N C:\Windows\system32\RpcRtRemote.dll
712C0000 S 00003000 N C:\Windows\system32\sfc.dll
712F0000 S 0000F000 N C:\Windows\system32\samcli.dll
71D50000 S 00038000 N C:\Windows\System32\fwpuclnt.dll
71D90000 S 00006000 N C:\Windows\system32\rasadhlp.dll
71DA0000 S 00021000 N C:\Program Files (x86)\Bonjour\mdnsNSP.dll
71DD0000 S 00024000 N C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
71E00000 S 00005000 N C:\Windows\System32\wshtcpip.dll
71E20000 S 0003C000 N C:\Windows\System32\mswsock.dll
71FB0000 S 00008000 N C:\Windows\System32\winrnr.dll
72080000 S 00012000 N C:\Windows\system32\pnrpnsp.dll
720A0000 S 00010000 N C:\Windows\system32\napinsp.dll
72210000 S 00025000 N C:\Windows\system32\POWRPROF.dll
72250000 S 00032000 N C:\Windows\system32\winmm.dll
72500000 S 0004C000 N C:\Windows\system32\apphelp.dll
728F0000 S 00017000 N C:\Windows\system32\USERENV.dll
72E80000 S 0003B000 N C:\Windows\system32\rsaenh.dll
72EC0000 S 00016000 N C:\Windows\system32\CRYPTSP.dll
73230000 S 0000B000 N C:\Windows\system32\profapi.dll
73260000 S 00007000 N C:\Windows\system32\WINNSI.DLL
73270000 S 0001C000 N C:\Windows\system32\Iphlpapi.DLL
732B0000 S 00044000 N C:\Windows\system32\DNSAPI.dll
73880000 S 00030000 N C:\Windows\system32\dinput8.dll
74200000 S 00006000 N C:\Windows\system32\DCIMAN32.dll
74210000 S 000E7000 N C:\Windows\system32\ddraw.dll
74C20000 S 00009000 N C:\Windows\system32\VERSION.dll
74CE0000 S 0000C000 N C:\Windows\syswow64\CRYPTBASE.dll
74CF0000 S 00060000 N C:\Windows\syswow64\SspiCli.dll
74D50000 S 0000A000 N C:\Windows\syswow64\LPK.dll
74D60000 S 00005000 N C:\Windows\syswow64\PSAPI.DLL
74D70000 S 00006000 N C:\Windows\syswow64\NSI.dll
74D80000 S 000F5000 N C:\Windows\syswow64\WININET.dll
74E80000 S 00046000 N C:\Windows\syswow64\KERNELBASE.dll
74ED0000 S 00C4A000 N C:\Windows\syswow64\SHELL32.dll
75B20000 S 000A0000 N C:\Windows\syswow64\advapi32.dll
75C20000 S 00100000 N C:\Windows\syswow64\USER32.dll
75D20000 S 000F0000 N C:\Windows\syswow64\RPCRT4.dll
75E10000 S 0002D000 N C:\Windows\syswow64\WINTRUST.dll
75E40000 S 0008F000 N C:\Windows\syswow64\OLEAUT32.dll
75ED0000 S 00035000 N C:\Windows\syswow64\WS2_32.dll
75F10000 S 000AC000 N C:\Windows\syswow64\msvcrt.dll
75FC0000 S 0011D000 N C:\Windows\syswow64\CRYPT32.dll
760E0000 S 00083000 N C:\Windows\syswow64\CLBCatQ.DLL
76170000 S 00012000 N C:\Windows\syswow64\DEVOBJ.dll
761C0000 S 00090000 N C:\Windows\syswow64\GDI32.dll
762B0000 S 00057000 N C:\Windows\syswow64\SHLWAPI.dll
76310000 S 0019D000 N C:\Windows\syswow64\SETUPAPI.dll
764B0000 S 0009D000 N C:\Windows\syswow64\USP10.dll
76550000 S 00027000 N C:\Windows\syswow64\CFGMGR32.dll
76580000 S 00110000 N C:\Windows\syswow64\kernel32.dll
76690000 S 0015C000 N C:\Windows\syswow64\ole32.dll
767F0000 S 00136000 N C:\Windows\syswow64\urlmon.dll
76930000 S 00019000 N C:\Windows\SysWOW64\sechost.dll
76950000 S 000CC000 N C:\Windows\syswow64\MSCTF.dll
76A20000 S 001FB000 N C:\Windows\syswow64\iertutil.dll
76C20000 S 00060000 N C:\Windows\system32\IMM32.DLL
77160000 S 0000C000 N C:\Windows\syswow64\MSASN1.dll
77190000 S 00180000 N C:\Windows\SysWOW64\ntdll.dll
#7
I have a sprite which represents a roulette wheel which I want to spin like a roulette wheel would do, but how can I achieve this?
I have tried passing different values to the Rotation3D parameter of Set3DTransform, for instance m_wheel.Set3DTransform(m_wheel.Position3D, Vector(2.0, 1.0, 1.0), m_wheel.Size3D); or m_wheel.Set3DTransform(m_wheel.Position3D, Vector(100.0, 0.0, 10.0), m_wheel.Size3D); but this does not have any effect.
The second thing I tried is adding a value to one of the rotation coordinates as follows:
local rot = m_wheel.Rotation3D;
rot.X += 10.0;
rot.Y += 10.0;
rot.Z += 10.0;
m_wheel.Set3DTransform(m_wheel.Position3D, rot, m_wheel.Size3D);

Again, this did not have any effect on the sprite's rotation.
I noticed there is a GUI_FLAG_3D_ENTITY flag for GUI elements which I am not sure what it is for. Hoping that it would enable setting the sprite rotation I did try to add it to my sprite, but this end up not showing the sprite at all.

Below you can find my clientside code along with a screenshot of how it looks like.
Any help on how to rotate the wheel is appreciated.

m_window <- null;
m_wheel <- null;
m_ball <- null;

// Window
m_window <- GUIWindow(VectorScreen(100, 100),
VectorScreen(450, 450),
Colour(0, 0, 0),
"Roulette Wheel",
GUI_FLAG_TEXT_TAGS );

m_window.AddFlags(GUI_FLAG_VISIBLE | GUI_FLAG_DRAGGABLE | GUI_FLAG_AUTO_RESIZE | GUI_FLAG_WINDOW_TITLEBAR);
m_window.RemoveFlags(GUI_FLAG_WINDOW_RESIZABLE);

// Wheel
m_wheel <- GUISprite("roulette-wheel.png", VectorScreen(0, 0));
m_wheel.Size = VectorScreen(450, 450);
m_wheel.AddFlags(GUI_FLAG_VISIBLE); // GUI_FLAG_3D_ENTITY
m_wheel.RemoveFlags(GUI_FLAG_MOUSECTRL | GUI_FLAG_DRAGGABLE | GUI_FLAG_AUTO_RESIZE);

// Ball

m_ball <- GUISprite("roulette-ball.png", VectorScreen(100, 0));
m_ball.Size = VectorScreen(16, 15);
m_ball.AddFlags(GUI_FLAG_VISIBLE);
m_ball.RemoveFlags(GUI_FLAG_MOUSECTRL | GUI_FLAG_DRAGGABLE | GUI_FLAG_AUTO_RESIZE);

// Attach
m_window.AddChild(m_wheel);
m_window.AddChild(m_ball);

m_wheel.Set3DTransform(m_wheel.Position3D, Vector(2.0, 1.0, 1.0), m_wheel.Size3D);

#8
Videos & Screenshots / Bitmap art
Feb 26, 2016, 09:11 PM
Today I wrote a script that opens an image file, reads the pixel data and then recreates it in-game using objects. Transparent pixels are supported by changing the alpha of the objects.
Needless to say we had some fun playing with it, have a look at the pictures below.

How the script works:



#9
Before I went on holidays, I wrote a list of all bugs i had noticed while scripting my server.
Now that I'm back, I noticed not all of them have been fixed yet, thus I will post the remains of the list as follows;

Bugs:
  • Setting weapon damage only seems to work for melee weapons (As stated in this topic)
  • Setting flags for custom weapons like damage and range in the xml seem to change for both custom weapon and the original (logical) weapon
  • Names of images inside texture files cannot be the same as a file inside another texture file, though maxorator said he was aware of this
  • Joining a server that has low latency causes the client to reconnect 1 or 2 times before joining, together with the bug mentioned about the crash on disconnect it could take up to a minute to join a localhost server.
  • When walking/driving on objects (ie. a bridge) the objects tend to disappear for less than a second, but long enough to make the player fall through it
  • When placing objects on sea (near the Cortez yacht), the coordinates of players, pickups and objects tend to differ
  • Sometimes deleted objects and pickups do not get deleted, instead the collision gets removed and the object becomes only visible from 1 angle
  • The SetHandlingRule function for vehicles does not work with custom vehicles, thus making it harder to create a proper handling for them
  • When a custom sound is playing while driving a vehicle, the sound will stop playing when the vehicle collides with another object
  • When storing GUI references inside a table/array, iterating through them becomes impossible.
    Removing all references is only possible by setting the table to null.
  • When changing the world of a player, often markers on the radar of the players in the previous world would not get deleted
  • Using explosives on a custom object will make all players that are on the object sliding
  • Strange behaviour involving pickups; after picked up the objects disappears but corona stays in place
  • pickup.Respawn() does not seem to work and onPickupRespawn event does not get called
  • Changes to sphere properties (radius/color etc) do not appear until its world is changed
  • Browser: Sorting servers by version does not work
  • Browser: When there are a lot of players the playerlist is not showing (as was the case in vicewar with 80 players)
  • Custom objects disappear for the killed player during the wasted screen, if they die while standing on them
  • After killing a player who had been frozen, the frozen state bugs out where the player can't walk but can still fire weapons
  • Firetruck hose not synced
  • Vehicle doors not synced
  • Teleporting a player who is in a vehicle sometimes does not teleport the player but put the player on top of his vehicle

Suggestions:
  • Setting gameplay options such as drive on water and stuntbike per player or world
  • Function to make certain objects dynamic (allow gravity to affect the object), includes having its position/movement synced
  • Setting weather and gravity per player or world (especially useful in RPGs where worlds are used for other buildings, we don't want rain in them)
  • Function to toggle collision of an object per player
  • Option to loop sounds (useful for sounds like alarms)
  • Synced game counter to sync waves, traffic lights and radio stations
  • Custom weapon IDs on player kill event
  • A function like attachEntityToEntity, where entity can be vehicle, player or object
  • A function to attach entity to player bone, as done in SAMP
  • A function to hide a pickup for a specific player
  • An option to toggle the taxi light of a vehicle
  • An option to add or remove cuban exhaust flames to a vehicl
  • Support multiple passengers in the Coach like in 0.3
  • Custom animations support with player.SetAnim, just like with custom weapons
  • All maxorator's vehicle loader features, like support for weapons on vehicles
  • Since it's possible to use other walking styles using custom skins, a player.SetWalkingStyle function would be useful
  • A function to get the position where the player's crosshair is aiming at
  • RGB support for vehicle colors, settable during gameplay (I believe it's already supported in MVL)
  • Setting marker type for players, vehicles and objects. (Radar blip, floating arrow above entity or both) This was added in LU as well.
  • Client-side sound and timer functions
  • Client-side functions to set position and alpha of objects and vehicles (useful for map editing)
  • Client-side function to move an object or vehicle by mouse movement (useful to position object in map editing)
  • An event for extinguishing fires with the firetruck would certainly make RPG servers better
  • FastDL
  • Custom bullet trail texture for custom weapons
  • Synced and settable vehicle variations (vehicle+0x1A2) (opcode 0506 allows a combination of 2 variations to be set)
  • Possibility for players to hijack vehicles or pull players out their car
  • Flag to check if entity is in water
  • Synced and settable vehicle light damage (vehicle+0x2B0) (sync required because lights can also break when ramming the vehicle)
  • Flag to make a custom object pop tyres like the spikestrip objects in singleplayer
  • Sync for other players peds being on fire, and an option to toggle it similar to the bleeding ped option
  • An additional option to player immunities to make a player immune to headshots
  • Client function that exposes the in-game GetGroundZCoord function
  • Option to hide a player marker on radar
  • When reconnecting to a server without the default VC map, you can see that the VC map can be shown or hidden dynamically. It would allow for more mapping possibilities if there was a reserved player World without the VC map
#10
I made a map using the mED map editor, which generates an IPL file that looks as following:
672, dk_waretank, 0, -1120.85799496, -1419.7517738, 13.6682, 1, 1, 1, 0, 0, 0.190808836192, 0.98162721439
Now I want to spawn this object in VC:MP, not by using an xml file but by using the CreateObject function.
However, the following approach does not seem to set the right rotation as it appears in the map editing software:
dk_waretank <- CreateObject( 672, 0, Vector(-1120.85799496, -1419.7517738, 13.6682), 255 );
dk_waretank.RotateTo( Quaternion(0, 0, 0.190808836192, 0.98162721439), 0 );

I have tried using both IPL2Code converters made by YSC and Thijn without any luck.
How can I get VC:MP to apply the right rotation to my objects?
#11
I always used this code to flip a vehicle when it's upside down:
player.Vehicle.Rotation = Vector( 1.0, 0.0, 0.0 );
But since the last few client updates all players keep crashing when trying to flip their vehicle, and the same crashlog is produced every time:
[spoiler]Address: 005C2D01 error C0000005
EAX 80000000 EBX 0018F200 ECX 80000000 EDX 80000000
EBP 00000000 ESP 0018F1B0 ESI 084F4FA0 EDI 00000000
Stack:
0A5011D4
0042007F
80000000
FF800000
0A500BF8
00585C48
7F800000
FF800000
415B1FDE
0018F200
00000000
0000000D
00000000
C2C80000
7F800000
FF800000
416EF6E8
7F800000
FF800000
415B1FDE
005C97C8
7F800000
FF800000
416EF6E8
7F800000
FF800000
415B1FDE
0A500BF8
0069AD90
0C73A1F1
00000000
00593911
00000000
00000000
00000000
0018F94C
00000000
00000000
00000001
00000002
00000003
00000000
00000001
00000000
00000003
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
084F4FA0
00000001
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
3B449BA6
3A6BEDFB
3BA3D70A
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000001
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
Net version 66215, build version 5586D64B.
00400000 S 00614000 N L:\Vice City_04\gta-vc.exe
08230000 S 0004D000 N C:\Users\Murdock\AppData\Local\Vice City Multiplayer\04rel002\bass.dll
0FDB0000 S 00232000 N C:\Users\Murdock\AppData\Local\Vice City Multiplayer\04rel002\vcmp-game.dll
1E440000 S 00105000 N C:\Windows\system32\d3d8.dll
21100000 S 0005C000 N L:\Vice City_04\mss32.dll
22100000 S 00014000 N L:\Vice City_04\mss\Mssa3d.m3d
22200000 S 00015000 N L:\Vice City_04\mss\Mssa3d2.m3d
22300000 S 00011000 N L:\Vice City_04\mss\Mssds3ds.m3d
22400000 S 00014000 N L:\Vice City_04\mss\Mssds3dh.m3d
22500000 S 00014000 N L:\Vice City_04\mss\Msseax.m3d
22600000 S 00016000 N L:\Vice City_04\mss\Mssfast.m3d
22D00000 S 00062000 N L:\Vice City_04\mss\Mssrsx.m3d
22E00000 S 00019000 N L:\Vice City_04\mss\msseax3.m3d
24600000 S 00011000 N L:\Vice City_04\mss\Reverb3.flt
26F00000 S 0002A000 N L:\Vice City_04\mss\Mp3dec.asi
527F0000 S 00045000 N C:\Users\Murdock\AppData\Local\Vice City Multiplayer\04rel002\libpng15.dll
64330000 S 0073E000 N C:\Windows\system32\atiumdva.dll
64A70000 S 006BA000 N C:\Windows\system32\atiumdag.dll
65150000 S 00003000 N C:\Windows\system32\sfc.dll
66160000 S 00117000 N C:\Windows\system32\aticfx32.dll
66430000 S 0001B000 N C:\Windows\system32\atiu9pag.dll
6E1F0000 S 0000D000 N C:\Windows\system32\sfc_os.DLL
6FC40000 S 00036000 N C:\Windows\system32\AUDIOSES.DLL
6FC80000 S 00072000 N C:\Windows\system32\DSOUND.DLL
6FE70000 S 00014000 N C:\Windows\system32\MSACM32.dll
6FF10000 S 00030000 N C:\Windows\system32\dinput8.dll
6FFF0000 S 00010000 N C:\Windows\system32\NLAapi.dll
70010000 S 00006000 N C:\Windows\system32\rasadhlp.dll
70020000 S 00038000 N C:\Windows\System32\fwpuclnt.dll
70060000 S 00021000 N C:\Program Files (x86)\Bonjour\mdnsNSP.dll
70090000 S 00024000 N C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
700C0000 S 00012000 N C:\Windows\system32\pnrpnsp.dll
700E0000 S 00010000 N C:\Windows\system32\napinsp.dll
700F0000 S 00008000 N C:\Windows\System32\winrnr.dll
708F0000 S 00012000 N C:\Windows\system32\MPR.dll
70FD0000 S 000E7000 N C:\Windows\system32\ddraw.dll
71300000 S 00039000 N C:\Windows\System32\MMDevApi.dll
71460000 S 0004B000 N C:\Windows\system32\apphelp.dll
71520000 S 000F5000 N C:\Windows\System32\PROPSYS.dll
71B60000 S 0003C000 N C:\Windows\System32\mswsock.dll
71BD0000 S 00005000 N C:\Windows\System32\wshtcpip.dll
722B0000 S 00007000 N C:\Windows\system32\avrt.dll
72350000 S 00032000 N C:\Windows\system32\winmm.dll
72550000 S 0000F000 N C:\Windows\system32\samcli.dll
72B50000 S 00025000 N C:\Windows\system32\POWRPROF.dll
72D80000 S 0000E000 N C:\Windows\system32\RpcRtRemote.dll
732A0000 S 00017000 N C:\Windows\system32\USERENV.dll
73450000 S 0003B000 N C:\Windows\system32\rsaenh.dll
73490000 S 00016000 N C:\Windows\system32\CRYPTSP.dll
73780000 S 0000B000 N C:\Windows\system32\profapi.dll
73830000 S 00007000 N C:\Windows\system32\WINNSI.DLL
73840000 S 0001C000 N C:\Windows\system32\Iphlpapi.DLL
73860000 S 00044000 N C:\Windows\system32\DNSAPI.dll
73DB0000 S 00009000 N C:\Windows\system32\HID.DLL
749C0000 S 00218000 N C:\Windows\AppPatch\AcGenral.DLL
74E90000 S 00080000 N C:\Windows\system32\UxTheme.dll
74F40000 S 00006000 N C:\Windows\system32\DCIMAN32.dll
74F50000 S 00006000 N C:\Windows\system32\d3d8thk.dll
74F60000 S 00013000 N C:\Windows\system32\dwmapi.dll
75570000 S 00009000 N C:\Windows\system32\VERSION.dll
75650000 S 0000C000 N C:\Windows\syswow64\CRYPTBASE.dll
75660000 S 00060000 N C:\Windows\syswow64\SspiCli.dll
756C0000 S 00012000 N C:\Windows\syswow64\DEVOBJ.dll
756E0000 S 00019000 N C:\Windows\SysWOW64\sechost.dll
75700000 S 00135000 N C:\Windows\syswow64\urlmon.dll
75840000 S 000A0000 N C:\Windows\syswow64\advapi32.dll
758E0000 S 000CC000 N C:\Windows\syswow64\MSCTF.dll
75A30000 S 0000A000 N C:\Windows\syswow64\LPK.dll
75A40000 S 000F0000 N C:\Windows\syswow64\RPCRT4.dll
75B40000 S 0009D000 N C:\Windows\syswow64\USP10.dll
75BE0000 S 00027000 N C:\Windows\syswow64\CFGMGR32.dll
75C10000 S 0019D000 N C:\Windows\syswow64\SETUPAPI.dll
75DB0000 S 00100000 N C:\Windows\syswow64\USER32.dll
75EB0000 S 0002D000 N C:\Windows\syswow64\WINTRUST.dll
75EE0000 S 000AC000 N C:\Windows\syswow64\msvcrt.dll
76020000 S 0000C000 N C:\Windows\syswow64\MSASN1.dll
76030000 S 0011C000 N C:\Windows\syswow64\CRYPT32.dll
76250000 S 00005000 N C:\Windows\syswow64\PSAPI.DLL
76260000 S 00060000 N C:\Windows\system32\IMM32.DLL
762C0000 S 00100000 N C:\Windows\syswow64\kernel32.dll
763C0000 S 0015C000 N C:\Windows\syswow64\ole32.dll
76520000 S 001F9000 N C:\Windows\syswow64\iertutil.dll
76720000 S 00090000 N C:\Windows\syswow64\GDI32.dll
767B0000 S 00046000 N C:\Windows\syswow64\KERNELBASE.dll
76860000 S 0008F000 N C:\Windows\syswow64\OLEAUT32.dll
76970000 S 00035000 N C:\Windows\syswow64\WS2_32.dll
769B0000 S 00083000 N C:\Windows\syswow64\CLBCatQ.DLL
76A40000 S 00057000 N C:\Windows\syswow64\SHLWAPI.dll
76AA0000 S 00C49000 N C:\Windows\syswow64\SHELL32.dll
77AC0000 S 00006000 N C:\Windows\syswow64\NSI.dll
77AF0000 S 00180000 N C:\Windows\SysWOW64\ntdll.dll[/spoiler]

What is a proper way to achieve this?
#12
While working on a script I noticed the following things;
  • When spectating a player and the spawning screen is inside an interior (ie. Malibu), the spectating player would only see a gray world
  • Setting weapon damage using SetWeaponDataValue(id,6,value) only seems to work for melee weapons
  • Aiming with m4 and ruger set an aiming animation to the player, however sniper rifles do not

I also suggest only showing the filename in the "Screenshot taken" message instead of the full path as the text takes up the entire screen and is rather annoying.
#13
Clans and Families / [Ka] Kuslahden Alaste
May 24, 2015, 04:13 AM


Ka has been around for about 10 years and started off as a small Jedi Knight 2 clan, but pretty soon moved to GTA multiplayer games, mainly VC:MP.
We are a small but strong group of gamers who are talented in many areas such as web, scripting/coding and of course, gaming.

Clan Website
http://ka-clan.net

Clan IRC Channel
#Ka.clan on irc.liberty-unleashed.co.uk

Current active members list
(in order of joining)

Juppi
H.M.Murdock
Force
Orpheus
Twisted
Diavolo
VRocker
AdTec_224
StriKe
KilleR
Squida
Devian
Zeke
Smoke2JointS
Castagna
Darfy
Avenger

Inactive members list
(in order of joining)

Deathkiss
Mistery
Mattz
~
Zazzo (Honorary member)

#14
While working on an anti-spam script I stumbled on two problems.
I am trying to send a message before kicking the player, so the player knows why he was kicked.
But the function KickPlayer seems to execute faster than the Message function, resulting in the player being kicked first, and the message being sent afterwards which will not be received by the player.

I used the following code to test this:
function onPlayerChat( player, message )
{
  Message( format( "*** %s has been kicked for spamming", player.Name ) );
  KickPlayer( player );
  return false;
}

I am also experiencing a similar problem when I want to disconnect my IRC bots when reloading all scripts.
Executing "IRC.Disconnect(); ReloadScripts();" works fine, however the following code does not:
function onScriptUnload()
{
  if ( IRC )
    IRC.Disconnect();
}

Both problems are solved when I add a timer of 100ms to the last function that needs to execute.
However, I don't think it's good practise to bloat the script with timers.
Is there any other way to have these functions execute in order properly?