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

#76
Well honestly if my competence level was up there to all of this, I'd have a go at it mainly for familiarity's sake but I think I see what you're saying with these vulnerabilities; to create exceptions for all these possible weak points that are able to crash the server, maddening. So then that makes me wonder who's the team behind LW because based on their server description, it seems their pulling off C++ for the most part.

As a newbie that aspires to write his own code instead of editing someone else's to fit my needs, where should I go? It was advised that I should learn C++ to get a familiarity with the syntax that is going to be used in Squirrel and the different function qualities I may call upon to solve varying scenarios. And because of it I did understand some of the things when I look at sample scripts but what I can't understand for example is the linking of complementary files.

For example there is a sample script that was posted by rObInX of an ADM server. This server has 4 scripts. A main script that houses mainly player related functions, a functions script that holds his events, an admin scripts for admin commands and an echo script for IRC channels. In none of these scripts have I seen anything that even looks remotely like the main script is calling on the others so I just assumed that the server.exe just reads each script and loads them. So I copied these extra scripts over into a VCMP Blank Server template I have to see if they will work and they did not so I checked through every other supporting files to see if there was some linkage happening in the codes and I'm not seeing it but I didn't see anything out of the ordinary in server.conf and server.cfg.

Also the documentation that I'm seeing for learning Squirrel is a referencing document and not a true guide like there is for Pawn VCMP. So idk where to go to start coding something for my server. I just feel stuck
#77
Please Note: I'm 100% fresh to the scripting world and generally fresh to the programming world (C++ that is) so to some things I may say like I know it, I assure you, guidance may be needed everywhere so please bare with me.

Okay so I saw a post by Stormeus explaining that C++ is usable due to plugin SDKs available so that you can make your own plugin. From my presumption, it would appear that I'd have to get some IDE type program that is able to compile a dll file with the specified header details and input the C++ function library in it to make it work as a plugin ready for use with server.exe. But if it was that "simple" then where's a sample dll for something like this? Something called c++04rel64.dll or something if I'm having the right idea behind all this? Or is that if I make write a set of functions right now in C++ style and save it as main.nut everything works.

Being a beginner is not bliss. Someone please clarify C++ support and 0.4 and the steps necessary for it to work if any with me please. A lot of the processes behind getting into scripting isn't really in layman's terms.
#78
Also if by any chance you find that the 32 bit version of the redistributable files cannot install, make sure to install Windows Update KB2883200
#79
Quote from: Beztone on Apr 22, 2015, 11:21 PMYou can increase the ammo inside the script onPlayerSpawn

if ( GetSkinID(player.Skin) == YOURIDNUMERIC )
{
player.SetWeapon(id, ammo);
player.SetWeapon(32, 9999);
}

Ah, looks like I've done everything capable of server.conf then, time to move on to scripting this thing. Thanks for the help man
#80
ah bummer, i think this should be worked on if its in the realm of possibility. Also without creating a double post I ran into another problem. I haven't started writing scripts yet, maybe that's where I need to go but basically I'm trying to get the ammo of the weapons past the 200s to 9999 values but I find it strange that 9999 doesnt give me that, 500 gives me like 244, 800 gives me like 145 or so, 400 gives me 14, idk what the hell is going on with that . How do I set 9999 ammo in server.conf?
#81
The idea here is to split the entirety of gta vc map into 5 different sets, 4 of them are chunks of the map and 1 is the entire map itself. The full map one might need a workaround maybe after establishing boundaries (a map on top of a map I presume?) but what about the 4 chunks, is it possible to set multiple boundaries on the map and interchangeably spawn to them?