EC Support 2.2

Adds EC Support to your server

  1. Dian

    Dian Administrator

    Just re posting this package.. we all know how it go's when a file is posted as a url link ;)
     

    Attached Files:

  2. ronith

    ronith Renowned Member

    Thanks Roracle for Sharing :)
     
  3. Nuggzy

    Nuggzy Renowned Member

    Getting a repeating error trying to run this.

    "Error: not able to read client files."

    Does that several times while it's loading the world. It finally stops after about 50 times then finishes loading.

    Everything seems to work ok except for the vendors, nothing is in the buy menu.

    Edit: I got it working by pointing my server to a copy of the client but the vendors still don't have anything for sale.
     

    Attached Files:

    Last edited: Sep 15, 2015
  4. KilraYan

    KilraYan Distinguished Member

    rat/lizardmen/bandits camps cause client crash.

    To fix you have to edit all camps base-id...
     
  5. KilraYan

    KilraYan Distinguished Member

    Found a workaround. Solved.
     

    Attached Files:

    Last edited: Sep 26, 2015
  6. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    Would you mind sharing?
     
  7. KilraYan

    KilraYan Distinguished Member

    You install high sea ships. Prob solved! (I wonder no one ever shared a word about it... btw)
    Here you go.
     
    Last edited: Sep 27, 2015
  8. Jack Handy

    Jack Handy Distinguished Member

    Having some trouble here. tried compiling fresh download from github with EC files copied over. Using the included windows batch file. Initially got error regarding OpenUOSDK as others have noted, moved .cs file from scripts/misc to server directory as suggested and that error went away but there are others. log pasted below, any suggestions would be appreciated.


    Ready to Compile JustUO (WIN)

    Press any key to continue . . .
    Could Not Find C:\Games\ectest\JustUO.exe

    C:\Games\ectest>C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /win32icon
    :"C:\Games\ectest\Server\justuo.ico" /r:"C:\Games\ectest\OpenUO.Core.dll" /r:"C:
    \Games\ectest\OpenUO.Ultima.dll" /r:"C:\Games\ectest\OpenUO.Ultima.Windows.Forms
    .dll" /r:"C:\Games\ectest\SevenZipSharp.dll" /target:exe /out:"C:\Games\ectest\J
    ustUO.exe" /recurse:"C:\Games\ectest\Server\*.cs" /d:JustUO /d:Framework_4_0 /d:
    NEWTIMERS /d:NEWPARENT /nowarn:618 /debug /nologo /optimize /unsafe
    Server\Items\SecureTradeContainer.cs(122,70): error CS1061:
    'Server.Network.NetState' does not contain a definition for
    'NewSecureTrading' and no extension method 'NewSecureTrading' accepting
    a first argument of type 'Server.Network.NetState' could be found (are
    you missing a using directive or an assembly reference?)
    Server\Network\PacketHandlers.cs(1435,48): error CS1061: 'Server.Gumps.Gump'
    does not contain a definition for '_Switches' and no extension method
    '_Switches' accepting a first argument of type 'Server.Gumps.Gump' could
    be found (are you missing a using directive or an assembly reference?)
    Server\Network\PacketHandlers.cs(1453,44): error CS1061: 'Server.Gumps.Gump'
    does not contain a definition for '_TextEntries' and no extension method
    '_TextEntries' accepting a first argument of type 'Server.Gumps.Gump'
    could be found (are you missing a using directive or an assembly
    reference?)
    Server\Persistence\StandardSaveStrategy.cs(103,17): error CS1061:
    'Server.Mobile' does not contain a definition for '_TypeRef' and no
    extension method '_TypeRef' accepting a first argument of type
    'Server.Mobile' could be found (are you missing a using directive or an
    assembly reference?)
    Server\Persistence\ParallelSaveStrategy.cs(239,62): error CS1061:
    'Server.Mobile' does not contain a definition for '_TypeRef' and no
    extension method '_TypeRef' accepting a first argument of type
    'Server.Mobile' could be found (are you missing a using directive or an
    assembly reference?)
    Server\Main.cs(211,64): error CS1061: 'Server.Expansion' does not contain a
    definition for 'TOL' and no extension method 'TOL' accepting a first
    argument of type 'Server.Expansion' could be found (are you missing a
    using directive or an assembly reference?)
    Server\SecureTrade.cs(41,61): error CS1061: 'Server.Network.NetState' does not
    contain a definition for 'NewSecureTrading' and no extension method
    'NewSecureTrading' accepting a first argument of type
    'Server.Network.NetState' could be found (are you missing a using
    directive or an assembly reference?)
    Server\SecureTrade.cs(42,55): error CS1061: 'Server.Network.NetState' does not
    contain a definition for 'NewSecureTrading' and no extension method
    'NewSecureTrading' accepting a first argument of type
    'Server.Network.NetState' could be found (are you missing a using
    directive or an assembly reference?)
    Server\SecureTrade.cs(73,46): error CS0103: The name 'TradeFlag' does not exist
    in the current context
    Server\SecureTrade.cs(104,51): error CS0103: The name 'TradeFlag' does not exist
    in the current context
    Server\SecureTrade.cs(205,61): error CS1061: 'Server.Network.NetState' does not
    contain a definition for 'NewSecureTrading' and no extension method
    'NewSecureTrading' accepting a first argument of type
    'Server.Network.NetState' could be found (are you missing a using
    directive or an assembly reference?)
    Server\SecureTrade.cs(210,60): error CS0103: The name 'TradeFlag' does not exist
    in the current context
    Server\SecureTrade.cs(213,63): error CS1061: 'Server.Network.NetState' does not
    contain a definition for 'NewSecureTrading' and no extension method
    'NewSecureTrading' accepting a first argument of type
    'Server.Network.NetState' could be found (are you missing a using
    directive or an assembly reference?)
    Server\SecureTrade.cs(215,62): error CS0103: The name 'TradeFlag' does not exist
    in the current context

    Done!
     
  9. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    Looks like the updates for ToL broke a few things
     
  10. Jack Handy

    Jack Handy Distinguished Member

    thanks for the quick reply,. just for reference the guthub master compiles / runs fine for me as is. even allows me to connect / play using the enhanced client.. had to create a character with the classic client though.
     
    Last edited: Oct 10, 2015
  11. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    really? i didn't realize you could play with the EC as is.
    it looks like the files included for better EC support need a update though, that's what causing all the error messages.
     
  12. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    Can someone test this out and tell me if it works?

    Various updates to files to keep drag/drop usability and to continue working with ToL updates to the repo.
     

    Attached Files:

  13. Jack Handy

    Jack Handy Distinguished Member

    Still giving errors compiling: Log below. Used fresh master from github with openuosdk moved to server directory and new EC files copied over.

    C:\Games\JustUO-master>C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /wi
    n32icon:"C:\Games\JustUO-master\Server\justuo.ico" /r:"C:\Games\JustUO-master\Op
    enUO.Core.dll" /r:"C:\Games\JustUO-master\OpenUO.Ultima.dll" /r:"C:\Games\JustUO
    -master\OpenUO.Ultima.Windows.Forms.dll" /r:"C:\Games\JustUO-master\SevenZipShar
    p.dll" /target:exe /out:"C:\Games\JustUO-master\JustUO.exe" /recurse:"C:\Games\J
    ustUO-master\Server\*.cs" /d:JustUO /d:Framework_4_0 /d:NEWTIMERS /d:NEWPARENT /
    nowarn:618 /debug /nologo /optimize /unsafe
    Server\Items\SecureTradeContainer.cs(122,70): error CS1061:
    'Server.Network.NetState' does not contain a definition for
    'NewSecureTrading' and no extension method 'NewSecureTrading' accepting
    a first argument of type 'Server.Network.NetState' could be found (are
    you missing a using directive or an assembly reference?)
    Server\Network\PacketHandlers.cs(1435,48): error CS1061: 'Server.Gumps.Gump'
    does not contain a definition for '_Switches' and no extension method
    '_Switches' accepting a first argument of type 'Server.Gumps.Gump' could
    be found (are you missing a using directive or an assembly reference?)
    Server\Network\PacketHandlers.cs(1453,44): error CS1061: 'Server.Gumps.Gump'
    does not contain a definition for '_TextEntries' and no extension method
    '_TextEntries' accepting a first argument of type 'Server.Gumps.Gump'
    could be found (are you missing a using directive or an assembly
    reference?)
    Server\Persistence\StandardSaveStrategy.cs(103,17): error CS1061:
    'Server.Mobile' does not contain a definition for '_TypeRef' and no
    extension method '_TypeRef' accepting a first argument of type
    'Server.Mobile' could be found (are you missing a using directive or an
    assembly reference?)
    Server\Persistence\ParallelSaveStrategy.cs(239,62): error CS1061:
    'Server.Mobile' does not contain a definition for '_TypeRef' and no
    extension method '_TypeRef' accepting a first argument of type
    'Server.Mobile' could be found (are you missing a using directive or an
    assembly reference?)
    Server\Main.cs(211,64): error CS1061: 'Server.Expansion' does not contain a
    definition for 'TOL' and no extension method 'TOL' accepting a first
    argument of type 'Server.Expansion' could be found (are you missing a
    using directive or an assembly reference?)
    Server\SecureTrade.cs(41,61): error CS1061: 'Server.Network.NetState' does not
    contain a definition for 'NewSecureTrading' and no extension method
    'NewSecureTrading' accepting a first argument of type
    'Server.Network.NetState' could be found (are you missing a using
    directive or an assembly reference?)
    Server\SecureTrade.cs(42,55): error CS1061: 'Server.Network.NetState' does not
    contain a definition for 'NewSecureTrading' and no extension method
    'NewSecureTrading' accepting a first argument of type
    'Server.Network.NetState' could be found (are you missing a using
    directive or an assembly reference?)
    Server\SecureTrade.cs(73,46): error CS0103: The name 'TradeFlag' does not exist
    in the current context
    Server\SecureTrade.cs(104,51): error CS0103: The name 'TradeFlag' does not exist
    in the current context
    Server\SecureTrade.cs(205,61): error CS1061: 'Server.Network.NetState' does not
    contain a definition for 'NewSecureTrading' and no extension method
    'NewSecureTrading' accepting a first argument of type
    'Server.Network.NetState' could be found (are you missing a using
    directive or an assembly reference?)
    Server\SecureTrade.cs(210,60): error CS0103: The name 'TradeFlag' does not exist
    in the current context
    Server\SecureTrade.cs(213,63): error CS1061: 'Server.Network.NetState' does not
    contain a definition for 'NewSecureTrading' and no extension method
    'NewSecureTrading' accepting a first argument of type
    'Server.Network.NetState' could be found (are you missing a using
    directive or an assembly reference?)
    Server\SecureTrade.cs(215,62): error CS0103: The name 'TradeFlag' does not exist
    in the current context

    Done!

    Press any key to continue . . .
     
  14. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    *face palm* looks like i might have zipped the original files.
    sorry, try this one.

    i checked to make it's the right one but can't guarantee it will compile first try
    i'll have to go download a fresh repo copy
     

    Attached Files:

  15. Jack Handy

    Jack Handy Distinguished Member

    compiled right out, thanks.
     
  16. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    cool, good to hear :) ty for letting me know
     
  17. Jack Handy

    Jack Handy Distinguished Member

    okay compiled, after running server errors compiling c# scripts, already moved toolbar.cs to proper folder. log below. Again only fresh githubmaster and your ec files. Though I did only overwrite the old, should I start completely fresh?

    ----------------------------------------------------------------------------
    JustUO - [http://www.playuo.org] Version 2.0
    Publish 4
    Core: .NET Framework Version 4.0.30319
    Core: Optimizing for 4 64-bit processors
    Core: Server garbage collection mode enabled
    RandomImpl: CSPRandom (Software)
    Scripts: Compiling C# scripts...Failed with: 25 errors, 0 warnings
    Errors:
    + Custom Systems/VitaNex/Core/Items/Fireworks/Components/Stars/BaseFireworkStar
    .cs:
    CS0115: Line 376: 'VitaNex.Items.FireworkStarCustom.OnAdded(Server.IEntity)'
    : no suitable method found to override
    CS0549: Line 376: 'VitaNex.Items.FireworkStarCustom.OnAdded(Server.IEntity)'
    is a new virtual member in sealed class 'VitaNex.Items.FireworkStarCustom'
    + Items/- BaseClasses/BaseEquipableLight.cs:
    CS0115: Line 45: 'Server.Items.BaseEquipableLight.OnAdded(Server.IEntity)':
    no suitable method found to override
    + Custom Systems/VitaNex/Core/Items/Misc/StrobeLantern.cs:
    CS0115: Line 108: 'VitaNex.Items.StrobeLantern.OnRemoved(Server.IEntity)': n
    o suitable method found to override
    + Custom Systems/VitaNex/Core/Items/Throwables/AtMobiles/Fun/HauntedMomento.cs:

    CS0115: Line 476: 'VitaNex.Items.HauntedMomento.OnAdded(Server.IEntity)': no
    suitable method found to override
    + Items/- BaseClasses/BaseClothing.cs:
    CS0115: Line 658: 'Server.Items.BaseClothing.OnAdded(Server.IEntity)': no su
    itable method found to override
    CS0115: Line 687: 'Server.Items.BaseClothing.OnRemoved(Server.IEntity)': no
    suitable method found to override
    + Custom Systems/VitaNex/Core/Modules/AutoPVP/Battles/CTF/Objects/Flag.cs:
    CS0115: Line 287: 'VitaNex.Modules.AutoPvP.Battles.CTFFlag.OnParentDeleted(S
    erver.IEntity)': no suitable method found to override
    + Items/- BaseClasses/BaseArmor.cs:
    CS0115: Line 1200: 'Server.Items.BaseArmor.OnAdded(Server.IEntity)': no suit
    able method found to override
    CS0115: Line 2046: 'Server.Items.BaseArmor.OnRemoved(Server.IEntity)': no su
    itable method found to override
    + Items/- BaseClasses/BaseWeapon.cs:
    CS0115: Line 921: 'Server.Items.BaseWeapon.OnAdded(Server.IEntity)': no suit
    able method found to override
    CS0115: Line 952: 'Server.Items.BaseWeapon.OnRemoved(Server.IEntity)': no su
    itable method found to override
    + Items/- BaseClasses/BaseJewel.cs:
    CS0115: Line 411: 'Server.Items.BaseJewel.OnAdded(Server.IEntity)': no suita
    ble method found to override
    CS0115: Line 462: 'Server.Items.BaseJewel.OnRemoved(Server.IEntity)': no sui
    table method found to override
    + Items/- BaseClasses/BaseQuiver.cs:
    CS0115: Line 286: 'Server.Items.BaseQuiver.OnAdded(Server.IEntity)': no suit
    able method found to override
    CS0115: Line 314: 'Server.Items.BaseQuiver.OnRemoved(Server.IEntity)': no su
    itable method found to override
    + Items/- BaseClasses/BaseTalisman.cs:
    CS0115: Line 362: 'Server.Items.BaseTalisman.OnAdded(Server.IEntity)': no su
    itable method found to override
    CS0115: Line 387: 'Server.Items.BaseTalisman.OnRemoved(Server.IEntity)': no
    suitable method found to override
    + Items/- Misc/BankCheck.cs:
    CS0115: Line 101: 'Server.Items.BankCheck.OnAdded(Server.IEntity)': no suita
    ble method found to override
    + Items/- Misc/Gold.cs:
    CS0115: Line 52: 'Server.Items.Gold.OnAdded(Server.IEntity)': no suitable me
    thod found to override
    + Items/- Misc/PromotionalToken.cs:
    CS0115: Line 55: 'Server.Items.PromotionalToken.OnRemoved(Server.IEntity)':
    no suitable method found to override
    + Items/Skill Items/Magical/Spellbook.cs:
    CS0115: Line 480: 'Server.Items.Spellbook.OnAdded(Server.IEntity)': no suita
    ble method found to override
    CS0115: Line 516: 'Server.Items.Spellbook.OnRemoved(Server.IEntity)': no sui
    table method found to override
    + Items/- Staff Items/StaffRobe.cs:
    CS0115: Line 162: 'Server.Items.StaffRobe.OnRemoved(Server.IEntity)': no sui
    table method found to override
    + Items/Special/8th Anniversary Items/Talismans.cs:
    CS0115: Line 70: 'Server.Items.BaseFormTalisman.OnRemoved(Server.IEntity)':
    no suitable method found to override
    + Items/Special/Bulk Order Rewards/Blacksmithy/AncientSmithyHammer.cs:
    CS0115: Line 76: 'Server.Items.AncientSmithyHammer.OnAdded(Server.IEntity)':
    no suitable method found to override
    CS0115: Line 90: 'Server.Items.AncientSmithyHammer.OnRemoved(Server.IEntity)
    ': no suitable method found to override
    + Quests/Dark Tides/Items/ScrollOfAbraxus.cs:
    CS0115: Line 36: 'Server.Engines.Quests.Necro.ScrollOfAbraxus.OnAdded(Server
    .IEntity)': no suitable method found to override
    + Quests/SA Xenrr Quest/XenrrFishingPole.cs:
    CS0115: Line 42: 'Server.Items.XenrrFishingPole.OnRemoved(Server.IEntity)':
    no suitable method found to override
    + Services/ConPVP/Trophy.cs:
    CS0115: Line 110: 'Server.Items.Trophy.OnAdded(Server.IEntity)': no suitable
    method found to override
    + Services/Factions/Items/Sigil.cs:
    CS0115: Line 251: 'Server.Factions.Sigil.OnAdded(Server.IEntity)': no suitab
    le method found to override
    CS0115: Line 261: 'Server.Factions.Sigil.OnRemoved(Server.IEntity)': no suit
    able method found to override
    CS0115: Line 508: 'Server.Factions.Sigil.OnParentDeleted(Server.IEntity)': n
    o suitable method found to override
    + Services/XMLSpawner/XmlSpawner Core/XmlQuest/XmlQuestHolder.cs:
    CS0115: Line 507: 'Server.Items.XmlQuestHolder.OnAdded(Server.IEntity)': no
    suitable method found to override
    + Services/XMLSpawner/XmlSpawner Core/XmlQuest/XmlQuestToken.cs:
    CS0115: Line 560: 'Server.Items.XmlQuestToken.OnAdded(Server.IEntity)': no s
    uitable method found to override
    CS0115: Line 94: 'Server.Items.XmlQuestTokenPack.OnAdded(Server.IEntity)': n
    o suitable method found to override
    + Services/XMLSpawner/XmlSpawner Core/XmlQuest/XmlQuestBook.cs:
    CS0115: Line 182: 'Server.Items.XmlQuestBook.OnAdded(Server.IEntity)': no su
    itable method found to override
    Scripts: One or more scripts failed to compile or no script files were found.
    - Press return to exit, or R to try again.
     
  18. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    that's an issue with server/item
    i'll take a look at it later when i can
     
  19. Jack Handy

    Jack Handy Distinguished Member

    Thanks for all the help.
     
  20. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    no problem :)
     
  21. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    Fix for Server/Item that should fix the issues listed above.
    I posted just the Item file so you can just download it if you want.
    Or the whole ECSupport 2.5 that includes the previous files from 2.4 and the update for Item.cs
     

    Attached Files:

    • Like Like x 1
  22. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    Also, tested and it allows you to create an account with EC
     
  23. Talow

    Talow Grandmaster Member

    awesome work mate!
     
    • Like Like x 1
  24. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    thank you. now if only we could fix the other problems with EC.
     
  25. Jack Handy

    Jack Handy Distinguished Member

    far less errors but still won't run srver. Log below

    JustUO - [http://www.playuo.org] Version 2.0
    Publish 4
    Core: .NET Framework Version 4.0.30319
    Core: Optimizing for 4 64-bit processors
    Core: Server garbage collection mode enabled
    RandomImpl: CSPRandom (Software)
    Scripts: Compiling C# scripts...Failed with: 2 errors, 2 warnings
    Warnings:
    + Misc/RaceDefinitions.cs:
    CS0162: Line 432: Unreachable code detected
    CS0162: Line 438: Unreachable code detected
    + Mobiles/Animals/Reptiles/ToxicSlith.cs:
    CS0162: Line 92: Unreachable code detected
    Errors:
    + Misc/CurrentExpansion.cs:
    CS0117: Line 39: 'Server.Mobile' does not contain a definition for 'AosStatu
    sHandler'
    + Misc/Fastwalk.cs:
    CS0117: Line 17: 'Server.Mobile' does not contain a definition for 'FwdUotdO
    verride'
    Scripts: One or more scripts failed to compile or no script files were found.
    - Press return to exit, or R to try again.
     

Share This Page