CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

[[[[ID steam] ]]]

Vortex646
Vortex646
Niveau 68
27 avril 2010 à 12:37:54

J'ai vice city en version boîte avec un n0-cd comme ça je suis tranquille :noel:
Et bien sûr, avec le mod Back To The Future, raison pour laquelle j'ai acheté le jeu :bave:

Sinon Dracu' achète tout sauf L4D2 :noel:

Jiraiya-08
Jiraiya-08
Niveau 11
27 avril 2010 à 12:44:52

Bon, la plupart d'entre vous n'en auront très certainement rien à foutre, mais voilà le type de requêtes SQL que je me tape depuis quelque temps, je viens de la pondre :hap:

--------------------------------------------
SELECT surv.ns_surv_id,
ecran_data.te_libelle_e te_libelle_e,
ecran_data.nb_groupe_pos,
td.no_type_data_id,
ecran_data.te_libelle_ed,
td.co_type_data,
sv.no_valeur,
sv.te_valeur,
sv.dt_valeur

FROM sumi.surveillant_val sv

JOIN sumi.surveillant surv
ON surv.ns_surv_id = sv.ns_surv_id

JOIN (SELECT typed.no_type_data_id,
typed.co_type_data
FROM sumi.type_data typed
JOIN ( SELECT tdata.no_type_data_id, max(tdata.dt_debut) dt_debut
FROM sumi.type_data tdata
GROUP BY tdata.no_type_data_id
) td_max
ON typed.no_type_data_id = td_max.no_type_data_id
AND typed.dt_debut = td_max.dt_debut
) td
ON td.no_type_data_id = sv.no_type_data_id

JOIN (SELECT svm.ns_surv_id,
svm.no_type_data_id,
MAX(svm.dt_debut) dt_debut
FROM sumi.surveillant_val svm

GROUP BY ns_surv_id, svm.no_type_data_id
) sv_max

ON sv.ns_surv_id = sv_max.ns_surv_id
AND sv.no_type_data_id = sv_max.no_type_data_id
AND sv.dt_debut = sv_max.dt_debut

-- Récupération des informations écran
JOIN ( SELECT ecran.no_ecran_id,
ecran.te_libelle te_libelle_e,
ed.nb_groupe_pos,
ed.no_type_data_id,
ed.te_libelle te_libelle_ed

FROM sumi.ecran_data ed

JOIN ( SELECT ec.no_ecran_id,
ec.te_libelle
FROM sumi.ecran ec
JOIN (SELECT no_ecran_id, MAX(dt_debut) dt_debut
FROM sumi.ecran
WHERE no_ecran_id = 1
GROUP BY no_ecran_id) ec_max
ON ec.no_ecran_id = ec_max.no_ecran_id
AND ec.dt_debut = ec_max.dt_debut
)ecran

ON ed.no_ecran_id = ecran.no_ecran_id
) ecran_data

ON td.no_type_data_id = ecran_data.no_type_data_id

-- Récupération des surveillants de l'établissement sélectionné.
WHERE surv.ns_surv_id
IN ( SELECT surv_val.ns_surv_id
FROM sumi.surveillant_val surv_val
WHERE surv_val.no_type_data_id = 3008
AND surv_val.no_valeur = 723 -- Numéro FASE de l'établissement ICI.
)

ORDER BY surv.ns_surv_id, ecran_data.nb_groupe_pos;

SELECT  surv.ns_surv_id,
        ecran_data.te_libelle_e te_libelle_e,
        ecran_data.nb_groupe_pos,
        td.no_type_data_id,
        ecran_data.te_libelle_ed,
        td.co_type_data,
        sv.no_valeur,
        sv.te_valeur,
        sv.dt_valeur

FROM sumi.surveillant_val sv

JOIN sumi.surveillant  surv  
ON surv.ns_surv_id = sv.ns_surv_id

JOIN (SELECT typed.no_type_data_id,
             typed.co_type_data
        FROM sumi.type_data typed

          JOIN ( SELECT tdata.no_type_data_id, max
(tdata.dt_debut) dt_debut
                 FROM   sumi.type_data tdata
                 GROUP BY tdata.no_type_data_id
               ) td_max

          ON    typed.no_type_data_id = td_max.no_
type_data_id

          AND   typed.dt_debut        = td_max.dt_
debut
     ) td
ON td.no_type_data_id = sv.no_type_data_id

JOIN (SELECT svm.ns_surv_id, 
             svm.no_type_data_id, 
             MAX(svm.dt_debut) dt_debut
        FROM sumi.surveillant_val svm

        
        GROUP BY ns_surv_id, svm.no_type_data_id
     ) sv_max

    ON    sv.ns_surv_id       = sv_max.ns_surv_id 

    AND   sv.no_type_data_id  = sv_max.no_type_dat
a_id
    AND   sv.dt_debut         = sv_max.dt_debut

-- Récupération des informations écran
JOIN (  SELECT ecran.no_ecran_id,
               ecran.te_libelle te_libelle_e,
               ed.nb_groupe_pos,
               ed.no_type_data_id,
               ed.te_libelle te_libelle_ed

        FROM   sumi.ecran_data ed

        JOIN (  SELECT ec.no_ecran_id,
                       ec.te_libelle
                FROM sumi.ecran ec

                JOIN (SELECT no_ecran_id, MAX(dt_d
ebut) dt_debut
                          FROM sumi.ecran
                          WHERE no_ecran_id = 1

                      GROUP BY no_ecran_id) ec_max

                ON  ec.no_ecran_id = ec_max.no_ecr
an_id

                AND ec.dt_debut = ec_max.dt_debut

            )ecran

        ON ed.no_ecran_id = ecran.no_ecran_id
      ) ecran_data

ON td.no_type_data_id  = ecran_data.no_type_data_i
d

-- Récupération des surveillants de l'établissemen
t sélectionné.
WHERE surv.ns_surv_id 
IN   ( SELECT surv_val.ns_surv_id
            FROM sumi.surveillant_val surv_val
       WHERE surv_val.no_type_data_id = 3008 

         AND surv_val.no_valeur = 723 -- Numéro FA
SE de l'établissement ICI.
     )

ORDER BY surv.ns_surv_id, ecran_data.nb_groupe_pos
;

SELECT  surv.ns_surv_id,
        ecran_data.te_libelle_e te_libelle_e,
        ecran_data.nb_groupe_pos,
        td.no_type_data_id,
        ecran_data.te_libelle_ed,
        td.co_type_data,
        sv.no_valeur,
        sv.te_valeur,
        sv.dt_valeur

FROM sumi.surveillant_val sv

JOIN sumi.surveillant  surv  
ON surv.ns_surv_id = sv.ns_surv_id

JOIN (SELECT typed.no_type_data_id,
             typed.co_type_data
        FROM sumi.type_data typed

          JOIN ( SELECT tdata.no_type_data_id, max
(tdata.dt_debut) dt_debut
                 FROM   sumi.type_data tdata
                 GROUP BY tdata.no_type_data_id
               ) td_max

          ON    typed.no_type_data_id = td_max.no_
type_data_id

          AND   typed.dt_debut        = td_max.dt_
debut
     ) td
ON td.no_type_data_id = sv.no_type_data_id

JOIN (SELECT svm.ns_surv_id, 
             svm.no_type_data_id, 
             MAX(svm.dt_debut) dt_debut
        FROM sumi.surveillant_val svm

        
        GROUP BY ns_surv_id, svm.no_type_data_id
     ) sv_max

    ON    sv.ns_surv_id       = sv_max.ns_surv_id 

    AND   sv.no_type_data_id  = sv_max.no_type_dat
a_id
    AND   sv.dt_debut         = sv_max.dt_debut

-- Récupération des informations écran
JOIN (  SELECT ecran.no_ecran_id,
               ecran.te_libelle te_libelle_e,
               ed.nb_groupe_pos,
               ed.no_type_data_id,
               ed.te_libelle te_libelle_ed

        FROM   sumi.ecran_data ed 

        JOIN (  SELECT ec.no_ecran_id,
                       ec.te_libelle
                FROM sumi.ecran ec

                JOIN (SELECT no_ecran_id, MAX(dt_d
ebut) dt_debut
                          FROM sumi.ecran
                          WHERE no_ecran_id = 1

                      GROUP BY no_ecran_id) ec_max

                ON  ec.no_ecran_id = ec_max.no_ecr
an_id

                AND ec.dt_debut = ec_max.dt_debut

            )ecran

        ON ed.no_ecran_id = ecran.no_ecran_id
      ) ecran_data

ON td.no_type_data_id  = ecran_data.no_type_data_i
d

-- Récupération des surveillants de l'établissemen
t sélectionné.
WHERE surv.ns_surv_id 
IN   ( SELECT surv_val.ns_surv_id
            FROM sumi.surveillant_val surv_val
       WHERE surv_val.no_type_data_id = 3008 

         AND surv_val.no_valeur = 723 -- Numéro FA
SE de l'établissement ICI.
     )

ORDER BY surv.ns_surv_id, ecran_data.nb_groupe_pos
;

-------------------------------------------------

Désolé pour le flood, les modo n'ont qu'à effacer au pire.

Voilà :noel:

[Sonic-Youth]
[Sonic-Youth]
Niveau 10
27 avril 2010 à 12:50:32

T'as fait comment pour afficher tout les espaces? :doute:

Jiraiya-08
Jiraiya-08
Niveau 11
27 avril 2010 à 12:50:42

Tu connais autre chose de plus partique d'ailleurs ? :doute:
J'ai essayé avec le remplacement de l'espace par ALT+255, mais ca reste indigeste.... :(

Vortex646
Vortex646
Niveau 68
27 avril 2010 à 12:52:41

Bon, la plupart d'entre vous n'en auront très certainement rien à foutre, mais voilà le dossier " missions " du .vpk de ma map de L4D que je me tape depuis quelque temps, je viens de le pondre :hap:

"mission"
{
// Use a short name, since it is used as a tag on the servers for matching
// your campaign when looking for a dedicated server. Generally it should
// be something unique. One suggestion to is use your initials and a short
// abbreviated name for your campaign. Avoid spaces and special characters.
// Do not change the name when you create a revision, as the matchmaking
// system will consider it a different campaign. Instead, use "Version" and
// "DisplayTitle" below to indicate revisions.
"Name" "GuerreDesConsoles"

// The version number is used when finding campaigns on dedicated servers
// and in matchmaking. If you try to connect to someone in matchmaking
// who has a newer version, you will be directed to download the new
// version. You must increment this to the next integer (whole numbers)every
// time you release an update. (I.E. 1, 2, 3, 4, etc.)
"Version" "3"

// Author is displayed in the UI when people see others playing your
// campaign.
"Author" "Vortex646"

// Website is extremely important as people will automatically be sent
// to this URL if they try to join a friend running your campaign. This
// should be the home page for your campaign and it should provide a
// description, a link to download it, and installation instructions.

"Website" "http://media.steampowered.com/apps/513
/deadline.html"

// This name is used when referring to the campaign in the UI.
"DisplayTitle" "GuerreDesConsoles"
"Description" "Echappez vous de l'enfer GDC."

// Vmt shown behind the end credits when your campaign completes.
// Note: This item needs to have "vgui\" at the front. It is assumed
// for the poster and the map thumbnails.
"OuttroImage" "vgui\OutroTitle_Deadline"

// Loading poster data
//
// Note that "posterTitle" and "posterTagline" are often blank as
// the poster usually includes these in the poster image itself.
// If you do not provide a poster, a generic default will be used.
"poster"
{
"posterImage" "LoadingScreen_DeadLine"

"posterTitle" ""
"posterTitle_y" "360"

"posterTagline" ""
"posterTagline_y" "372"

// Adjust these to align the survivor names on your poster.
// 0,0 is center of the poster.
// Adjusting x value moves the names horizontally.
// Adjusting y value moves the names vertically.
// Try to space them in a staggered arrangement so that long names do not overlap.
"bill_player_name_x" "118"
"bill_player_name_y" "-195"

"louis_player_name_x" "-53"
"louis_player_name_y" "-205"

"zoey_player_name_x" "-124"
"zoey_player_name_y" "-210"

"francis_player_name_x" "31"
"francis_player_name_y" "-200"
}

// The modes section lists each of your campaign maps and each mode
// they support. Depending on how you set up your campaign maps,
// you can reuse the same bsp for different modes as is the case with
// coop and versus in this example. This requires setting up entities
// that show up or operate differently for different modes.
//
// The following modes are supported: "coop", "versus", "survival"
//
// Number each map section starting with "1"
//
// "Map" is the name of the bsp of the starting map. (do not include
// an extension)
// "DisplayName" is the name to use for the chapter of the map.
// "Image" is the image used for the chapter in the lobby and
// settings.

"modes"
{
"coop"
{
"1"
{
"Map" "autreOther"
"DisplayName" "Deadline 1"
"Image" "maps/l4d_deadline"
}

"2"
{
"Map" "l4d_deadline02"
"DisplayName" "Deadline 2"
"Image" "maps/l4d_deadline"
}
}

"versus"
{
"1"
{
"Map" "l4d_deadline02_vs"
"DisplayName" "Deadline Versus"
"Image" "maps/l4d_deadline"
}
}

"survival"
{
"1"
{
"Map" "l4d_deadline02"
"DisplayName" "Dead Line Survival"
"Image" "maps/l4d_deadline"
}
}
}

}

J'ai laissé les indications pour pouvoir le faire, c'est beau hein au pire les modos n'ont qu'à effacer.

Voilà :noel:

Jiraiya-08
Jiraiya-08
Niveau 11
27 avril 2010 à 12:57:01

http://pastebin.com/4QymFcXp

Merci beaucoup, je connaissais pas, c'est assez sympa comme truc :)

Vortex646
Vortex646
Niveau 68
27 avril 2010 à 12:57:43

Et ta ligne SQL, elle sert à quoi ?

Jiraiya-08
Jiraiya-08
Niveau 11
27 avril 2010 à 12:59:20

@Vortsex: Paye tes commentaires :noel:

Cette requête sert à récupérer toutes les dernières informations des surveillants d'une école, ainsi que leur représentation sur l'écran final (libellé des colonnes, emplacements, etc).

Vortex646
Vortex646
Niveau 68
27 avril 2010 à 13:01:25

Mouais, et tu gagnes combien en faisant ça ? :noel:

Jiraiya-08
Jiraiya-08
Niveau 11
27 avril 2010 à 13:03:31

0 € :noel:

Depuis le 8 février :noel:

Jusqu'au 20 mai :noel:

Ptain :snif2:

Jiraiya-08
Jiraiya-08
Niveau 11
27 avril 2010 à 13:08:11

J'avoue.... :-(

Saleté de stage :noel:

Jiraiya-08
Jiraiya-08
Niveau 11
27 avril 2010 à 13:10:58

Nan ca va, j'ai encore 4 ans d'étude à faire.

4 ans encore ptain :snif2:

Linouze
Linouze
Niveau 10
27 avril 2010 à 13:18:47

:noel:

:-(

Vortex646
Vortex646
Niveau 68
27 avril 2010 à 13:33:17

OMG, tu me donnes envie là :noel:

Oni-Isen
Oni-Isen
Niveau 10
27 avril 2010 à 14:28:42

C'était obliger que j'allais rater une promo , heureusement que c'était Manhunt :content:

Jiraiya-08
Jiraiya-08
Niveau 11
27 avril 2010 à 14:45:13

Nan mais c'est dracu, tu peux pas test :noel:

Oni-Isen
Oni-Isen
Niveau 10
27 avril 2010 à 14:45:32

Ben moi je peux regarder jusqu'à 5h du matin de toute façon c'est toute les 2 heures
Par contre après faut des gars qui se lève tôt :noel:

Jiraiya-08
Jiraiya-08
Niveau 11
27 avril 2010 à 14:47:55

Chopé à 7,5 € à noel, avec Nico et Kick je crois.

Pseudo supprimé
Pseudo supprimé 27 avril 2010 à 15:01:09

Jiraiya-08
Posté le 27 avril 2010 à 14:47:55
Chopé à 7,5 € à noel, avec Nico et Kick je crois.

:d) Et smash

Pseudo supprimé
Pseudo supprimé 27 avril 2010 à 15:07:12

Et pseudo aussi.

:noel:

Sujet fermé pour la raison suivante : Topic verrouillé.
La vidéo du moment