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

Topics - MEGAMIND

#1
Support / sending command via client side
Oct 30, 2024, 12:07 PM
Sup everyone actually i am trying to achive send command from client side scripting

what ive tried so far

server side
m <- BindKey(true,0x4D,0,0); //gamemodes

function onClientScriptData(player) {
     local type = Stream.ReadInt();
if (type == 302) {
        Stream.StartWrite();
        Stream.WriteInt(302);
        Stream.SendStream(player);
    }
if (type == 303) {
     Stream.ReadInt(303);
    MessagePlayer("u r in drift", player);
    onPlayerCommand(player , "drift", "");
  }
}

functions
function onKeyDown(player,key)
{
if( key == m )
{
if(player.World == 1)
      {
       Stream.StartWrite();
        Stream.WriteInt(302);
        Stream.SendStream(player);
}
}
}

client side
function Server::ServerData(stream) {
    local StreamReadInt = stream.ReadInt();
    local StreamReadString = stream.ReadString();

    switch (StreamReadInt.tointeger()) {
             case 302:
            GUI.SetMouseEnabled(true);
            ::spritedrift <- GUIButton(VectorScreen(400,380), VectorScreen(200, 22), Colour(75,75,75), "drift", GUI_FLAG_BORDER | GUI_FLAG_VISIBLE);
            //::spritedrift <- GUISprite("drift.png", VectorScreen(1000, 600));
            //::spritedrift.Size = VectorScreen(50, 50);
            break;
           
           
    }
}



function GUI::ElementClick(element, mousex, mousey)
{
  GUI_ServerLogs.ElementClick( element );
  if (element == spritedrift) {
   Console.Print("Hello. welcome to VCMP")
    local message = Stream();
    message.WriteInt(303);
    Server.SendData(message);
    GUI.SetMouseEnabled(false);
    ::spritedrift <- null;

  }
}
aim is to click a sprite that executes drift command

@habi2 @vito
#2
Videos & Screenshots / Chatgpt conciuosness
Oct 28, 2024, 01:58 PM




making server and chatgpt understand eachother
#3
Videos & Screenshots / chatgpt in VCMP Server
Oct 27, 2024, 04:23 PM
#4
General Discussion / A.I Powered Server
Oct 26, 2024, 09:40 PM






Took me around 8 hours..!

Command usage /chatgpt ask anything here

ill try it on playerchat as well if all goes well will release the script soon too public



here is an hindi and urdu version while taking to mee some fun..!

#5
Off-Topic General / A.I Powered
Oct 26, 2024, 03:14 PM


Well not as perfect as the real chatgpt a.i but gets your work done..!

not available for public yet working on it more

By the way @habi2 how about a A.i powered server :P

its still in learning stage dont expect much
#6
General Discussion / plugin conflicts
Oct 24, 2024, 09:02 PM
Well ive been adding plugins i want and checked that few of the plugins dont like to work with eachother lets says habi's logfile maker it doesnt logs out everything, what could be the issue also theres that if i remove few plugins then the logfile maker works...!

well my plugins list

plugins squirrel04rel64 sqlatestfeatures04rel64 announce04rel64 xmlconf04rel64 ini04rel64 sqlite04rel64 sockets04rel64 hashing04rel64 mysql04rel64 rcon04rel64 vcmp-squirrel-mmdb-rel64 logfile64 appchat04rel64 webnet64
#7
General Discussion / plugin version
Oct 24, 2024, 05:47 PM
how can we update our plugin to the latest version example 0.4.7.1 like what stuff needs to be changed?

// Plugin information
    pluginInfo->pluginVersion = 0x110;

does this defines? the version to be updated or is the version somewhere else?
or does the vcmp.h file needs to be changed?


Edit: checked and placed the new vcmp.h file and it worked..!
#8
Off-Topic General / Remmeber this .. ?
Oct 18, 2024, 06:39 PM


had tons of servers a huge playerbase missing it..! well guess our generation has grown much thats why we have lost players maybe new generation doesnt know the fun in vcmp

and when vcmp finaly launched its first test server version

04beta_t1b1 & 04beta_b2t1



i even have the ip for it  94.23.157.172:8192.. and there was all of the roads,over heads, bridges, huge tommy back in 2012 then i left in 2013 and came back again to vcmp i had the old vicecitymultiplayer website saved but that never worked again thoght it might have been dead but then new forum showed up and all of a sudden u have a newer version old everything and every one was gone.. maybe few oldies are still here with name changed.. but it was a good time i registered back in 2015 again since then ive been playing, before i started playing in 2011


yes i am this old
#9
Off-Topic General / MEGAMIND'S Lu Browser
Oct 18, 2024, 03:53 PM
Its not promotion towards Lu but some may find changes so yet again i made a browser for lu too Topic




#10
Well its one of my codes from tune vehicle
        player.Vehicle.SetHandlingData(29, -3); //geen front
        player.Vehicle.SetHandlingData(29, -2); //orange front
        player.Vehicle.SetHandlingData(30, -7); //green rear
        player.Vehicle.SetHandlingData(30, -6); //orange rear
        player.Vehicle.SetHandlingData(30, -5); //red     
that changes headlights and rear lights, but i have a feeling that these are trafic lights in gta vc that are somehow hard coded in server.exe for vehicles front and back lights

tell me im wrong, these lights are real and can be seen in some mission, if yes pls refer me the mission too, otherwise i request the devs or scripters that is there a way to add neons to a car too? below it? or play with cars shadow or add a sprite or something below it? also add custom objects too it like spoiler bumper etc? as in samp

@Sebastian @habi2
#11
function onSetVehicle3DArrowEnabled(vehicleId, playerToShowId, enable)
{
if (( vehicle.ID == 198)||( vehicle.ID == 32))
{
Message("[#FFFFFF]hiiiiiiiiiiiiiii!");
}
}
is it right  or em a not aware of docs? wiki
#12
General Discussion / master.adtec.ovh
Sep 22, 2024, 02:54 PM
https://master.adtec.ovh is it possible to view servers from this url? kindly let me know the exact url other then  https://master.vc-mp.org/servers & https://master.thijn.ovh/servers
#13
just a random thought that is the vcmp-game.dll thats responsible for downloading the store files from the server or is the browser?

bcz if it is the dll then whats making it do so? logic..
#14
General Discussion / MEGAMIND'S VCMP BROWSER
Sep 08, 2024, 03:36 PM

Features
  • Modern UI
  • Auto updater
  • Search for server
  • Toggle most players in all servers

Requirements:

&

Download:


suggestions are welcome

Note: More updates are on its way..! The vcmp browser will self auto update u wont need to download again and again..!

#15
Off-Topic General / ID for VC-MP Android App
Sep 02, 2024, 07:32 PM
yet again was bored and didnt had much to do so went off to samp and check out what they r upto when i came across one of there apps as ID for SAMP and ID for Lu so decided to make one app for vcmp as well, like why not? atleast we get wiki dead sometimes so i decided to take some id and make an app for it, ill be soon covering the whole wiki so that next time wiki goes down we may have a complete wiki inside an app (dont think i will embed a url to an app no..!) as i made this app for vcmp ill make the wiki complete inside this app too, so as the title says ID for VC-MP is ready and now u can use ids without gettibg out of the game again..!

#16
General Discussion / VCMP Forum APP
Aug 26, 2024, 04:00 PM
Well it all started here

Now releasing v1.1.3 can be downloaded from playstore in order to make this app working with your server a custom plugin has been developed on my request by [ credits to @habi2 ] for making this plugin and contributing with me in this project..!

Working:
To make the app work with server u need a plugin and also go through the documentation

How does it work?


Currently for vcmp server the messages are not customize-able bcz we want to keep the vc styles colored theme for the chat message and will always be displayed as below



The function SendWebMessage("Hello, from server"); can be used anywhere in ur server to send messages back to VCMP Forum App
#17
General Discussion / Thijin web browser
Aug 21, 2024, 08:53 AM
https://thijn.minelord.com/stats/vcmp/ i beleive thia doesnt work anymore cuz ive been noticing it for 3 days, it has same player count and same count of numbers

are we going to get a udate on it? @Thijn
#18


was just roaming around the forum when i saw the Post and decided to make it..

Quote from: EightyVice on May 01, 2016, 04:45 PMI tried it is only browser for page www.forum.vc-mp.org
The best to make it RSS reader for this forum to read it offline
And have notifications

Every 5 mins msg will be recieved about the latest post in vcmp, if theres no latest post it will display the previous post until new post is up..!

Download vcmpforum.apk

Source

#19
sharing an invite link for https://discord.gg/BDka3BNT3u cordova.js developers if any one might be interested they can join and create android apps based on html,js,css for android or ios https://cordova.apache.org/ as the platform it self is awsome but there was no discord chanel for it, so decided to make one

Note: its not for vcmp related coding, but someone interested to make an app for vcmp can use it
#20
Support / Store URL
Jul 06, 2024, 11:41 AM
Quote from: AdTec_224 on Jul 05, 2024, 09:15 PM
  • Added support for http downloads using server config option 'storeurl' followed by the url to the root of the store

in server.conf?
example:
<storeurl>https://somedaomain.com/store/</storeurl>
pls do clear anyone with the knowledge or provide and example as so update the wiki as well.. Thanks
as i couldnt find the method in the source