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 - rww
1
Closed Bug Reports / [BUG] Chat bugged in newest version
« on April 7th, 04:37 PM »
Description
Chat is invisible, when antialias is enabled.

Reproducible
Always

What you were doing when the bug happened
Setting game_antialias 1 in vcmp config


https://youtu.be/mYVzn6aCRlo

my config:

(click to show/hide)
game_antialias 1
game_menuonrestore 0
game_windowed 0
game_framereserve 10
game_showdebug 0
game_sensitivity 0.000000
game_sensitivity_ratio 1.200000
game_radar_scale 0.500000
game_radar_scalekey 120
game_streammem 512
game_passengerkey 86
game_reconattempts 3
game_reportcrashes 0
splash_loadbarbgcol FF9B327D
splash_loadbarfgcol FFFF96E1
con_fontname Verdana
con_fontgap 0
con_fontscale 1.0
con_numoflines 30
con_disappear 0
con_logging 3
con_fillcolour BB666666
con_openkey 112
con_resizekey 118
con_typeloc 0
con_scrollupkey 33
con_scrolldownkey 34
con_jumptopkey 36
con_jumpbottomkey 35
scb_scale 1.000000
scb_edgescale 0.400000
scb_edgecolour 66C0C0C0
scb_fillcolour 77000000
scb_captioncolour FF606060
scb_scorepingidcol FF808080
scb_underlinecolour 66FFFFFF
scb_highlightcolour 660066DD
scb_serverinfocolour AAFFFFFF
scb_countcolour 99FF0000
scb_versioncolour 44555555
scb_scrollbgcolour AA000000
scb_scrollbarcolour AABBBBBB
scb_openkey 9
scb_netstatskey 117
scb_scrollupkey 33
scb_scrolldownkey 34
tag_scale 0.900000
tag_quality 1
tag_maxdist 100.000000
tag_zoffset 1.400000
tag_fontname Arial
bar_bgenabled 0
bar_bgcolour 00606060
bar_armourcol 00AAAAAA
bar_armourxcol 004499FF
bar_healthcolmin 00FF0000
bar_healthcolmax 0000AA00
bar_healthxcol 004499FF
scr_capturekey 119
scr_directory
scr_shortmsg 1
scr_compression 5
cfg_version 4

What you think caused the bug
---
2
Quote from readme.txt
Quote
Grand Theft Auto Re: Liberty City Stories (or Re:LCS) is a "Remake" of Liberty City Stories
on PC with GTA Vice City engine as its base for better feeling of the game compared to other
3D era GTA engine AND its what original Liberty City Stories game engine based off, Made by
Ryadica926 with contributions from the community for you.
And my video:


https://youtu.be/2Qh1KiWhQz0

More about modification - https://gtaforums.com/topic/887066-liberty-city-stories-pc/

Download in description - https://youtu.be/I4Rox_JDs50
3
Bug Reports / Can't enter to server with password.
« on July 26th, 2018, 08:30 PM »
Browser start vcmp without window to enter server password.
4
Client Scripting / All Client-Side scripting changes in one
« on July 25th, 2018, 01:04 PM »
All topics about Client-side scripting changes in one

1. https://forum.vc-mp.org/?topic=2719.0 (First public relase with GUI)

2. https://forum.vc-mp.org/?topic=3353.0 (GUI Skins)

3. https://forum.vc-mp.org/?topic=4710.0 (GUI Sprite rotation and scaling)

4. https://forum.vc-mp.org/?topic=4731.0 (Data/Time functions)

5. https://forum.vc-mp.org/?topic=4742.0 (GetTickCount changes)

6. https://forum.vc-mp.org/?topic=4660.0 (HUD / Custom Fonts)

7. https://forum.vc-mp.org/?topic=5873.0 (SetStadiumText / SetClipboardText etc..)
5
Scripting and Server Management / Host for gta radios
« on July 23rd, 2018, 11:25 AM »
Someone knows where I can upload radio stations from GTA:LCS? I mean, it must works on vc-mp by CreateRadio function. Many file hosts have protect for that, and urls doesn't works.

I need it for my LCS server. On current host, works only Head Radio, only once time :|
6
It's possible to get a script line with error by catch(e)? Or another way for get errors with line to server chat?
7
Snippet Showroom / Remember stats on 2 mins after quit/crash
« on July 16th, 2018, 05:50 PM »
This is an example script. The server remembers the stats for 2 minutes after leaving the server. After 2 mins, score will be reset to value 0.

Code: [Select]
function onScriptLoad()
{
RememberPlrStats <- {};
PlayersScore <- {};
NewTimer("refresh",5000,0);
return 1;
}

function onPlayerJoin(player)
{
if (PlayersScore.rawin(p.UniqueID)) KillsA[p.ID] = PlayersScore.rawget(p.UniqueID);
if (PlayersScore.rawin(p.UniqueID)) PlayersScore.rawdelete(p.UniqueID);
if (RememberPlrStats.rawin(p.UniqueID)) RememberPlrStats.rawdelete(p.UniqueID);
return 1;
}

function onPlayerPart(player,reason)
{
RememberPlrStats.rawset(player.UniqueID,GetTickCount())
PlayersScore.rawset(player.UniqueID,player.Score);
return 1;
}

function onPlayerKill(killer,player,reason,body)
{
killer.Score ++;
return 1;
}

function refresh()
{
foreach (uid, tick in RememberPlrStats)
{
local count = GetTickCount() - tick;
print(count);
if (count > 120000) //in ms (here it's 2min)
{
if (PlayersScore.rawin(uid)) PlayersScore.rawdelete(uid);
if (RememberPlrStats.rawin(uid)) RememberPlrStats.rawdelete(uid);
}
}
}
8
Snippet Showroom / [04rel005] onPlayerModuleList example use
« on June 24th, 2018, 11:45 AM »
This is only a example, how to use one of new feature VC-MP.

Code: [Select]
function onPlayerModuleList(player,string)
{
Logs("Modules/"+player.IP+".txt","[PLAYER PLUGINS] ["+GetRealTime()+"] ["+player.ID+"] [ "+player.Name+" ] IP: [ "+player.IP+" ] UID: [ "+player.UniqueID+" ] UID2: [ "+player.UniqueID2+" ] \n"+s);
print("[PLAYER PLUGINS] ["+GetRealTime()+"] ["+player.ID+"] [ "+player.Name+" ] IP: [ "+player.IP+" ] UID: [ "+player.UniqueID+" ] UID2: [ "+player.UniqueID2+" ] \n"+s);
return 1;
}

function onPlayerCommand(player,cmd,text)
{
if (cmd) cmd = cmd.tolower();
local plr, veh = player.Vehicle;
if (text) plr = GetPlayer(text);

if (cmd == "getmodules" || cmd == "getplugins" || cmd == "getasi")
{
if (!text) ClientMessage("* Type: [#ffaa00]/"+cmd+" [Player ID]!",player,255,30,30,255);
else if (!plr) ClientMessage("* This player doesn't exist!",player,255,30,30,255);
else plr.RequestModuleList();
}
else ClientMessage("* This command doesn't exist!",player,255,30,30,255);
return 1;
}

function GetPlayer(plr)
{
if (plr)
{
if (IsNum(plr))
{
plr = FindPlayer(plr.tointeger());
if (plr) return plr;
else return 0;
}
else
{
plr = FindPlayer(plr);
if (plr) return plr;
else return 0;
}
}
else return 0;
}

function GetRealTime()
{
    local t = date(time());
    return format(@"%.2d/%.2d/%d - %.2d:%.2d:%.2d", t.day, t.month += 1, t.year, t.hour, t.min, t.sec);
}

function Logs(f,t)
{
local a = file(f,"a+");
foreach(char in t)
a.writen(char,'c');
a.writen('\n','c');
a = null;
}

And after type /getmodules [id/nick], server make a text file in Modules folder. Befoure use, create a new folder "Modules" in server folder. Case size must be the same!
9
Support / player.SetMarker - how it works?
« on May 26th, 2018, 04:12 PM »
Today, I testing a player.SetMarker function and... Idk how it works.

In onPlayerSpawn event I put a line with SetMarker function. Every test I change a number, save script and reset server.

test 1:
player.SetMarker(22);
test 2:
player.SetMarker(0);
test 3:
player.SetMarker(1);
test 4:
player.SetMarker(3);

And I didn't see any difference?

(click to show/hide)


I want to change a player marker to another (icon)

Edit:

Sorry, I know now why doesn't work...
Code: [Select]
void CPlayer::SetMarker(int nDummy) { functions->TogglePlayerHasMarker(this->nPlayerId, 1); }
void CPlayer::RemoveMarker() { functions->TogglePlayerHasMarker(this->nPlayerId, 0); }

So, in VC-MP it's impossible to change a player blip (or vehicle)?
10
Object Showroom / Open garages in one of mansion
« on May 23rd, 2018, 01:54 PM »
Content Type: Map/Object
Original Author: R* / rww
Content Screenshots:

Before:

(click to show/hide)


After:

(click to show/hide)


Download:



Also, I fixed a interior of garage on grass ;)
11
Description
GetHandlingData works only after setting SetHandlingData on custom veh. Before SetHandlingData, value of GetHandlingData for any rule (only for custom vehicles) is always 0.

Reproducible
Always

What you were doing when the bug happened
Getting a handling rule data.

What you think caused the bug
You know better than me.
12
Tutorials / [TUT] Custom wheels in your custom vehicle.
« on June 15th, 2017, 10:25 AM »
Custom wheels in your custom vehicle.

Programs:
- 3ds Max
- Kam's Max Scripts - http://www.gtagarage.com/mods/show.php?id=9172
- Magic.TXD - http://gtaforums.com/topic/851436-relopensrc-magictxd/

Video:

https://youtu.be/u3b07uXiBwU

Wheel scale we can change in name.xml file:

<wheelscale>float</wheelscale> recommended 0.65 - 0.75
13
Closed Bug Reports / [CRASH] 6552D87A
« on May 27th, 2017, 09:05 PM »
Reproducible
Always

What you were doing at the time of the crash
Joining to the server (crash on LCS-DM, only for few players after today update). When all files are downloaded, custom map doesn't load, and tommy falls down.

What you think caused the crash
I don't know.
Edit:
Something with store files? Server without store files and scripts works without crash.
Edit2:
.wav files or radar folder.

Are you using the Steam version?
No.

Crash Report
Code: [Select]
Address: 6552D87A error C0000005
EAX 38203A93 EBX 14765C7C ECX 00000020 EDX 00000020
EBP 14769D14 ESP 0018F2C4 ESI 38203A73 EDI 0018F338
Stack:
0018F30C
00000020
65364B90
0018F338
38203A73
00000020
00000020
0018F338
14765C7C
65364587
14765C7C
0018F338
0018F30C
14765C78
14765C78
14769D14
11121190
65365AE8
00000020
0018F358
14769CC0
0018F344
0018F34C
0018F348
14765C78
00000000
00000000
14765C78
14765C78
0018F6B4
11121190
0000000D
756E6547
49656E69
6C65746E
000306C3
00100800
FE986383
65377EB7
14769D14
14769D1C
14765C78
14765C7C
0018F6B4
11121190
65447E3C
14765C7C
00000018
14E51CF0
0018F6B4
102165FC
00000000
102165FC
00000000
14564D24
00664BE2
14564D24
03D1BDC8
14564D24
0018F690
1343604C
00000000
03D1BDC8
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000015
FBF2E20B
00000001
0018F4C0
657A735E
15A6ED80
00000040
00000040
00000001
0C000000
00000015
00000015
00000000
0018F4B8
03C7E420
03C7E424
00000015
0C000000
00000000
00000015
65446ACD
11121190
00000018
27AD99B0
0018F6B4
102165FC
00000000
00000015
00000001
14564D58
0000008C
655C86FC
00000000
006279B7
03C7E420
00000080
00000080
00000001
00000000
15A6F84C
00000024
0018F53C
65C1FDB6
00A20000
00000000
15A6F84C
00A20000
15A6F84C
00000000
00A20000
0018F544
65C1FFF7
00A20050
0018F55C
65C1FC85
00000000
0000001F
00A20000
00000000
0018F574
65C42344
00000024
00000000
00000020
0000000F
0018F594
65525163
00A20000
00000000
00000020
00000000
00000000
14E51CF0
655E0774
00000000
0018F5E4
655818C6
14E51CF0
65581869
F6DF13B9
00000018
27AD99B0
102165FC
65C42899
00A20000
00000000
14E51CF0
0018F5AC
65C4290B
0018F6F0
6552DF80
93985825
FFFFFFFE
Net version 67000, build version 5929CA76.
00400000 S 00614000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\gta-vc.exe
112D0000 S 0004D000 N D:\Vice City Multiplayer\04rel004\bass.dll
21100000 S 0005C000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss32.dll
22100000 S 00014000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssa3d.m3d
22200000 S 00015000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssa3d2.m3d
22300000 S 00011000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssds3ds.m3d
22400000 S 00014000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssds3dh.m3d
22500000 S 00014000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Msseax.m3d
22600000 S 00016000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssfast.m3d
22D00000 S 00062000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssrsx.m3d
22E00000 S 00019000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\msseax3.m3d
24600000 S 00011000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Reverb3.flt
26F00000 S 0002A000 N D:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mp3dec.asi
5F450000 S 00DAE000 N C:\Windows\SYSTEM32\nvd3dum.dll
65250000 S 000C4000 N C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI.dll
65320000 S 00420000 N D:\Vice City Multiplayer\04rel004\vcmp-game.dll
65740000 S 00101000 N C:\Windows\SYSTEM32\d3d8.dll
659A0000 S 00270000 N C:\Windows\AppPatch\AcLayers.DLL
65C10000 S 00245000 N C:\Windows\AppPatch\AcGenral.DLL
67380000 S 00007000 N C:\Windows\SYSTEM32\DPAPI.dll
67390000 S 00045000 N D:\Vice City Multiplayer\04rel004\libpng15.dll
67400000 S 00007000 N C:\Windows\SYSTEM32\d3d8thk.dll
67870000 S 00084000 N C:\Windows\SYSTEM32\DSOUND.DLL
6A3B0000 S 000D9000 N C:\Windows\system32\ddraw.dll
6AAB0000 S 00009000 N C:\Windows\System32\winrnr.dll
6AAC0000 S 00010000 N C:\Windows\system32\NLAapi.dll
6AAD0000 S 00014000 N C:\Windows\system32\pnrpnsp.dll
6AAF0000 S 00010000 N C:\Windows\system32\napinsp.dll
6ACC0000 S 00014000 N C:\Windows\SYSTEM32\MSACM32.dll
6ACF0000 S 00054000 N C:\Windows\SYSTEM32\AUDIOSES.DLL
6AD50000 S 00008000 N C:\Windows\SYSTEM32\avrt.dll
6AD60000 S 0004D000 N C:\Windows\System32\MMDevApi.dll
6ADB0000 S 0000E000 N C:\Windows\SYSTEM32\SortServer2003Compat.dll
6ADC0000 S 0000E000 N C:\Windows\SYSTEM32\sfc_os.DLL
6BE20000 S 00030000 N C:\Windows\system32\dinput8.dll
6C260000 S 00003000 N C:\Windows\SYSTEM32\sfc.dll
6C270000 S 00012000 N C:\Windows\SYSTEM32\samcli.dll
6D0C0000 S 0002B000 N C:\Windows\SYSTEM32\WINMMBASE.dll
6D340000 S 0000A000 N C:\Windows\SYSTEM32\HID.DLL
6D570000 S 000A8000 N C:\Windows\system32\apphelp.dll
6F3A0000 S 0003F000 N C:\Windows\System32\fwpuclnt.dll
70690000 S 00007000 N C:\Windows\System32\rasadhlp.dll
706A0000 S 00074000 N C:\Windows\SYSTEM32\DNSAPI.dll
71910000 S 00007000 N C:\Windows\SYSTEM32\DCIMAN32.dll
71920000 S 00013000 N C:\Windows\SYSTEM32\MPR.dll
71940000 S 0003F000 N C:\Windows\system32\powrprof.dll
71B40000 S 00021000 N C:\Windows\SYSTEM32\WINMM.dll
71D50000 S 0001A000 N C:\Windows\SYSTEM32\dwmapi.dll
71D70000 S 00088000 N C:\Windows\SYSTEM32\UxTheme.dll
723A0000 S 00073000 N C:\Windows\SYSTEM32\SHCORE.DLL
72620000 S 0004A000 N C:\Windows\System32\mswsock.dll
726E0000 S 00008000 N C:\Windows\SYSTEM32\WINNSI.DLL
72730000 S 00020000 N C:\Windows\SYSTEM32\IPHLPAPI.DLL
74D80000 S 0000E000 N C:\Windows\SYSTEM32\DEVRTL.dll
74DC0000 S 00060000 N C:\Windows\SYSTEM32\WINSPOOL.DRV
74E20000 S 00008000 N C:\Windows\SYSTEM32\VERSION.dll
74E30000 S 00051000 N C:\Windows\SYSTEM32\bcryptPrimitives.dll
74E90000 S 00009000 N C:\Windows\SYSTEM32\CRYPTBASE.dll
74EA0000 S 0001D000 N C:\Windows\SYSTEM32\SspiCli.dll
74EC0000 S 00074000 N C:\Windows\SYSTEM32\clbcatq.dll
74F40000 S 00136000 N C:\Windows\SYSTEM32\combase.dll
75080000 S 00020000 N C:\Windows\system32\IMM32.DLL
750A0000 S 00046000 N C:\Windows\SYSTEM32\cfgmgr32.dll
750F0000 S 00011000 N C:\Windows\SYSTEM32\profapi.dll
75110000 S 001B6000 N C:\Windows\SYSTEM32\WININET.dll
75330000 S 00130000 N C:\Windows\SYSTEM32\KERNEL32.DLL
75460000 S 0001E000 N C:\Windows\SYSTEM32\DEVOBJ.dll
75480000 S 00050000 N C:\Windows\SYSTEM32\WS2_32.dll
754D0000 S 0008E000 N C:\Windows\SYSTEM32\OLEAUT32.dll
75560000 S 000FD000 N C:\Windows\SYSTEM32\GDI32.dll
75660000 S 00008000 N C:\Windows\SYSTEM32\NSI.dll
75670000 S 010C6000 N C:\Windows\SYSTEM32\SHELL32.dll
768C0000 S 00034000 N C:\Windows\SYSTEM32\sechost.dll
76900000 S 001AF000 N C:\Windows\SYSTEM32\SETUPAPI.dll
76BC0000 S 00119000 N C:\Windows\SYSTEM32\ole32.dll
76CE0000 S 000B1000 N C:\Windows\SYSTEM32\msvcrt.dll
76DA0000 S 001FA000 N C:\Windows\SYSTEM32\iertutil.dll
76FA0000 S 00040000 N C:\Windows\SYSTEM32\SHLWAPI.dll
76FE0000 S 0012B000 N C:\Windows\SYSTEM32\urlmon.dll
77110000 S 0001B000 N C:\Windows\SYSTEM32\USERENV.dll
77130000 S 000AC000 N C:\Windows\SYSTEM32\RPCRT4.dll
771E0000 S 000A7000 N C:\Windows\SYSTEM32\KERNELBASE.dll
77290000 S 000DD000 N C:\Windows\SYSTEM32\MSCTF.dll
77370000 S 00042000 N C:\Windows\SYSTEM32\WINTRUST.dll
773C0000 S 00012000 N C:\Windows\SYSTEM32\MSASN1.dll
773E0000 S 00116000 N C:\Windows\SYSTEM32\USER32.dll
77510000 S 00006000 N C:\Windows\SYSTEM32\PSAPI.DLL
775B0000 S 000AE000 N C:\Windows\SYSTEM32\ADVAPI32.dll
77660000 S 00182000 N C:\Windows\SYSTEM32\CRYPT32.dll
778B0000 S 00158000 N C:\Windows\SYSTEM32\ntdll.dll
14
Videos & Screenshots / vcs map on vc-mp
« on March 3rd, 2017, 01:10 AM »








15
I can count vehicle speed (velocity function) in Client-Side, without Stream functions? I need example for it.