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 - !
Support / Re: Weird behavior with classes
« on January 21st, 2019, 03:07 PM »
First of all the justification is not enough or either I am not able to understand the problem. Justify a bit more cause by looking at the example snippet there is nothing wrong and what do you mean by the assignment of same class to newly joined player PS make sure you destroyed the created class upon player leaving maybe this is what is the cause... happens sometimes if not destroyed properly.
Support / Re: Clanstats Not Counting member's Kills and deaths
« on January 8th, 2019, 09:22 AM »
Quote from Nihongo^ on January 7th, 2019, 02:52 PM
I don't find any function that assigned tags ( killer or player )  i am bit confused can i show you some codes via pm ? If you don't mind ?
P.S isn't this clan stats made by u ?
First of all the clan system I released was buggy and was developed when I was not sure how the things work the only reason I removed the topic but that one worked well on a blank server if you still have those files try on a blank server it will definitely work except some bugs in few commands PS contact on discord not this forum PM.

There is a function which assigns the tags to player upon joining but I think the problem is not in that function maybe the player was never assigned a clan tag in the database.

I would still recommend you to leave this clan system and make a new one from scratch rather wasting time on bugs.
Support / Re: Clanstats Not Counting member's Kills and deaths
« on January 7th, 2019, 11:58 AM »
Quote from Nihongo^ on January 6th, 2019, 06:06 AM
That's what i get after placing the print function
And this is the answer to your question in first post.

The player clan was null always means the player was not assigned the clan tag which can be because of a possible bug in a function where the clan tag was assigned upon player join.
Support / Re: Clanstats Not Counting member's Kills and deaths
« on January 4th, 2019, 04:10 PM »
Without source or any detail info I can simply throw some steps to follow and post the result here


1. Make sure if the clan tag of player is not null for a simple debug use this inside onPlayerKill
Code: [Select]
print( "Killer clan is: "+status[ killer.ID ].Clan );
print( "Killed player clan is: "+status[ player.ID ].Clan );
If both of the clans are not null procede to step 2

2. Post the IncTagDeaths( Clan ); maybe there is something wrong in this function which cause the bug.

3. Make sure the clan is registered with proper tag in the database and both the tag in players account and in clans match.
       For sure this step is not necessary cause the kills has been increased means the tags are correct and match, but who knows what you have done in the source maybe you messed a line which cause a bug to update a different tag.
Clans and Families / Re: Register my clan
« on January 3rd, 2019, 04:32 PM »
Quote from Fisher on January 2nd, 2019, 01:34 PM
Mathura I send again???
If I am not wrong you meant @MatheuS not Mathura.
Support / Re: Gui read the data base ?
« on January 1st, 2019, 02:11 PM »
Support / Re: Nick not register Clan bug
« on January 1st, 2019, 01:57 PM »
RegisterClan( player, Clan, Owner.tolower(ss) );
Why is there ss inside brackets?

The message in the server clearly says that the argument OwnerNick received is empty string.
Quote from John on December 13th, 2018, 11:20 AM
Hi, is there a way to log every single command/thing a player writes in the server?
Yes there is a way by printing information from each event that you want to track.The print function log to server_log.txt by default.
Scripting and Server Management / Re: GameResize (Client Size)
« on November 15th, 2018, 06:01 PM »
Quote from umar4911 on November 15th, 2018, 11:13 AM
The problem still persists
The only reason I told you to create a test script producing same bug and post here so others can point out the problem.
Tested and working perfect

Tested for 3 labels at the same time working perfect for all of em

Scripting and Server Management / Re: GameResize (Client Size)
« on November 8th, 2018, 08:10 AM »
Solution for others Change the size before changing the rel position of a GUI.

@umar4911  check if I am not wrong

Code: [Select]
function GUI::GameResize(width, height)
   local rel = GUI.GetScreenSize();
   WelcomeScreen.Information.FontSize = rel.X * 0.06;
   WelcomeScreen.Information.Position = VectorScreen(rel.X * 0.28, rel.Y * 0.10);
Scripting and Server Management / Re: GameResize (Client Size)
« on November 4th, 2018, 05:06 PM »
For a correct possible solution make a test code which produce the same bug and post here because the problem is in the script not client side issue or anything.
Same as @Doom_Kill3R did without source one can put a suggestion nothing else.
Scripting and Server Management / Re: GameResize (Client Size)
« on November 3rd, 2018, 03:16 PM »
Quote from umar4911 on October 27th, 2018, 02:30 PM
The GUILabel dont get to the expected position. However, the size does

Code: [Select]
this.Information <- ::GUILabel(VectorScreen(screen.X * 0.28, screen.Y * 0.10), Colour(28, 174, 190), "Registeration");

Code: [Select]
function GUI::GameResize(width, height)
screen <- GUI.GetScreenSize();
WelcomeScreen.Information.Position = VectorScreen(screen.X * 0.28, screen.Y * 0.10);
WelcomeScreen.Information.FontSize = screen.X * 0.06;
Why creating new slot of screen under GameResize(width, height)
I am pretty sure you might have created a new slot of this variable at somewhere else but still not sure if creating a new slot again and again in client side is allowed any way try using a local variable with a different name instead maybe it is because of overriding new slot.
Code: [Select]
function GUI::GameResize(width, height)
   local rel = GUI.GetScreenSize();
   WelcomeScreen.Information.Position = VectorScreen(rel.X * 0.28, rel.Y * 0.10);
   WelcomeScreen.Information.FontSize = rel.X * 0.06;
General Discussion / Re: Hello everyone
« on October 31st, 2018, 03:57 PM »
Quote from =RK=MarineForce on October 31st, 2018, 03:42 PM
ErgiTheNoob if u want be a pro and beat some ass come to me i  will train xD but WELCOME FIRST :D
Is this a clan forum to you?
Off-Topic General / Re: Download Vcmp Scripts On Blog
« on October 22nd, 2018, 12:11 PM »
PS we have the wiki we don't need any blog.
Off-Topic General / Re: Download Vcmp Scripts On Blog
« on October 21st, 2018, 07:04 PM »
Is a fuck from beginning and is in the wrong section any mod move this shit to off board clearly advertisement in Scripting board no credits nothing at all.