Salta al contenuto



Alterna Shoutbox Urlobox

@  Pesmania2001 : (21 February 2018 - 08:55 PM) si sta diventando uno schifo, tempo fa c'erano le polemiche ma mai a questi livelli, addirittura minacce di morte, io ho deciso di leggere poco e guardo solo le partite ma non più di tanto
@  marcap : (21 February 2018 - 12:33 PM) Caro Mauro siamo arrivati al punto di gioire più per la sconfitta della Juve che per la vittoria della propria squadra. Non a caso, io che sono fiorentino e quindi li conosco bene, ti ho già detto che a Firenze son più contenti di vincere contro la Juve che di vincere lo scudetto e se per caso un'altra squadra vince son contenti lo stesso perchè non ha vinto la Juve. La gente ha perso il cervello e non è da ora. Ma non solo per il calcio ma per tutto. In più chi ha successo viene sempre denigrato. Per il calcio la colpa è dei media che pur di fare ascolto o di vendere giornali o click online innescano odio verso gli avversari. Se fanno un articolo e ci infilano la Juve tutta italia legge e clikka visto che interessa sia ai tifosi pro e contro la Juve. Un articolo su altre squadre interessa a tre gatti cioè ai tifosi di quella squadra. Ho notato, ultimamente, che la Gazzetta, ha un po' rettificato il tiro, non tanto, contro la Juve. Non mi sorprendero' se poi ricominciano. Viviamo in una società che è malata, ingiusta e tutto quello che vuoi, lo sport non ne è escluso.
@  Pesmania2001 : (21 February 2018 - 09:56 AM) http://www.ilbiancon...perche-no-12861

Foto

[sider .lua Module] Stadium-Server by zlac

stadiums server pes 2017 stad

  • Please log in to reply
6 replies to this topic

#1 energia

energia

    NRG

  • Admin
  • 1088 Messaggi:

Inviato 18 May 2017 - 10:14 PM

Current version: 1.3
Minimum version of Sider required: 3.4.1

Features:

# GDB-style unlimited stadium management - add as many stadiums as you want in a GDB-like folder structure

# Mostly unchanged stadium packaging - stadium structure remains almost identical to the .cpk version, meaning that entire stadium directory tree (starting with "common" folder) can be copy-pasted into one top-level GDB folder. These folders from the usual stadium-related cpk-tree are currently supported:

  • commonbgmodelbg
    • ad, audi, bill, cheer, effect, pitch, scarecrow, sky, stadium, staff, tv [color=#59b300;](bigflag, cornerflag and goal in v1.1)[/color]
  • commondemofixdemo
    • end, ent [color=rgb(89,179,0);](change, goal and result in v1.1)[/color]
  • [color=#59b300;]commondemoanimebehaviorfixdemoanimations (v1.1)[/color]
  • [color=#59b300;]commondemofixdemoobjpassage (v1.1)[/color]
  • [color=#59b300;]commondemolight (v1.1)[/color]
  • [color=#59b300;]commondemomobmob_* (v1.1)[/color]
  • commonrendermodelbghit
    • bill, stadium
  • commonrenderthumbnailstadium
IMPORTANT: [color=rgb(255,0,0);]db files (commonetc...) for stadium registration are not required. DO NOT INCLUDE THOSE!![/color]​

# Stadium assignment to individual home teams via [font="'Courier New';"]map_teams.txt[/font] file - pretty much self-explanatory, see the supplied [font="'Courier New';"]map_teams.txt[/font] file for examples of how to connect team ID with one GDB-stadium

# Stadium assignment to competitions via [font="'Courier New';"]map_competitions.txt[/font] file - use it to connect competition/tournament ID with one or more stadiums from GDB.
All teams participating in particular competition can either use identical stadium (if ony one stadium is assigned to that competition) [color=#59b300;]or have one of the stadiums assigned randomly (v1.1 feature) if there's more than one stadium assigned to that competition.[/color]
 

[color=#000000;]## [/color][color=#59b300;]v1.1[/color][color=#000000;] - It is possible to assign unlimited number of stadiums to the same competition[/color] - in this case, ONE RANDOM stadium will be selected for every home team that:
  • participates in that competition, BUT
  • DOES NOT have individual stadium assigned in [font="'Courier New';"]map_teams.txt[/font] file
     
  • Code:
    39, 003, Villa Park, Villa Park, , ,    # EPL39, 017, Turf Moor, Turf Moor, , ,    # EPL39, 020, White Hart Lane, White Hart Lane, , ,    # EPL

[color=rgb(255,0,0);]IMPORTANT:[/color][color=rgb(255,0,0);] by default, competition assignment would always take priority over team assignment in any game mode, but that can be easily configured within .lua script.[/color]
To override this default behavior you have to slightly modify StadiumServer.lua script itself - add/remove competition IDs in [font="'Courier New';"]override_competitions[/font] table, thus defining more or less competitions where individual team assignments from [font="'Courier New';"]map_teams.txt[/font] takes priority over competition assignment from [font="'Courier New';"]map_competitions.txt[/font]
[color=rgb(89,179,0);]Since v1.1, because of newly introduced random stadium selection option for competitions, [font="'Courier New';"]override_competitions[/color] table has been vastly increased to include all exhibition, league and league-cup matches[/font] - you can keep individual stadiums for those teams that already have one in [font="'Courier New';"]map_teams.txt[/font], while all the other teams without individual stadium would get randomly selected stadium from [font="'Courier New';"]map_competitions.txt[/font]

## Support for optional stadium to be used in final match of the competition only - again, pretty much self-explanatory. See [font="'Courier New';"]map_competitions.txt[/font] file for more details

[color=#59b300;]v1.1 - CAUTION:[/color] if multiple stadiums are assigned to a single competition and you want to use specific stadium for finals, then you must include stadium for final match IN EVERY stadium assignment
 
84, 003, Villa Park, Villa Park, 004, Wembley, Wembley            # FA Cup84, 017, Turf Moor, Turf Moor, 004, Wembley, Wembley            # FA Cup84, 020, White Hart Lane, White Hart Lane, 004, Wembley, Wembley    # FA Cup
 
 

# Exhibition mode behavior [color=#00b300;][v1.3][/color] - stadium assignment logic has been refined to be more in-line with the usual game behavior:

  • [color=#ff0000;]IMPORTANT CHANGE: Stadium server will be active in exhibition mode[/color] ONLY if you have selected either "Home ground" or "Random" setting. This enables you to use any stadium from your .cpk pack and additional stadium server's stadiums side by side.
  • "Random" setting in exhibition mode is going to select stadium either from your .cpk pack or from stadium server's repository.

Complementing this change, additional lua table is available, to customize which teams should keep their .cpk+EDIT assigned home grounds (e.g. Barcelona -> Konami's Camp Nou, Team X -> Stadium X from your .cpk, etc.). See this post for an example.

# Correct stadium previews and stadium names - displayed in game menus (where available, depending on game mode) and scoreboards

# Support for replay mode [color=#00b300;][v1.3][/color]

# Stadium server is deactivated in edit mode


Current limitations/issues:

1. adboards handling
- by default, stadium server will load commonbgmodelbgbill related files (including config.xml!!) if they exist within custom stadium files. If you'd like to use your already configured .cpk adboards packs, you can comment-out single line of code in StadiumServer.lua to disable adboards serving (see the code, it is noted where that line of code is)

2. [color=rgb(255,0,0);]IMPORTANT: cooperation with other .lua scripts that use "set_stadium" event[/color] - unfortunately, because of the way the stadiums are structured and handled by the game, it was necessary for StadiumServer.lua to use set_stadium event to force the game to use the exact stadium ID of the new stadium, in order to load all the files that belong to that stadium. Another approach, which would not "steal" set_stadium event (i.e. trying to override the files of any stadium that the game would like to use) did not prove successful, because stadiums simply are not file-for-file compatible, causing various artifacts when trying to replace e.g. stadium using ID 016 with custom stadium using any other ID

  • Bottom-line - if you want StadiumServer to work, you must not use any other .lua scripts that use set_stadium event to change stadium_id
  • you can still use additional .lua scripts to modify stadium conditions (day/night, weather, summer/winter) by using newly introduced set_conditions event (see Sider 3.3.4 release notes) - just to be on the safe side of the story, place your set_conditions related scripts below StadiumServer.lua in sider.ini

3. Not always accurate stadium selection during saved replays playback [color=#00b300;][v1.3][/color] - saved replay files do not store tournament_id info. If the stadium used in saved replay has been assigned via [font="'Courier New';"]map_competitions.txt[/font], then it is not possible for stadium server to make accurate re-selection of that particular stadium during replay playback.


Recommended way to re-pack stadiums that are available in .cpk files

  • Although extracted stadium packs may work without any problems, I'd recommend to use only one stadium per folder in [font="'Courier New';"]contentstadium-server[/font].
  • It is recommended to remove any files that are not directly related to stadium (especially commonetc... files)

How to use:

  • Unpack the v1.0 archive and copy folders 'content' and 'modules' inside your sider folder. Unpack v1.3 archive and copy/overwrite extracted StadiumServer.lua to sidermodules folder.
  • Add [font="'Courier New';"]lua.module = "StadiumServer.lua"[/font] near the top of the [font="'Courier New';"]Extension modules[/font] section in [font="'Courier New';"]sider.ini[/font]
  • Customize [font="'Courier New';"]map_teams.txt[/font] and [font="'Courier New';"]map_competitions.txt[/font] files and add more stadium folders in [font="'Courier New';"]contentstadium-server[/font] folder
  • [color=#ff0000;]Please, read carefully all the comments inside[/color] [font="'Courier New';"][color=rgb(255,0,0);]map_teams.txt[/color][/font][color=rgb(255,0,0);] and [/color][font="'Courier New';"][color=rgb(255,0,0);]map_competitions.txt[/color][/font][color=rgb(255,0,0);] files! Always use leading zeroes when writing stadium ID's![/color]

Credits:

  • @juce and @nesa24 for sider
  • Stadium master-pieces used in this demo-release: @Yucel11 "Fenerbachce Ülker Stadium" and "Türk Telekom Arena"

Download:
Link v1.0 (base pack)
Link v1.3 (updated script only)
Please, do not re-upload to other services



#2 Lucida7883

Lucida7883

    Esordiente

  • Members
  • 74 Messaggi:

Inviato 19 May 2017 - 07:07 PM

e nuovo aggiornamento anche dell'ottimo modulo lua stadium-server di zlac sempre in prima pagina

Ho scricato sia il nuovo sider 3.4.2 sia il modulo 1.3 stadium server ma quando avvio il gioco non mi riconosce gli stadi sconpattati ma solo quelli del cpk. Come mai? Occorre fare qulche modifica al modulo?

#3 energia

energia

    NRG

  • Admin
  • 1088 Messaggi:

Inviato 20 May 2017 - 01:23 AM

Ho scricato sia il nuovo sider 3.4.2 sia il modulo 1.3 stadium server ma quando avvio il gioco non mi riconosce gli stadi sconpattati ma solo quelli del cpk. Come mai? Occorre fare qulche modifica al modulo?

 

no ora lo stadium server funziona come il gioco pulito:

 

 

Changes/New features

1. Fix for replay mode - there should be no more infinite loads. Some stadium is going to be selected - sometimes it will not be the one that was used while saving the replay, but one of the available stadiums will be selected - either by the stadium server or by the sider itself (ultimate "safety net", which selects the first available .cpk stadium in situations where stadium server fails to find any match for the stadium ID used in replay). Why is it not possible to make more accurate selection? Because tournament_ID is not saved in replay files. Game over.

2. Changed stadium assignment logic for exhibition modes only
Since sider 3.4.0 introduced [font="'Courier New';"]ctx.stadium_choice[/font] field, which can be used in exhibition mode to check if user has selected "Home ground" or "Random" option in "Stadium menu", stadium assignment logic has been refined to be more in-line with the usual game behavior:

  • THE MOST IMPORTANT CHANGE: Stadium server will be active in exhibition mode ONLY if you have selected either "Home ground" or "Random" setting. If these are NOT selected, then stadium server is no longer "replacing" every stadium with the new one. This enables you to use any stadium from your .cpk pack if you want to (simply select it in stadium menu) and additional stadium server's stadiums side by side.
  • "Random" setting in exhibition mode is going to select stadium either from your .cpk pack or from stadium server's repository
3. Additional customizable lua table is added to the script - so that you can customize which teams should keep using their .cpk+EDIT00000000 assigned home grounds (e.g. Barcelona -> Konami's Camp Nou, Team X -> Stadium X from your .cpk, etc.) - a.k.a. "exclusive .cpk home grounds table"

4. NO CHANGES to the stadium assignment logic in competition modes

5. Structure of .txt map files HAS NOT BEEN CHANGED

Initial "exclusive .cpk home grounds table" included in Stadium Server v1.3-- specify the IDs of the teams which already have their real homegrounds assigned via .cpk + EDIT00000000-- if not listed here, their .cpk homeground may be overriden by map_competition.txt assignment ...-- ... e.g. Barcelona and Camp Nou: if you assign generic stadiums to La Liga in map_competition.txt and DO NOT assign external Camp Nou to Barca via map_teams.txt, then ...-- ... Barcelona would never use Camp Nou from .cpk in La Liga-related competition modes - it would use one of the random generics for La Liga-- Only the teams with original Konami stadiums are listed initially!-- ADD YOUR OWN TEAM ID'S, BASED ON YOUR EDIT00000000's STADIUM ASSIGNMENTS FROM THE .CPK PACK THAT YOU USE!!-- BEGIN CUSTOMIZABLE LUA TABLElocal teams_with_cpk_homegrounds = {      108,    -- Barcelona (Camp Nou)      119,    -- Internazionale (Giuseppe Meazza)      121,    -- Milan (San Siro)      1706,    -- Basel (St. Jakob Park)      1255,    -- Sao Paulo (Estadio do Morumbi)      1254,    -- Santos (Estadio Urbano Caldeira)      138,    -- River Plate (El Monumental)      139,    -- Boca Juniors (Estadio Alberto J. Armando)      147,    -- Urawa Red Diamonds (Saitama Stadium 2002)      }-- END CUSTOMIZABLE LUA TABLE
 

 

 

 

 

si attiva solo se hai scelto nel menù del gioco gli stadi casuali o  lo stadio di casa, altrimenti manualmente puoi scegliere i 40 stadi del tuo cpk... ma se lasci stadio di casa gli stadi assegnati saranno quelli tramite il teams-map dello stadium server come priorità.

 

naturalmente ricordati di rimettere a posto il tuo sider.ini con l'attivazione dello stadiumserver.lua



#4 Lucida7883

Lucida7883

    Esordiente

  • Members
  • 74 Messaggi:

Inviato 20 May 2017 - 01:00 PM

 
no ora lo stadium server funziona come il gioco pulito:
 


Changes/New features

1. Fix for replay mode - there should be no more infinite loads. Some stadium is going to be selected - sometimes it will not be the one that was used while saving the replay, but one of the available stadiums will be selected - either by the stadium server or by the sider itself (ultimate "safety net", which selects the first available .cpk stadium in situations where stadium server fails to find any match for the stadium ID used in replay). Why is it not possible to make more accurate selection? Because tournament_ID is not saved in replay files. Game over.

2. Changed stadium assignment logic for exhibition modes only
Since sider 3.4.0 introduced [font="'Courier New';"]ctx.stadium_choice[/font] field, which can be used in exhibition mode to check if user has selected "Home ground" or "Random" option in "Stadium menu", stadium assignment logic has been refined to be more in-line with the usual game behavior:


    [*]THE MOST IMPORTANT CHANGE: Stadium server will be active in exhibition mode ONLY if you have selected either "Home ground" or "Random" setting. If these are NOT selected, then stadium server is no longer "replacing" every stadium with the new one. This enables you to use any stadium from your .cpk pack if you want to (simply select it in stadium menu) and additional stadium server's stadiums side by side.
    [*]"Random" setting in exhibition mode is going to select stadium either from your .cpk pack or from stadium server's repository
    [/list]3. Additional customizable lua table is added to the script - so that you can customize which teams should keep using their .cpk+EDIT00000000 assigned home grounds (e.g. Barcelona -> Konami's Camp Nou, Team X -> Stadium X from your .cpk, etc.) - a.k.a. "exclusive .cpk home grounds table"

    4. NO CHANGES to the stadium assignment logic in competition modes

    5. Structure of .txt map files HAS NOT BEEN CHANGED


    Initial "exclusive .cpk home grounds table" included in Stadium Server v1.3


     
    -- specify the IDs of the teams which already have their real homegrounds assigned via .cpk + EDIT00000000-- if not listed here, their .cpk homeground may be overriden by map_competition.txt assignment ...-- ... e.g. Barcelona and Camp Nou: if you assign generic stadiums to La Liga in map_competition.txt and DO NOT assign external Camp Nou to Barca via map_teams.txt, then ...-- ... Barcelona would never use Camp Nou from .cpk in La Liga-related competition modes - it would use one of the random generics for La Liga-- Only the teams with original Konami stadiums are listed initially!-- ADD YOUR OWN TEAM ID'S, BASED ON YOUR EDIT00000000's STADIUM ASSIGNMENTS FROM THE .CPK PACK THAT YOU USE!!-- BEGIN CUSTOMIZABLE LUA TABLElocal teams_with_cpk_homegrounds = {      108,    -- Barcelona (Camp Nou)      119,    -- Internazionale (Giuseppe Meazza)      121,    -- Milan (San Siro)      1706,    -- Basel (St. Jakob Park)      1255,    -- Sao Paulo (Estadio do Morumbi)      1254,    -- Santos (Estadio Urbano Caldeira)      138,    -- River Plate (El Monumental)      139,    -- Boca Juniors (Estadio Alberto J. Armando)      147,    -- Urawa Red Diamonds (Saitama Stadium 2002)      }-- END CUSTOMIZABLE LUA TABLE
 
 
 
 
si attiva solo se hai scelto nel menù del gioco gli stadi casuali o  lo stadio di casa, altrimenti manualmente puoi scegliere i 40 stadi del tuo cpk... ma se lasci stadio di casa gli stadi assegnati saranno quelli tramite il teams-map dello stadium server come priorità.
 
naturalmente ricordati di rimettere a posto il tuo sider.ini con l'attivazione dello stadiumserver.lua

Ma ho capito male o deve uscire un'altra versione dello stadium server 1.3? Comunque seguo la procedura alla lettera



#5 energia

energia

    NRG

  • Admin
  • 1088 Messaggi:

Inviato 20 May 2017 - 01:37 PM

no quel post era riferito a questa versione 1.3



#6 Lucida7883

Lucida7883

    Esordiente

  • Members
  • 74 Messaggi:

Inviato 20 May 2017 - 02:15 PM

no quel post era riferito a questa versione 1.3

Ok



#7 Lucida7883

Lucida7883

    Esordiente

  • Members
  • 74 Messaggi:

Inviato 22 May 2017 - 11:12 PM

Allora ti spiego il problema. Fino al sider 3.4.1 con lo stadium server non avevo problemi. Ora col nuovo sider 3.4.2 e il nuovo stadium server quando provo in modalità esibizione gli stadi assegnati col map team mi accorgo che non vengono presi se scelgo stadio casa mentre prima si. Ho messo la lista nel nuovo stafium server delle squadre a cui ho asegnato in edit gli stadi cpk ma stesso problema. Anche in master league non mi prende gli stadi assegnati nel map conpetition. Io uso la peslover come base. Ecco il mio problema. Come pisso risolverlo?