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

#1
Thanks, works fine now!
#2
I get now this Error:
"Plugin error >> dlopen() 'plugins/discordsync04rel64.so' failed: /lib/x86_64-lin                                                             ux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by plugins/d                                                             iscordsync04rel64.so)"

Cant really test it now, did you changed something? Cause it was working with the old one
#3
Quote from: habi on Nov 18, 2023, 03:29 AM
Quote from: Pun1sh3r on Nov 16, 2023, 11:30 AMGot the same Error, Windows works fine but Linux not, I get also no Information in Server Log about the Plugin

Could you try this console program which connect to discord and post the results
download


"t": "READY"
}
My ID is 47821648158326XXXX doesnt terminate and runs
#4
Quote from: Roystang on Nov 11, 2023, 06:10 PMany idea why this happens?

linux x64 plugin

Got the same Error, Windows works fine but Linux not, I get also no Information in Server Log about the Plugin
#5
Community Plugins / Re: Discord
Oct 05, 2022, 06:19 PM
Works perfect on Windows, wanted to compile the Plugin on Linux but I get this error back:

QuoteScanning dependencies of target DDiscord
[ 50%] Building CXX object bot/CMakeFiles/DDiscord.dir/discord-client.cpp.o
[100%] Linking CXX shared library libDDiscord.so
/usr/bin/ld: cannot find -ldpp32.lib
collect2: error: ld returned 1 exit status
make[2]: *** [bot/CMakeFiles/DDiscord.dir/build.make:103: bot/libDDiscord.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:113: bot/CMakeFiles/DDiscord.dir/all] Error 2
make: *** [Makefile:103: all] Error 2

Would be nice if you can compile it for Linux or help with the Problem?
#6
Hello everyone,

today I present you after long time my updated Version of my old Deathlist working with Textdraws and Sprites in the past.

How does the Deathlist looks?

Names are always showed in the Deathlist with the Players Color

You can remove the connect & disconnect Messages in Chat and add it to the Deathlist!
How?

Add this to your onScriptLoad() callback:
SetJoinMessages(false); //This function will toggle the join messages on or off.
Add this to your onPlayerJoin(player) callback:
SendDeathMessageToAll(71, player.Name, player.Colour);

Add this to your onPlayerPart(player, reason) callback:
SendDeathMessageToAll(72, player.Name, player.Colour);

Now you can add Kill Messages to the Deathlist and disable it in Chat!
How to disable the Kill Messages in Chat?

Add this to your onScriptLoad() callback:
SetDeathMessages(false); //This function will toggle death messages on or off.
Add this to your onPlayerDeath(player, reason)  callback:
SendDeathMessageToAll(reason, player.Name, player.Colour);

Add this to your onPlayerKill(killer, player, reason, bodypart) callback:
SendDeathMessageToAll(reason, killer.Name, killer.Colour, player.Name, player.Colour);

DeathWindow function:
function SendDeathMessageToPlayer(player, reason, leftName, rgb, rightName = null, rgb2 = null)
{
    if (rightName)
{
SendDataToClient(player, 0x01, reason, leftName, rgb.r, rgb.g, rgb.b, rightName, rgb2.r, rgb2.g, rgb2.b);
}
    else
{
SendDataToClient(player, 0x01, reason, leftName, rgb.r, rgb.g, rgb.b);
}
return 1;
}

function SendDeathMessageToAll(reason, leftName, rgb, rightName = null, rgb2 = null)
{
    for (local plr, i = 0; i < GetMaxPlayers(); i++)
{
        plr = FindPlayer(i);
        if (plr)
{
if (rightName)
{
SendDataToClient(plr, 0x01, reason, leftName, rgb.r, rgb.g, rgb.b, rightName, rgb2.r, rgb2.g, rgb2.b);
}
else
{
SendDataToClient(plr, 0x01, reason, leftName, rgb.r, rgb.g, rgb.b);
}
}
}
return 1;
}

ClientSide Script is added in the Packages.
Download the full Package with Images, Server Side & Client Side Script

Feel free to download it now.

Please do not add any other Download links, this will be always Online I added as it is hosted on my Webserver.


#7
Quote from: Gulk on Dec 23, 2021, 09:11 PMhttp://u04.vc-mp.org

Thats the official up to date updater link.

Error at Client Launch: Failed to check update list. HTTP error encountered. (404)

Tried the Update URL:  http://u04.thijn.ovh and somehow it downloaded once a Update and after that some things are broken now just like Checkpoints Alpha is not set and also MapIcon's Alpha is not set anymore and sometimes a crash Message appears when a Checkpoint is visible.
Anyone else got the Error with the official Update URL?
#8
Support / Re: Stuttering issue....
Jun 09, 2021, 10:08 PM
I found somehow out that it has something todo with Vehicles, when I was putting all Vehicles from the Public Beta Script into my then I saw that FPS is going down and game is stuttering somehow. I removed almost all Vehicles and it seems to be better, atleast on my local Server its better now but I'm still not sure if that was the only thing or it has really something todo with Vehicles?
#9
How should that affect the Server's Sync? GUI's are Clientside and has nothing todo with Server's Sync.

Instead of blaming on that GUI's are affecting the Server's Sync you should give us an example to prove that you are right, a Video with the same Players, same Ping or almost the same ping and same Server location.
Maybe a example Script of how to reproduce this?
#10
[Bug] CreateCheckpoint for player with Server Version 33

Description
Update the Server Version from 30 to 33 (Newest) and then testing Race Minigame on my localhost and Linux root,
if a Player disconnects then the Player is still connected with Ping -1 and cannot be kicked

Reproducible
Always

What you were doing when the bug happened
Testing if everything is working on Server Version 33, never happend in Server Version 30

What you think caused the bug
CreateCheckpoint for a player

Here is a example blank Script with /test command, both connected Players need to type /test and then disconnect, both Players will stay connected with Ping -1.
https://pastebin.com/3rfQxGxg
#11
Bugs and Crashes / Re: [Bug] CreateMarker
Dec 31, 2020, 05:12 PM
Quote from: AdTec_224 on Dec 30, 2020, 01:59 AMAs far as I'm aware it's not a bug, you're just not using the function correctly. It's RGBA not RGB, so the correct line of code for a red marker should be:

CreateMarker(player.UniqueWorld, Vector(496.481, -84.883, 10.0304), 4, RGBA(255, 0, 0, 255), 0);

Seems to be working without any Bugs, thanks for your Help! Took the example from Thijn Wiki and it's there with RGB only.

Does ARGB also works or only RGBA?
#12
Bugs and Crashes / [Bug] CreateMarker
Dec 30, 2020, 12:59 AM
Description
Create a Marker with Marker ID 0 and with a RED or any other Color and it wont always have the correct set Color.

Reproducible
Sometimes

What you were doing when the bug happened
Testing

What you think caused the bug
I guess the Color is mixed up? If you set RED Color RGB(255,0,0) then it will sometimes have Pink Color, if you set RGB(242, 125, 253) it will have sometimes White Color

Example Code:
local Marker1 = -1;
local Count = 0;
if(cmd == "marker")
{
if(Count == 0)
{
if(Marker1 != -1)
{
DestroyMarker(Marker1);
Marker1 = -1;
}
Marker1 = CreateMarker(player.UniqueWorld, Vector(496.481, -84.883, 10.0304), 4, RGB(242, 125, 253), 0);
ClientMessage("0: Marker Created!", player, 255, 255, 255);
Count = 1;
}
else if(Count == 1)
{
if(Marker1 != -1)
{
DestroyMarker(Marker1);
Marker1 = -1;
}
Marker1 = CreateMarker(player.UniqueWorld, Vector(480.481, -70.883, 10.0304), 4, RGB(242, 125, 253), 0);
ClientMessage("1: Marker Created!", player, 255, 255, 255);
Count = 0;
}
return 1;
}
#13
Yes it happends with the latest Version, as said it doesnt happend with Version 30.

I will write you a PM with all the Informations I got.
#14
Nice Update, what about the Bug that sometimes in a certain scenario a Player is not fully disconnected from the Server? With more than 2 Players which only happend with Version 32 and not Version 30?
#15
Bugs and Crashes / Re: [Bugs] Multiple bugs
Dec 26, 2020, 03:55 PM
Quote from: Xmair on Dec 26, 2020, 08:46 AMDescription
Equipping Brass Knuckles kicks you

Reproducible
Always

What you were doing when the bug happened
Testing

What you think caused the bug
No idea

This happends for me only in Server Version 32, never happend for me in Version 30