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

Messages - habi2

#1
General Discussion / Re: VCMP Launcher
Sep 16, 2025, 06:15 AM
Yes.
#2
General Discussion / VCMP Launcher
Sep 15, 2025, 08:50 PM
Hi guys, this is the program i was working with last one-two months.

You can give your friend an executable like:


And your friend then double click this exe and is on your  server. You can embed store files in this exe. You just zip the server's store files and give to program.

So using this launcher, your friend can join your server even if he has not installed vcmp browser and settings. He just needs to have a gta-vc.

Optional conf file
A configuration file ending with '.conf' and having same name as launcher can be placed in same directory.

The launcher ask for player name on first execution(or fetch it if vcmp official browser or any other browser is installed). This behaviour can be changed and give custom/new nick using .conf file with same name, override player's nick:


Now if ip address of server has changed after the executable is built(the launcher contains an IP), you can also override ip address by using addr= in .conf file.


all configuration parameters
  • addr=  The ip:port or domain:port
    eg. addr=152.33.52.33:8192 or addr=myserver.abc:8192
  • name=  The name of player to be used when connecting to server
  • vcdir= If you have multiple vice city installed, the directory containing vice city to be used.
    eg. vcdir=D:\Grand Theft Auto Vice City
  • skipstorefiles=  1 or 0. To skip copy pasting store files from launcher to AppData folder. Launcher contains vcmp-game dlls(either 0.4.7.1 or 04rel006) and store files. It copies them to appropriate directories in AppData. This option is to prevent copying store files.
  • splash= The path to a png image which will be applied in loading screen.
    eg. splash=D:\the twins.png
  • nosplash= 1 or 0. If 0, then default splash of vice city multiplayer will be used.


The GUI Editor program
The data-in-a-launcher can be changed. For that we have an exclusive gui program.

The inbuilt ip-address and other properties for a launcher can be changed/edited. Note that we are building launcher per server.

In below download, there are two programs:

Freeroam Local Server.exe was a 'local server launcher' and will connect to 127.0.0.1:8192 if opened. You have to use LauncherConfig.exe tool to edit the ip and port. Remember, the conf file we used above was optional only. The launcher can be shipped without .conf file also.


The Website
The launcher can be made from browser too. Go to www.vcmp-launcher.art. Select a 0.4.7.1 or 04rel006 one.






The Splash
You can attach a PNG image into the launcher which it use as splash screen.



Download Links

VCMP Launcher (zip)(12.4 MB)
VCMP Launcher (7z) (9.28 MB)

Source code
You can download all the source code from below:
Source VCMP Launcher (9.17 MB)

Credits
  • ysc3839
#3
Subject: Name with hyphen followed by h or p breaks host/port parsing


Description
If the player name contains a hyphen (-) followed by h, the hostname gets corrupted when connecting.

If the player name contains a hyphen (-) followed by p, the port number is parsed incorrectly.

This causes the client to fail to connect to the correct server.
Example:

test-hname → wrong hostname

test-pname → wrong port

Reproducible
Always

What you were doing when the bug happened


What you think caused the bug
It seems the parser might be mistaking parts of the name for -h (host) or -p (port) arguments.
#4
A.I said it does not do any networking stuff or local dll injection/registry modification. it seems safe.
#5
okay.
#6
1.6.7

besides, one key (=) in keyboard stuck when browser was open.
#7

( only source code link is seen )

If anybody is have problem like above, then use:
https://bitbucket.org/stormeus/0.4-announce/downloads/announce04rel64.so

Replace .so by .dll to get windows plugins !
#8
I recommend buying a cheap linux server (cost: INR 420 ).  You will get it operating in minutes. Put your files and run
./mpsvrrel64 -allow-server-runas-root
Also you have to chmod 777 mpsvrrel64 before it.
#9
@Adrenaline How did you transferred script files to server?

I don't know how citadel servers work. But usually you put script files via ssh(sftp). Then start server by commandline.

Have you done any of these things?

Besides,  by default server will not appear in masterlist. You need to edit server.cfg or create one for server to appear in masterlist.
 
Also how you start server?

Please provide more screenshot of interface you have.
#10
Today i discovered while working on something that vcmp server sends one packet 105 times.

It happened when you kick  a player.

It is because the packet was 'reliable' one and needs acknowledgement. Since this is kicking, they don't send acknowledgement. Since we don't receive acknowledgement, it sends again.

Three reliable packets (msg ids hex 0x6a, 0x36, 0x48) were seen going out.

Offtopic:
i replied on his thread and-


#11
yes, a client timer of 40-20 seconds would be ideal.
#12
Hi PSL,
Which data are you referring to.

You can perhaps use ScriptUnload event client side to detect player quitting:
Script::ScriptUnload()
Return type: void.
Called before scripts are unloaded, on disconnect.
#14
How everybody is doing. With the help of openai models, i quickly made this tool which do what written in subject.

(mediafire) (library, how-to and source) (23.80 KB)

1. You need to create a text file npcnames.txt in server directory:
Alfred
John
medic
npc100
mike

2. Find libvcmpintercept.so in downloaded files and put it also in server directory.

3. Preload the library and specify the server port to run the server
VCMP_SERVER_PORT=8192 LD_PRELOAD=./libvcmpintercept.so ./mpsvrrel64_v39

Images

The npcs Alfred and mike are connected, their names entered at sl.no 1 and 5 respectively in npcnames.txt is not shown in the list to a client !

PS: The source could be more bit more optimized.
#15
perhaps @Sebastian  could include like many skins and also scattered hp giving pickups and others in his next blank server update.
*.. runs.