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 - Yyg

#1
Server IP Updated: 43.248.188.73:8192
If you have a store file, rename it to 43.248.188.73-8192
#2
Server IP address and resource pack (7z) has been updated in 2023, welcome to play!
#3
Good release!
#4
Quote from: habi on Dec 19, 2022, 08:15 AM
Quote from: Yyg on Dec 12, 2022, 08:07 AMHello Habi, the new NPC features are very interesting!

But I still have a few issues, I try to get the NPC to sit in my car (player.PutInVehicleSlot), it seems to work, but the NPC will no longer do a stream update (Pos locked) and when I drive the car a certain distance, the NPC will disappear and return to the point where it was boarded.d player.Pos stays in the boarding Position
It seems impossible to do a "on-board" Update Vehicle Pos in NPCScript, and when I try something like SetMyPos(), the NPC just leaves the vehicle.

Maybe I'm getting something wrong, but are there any examples where an NPC can get in my car, no matter where I drive it?
Thank you Yyg. I understand the problem with putting NPCs inside Vehicles.
We have not implemented this feature it. Syncing NPC in vehicle needs a new function as the existing function 'SendOnFootSyncData' can sync only On foot values.
I think VCMP automatically set player state and position from the last sync packet if new packets are not received for some time.
So syncing npc then require either 1. One vehicle sync packet or 2. Continous vehicle sync packets.

In current version as mentioned before, sending vehicle sync packets directly is not possible.

Server getting no vehicle sync packets from npc may be the reason of player.Vehicle value equal null.

SetMyPos function will fail too because it sends On-Foot update packets only.

This issue needs to be taken care in the next version.
Thanks Habi, great feat! This could be very interesting
Thanks also to Sebastian for his answer

Good Luck!
#5
Hello Habi, the new NPC features are very interesting!

But I still have a few issues, I try to get the NPC to sit in my car (player.PutInVehicleSlot), it seems to work, but the NPC will no longer do a stream update (Pos locked) and when I drive the car a certain distance, the NPC will disappear and return to the point where it was boarded.

After my tests, when the NPC is PutInVehicleSlot, his player.Vehicle == null and player.Pos stays in the boarding Position
It seems impossible to do a "on-board" Update Vehicle Pos in NPCScript, and when I try something like SetMyPos(), the NPC just leaves the vehicle.

Maybe I'm getting something wrong, but are there any examples where an NPC can get in my car, no matter where I drive it?
#6
1. Consider turning off your anti-virus software temporarily
2. Verify that gta-vc.exe can start properly
3. Make sure the game path is set correctly
4. Consider starting VC-MP "in administrator mode" or setting compatibility
#7
Quote from: habi on Dec 10, 2022, 02:12 PM
Quote from: Yyg on Dec 09, 2022, 11:57 AM:)Hi habi, I would like to feedback a question

When I tried to use version 1.5, I found that any NPCS driving vehicles would not work.




(cannot be played by this version of program)
Hi Yyg. It was a condition which escaped my notice.
The '. rec' files are binary files. The first byte of all of them was E8 in previous version.
Version 1.5 require it to be E9.
I request you to make this change in the first byte of driving recordings using a 'hex-editor', for the time being.

The first four bytes E8 03 = 1000 (decimal)
E9 03 = 1001

Thanks habi, it worked! The vehicle is moving again! :)
#8
:)Hi habi, I would like to feedback a question

When I tried to use version 1.5, I found that any NPCS driving vehicles would not work
When I tried using the rec fix tool, he told me that the driving function did not need to be fixed
(Nothing to do for PLAYER_RECORDING_TYPE_DRIVER recordings)
(Even if you use the built-in taxi rec or nut, it doesn't work)

When I replaced npcclient.exe with the old version, everything worked fine
(cannot be played by this version of program)
#9
Quote from: Waluta on Dec 07, 2022, 12:11 AMIt's very nice that the server is developing so well, it's a pity that it's not translated into English, it makes it a bit difficult to communicate with other players.
Yes, message translation seems to be a not easy job, perhaps will be realized in the future! Anyway, Happy winter!
#10
Amazing work, bringing life to the world!
#11
https://www.youtube.com/watch?v=wkc1EeuR9b0

Recorded video from the server: https://forum.vc-mp.org/?topic=8916.0
All content (including snow and weather) comes from the server, not from native MOD modifications
Thank you Renzuka_Ctone for the snow ground achieved, and [R3V]Kelvin for the snow inspiration!

;) Happy Winter! Good Luck!
#12
I am willing to prove for KL and hope to be valued
#13
Quote from: Sebastian on Sep 11, 2022, 10:18 PMI've finally downloaded the files. To save some of struggles, here is a mirror of the store:
https://www.mediafire.com/file/rqh4ljr2dgedesh/171.115.220.47-8192.zip/file

I tested the server, and liked a lot that you found a good way to use both VC and LC maps in the same time, with custom radar and etc.
If I were you, I would have used water texture with no alpha, for gta3's map. :D

I've seen some interventions of NPCs around map, simulating the traffic, which was kinda cool: cop cars, civil cars, aircraft
And I can see the effort in everything around, especially on the GUI which I cannot really interact with, since I don't know chinese, haha.
(I don't think english will ever be added to the server, since english players will never stay long enough to make a difference because they cannot actually interact with the chinese GUI)

Great job, guys!

PS: Am I wrong, or there is some sort of Translator too? by pressing [Y] key, and shift (for green arrow)

Hi, friend, I'm glad you can see this server

Maybe it's a good idea to modify lcmod, but it's a pity that VCMP players don't seem to be enthusiastic about LC. Maybe they will improve it in the future

I am confident that the language is compatible. Maybe it just needs the affirmation of some English players (XD). If I see more international players, I believe I will join in English soon

Yes, I realized a VCMP input method in Chinese on the [Y] key, which makes me a little proud, because Chinese players can finally chat in Chinese, haha~

The server should be more and more perfect. I look forward to your coming in the future. Good luck!
#14
Servers / VCCC | VC&LC Community Server(CN)
Sep 11, 2022, 10:41 AM
:)Sorry my English is not good, but I am here to introduce you a VCMP server from China

In this server, the developers did a lot of new things, although some of the content is not advanced, but does add new fun to VCMP0.4.

(Note: this is an almost entirely Chinese server, unfortunately there is no time for dual language adaptation, but if we are lucky enough to be popular with international players, we will adapt it)

It's a two-city server with VC and LC that you can switch between by taking a plane, and each city has almost the same content.

With a full account system, you can start and join companies, and buy your own vehicles and housing assets. For other content, you only need to visit map stores (such as weapons stores, clothing stores, car dealerships).

You can view the map by holding down the [M] key

Common keys:
Open the mobile phone menu
[X] Action list
[M] A large map

Almost all functions are integrated within the B button's menu

In addition to this, the developers have built A "mission system" into the server, where you can play multiple gameplay (racing, A\D, etc.) within A single server without affecting the progress of the main world, while earning rewards that can be used after the game is over.

If you are interested in my introduction, please come and have a try, although there may be language problems


Server IP: 43.248.188.73-8192 (Updated 2023.05)
If you have a resource file or folder, rename it to "43.248.188.73-8192"

We have prepared the Mediafire store pack for you to skip the download step
https://www.mediafire.com/file/h5ubmi9mxju9fn5/103.239.244.226-8192.7z/file
(Updated 2023-03-12, Please Download new store :D)
(Please download and rename folder to "43.248.188.73-8192")

Funny Images






A Server Battle Mode Video
https://www.youtube.com/watch?v=Xaw-B_SWEd0

New Version V1.7 Video(Winter)
https://www.youtube.com/watch?v=wkc1EeuR9b0

As a complement, this server uses the NPC functionality provided by Habi(Thanks!), which makes the world come alive.
I have tried to prevent these players from being shown, but it doesn't work. Sorry that this may be misleading for some players. I have added all NPC players' names, So that players can tell if there is a real player online.
#15
Sorry for my poor English, but I would like to introduce a problem that has been bothering me for more than 5 years

I've written a lot of servers and tried to make the most of the VCMPAPI, which means I tried to use a lot of the API, but eventually it would crash, maybe because I wasn't using it the right way

But I've been refactoring a script recently, and I've listed the "occasional error-free crash" as the key issue. I've been struggling with this problem for a few years now(https://forum.vc-mp.org/?topic=7898.msg49014#msg49014), which led me to think it had something to do with the SQlite plugin or VCMP0.4 (yes, it does have a little bit).

It's very frustrating when you have tried your best to verify try catch and null judgments, but still occasionally crash without any errors

If your server occasionally crashes without warning, especially when onPlayerJoin or onPlayerPart (or when players are reconnecting), check your server for this dangerous code!!
function onPlayerJoin (player)
{
player.Colour = RGB(205, 186, 150);
}

Did something happen? Of course not :(

But if you're like me, and consider it a variable to avoid the hassle of having to change colors in batches later, there's a reasonable chance that the server will crash without warning when a player enters or exits

local testColor = RGB(255, 255, 255);
function onPlayerJoin (player)
{
player.Colour = testColor;
}

What's going to happen? Not necessarily, it will still work, you will change the player's color, but after hundreds of tests, it is this dangerous line of code that is causing the problem

How to reproduce almost 100 percent?
Try building a test script that only places this line of code (the way you use variables, whether it's local var = RGB() \ var <- RGB())
When you exit (reconnect) the server, there is a chance that you will cause the server to crash

However, if you click on your server. Exe with the mouse after the player has successfully entered the server (in this case, he will lose response and stop partial synchronization), wait for a few seconds, then click Reconnect of the game, and you will find that you can explore the server, but you can't join in correctly. You let go of the server. Exe mouse, at this point you should be prompted to be kicked out of the game (if not, please repeat the previous steps to try)

If YOU HAVE BEEN KICKED OUT OF THE GAME, try/CONNECT 127.0.0.1 8192 (or reconnect), BY this TIME YOUR server SHOULD have crashed

It looks like player.colour is very strict, you can only go straight to RGB(255, 255, 255)
It can be seen that if you try to set player.colour = null then you will crash directly

As for the impact of SQLite or VCMP0.4 I mentioned earlier, it may be due to a short delay, similar to achieving a "mouse click exe" effect, but that's not their problem, it's the code

This may or may not be a BUG, but I'm sure there will be people using variables as RGB, you can try to check if there is a problem, even if it is not in onPlayerJoin