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.

Topics - Gulk2
1
Bugs and Crashes / Dev question, "Silent shots".
« on May 31st, 2020, 12:17 PM »
So yes, "Silent shots", or in the case of switching to a rocket launcher , the not so silent shot.
Our sweet 16-17ms jumpswitch shot that makes our shotgun/or weapon bullets sound like whatever weapon we switched to; aren't synced anymore! This is disappointing for me and I'm sure some others who've realized, as I always admire it as a showcase of very precise bullet sync, catching a players ability to do this precise switch shot timing and syncing it to other players.
It was truly amazing to me, sad to see it's broken and not syncing anymore.

So to devs; even though you apparently aren't active at this moment but supposedly you show up for a while each summer, hopefully this summer too. :P
Can we have it(silent shots) back... someday? ;D

Thanks for listening.
2
Snippet Showroom / 0.3 Style vehicle damage
« on March 30th, 2020, 05:06 PM »
Bulletproof unoccupied vehicles for the Java server but it's really simple if you want to use it in non-java server I think.

MainController

Code: [Select]
    @Override
    public void onPlayerEnterVehicle(Player player, Vehicle vehicle, int slot) {
        Vehicle v = vehicle;
        VehicleImmunity none = new VehicleImmunity();
        v.setImmunities(none);
    }

Code: [Select]
    @Override
    public void onPlayerExitVehicle(Player player, Vehicle vehicle) {
        Vehicle v = vehicle;
        //System.out.println(vehicle.getSyncReasonOrdinal());
        //server.sendClientMessage((null), new Colour(255, 0, 255), player.getName() + "VEHSYNC: " +v.getSyncReasonOrdinal() );
        if (v.getSyncReasonOrdinal() == 4) { //4 seems to mean empty
            // so we set bulletproof only when vehcile is empty.
            VehicleImmunity bp = new VehicleImmunity(VehicleImmunity.Flag.BulletProof, VehicleImmunity.Flag.Tyres);
            v.setImmunities(bp);
        }
    }

Code: [Select]
    @Override
    public void onVehicleRespawn(Vehicle vehicle) {
        Vehicle v = vehicle;
        VehicleImmunity bp = new VehicleImmunity(VehicleImmunity.Flag.BulletProof, VehicleImmunity.Flag.Tyres);
        v.setImmunities(bp);
    }

Then make sure to spawn your vehicles with the immunities, this includes an idle vehicle timeout for respawning.

So, create a new class

Code: [Select]

public class ServerConfig {

    public static class Setup {
       
    public static void mainVeh(int modelId, int worldId, Vector position, float angle, VehicleColours colours) {
            Vehicle v = server.createVehicle(modelId, worldId, position, angle, colours);
            v.setIdleRespawnTimeout(210000);
            VehicleImmunity bp = new VehicleImmunity(VehicleImmunity.Flag.BulletProof, VehicleImmunity.Flag.Tyres);
        }

 public static void loadVehicles() {
            mainVeh(163, 1, new Vector(-1743.0f, -211.8f, 15.0f), (4.71239f), new VehicleColours(43, 0)); //[email protected]
        }
    }

}

spawn it in MainController

Code: [Select]
    @Override
    public boolean onServerInitialise() {
        System.out.println("[" + LocalTime.now() + "][SERVER]INITIALIZED");
        Setup.loadVehicles();
       
        return true;

    }

Edit: forgot to add respawn too. added.
3
Bugs and Crashes / [CRASH] SetWeaponDataValue crashes
« on October 13th, 2019, 07:46 PM »
Description
SetWeaponDataValue crashes any player upon attaining the modified weapon or joining server and switching to the skin with weapon

Reproducible
Always

What you were doing when the bug happened
Trying to change weapon breakout anim time of the stubbyshotgun.
SetWeaponDataValue(21, 22, 30.0);
and
SetWeaponDataValue(33, 22, 30.0); // FieldAnimBreakoutPos
^this is from the Public Beta 3 scripts. and it doesnt work too

What you think caused the bug
I dont know.

Here v crashlog for when tryna set stubby data
(click to show/hide)
Address: 00653F2A error C0000005
EAX 00000070 EBX 044D5BD8 ECX 00000070 EDX 00000015
EBP 044D5C48 ESP 0018F8B4 ESI 00000000 EDI 044D5C3C
Stack:
044D5BD8
00DBA1C0
09D6B2D8
006DD090
00669A3D
044D5BD8
00000070
00000008
09D6B2D8
044D5BD8
00000010
645A047F
006DD090
044D5BD8
09D6B2D8
0ECD2868
6459656C
09D6B740
00000015
00000004
004FF947
00000010
00783248
00000015
09D6B2D8
0460A890
645C9E1A
00000004
0018F960
0EAA4A38
000000C0
0D7A7200
645FBE60
09D6B2D8
0000008D
00000001
044A6B4F
00000001
00FF270F
01157208
0018FD04
647ACDE8
00000000
00000040
00000040
00000040
09CDCA91
0018F900
63EF0B9F
00000005
00000001
0436BBDC
0436FC0C
0018F9B4
63EF0C7D
00000005
00000001
00000002
0436BBDC
00000006
00000004
00000000
0436BBDC
0436BBDC
00000006
0436FC0C
0018F9E4
63DD2B56
0436BBDC
00000006
00000004
00000000
0436FC0C
04347424
00000006
04345B3C
0018FA08
00000000
00D60000
0D567C48
00000000
63DD17E5
0060000B
00000012
0436BBDC
0018FA80
63DAAF21
0D567950
00000001
0D567C40
0018FA34
771FE0C3
00000001
0D7A7558
0EAA49F8
0D567C40
0018FA48
759514AD
00D60000
00000000
0D567C48
0018FA5C
64785605
00D60000
00000000
0D7A7558
00000001
0D7A7558
0EAA49F8
0EA56DC8
0D7A7AC8
6454E4C3
044A6B4F
00000008
6451BCEB
FFFFFFFF
000000C0
09CDCA91
00000008
012A29B4
0018FD10
0E9E7988
7595110C
0D7A7208
FFFFFFFF
09CDCA91
646090E0
044A6F3F
00000004
0065EB50
FFFFFFFF
00000002
00000000
0000001C
0EA95530
0018FAE4
6610EC28
00000006
00000002
02E77220
0018FB20
66107577
00000006
00000002
044AD43D
00000000
0018FBD8
045F2BF8
02E77224
00000000
045F2BF8
0018FAF4
0018FD70
661AD528
00000001
0018FB8C
644CA7D5
02E77220
00000006
00000002
0018FB68
0000001C
0018FC7C
00000000
0EA95530
00000015
00000001
00000001
00000000
00008000
00000000
00000100
00000020
4167FFFF
4235FFFF
00000000
3F800000
FFFFFFFF
00000000
00000000
4167FFFF
429AFFFF
00000000
3F800000
FFFFFFFF
00000000
3F800000
43873FFF
429AFFFF
00000000
3F800000
FFFFFFFF
3F800000
3F800000
0436BBDC
000000A4
0018FBE0
63DAA87B
3F800000
02E61AB8
Net version 67400, build version 5CEB5D61.
00400000 S 00614000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\gta-vc.exe
21100000 S 0005C000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss32.dll
22100000 S 00014000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssa3d.m3d
22200000 S 00015000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssa3d2.m3d
22300000 S 00011000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssds3ds.m3d
22400000 S 00014000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssds3dh.m3d
22500000 S 00014000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Msseax.m3d
22600000 S 00016000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssfast.m3d
22D00000 S 00062000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssrsx.m3d
22E00000 S 00019000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\msseax3.m3d
24600000 S 00011000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Reverb3.flt
26F00000 S 0002A000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mp3dec.asi
406A0000 S 00019000 N C:\Windows\system32\USERENV.dll
63600000 S 0079D000 N C:\Windows\system32\atiumdva.dll
63DA0000 S 0070B000 N C:\Windows\system32\atiumdag.dll
644B0000 S 004CF000 N C:\Users\User\AppData\Local\Vice City Multiplayer\04rel006\vcmp-game.dll
659B0000 S 00047000 N C:\Fraps\FRAPS32.DLL
65C40000 S 00254000 N C:\Users\User\AppData\Roaming\Discord\0.0.305\modules\discord_hook\0c3f233c28\DiscordHook.dll
65EA0000 S 0021A000 N C:\Windows\AppPatch\AcGenral.DLL
660C0000 S 00105000 N C:\Windows\system32\d3d8.dll
661D0000 S 000E7000 N C:\Windows\system32\ddraw.dll
662E0000 S 00072000 N C:\Windows\system32\DSOUND.DLL
66360000 S 0004E000 N C:\Users\User\AppData\Local\Vice City Multiplayer\04rel006\libpng15.dll
6A7B0000 S 0001C000 N C:\Windows\system32\atiu9pag.dll
6A7F0000 S 00003000 N C:\Windows\system32\sfc.dll
6A800000 S 0000D000 N C:\Windows\system32\sfc_os.DLL
6A810000 S 00030000 N C:\Windows\system32\dinput8.dll
6A840000 S 00006000 N C:\Windows\system32\DCIMAN32.dll
6BC30000 S 0000F000 N C:\Windows\system32\samcli.dll
6D330000 S 00008000 N C:\Windows\System32\winrnr.dll
6D340000 S 00012000 N C:\Windows\system32\pnrpnsp.dll
6D360000 S 00010000 N C:\Windows\system32\napinsp.dll
6D370000 S 00123000 N C:\Windows\system32\aticfx32.dll
6DF10000 S 00010000 N C:\Windows\system32\NLAapi.dll
6E4B0000 S 00006000 N C:\Windows\system32\d3d8thk.dll
6EBC0000 S 00014000 N C:\Windows\system32\MSACM32.dll
6EBE0000 S 00009000 N C:\Windows\system32\HID.DLL
6EC00000 S 00036000 N C:\Windows\system32\AUDIOSES.DLL
6EC40000 S 00007000 N C:\Windows\system32\avrt.dll
6EC90000 S 00039000 N C:\Windows\System32\MMDevApi.dll
6ECD0000 S 00005000 N C:\Windows\System32\wshtcpip.dll
6ECF0000 S 00038000 N C:\Windows\System32\fwpuclnt.dll
6ED30000 S 00027000 N C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
6ED60000 S 00044000 N C:\Windows\system32\DNSAPI.dll
6EE00000 S 00006000 N C:\Windows\system32\rasadhlp.dll
6EE10000 S 0000B000 N C:\Windows\system32\profapi.dll
6F810000 S 00080000 N C:\Windows\system32\UxTheme.dll
6F890000 S 00025000 N C:\Windows\system32\POWRPROF.dll
6F910000 S 00013000 N C:\Windows\system32\dwmapi.dll
6F930000 S 00006000 N C:\Windows\System32\wship6.dll
6F940000 S 0003C000 N C:\Windows\system32\mswsock.dll
6FA00000 S 00021000 N C:\Windows\system32\ntmarta.dll
6FA30000 S 00009000 N C:\Windows\system32\VERSION.dll
6FB70000 S 00003000 N C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL
748D0000 S 000F5000 N C:\Windows\System32\PROPSYS.dll
74A30000 S 00032000 N C:\Windows\system32\winmm.dll
74A70000 S 00012000 N C:\Windows\system32\MPR.dll
74A90000 S 00007000 N C:\Windows\system32\WINNSI.DLL
74AA0000 S 0001C000 N C:\Windows\system32\IPHLPAPI.DLL
74C30000 S 0004C000 N C:\Windows\system32\apphelp.dll
74D00000 S 0000C000 N C:\Windows\syswow64\CRYPTBASE.dll
74D10000 S 00060000 N C:\Windows\syswow64\SspiCli.dll
74D70000 S 000AC000 N C:\Windows\syswow64\msvcrt.dll
74E20000 S 0000A000 N C:\Windows\syswow64\LPK.dll
74E30000 S 000F0000 N C:\Windows\syswow64\RPCRT4.dll
74F20000 S 00035000 N C:\Windows\syswow64\WS2_32.dll
74F60000 S 0015F000 N C:\Windows\syswow64\ole32.dll
750C0000 S 00027000 N C:\Windows\syswow64\CFGMGR32.dll
750F0000 S 00012000 N C:\Windows\syswow64\DEVOBJ.dll
75110000 S 00090000 N C:\Windows\syswow64\GDI32.dll
751A0000 S 0002F000 N C:\Windows\syswow64\WINTRUST.dll
751D0000 S 000F5000 N C:\Windows\syswow64\WININET.dll
752E0000 S 0009D000 N C:\Windows\syswow64\USP10.dll
75380000 S 0019D000 N C:\Windows\syswow64\SETUPAPI.dll
75520000 S 00122000 N C:\Windows\syswow64\CRYPT32.dll
75650000 S 001FB000 N C:\Windows\syswow64\iertutil.dll
758B0000 S 00083000 N C:\Windows\syswow64\CLBCatQ.DLL
75940000 S 00110000 N C:\Windows\syswow64\kernel32.dll
75A80000 S 00057000 N C:\Windows\syswow64\SHLWAPI.dll
75AE0000 S 00006000 N C:\Windows\syswow64\NSI.dll
75B80000 S 00045000 N C:\Windows\syswow64\WLDAP32.dll
75BD0000 S 00136000 N C:\Windows\syswow64\urlmon.dll
75D90000 S 00100000 N C:\Windows\syswow64\USER32.dll
75E90000 S 00047000 N C:\Windows\syswow64\KERNELBASE.dll
75EE0000 S 0000C000 N C:\Windows\syswow64\MSASN1.dll
75EF0000 S 00092000 N C:\Windows\syswow64\OLEAUT32.dll
75F90000 S 00060000 N C:\Windows\system32\IMM32.DLL
75FF0000 S 00C4C000 N C:\Windows\syswow64\SHELL32.dll
76C40000 S 00019000 N C:\Windows\SysWOW64\sechost.dll
76C60000 S 000A1000 N C:\Windows\syswow64\advapi32.dll
76D10000 S 00005000 N C:\Windows\syswow64\PSAPI.DLL
76D20000 S 000CE000 N C:\Windows\syswow64\MSCTF.dll
771D0000 S 00180000 N C:\Windows\SysWOW64\ntdll.dll

rwError: pluginID=00000001 errorCode=00000016
4
Bugs and Crashes / vcmp brakes single player
« on October 13th, 2019, 03:42 AM »
tested and reproduced. accessing pause menu, potentially skins, or changing any settings during VCMP
does something to the gta_vc.set file, which makes singleplayer not load
resulting in an eternally black screen.
5
Scripting and Server Management / Spawnscreen texture issue
« on October 9th, 2019, 11:02 PM »
Ok check out this video, i captioned the parts with the issue.
Yeah maybe it's not a VCMP issue, and GTAVC's - but i can't solve this.
Maybe someone has a better understanding of what is going on here.

The textures at the police station and at the beach glitch out at certain times, and scrolling left/right sometimes temporarily fixes them.

Video:

https://youtu.be/tebj73m1a9U

Script:
Code: [Select]
function onPlayerRequestClass( player, classID, team, skin )
{
switch( skin )
    {
    case 1:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -971.0, 280.0, -100.0 );
player.SetCameraPos(Vector(-971.0, 280.0, 40.0),Vector(-1067.0, 320.0, 10.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "ROBBER", player, 0 );
    }
    break;
    case 2:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -1421.0, -760.0, -100.0 );
player.SetCameraPos(Vector(-1421.0, -760.0, 40.0),Vector(-1435.0, -833.0, 14.0));
player.PlaySound(361);
player.PlaySound(363);
 Announce( "MEXICAN", player, 0 );
    }
    break;
    case 3:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -690.0, -1360.0, -100.0 );
player.SetCameraPos(Vector(-690.0, -1360.0, 11.0),Vector(-680.0, -1250.0, 35.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SAILOR", player, 0 );
    }
    break;
    case 4:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 409.0, 656.0, -100.0 );
player.SetCameraPos(Vector(409.0, 656.0, 40.0),Vector(428.0, 608.0, 17.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "VC CRUSADER", player, 0 );
    }
    break;
    case 5:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 34.5, -1178.5, -100.0 );
player.SetCameraPos(Vector(34.5, -1178.5, 20.0),Vector(7.0, -1211.0, 9.4));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SECRET SERVICE", player, 0 );
    }
break;
    case 6:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 474.4, -1717.5, 56.2 );
player.SetCameraPos(Vector(474.4, -1717.5, 70.0),Vector(173.0, -1454.0, 26.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SPECTATOR", player, 0 );
    }
break;
    case 7:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -836.0, -638.0, -100.0 );
player.SetCameraPos(Vector(-836.0, -638.0, 15.0),Vector(-866.0, -679.0, 1.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "COP", player, 0 );
    }
 }
}

Instead of "player.setCameraPos" , I was using both "SetSpawnCameraPos" and "SetSpawnCameraLook" and these in combination were spawning me as the incorrect skin for spawnscreen. So ditching those helped. But introduced this issue.
6
Scripting and Server Management / Tracking/Panning the Spawnscreen
« on October 9th, 2019, 02:33 AM »
.. to different locations, can it be done? Just tested setting:

SetSpawnCameraPos
SetSpawnCameraLook

both switching with different skin IDs and the camera just instantly teleports instead of travelling.

thanks in advanced for any input.
7
Support / FPS limited 25
« on October 3rd, 2019, 08:10 PM »
In my own lan server its 25 fl on, and i think 50 with fl off.
fl = frame limiter

Can anyone explain how this fix this weird issue its irritating, probably somewhat widespread too.
I also get it in a few other servers. Makes rifles shoot noticably slower. Unfair advantage.

ty
8
General Discussion / Any admins online?
« on September 26th, 2019, 06:57 PM »

My profile "Gulk" when logged in cant see anything on the forum. Please fix it, if you need to confirm my identity im on discord @Gulk#1485

Delete this profile too, but if possible just merge my posts to my orig acc.
If not, thats fine.