1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dynamic Package Loader

Discussion in 'LeagueAS Mod' started by Cratos, Jul 4, 2004.

  1. Cratos

    Cratos +++++++++

    Joined:
    Sep 20, 2001
    Messages:
    5,130
    Location:
    Austria
    On repeated request I am publishing my DynamicPackageLoader. This is for advanced serveradmins ONLY!

    What is it?
    Dynamic Package Loader is a litte mod that allows you to customize serverpackages and serveractors depending on mapname / gametype.

    What can you do with it?
    Some examples:
    * Running UTPure for DM and CSHP for LeagueAS on the same server
    * Running different irc-reporters for DM and AS
    * Adding different mods/serveractors for different gametypes
    * Installing Custommaps that require extra Serverpackages and add those Serverpackages only when that specific maps runs (do not force players to download every crap texture for every crap custom map you have installed ;))
    * ...

    Where can I get it?
    Download it here: DynamicPackageLoader
    (if IE wants to save it as Attachment.php just rename it to DynamicPackageLoader.zip)

    How to configure it?
    I cba to write a big documentation for it, just check the readme and the inifile and you will get the idea.

    have fun
     

    Attached Files:

    Last edited: Feb 3, 2006
    Dark, gringo and Hardcore like this.
  2. Cratos

    Cratos +++++++++

    Joined:
    Sep 20, 2001
    Messages:
    5,130
    Location:
    Austria
    Uploaded new version (DynamicPackageLoader_V2_20060202.zip) that is able to load Arena/InstaGIB Mutators properly (those need a spcial early loading)

    you have to add "DynamicPackageLoader.DynamicMutatorLoader" to your servermutators to benefit from this feature, best add it to the ServerStartLine ;)
     
  3. Fearless

    Fearless New Member

    Joined:
    May 11, 2003
    Messages:
    60
    Location:
    Belgium
    Nice stuff. I just wanted to point out that things can get tricky though if you're using a gametype that uses maps from another one. For example, the Siege gametype uses CTF maps. Since CTF works with Pure but Siege doesn't, this can be a bit of a problem. Anyway, I'll see if a solution is possible in this case.
     
  4. scarface

    scarface New Member

    Joined:
    Jul 30, 2007
    Messages:
    28
    can someone please help me? i need stuffswapper a mod on my server to load dynamically but i have no idea how to write the dynamicpackage loader ini....

    basically i need stuffswapper to load and unload dynamically as i have InstaGib on my server and having stuffswapper laoded while IG is running causes it to teamkill regardless of having DefaultSettings=FriendlyFireScale=0.000000

    could you add me to msn? so i can fully explain what i need loaded dynamically? ali2487@msn.com

    thanks
     
  5. endgegner

    endgegner The Saviour of UTA. Worship me as DJ worships sofa

    Joined:
    Mar 5, 2006
    Messages:
    6,560
    Spambot helped me find a mod I need ;) N1 Cratos :P
     
  6. Nighthawk

    Nighthawk New Member

    Joined:
    Sep 20, 2009
    Messages:
    3
    Hello cartos,

    i searched for u on the irc and msn with no luck,

    i'm having a problem with the DynamicPackageLoader

    when i load a dm map
    it dosent add the "*" mutators just the regular ones

    i'm breaking my head over this with no luck... can u please help me..

    Code:
    [DynamicPackageLoader.DynamicPackageLoader]
    bEnabled=True
    DebugLevel=0
    ServerPackages[0]=Botpack
    ServerPackages[1]=Relics
    ServerPackages[2]=UBrowser
    ServerPackages[3]=UTBrowser
    ServerPackages[4]=UMenu
    ServerPackages[5]=UTMenu
    ServerPackages[6]=UWindow
    ServerPackages[7]=SoldierSkins
    ServerPackages[8]=CommandoSkins
    ServerPackages[9]=FCommandoSkins
    ServerPackages[10]=SGirlSkins
    ServerPackages[11]=BossSkins
    ServerPackages[12]=MultiMesh
    ServerPackages[13]=TSkMSkins
    ServerPackages[14]=SkeletalChars
    ServerPackages[15]=MapVoteLA13
    ServerPackages[16]=MODOSUtilsV30
    ServerPackages[17]=
    ServerPackages[18]=
    ServerPackages[19]=
    ServerPackages[20]=
    ServerPackages[21]=
    ServerPackages[22]=
    ServerPackages[23]=
    ServerPackages[24]=
    DynamicPackages[0]=RA-;
    DynamicPackages[1]=DM-;UTPureRC7G;BP1Handler7G;BP4Handler7G;SmartCTF_4D;IUTDCv12;UTDCv21;UTDCv21dll;ZeroPingPlus103
    DynamicPackages[2]=CTF-;UTPureRC7G;BP1Handler7G;BP4Handler7G;SmartCTF_4D;IUTDCv12;UTDCv21;UTDCv21dll;ZeroPingPlus103
    DynamicPackages[3]=
    DynamicPackages[4]=
    DynamicPackages[5]=
    DynamicPackages[6]=
    DynamicPackages[7]=
    DynamicPackages[8]=
    DynamicPackages[9]=
    DynamicActors[0]=DM-;UTPureRC7G.UTPureSA;SmartCTF_4D.SmartCTFServerActor;UTDCv21.SMain;UTDCAMv12.SMain;MODOSUtilsV30.TeamBalanceActor;;MODOSUtilsV30.MODOSSBServerActor;ModMenuChecker_v120.MMCsa;IpToCountry.LinkActor
    DynamicActors[1]=CTF-;UTPureRC7G.UTPureSA;SmartCTF_4D.SmartCTFServerActor;UTDCv21.SMain;UTDCAMv12.SMain;MODOSUtilsV30.TeamBalanceActor;MODOSUtilsV30.MODOSSBServerActor;ModMenuChecker_v120.MMCsa;IpToCountry.LinkActor
    DynamicActors[2]=RA-;RAFix_V2.Main
    DynamicActors[3]=*;MapVoteLA13.BDBMapVote;MonsterAnnouncerLA.MA_ServerActor;ACLSv210.ChatLogger;BotPack.NoRedeemer
    DynamicActors[4]=
    DynamicActors[5]=
    DynamicActors[6]=
    DynamicActors[7]=
    DynamicActors[8]=
    DynamicActors[9]=
     
  7. '//3iRd(o)

    '//3iRd(o) Administrator

    Joined:
    Sep 19, 2001
    Messages:
    5,440
    Location:
    Dorset, UK
    There shouldn't be any reason why it doesn't work...

    You do have a duplicate semi-colon in the DM- line, but that wouldn't stop it from processing, it would just ignore that.

    Can you just check that you're definitely using the v2 version? It should be 14-15kb in size, compared to the older version which was 11-12kb.

    Otherwise, set your debuglevel to 2, restart your server then try changing between, say, ctf and dm, then post the server log please.
     
    Last edited: Sep 20, 2009
  8. Nighthawk

    Nighthawk New Member

    Joined:
    Sep 20, 2009
    Messages:
    3
    man i tried it and i'm having problems..
    can u please come my msn
    aniorel@gmail.com
    or to my irc channel #xbase on quakenet
     
  9. Nighthawk

    Nighthawk New Member

    Joined:
    Sep 20, 2009
    Messages:
    3
    it is really anoyying i cannot fix that problem, and Cartos the author isnt here...
     
  10. MeetYourMaker

    MeetYourMaker Administrator

    Joined:
    Jun 8, 2001
    Messages:
    3,969
    Location:
    London
    It doesnt work that way, well not as far as i can remember but its been a while since I set it up on my servers

    I assume by * you are trying to load those actors for every map/gametype in which case there is no need for them to be dynamically loaded is there.

    edit your [Engine.GameEngine] section so that those actors appear there, ServerActors=DynamicPackageLoader.DynamicPackageLoader should be the last line of that section.
    Any actor listed before the DPL loader will always be loaded as normal, once DPL loads itll load the dynamic actors you specify under the [DynamicPackageLoader.DynamicPackageLoader] section of your ini
     
  11. -=Zeus=-

    -=Zeus=- New Member

    Joined:
    Oct 3, 2009
    Messages:
    1
    DynamicActors[3]=*;MapVoteLA13.BDBMapVote;MonsterAnnouncerLA.MA_ServerActor;ACLSv210.ChatLogger;BotPack.NoRedeemer

    This mod is for ServerPackages & ServerActors (Not Mutators as such)
    at least one of these DA's are not a DA

    Try removing the offender(s) to yield better results.

    Keep up the Good Work Cratos, I have a Minor issue myself regarding AnthChacker_v138 (build 8), in the log file it reports that it cannot find itself in the ServerActors="" List , I looked their and there are no ServerActors to be Seen Except for DynamicPackageLoader....
    So I Added ServerActor=AnthChecker_v138 and resolved the issue (sort of).

    ServerPackages List is complete
    ServerActors List has only DynamicPackageLoader listed.

    is their a fix for this?

    Cheers.

    NightHawk, Try reading your Server_Logs for the offending Packages , get used finding problems that way its alot faster.
     
    Last edited: Oct 3, 2009