Gros probléme serveur

Moderators: Khan-, SirWinston


Johndaral
True Believer
 
Posts: 3
Joined: 21 Feb 2016, 20:12

Gros probléme serveur

Post by Johndaral » 21 Feb 2016, 20:34

Bien le bonjour,

alors je vais vous présenter le problème je possède un serveur on as voulu supprimer les arbres alors que le serveur tournée.. cela as eu pour effet quand tu voulais couper un arbre il rester présent et la buche a coté donc on as voulu relancer le serveur et la... c'et le drame tous les client reste bloquer pendant le chargement.. il y as donc un problème dans la base de donnée mais impossible de trouver ou...
si quelqu'un as une solution se serais vraiment magnifique merci


Bastiense104
 
Posts: 16
Joined: 18 Feb 2016, 17:07

Re: Gros probléme serveur

Post by Bastiense104 » 21 Feb 2016, 21:52

Tu as fait quel manip pour supprimer les arbres ???


Johndaral
True Believer
 
Posts: 3
Joined: 21 Feb 2016, 20:12

Re: Gros probléme serveur

Post by Johndaral » 21 Feb 2016, 23:47

la commande dans la base de données es la bonne c'est le comment elle as était faite on la fait serveur allumer et non éteint (on as refait la manip sur un autre serveur quand il éteint cela fonctionne quand il es en route et que tu restart même problème complètement bloquer dans la page de chargement ....


Bastiense104
 
Posts: 16
Joined: 18 Feb 2016, 17:07

Re: Gros probléme serveur

Post by Bastiense104 » 22 Feb 2016, 00:32

Et c'est quoi comme commande que tu fais ???


Johndaral
True Believer
 
Posts: 3
Joined: 21 Feb 2016, 20:12

Re: Gros probléme serveur

Post by Johndaral » 22 Feb 2016, 12:06

alors voici la commande:

DELETE forest, forest_patch
FROM forest, forest_patch
WHERE forest.GeoDataID = forest_patch.GeoDataID AND
forest.Quality < 80;

SET @c442 = 1;
SET @c443 = 1;
SET @c444 = 1;
SET @c445 = 1;
SET @c446 = 1;
SET @c447 = 1;
SET @c448 = 1;
SET @c449 = 1;
SET @c450 = 1;

UPDATE forest_patch
SET Version = @c442:=@c442+1
WHERE TerID = 442;

UPDATE forest_patch
SET Version = @c443:=@c443+1
WHERE TerID = 443;

UPDATE forest_patch
SET Version = @c444:=@c444+1
WHERE TerID = 444;

UPDATE forest_patch
SET Version = @c445:=@c445+1
WHERE TerID = 445;

UPDATE forest_patch
SET Version = @c446:=@c446+1
WHERE TerID = 446;

UPDATE forest_patch
SET Version = @c447:=@c447+1
WHERE TerID = 447;

UPDATE forest_patch
SET Version = @c448:=@c448+1
WHERE TerID = 448;

UPDATE forest_patch
SET Version = @c449:=@c449+1
WHERE TerID = 449;

UPDATE forest_patch
SET Version = @c450:=@c450+1
WHERE TerID = 450;

SET @c442 = (SELECT Max(Version) as max FROM forest_patch WHERE TerID = 442 ORDER BY TerID);
SET @c443 = (SELECT Max(Version) as max FROM forest_patch WHERE TerID = 443 ORDER BY TerID);
SET @c444 = (SELECT Max(Version) as max FROM forest_patch WHERE TerID = 444 ORDER BY TerID);
SET @c445 = (SELECT Max(Version) as max FROM forest_patch WHERE TerID = 445 ORDER BY TerID);
SET @c446 = (SELECT Max(Version) as max FROM forest_patch WHERE TerID = 446 ORDER BY TerID);
SET @c447 = (SELECT Max(Version) as max FROM forest_patch WHERE TerID = 447 ORDER BY TerID);
SET @c448 = (SELECT Max(Version) as max FROM forest_patch WHERE TerID = 448 ORDER BY TerID);
SET @c449 = (SELECT Max(Version) as max FROM forest_patch WHERE TerID = 449 ORDER BY TerID);
SET @c450 = (SELECT Max(Version) as max FROM forest_patch WHERE TerID = 450 ORDER BY TerID);

UPDATE terrain_blocks
SET ForestVersion = @c442
WHERE ID = 442;

UPDATE terrain_blocks
SET ForestVersion = @c443
WHERE ID = 443;

UPDATE terrain_blocks
SET ForestVersion = @c444
WHERE ID = 444;

UPDATE terrain_blocks
SET ForestVersion = @c445
WHERE ID = 445;

UPDATE terrain_blocks
SET ForestVersion = @c446
WHERE ID = 446;

UPDATE terrain_blocks
SET ForestVersion = @c447
WHERE ID = 447;

UPDATE terrain_blocks
SET ForestVersion = @c448
WHERE ID = 448;

UPDATE terrain_blocks
SET ForestVersion = @c449
WHERE ID = 449;

UPDATE terrain_blocks
SET ForestVersion = @c450
WHERE ID = 450;

prit dans se lien : delete-poor-quality-trees-monthy-auto-uproot-t8393/

Return to Discussion en Français