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

#16
What if two person play on the same computer. Your implementation is very poor. I wouldn't bother to recommend your script to ANYONE.
#17
Multiple users on a single pc = broken script
#18
Quote from: vito on Apr 15, 2016, 01:44 PM
Quote from: KAKAN on Apr 15, 2016, 12:33 PMThen what's OOP? Explain pl0x. I thought the initialized classes or objects were the OOP thing
private and public methods, interfaces, inheritance, factories. a lot of stuff to organize code to be flexible.
actually it's not needed to vc-mp.
This whole OOP thing is a bit off topic. Here is my opinion on this. While you can script without the need for OOP in VC:MP, that doesn't mean it's not needed. As a matter of fact, the only reason why OOP is not that prominent in VC:MP is down to the fact that the scripters themselves don't know how to take advantage of this to create bigger and better servers.

Edit: Just remembered that Squirrel also lack abstract classes and interfaces. It can be overcome with clever techniques though and can still work. *cough*Javascript*cough*
#19
No indentation, (OMG ARE YOU BLOODY SERIOUS???)



function onPlayerJoin( player )
{
Message(""+player.Name+" Connected");
local y = QuerySQL(DB, "SELECT Level FROM PlayerAccount WHERE Name='" + player.Name + "'" );
if ( y <= 0 ) MessagePlayer("Hello and welcome to the server. Please /register to register in the server", player);
else if ( y >= 0 ) MessagePlayer("Welcome Back. Please /login to continue", player);
}

What? We all know that y will never equal to 0 but if y is 0, your script still wouldn't properly work. Go figure...



QuerySQL(DB, "SELECT Level FROM PlayerAccount WHERE Name='" + player.Name + "'" );
I don't know about you guys, but I find using `table_name` more secure in potentially conflicting names.



function onPlayerPart( player, reason )
{
Message(""+player.Name+" left the server.");
SaveStats(player);
}

function SaveStats(player)
{
QuerySQL(DB, "UPDATE PlayerAccount SET Level=" + stats[ player.ID ].Level + "" );
}

What? Useless function is useless...



else if (cmd == "register")
{
...
local Password = text;
local lvl = 1;
...
}

else if (cmd == "login")
{
...
local Pass = text;
...
}

What? Useless variables are useless...



class PlayerClass
{
Level = 0
}

What? This is suppose to be a useful class but it was made useless. Useless class is useless.



I don't know if it's possible, but my suggestion would be to lock this topic and remove the download link until the author of this script can fix and test it properly.
#20
I don't know if any of you noticed this but some of your own Wiki contributors are not even following the guidelines set out by the developers which leads to wonder if the wiki is even monitored in the first place.
#21
Afaik, WinRAR can't create 7zip archives (.7z). You need to download the 7zip software
#22
Off-Topic General / Re: Anti-DDOS!!!
Feb 27, 2016, 12:24 PM
And if they DDOS your DDOS machines. ::)
#23
Servers / Re: [0.4] Argonath RPG 3.0
Jan 23, 2016, 02:20 PM
Developer Diary - New Mini-Missions

Hello Argonathians,

The last 2 mini-missions were a success. Many players who tried them out love 'em. Haven't tried it out yet? Head in-game and experience it yourself! As we inch closer to the release of the highly anticipated Bank Rob, we wanna treat out players to another 2 more similarly themed mini-missions to get players hyped up. Here they are,



Diamond Heist

Businesses are blooming all over Vice City. The jewel stores in the city are stock piling tons of diamonds to sell to their customers. Based on the classic robbery, players will have to rob a jewel store and protect the lead robber while doing so for not 1, not 2 but 5 minutes! After successfully surviving that, they have to sell the diamonds to the dealer at the Old Warehouse, Vice Port. (The place where Lance's brother got killed in the opening cut-scene. Don't know where it is? Go and player Single-player and watch the first cut-scene. :D) How much could you get from this?
  • Jewellery Shop, NPM: $500 - $1,000
  • Jewellery Shop, Vice Point: $750 - $1,200
  • Jewellery Shop, Downtown: $1,000 - $1,400



Armoured Truck

Bearer bonds. Every criminal wants it. This mini-mission is all about driving skills. Players will have to drive a bullet-proof Securicar parked behind V.A.J Finance, Downtown (The place where you first pick up Candy Suxx. Don't know where it is? Go play Single-player until you buy the Film Studios and play their first mission. :D) and drive it all the way to either 8-Balls Garage, Vice Port for criminals or the back of El Banco Corrupto Grande, Little Havana and unload the goods with up to $500 for cops and $1,000 for criminals. Think it's gonna be an easy ride? Think again.



More mini-missions as well as new scripts will be added to the server in the future. Until then, head in-game and experience it for yourselves.
#24
Servers / Re: [0.4] Argonath RPG 3.0
Sep 15, 2015, 11:59 AM
Hello Argonathians,

While we wait for Axxo's next Developer Diary about the drug garnering system, let's take a look at a new addition to Argonath VC:MP; Mini-missions. Mini-missions were introduced into the server to give criminals more money-making opportunities as well as to provide some role-playing action. All mini-missions require a minimum of 2 cops and 2 civilians to begin, so gather your friends and let the fun begin. What are the available mini-missions you asked?

1. Washed Up
Crates were spotted being washed up to beaches and shores all across Vice City. When you are notified about the crate, find it and sell it. You can receive up to a maximum of $1,200! But be careful, the cops will be on the hunt for the same crate to confiscate it so be quick.

2. Pirate's Treasure
Back to the days of the old smuggle (1.9). The pirates are back and they have stashed some valuables on the abandoned sea shack. With crates worth up to $3,000, it's no wonder the cops are also after this crate. Get a cop too close and you'll be wanted. Do it while no one is watching, and the cash are all yours.

More mini-missions will be added in the future. Until then, head in-game and try the new mini-missions out for yourself.
#25
Quote from: S.L.C on Aug 16, 2015, 02:10 PMIsn't LU a dead project ? :-\
LU is probably undergoing a phase VC:MP had when transitioning from 0.3 to 0.4.
#26
Quote from: Thijn on Aug 16, 2015, 01:13 PMYou should teach yourself to spam CTRL+S like crazy when coding. You can probably not do it enough.
I have an editor with auto-save but I still spam CTRL+S every time I finish one line of code. ::)
#27
Even though the developers of LU and VCMP are working together, I don't think a unified browser would even be practical for those who only play on one of the game and not the other.
#28
Quote from: Ksna on Jul 11, 2015, 07:41 AMSorry for bump
Thanks Fuzzie ,
When a registered player join , he is able to register again if he is not automatically logged in.
Sorry for the late reply. Thanks for the fix but the /register command and the files associated with it in the Sample Script folder are just a sample script and was not part of the main file in the first place. I wasn't expecting anyone to use the sample script as part of their script, hence the reason why I didn't bothered doing a full bug check.
#29
Servers / Re: [0.4] Argonath RPG 3.0
Jul 27, 2015, 12:03 PM
Quote from: Stormeus on Jul 27, 2015, 09:09 AM... if your ping is low enough.
Or high enough the rest doesn't get loaded. :D
#30
I'd rather wait for official NPC support then to add characters as custom objects. I can only imagine the horror.