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

Pages: 1 [2] 3 4 ... 45
16
General Discussion / Re: Official version
« on: September 30, 2014, 07:38:38 pm »
One of the best functions of 0.4 for developers/scripters. What others said, just handle it with scripts if you don't want multiple people from the same PC at the same time.

17
Script Discussion / Re: Cannot Create a Symbolic Link
« on: September 29, 2014, 10:59:51 pm »
That seems fine, you can remove that file now.



Go to your server directory (the one which should have your database file, and scripts), and post the output of ls -lha

18
Script Discussion / Re: Cannot Create a Symbolic Link
« on: September 29, 2014, 07:54:48 pm »
Place this in a new file and post a link to the file here:
Code: [Select]
<?php
phpinfo
();
?>


19
Script Releases / Re: gotoloc system
« on: September 28, 2014, 07:03:41 pm »
2. Don't save positions in a string, save the x y z as floats separately.
I agree with sving the x y z as floats but we can also add them in only one column . and we can use the split function.Saving saperatly will make 3 extra column in database
The more operations you would need to get the coordinates out of the database, the more time it will take and the more lag it will create.
SQLite is made for proper saving, so having 3 different columns with x, y, z is going to be more efficient then saving them all in one.

This will allow to have funky calculations as well. Like list all positions within a certain radius. Or list all positions near the player. Very useful for admins.

20
Script Releases / Re: gotoloc system
« on: September 28, 2014, 06:05:50 pm »
1. Could've at least made the name of the columns English
2. Don't save positions in a string, save the x y z as floats separately.

Also, I don't think stats[ player.ID ].Login is a bit script specific. Might be nicer to remove all custom things, like the level.

21
Script Discussion / Re: Cannot Create a Symbolic Link
« on: September 28, 2014, 06:01:25 pm »
I don't know where MadKiller's script wants the database, but I see your stats_url is wrongly copied.

If you're okay with permissions, you can just put /root/efe/efe/Files/DataBase.db in that variable. It should work atleast, I don't know how his script works.

22
Script Releases / Re: Position System
« on: September 28, 2014, 05:04:56 pm »
Ouch, that will spawn an infinite timer every time a player presses F3 two times.
It's better if you use one, infinite timer that will loop through all the players and update the text if they have the system enabled. That way you'll only end up with one timer overall, instead of a million after your server has run for an hour or two.

23
Resolved Bug Reports / Re: Server Port and Master List
« on: September 28, 2014, 01:24:40 pm »
Try one of these plugins, depending on the version of the server you're running:
32 bit
64 bit

24
Resolved Bug Reports / Re: [Can't Repro.] Can't install VCMP
« on: September 28, 2014, 01:05:21 pm »
Run as admin.

25
Script Releases / Re: Position System
« on: September 28, 2014, 01:04:27 pm »
Code: [Select]
if(showpos[player.ID]==false)
Should be
Code: [Select]
if(!showpos[player.ID])

Same with true, you don't need that there.
Also, there's no point in checking if it's true in an else if if the previous statement was false. It's either true or false.
Code: [Select]
if(!showpos[player.ID]) //player will have it false when it enters the game
{
}
else
{
}

And obviously what heekzs said, the timers are bad. Really bad.

26
Script Discussion / Re: Cannot Create a Symbolic Link
« on: September 28, 2014, 12:58:41 pm »
First of all. Don't ever run the server as root. For fucks sake people. This is common sense.
Second, that should work fine. As you can see from the ls command it is symlinked, and should have the correct permissions. Make sure you have the name right in your config file, it is case sensitive.

28
Resolved Bug Reports / Re: Server Port and Master List
« on: September 25, 2014, 04:56:37 pm »
I think one of your servers didn't load it correctly then. When I start 2 servers with 2 different ports and enable the announce plugin they both show up:

29
General Discussion / Re: pawno for 0.4
« on: September 25, 2014, 04:50:01 pm »
Yes, you will need to code your own plugin (in C/C++) to be able to use pawn.

30
General Discussion / Re: Hamachi Servers
« on: September 25, 2014, 04:40:38 pm »
You could, but I doubt anyone will join. Hamachi is very insecure I wouldn't want to use it for whatever reason.

Pages: 1 [2] 3 4 ... 45