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 - Nihongo^
1
General Discussion / Re: Game Full screen ?
« on October 25th, 2020, 02:03 PM »
Quote from DizzasTeR on October 25th, 2020, 12:39 PM
Change your display settings, you can reach it in many ways, via windows settings, or via your GPU control panel software. What you need to look for is options regarding scaling. There you have to select "Scale to Full Screen" or something similar.
Thank you so much :) its worked
2
General Discussion / Game Full screen ?
« on October 25th, 2020, 12:05 PM »
How do i make it appear full on my LCD ?

3
Support / Re: Clanstats Not Counting member's Kills and deaths
« on January 10th, 2019, 04:16 AM »
one question what is made a function that assign player a clan tag in the database. does it work ?
4
Support / Re: Clanstats Not Counting member's Kills and deaths
« on January 10th, 2019, 04:07 AM »
I Understand Thanks for giving reply its better to leave this clan system since its buggy.
5
Support / Re: Clanstats Not Counting member's Kills and deaths
« on January 7th, 2019, 02:52 PM »
Quote from ! on January 7th, 2019, 11:58 AM
Quote from Nihongo^ on January 6th, 2019, 06:06 AM
1)
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.
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 ?
6
Support / Re: Clanstats Not Counting member's Kills and deaths
« on January 6th, 2019, 12:39 PM »
.
 
7
Support / Re: Clanstats Not Counting member's Kills and deaths
« on January 6th, 2019, 06:12 AM »
ALso sir if you don't mind i can send you the clan function cuz i don't have idea which function should i need to show you
8
Support / Re: Clanstats Not Counting member's Kills and deaths
« on January 6th, 2019, 06:06 AM »
Hello Sir first of all i am sorry for giving you late reply i was bit busy with my real life activity really apologize

1)
That's what i get after placing the print function


2)
Here's the function
Code: [Select]
  function IncTagKills( Clan )
  {
  local UP = ClanKills( Clan ) + 1;
  QuerySQL(db, "UPDATE ClanStats SET Kills='"+UP+"' WHERE Clan='"+ Clan+"'");
  //QuerySQL( db, format( "UPDATE ClanStats SET Kills='%i' WHERE Clan='"+Clan+"'", UP ) );
  //local query1 = format( "UPDATE ClanStats SET Kills=%i WHERE Clan='"+Clan+"'", UP );
  //::QuerySQL( ClanStats, query1 );
  }
 
  function IncTagDeaths( Clan )
  {
  local DOWN = ClanDeaths( Clan ) + 1;
  QuerySQL(db, "UPDATE ClanStats SET Deaths='"+DOWN+"' WHERE Clan='"+ Clan+"'");
  //QuerySQL( db, format( "UPDATE ClanStats SET Deaths='%i' WHERE Clan='"+Clan+"'", DOWN ) );
  //local query1 = format( "UPDATE ClanStats SET Deaths=%i WHERE Clan='"+Clan+"'", DOWN );
  //::QuerySQL( ClanStats, query1 );
  }

3)
That's what i put on my database the script not reading the CLan Members column if it start reading it then i can put other tags to like MDt MDr etc


For FULL IMAGE

https://postimg.cc/WdM8g62m
   
9
Support / Re: NULL Message appared after getting weapone
« on January 4th, 2019, 07:31 PM »
Quote from Xhefri on January 4th, 2019, 05:19 PM
Code: [Select]
else if ( cmd == "wep" )
  {
  if ( !player.Spawned ) MessagePlayer( "[#fdff00]You need to spawn to use this command.", player );
  else{
   if ( text )
      {
        local wepid = GetWeaponID( text );
        player.SetWeapon( wepid, 1000 );
        MessagePlayer( "[#fdff00]You receive [" + GetWeaponName( wepid ) + "] 1000 ammo." , player );
      }
      else MessagePlayer( "[#fdff00] To get weapon type /wep <name>  ", player );
   }
   }
i have the same cmd how do i block minigun ?
10
Support / NULL Message appared after getting weapone
« on January 4th, 2019, 05:11 PM »
Hi guys i am receving an error "Null0000" after getting weapon how do i fix it ?


Code: [Select]
else if ( cmd == "wep" || cmd == "we" || cmd == "buywep" )
{
 if ( status[ player.ID ].Registered == false ) ErrorMessage( "[#FF0000][Server] - [#FFFFFF]You need to be a part of our community to use this command.", player );
  else if ( status[ player.ID ].Logged == false ) ErrorMessage( "[#FF0000][Server] - [#FFFFFF]You need to be identified to use this command.", player );
  else if ( !text ) return ErrorMessage( "[#FF0000][Server] - [#FFFFFF]/"+cmd+" <wep1, wep2, wep3...>", player );
 else
 {
  local params = split( text, " " ); // Take out the space array
  local weapons; // Create a new null variable which will be holding the list of weapons player took.
  for( local i = 0; i <= params.len() - 1; i++ ) // since the 'len' returns value from 1 and array's starting value point is 0, we will use len() - 1 otherwise we'll receive an error.
  {
   if( !IsNum( params[i] ) && GetWeaponID( params[i] ) && GetWeaponID( params[i] ) > 0 && GetWeaponID( params[i] ) <= 32 ) // if Name was specified.
   {
    player.SetWeapon( GetWeaponID( params[i] ), 99999 ); // Get the weapon ID from its Name
    weapons = weapons + " " + GetWeaponName( GetWeaponID( params[i] ) ); // Add the weapon name to given weapon list
   }
   else if( IsNum( params[i] ) && params[i].tointeger() < 33 && params[i].tointeger() > 0 ) // if ID was specified
   {
    player.SetWeapon( params[i].tointeger(), 99999 ); // Then just give player that weapon
    weapons = weapons + ", " + GetWeaponName( params[i].tointeger() ); // Get the weapon name from the ID and add it.
   }
   else ErrorMessage( "[#FF0000][Server] - [#FFFFFF]Invalid Weapon Name/ID!", player ); // if the invalid ID/Name was given

  }
 
  if( weapons != null ) SendMessage( "[#008000][WEAPONS] - [#FFFFFF]Received weapons: "+weapons+".", player );
  else ErrorMessage( "[#FF0000][Server] - [#FFFFFF]No weapons specified", player );
 }
}
11
Support / Re: Clanstats Not Counting member's Kills and deaths
« on January 4th, 2019, 02:24 PM »
any one ?
12
Support / Clanstats Not Counting member's Kills and deaths
« on January 1st, 2019, 06:14 PM »
Quote from ! on January 1st, 2019, 01:57 PM
RegisterClan( player, Clan, Owner.tolower(ss) );
Why is there ss inside brackets?
Ah shit i think i mistakenly wrote "ss" while pasting Code HERE
there's no "ss" on my command i mistakenly put while pasting it
Quote
The message in the server clearly says that the argument OwnerNick received is empty string.
I've fix that problem sir by putting the old gettok function i am facing an other problem now I've added members on db the script is counting my kills and deats ( AS OWNER NOT MEMBER ) but not counting my member's kills/deaths

check the pic kindly i just killed [MD]Test which mean it has to increase Clan deaths too


Which function should i need to show you ?

here's on player kill function

Code: [Select]
if ( status[ killer.ID ].Clan != null )
{
local Clan = status[ killer.ID ].Clan;
IncTagKills( Clan );
}
if ( status[ player.ID ].Clan != null )
{
local Clan = status[ player.ID ].Clan;
IncTagDeaths( Clan );
}
13
Support / Nick not register Clan bug
« on December 31st, 2018, 02:51 PM »
Hi first thanks to all of you who are helping me
i am trying to put clan system on my script i put clan tag and owner nick but server said that nick ( owner name ) not register while my nick is already on db and i am an admin



cmd
Code: [Select]
else if ( cmd == "addclan" )
  {
  if ( status[ player.ID ].Registered == false ) ErrorMessage( "[#FF0000][Server] - [#FFFFFF]You need to be a part of our community to use this command.", player );
  else if ( status[ player.ID ].Logged == false ) ErrorMessage( "[#FF0000][Server] - [#FFFFFF]You need to be identified to use this command.", player );
  else if ( GetLevel( player ) < 6 ) ErrorMessage("[Server] - [#FFFFFF]You don't have access to use this Command.", player );
  else if ( !text ) ErrorMessage( "[SYNTAX] - [#FFFFFF] /"+cmd+" <Clan-Tag> <Clan-Admin-Full-Nick>", player );
  else
    {
    local Clan = GetTok( text, " ", 1 );
    if ( !Clan ) ErrorMessage( "[ERROR] - Mention Clan-Tag.", player );
    else if ( Clan && IsClanRegister( Clan.tolower() ) ) ErrorMessage( "[ERROR] - [#FFFFFF]Clan [ "+Clan+" ] is already registered.", player );
    else
      {
      local Owner = GetTok( text, " ", 2 );
      if ( !Owner ) ErrorMessage( "[ERROR] - [#FFFFFF]Mention Clan-Admin-Nick.", player );
      else RegisterClan( player, Clan, Owner.tolower(ss) );
      }
    }
  }

Fucntion

Code: [Select]
function RegisterClan( player, Clan, OwnerNick )
  {
  local q = QuerySQL( db, "SELECT Name FROM Accounts WHERE lower(Name) LIKE '"+OwnerNick+"'" );
  if (!q) ErrorMessage( "[#FF0000][Server] - [#FFFFFF]"+OwnerNick+" is not a registered nick.", player );
  else if (q)
    {
    local Owner = GetSQLColumnData( q, 0 );
    QuerySQL( db, "UPDATE Accounts SET Clan='"+Clan.tolower()+"' WHERE Name='"+Owner+"'COLLATE NOCASE" );
    QuerySQL( db, "INSERT INTO ClanMembers ( Clan , Owner, Leader1, Leader2, Leader3, Users  ) VALUES ( '"+Clan.tolower()+"', '"+Owner+"', 'null', 'null', 'null', 'Members:' )" );
    QuerySQL( db, "INSERT INTO ClanStats ( Tag, Clan , Kills, Deaths, Deads ) VALUES ( '"+Clan+"', '"+Clan.tolower()+"', '0', '0', '0' )" );
    QuerySQL( db, "CREATE TABLE IF NOT EXISTS "+Clan.tolower()+" ( Clan TEXT, Member TEXT, Reporter TEXT, Reason TEXT, Date_Of_Report TEXT )" );
    ServerMessage( "Admin "+player.Name+" has registered a new clan:[ "+Clan+" ] clan admin:[ "+Owner+" ]." )

    }
14
Support / Re: Camlook back
« on December 31st, 2018, 02:12 PM »
Thank you so much
15
Support / Camlook back
« on December 31st, 2018, 04:49 AM »
HI my player is stand behind the camera and i want my camlook to watch back can any one help me ? how do i make my camera look back

Code: [Select]
<PlayerPos x="-1075.53" y="-87.1977" z="11.3938"/>
   
<CamPos x="-1067.77" y="-86.4161" z="11.2698"/>
 
<CamLook x="10.100" y="10.300" z="100.77"/>
<WorldBoundaries x1="5000.0" x2="-5000.0" y1="5000.0" y2="-5000.0"/>