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.

Messages - vcmptr
1
Off-Topic General / What Happened to vcmp.liberty-unleashed.co.uk
« on January 13th, 2019, 06:28 PM »
Anyone know what happened to vcmp.liberty-unleashed.co.uk? It's only shows blank page.
2
Bugs and Crashes / Run on the ground
« on January 21st, 2017, 08:21 PM »
When i crush someone with a car they are falling but still running.

www.youtube.com/watch?v=KGUeV-EJf-M
3
General Discussion / Re: Translate for VCMPBrowser
« on July 7th, 2016, 05:21 PM »
I can tranlate Turkish.
4
I just wonder: Server owners can be overload clients (and unavailable/lock Windows) with client-site scripts?
5
SLC's Squirrel Plugin / Re: Features you'd like to see.
« on April 19th, 2016, 10:39 PM »
HTTP page downloader. Like this. I've tried with sockets but I could not.
6
ysc3839's VC:MP Launcher / [PREVIEW] Re: New VCMP browser
« on March 27th, 2016, 05:45 PM »
If you need Turkish translator PM me. :)
7
Bugs and Crashes / All Servers Not Loading First Time
« on November 21st, 2015, 08:40 PM »
If I want see all servers I must refresh list few times. Please watch the video.

https://youtu.be/SIjY0-ik6Yo
8
Scripting and Server Management / Re: HTTP with Sockets
« on August 8th, 2015, 11:49 AM »
Quote from ysc3839 on August 8th, 2015, 07:42 AM
A very simple HTTP request.
Code: [Select]
function HTTP()
{
Socket <- NewSocket("DataFunc");
Socket.SetNewConnFunc("ConnFunc");
Socket.Connect("www.example.com", 80)
}

function DataFunc(data)
{
print(data);
}

function ConnFunc()
{
local request = @"GET / HTTP/1.1
Host: www.example.com

";
Socket.Send(request);
}
Thanks ysc! :)
9
Scripting and Server Management / HTTP with Sockets
« on August 8th, 2015, 01:43 AM »
Can I get HTTP page content using sockets? I don't know how to use socket but if it's possible I will try learn use sockets.
10
Snippet Showroom / [Temporary] Re: Print Slicer
« on July 22nd, 2015, 02:19 PM »
Quote from S.L.C on July 22nd, 2015, 02:17 PM
Quote from vcmptr on July 22nd, 2015, 02:10 PM
You are man! :D
But that's what it says on my profile, doesn't it? :-\

Hmm okay... ???
11
Snippet Showroom / [Temporary] Re: Print Slicer
« on July 22nd, 2015, 02:10 PM »
Quote from S.L.C on July 22nd, 2015, 12:30 PM
You guys know you can backup the original print and overwrite it with your own without needing to change everything in your script to use `print2`. Like this example:
Code: [Select]
local PrintBackup = print;
print <- function(msg)
{
    PrintBackup("Now calling the actual print");
    PrintBackup(msg);
}

print("Testing overwrite");

Thus, allowing you to implement a fragmented print function.
Code: [Select]
local PrintBackup = print;
print <- function( msg )
{
    for (local n = 0, m = msg.len(); n < m; n += 512)
    {
        if ( (n + 512) > m )
            PrintBackup( msg.slice( n ) );
        else
            PrintBackup( msg.slice( n, (n + 512) ) );
    }
}

In case the issue is unbearable. I never had to deal with strings that long tbh :-\
You are man! :D Thanks!  I will update script. :)
12
Snippet Showroom / [Temporary] Print Slicer
« on July 22nd, 2015, 12:14 PM »
This bug still not fixed. I can't wait for fix. I created temporary print function.

Code: [Select]
function PrintSlicer()
{
local PrintBackup = print;
print <- function(string)
{
if(string!=null)
{
string = ""+string+""
if(string.len()>512)
{
  local x = string.len()/512;
  local cpt = 0;
  for(local i = 0; i != x; i++)
{
   cpt += 512;
   PrintBackup(string.slice(cpt-512, cpt));
}
  PrintBackup(string.slice(cpt, (cpt+(string.len()%512))));
  PrintBackup("Sliced prints ("+(x+1)+" slices) ");
}
 else PrintBackup(string);
}
}
}
How to apply?
Just call function in onScriptLoad.
13
Map Showroom / [Re-Textured] Re: Mansion Roads
« on July 15th, 2015, 11:07 AM »

14
Scripting and Server Management / Re: Happy minute
« on July 14th, 2015, 01:29 PM »
Quote from S.L.C on July 14th, 2015, 12:41 PM
Quote from vcmptr on July 14th, 2015, 12:38 PM
Someone explain me what does mean happy minute? ???
Is that moment when you realize how stupid this topic really is and you end up laughing for a minute or so ;D It's called "happy minute" or "happy minute(s)" in some cases.
:D
Quote from subhamrocks on July 14th, 2015, 12:59 PM
Quote from vcmptr on July 14th, 2015, 12:38 PM
Someone explain me what does mean happy minute? ???
Is That Moment in VCCNR Server When a robbber rob  a shop he got random cash.
Thanks. :)
15
Scripting and Server Management / Re: Happy minute
« on July 14th, 2015, 12:38 PM »
Someone explain me what does mean happy minute? ???