Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 03/23/2018 in all areas

  1. 2 points
    No, you're not right! Updatemask is used as part of client/server dialog to send changes to the client. Everytime an object field CHANGES at the server side (from the last time it's update was sent), the corresponding updatemask bit is set to 1. When an object changes server side, the updatemask is sent along with the changed fields (and only those) to the client. After the object update is sent to the client, the updatemask resets all its bits to 0. When you first create an object first time, ALL FIELDS MUST BE INITIALIZED, so the updatemask bits are all 1 and you send to the client all object fields. There is no field left unintialized.
  2. 2 points
    dont you need to match both name and password as uppercase?, some thing like this? $password_string = sha1(strtoupper($username) . ':' . strtoupper($sha_pass_hash))
  3. 2 points
    Hi and Welcome, Something I've leant over 30+ years developing is that the language you develop in is fairly unimportant... yes some languages are better at some things than others. Although I never learnt pascal, I did use pascal and helped a colleague debug it !! Although Visual Basic has been my main language throughout those years (VB1 to VB.Net), I was also taught Java. - It was via Java that I learnt C#..... and via C# that I finally got a handle on C++ The bottom line is, learn as much as you can.... and enjoy yourself doing it
  4. 2 points

    Version 0.21.GitHub

    1,556 downloads

    Mangos One Server - 0.21 For: World of Warcraft: The Burning Crusade Wiki: https://www.getmangos.eu/wiki/documentation/installation-guides/ Status: Playable Support client versions: 2.3.4 (8606) Mangosone-Serverx86.zip (32 Bit) MangosOne-Serverx64.zip (64 Bit) Builtin Scripts (SD3 & Eluna) Map Extractors Realm, World & Character databases Authentication Realm-Daemon server (realmd) Mangos-Daemon world server (Mangosd) Requirements: C++ Redistributable for Visual Studio 2015 (Included in .zip)
  5. 1 point
    I finally found this forum and couldn't be more excited! I've only been playing since 2015, but love the game and would like to set up my own private server at home, so here I am! Clearly a lot of work has gone into this, so from a newbie - thank you!
  6. 1 point
    That's his own python core.
  7. 1 point
    Check mangosd.conf for parameter Expansion and set it to 2. Restart mangosd.
  8. 1 point
  9. 1 point
    Where did you find that line? Please specify the file and line number, as I can't manage to find it anywhere in mangos one sources...
  10. 1 point
    An ObjectGuid is a 64bit number which uniquely identifies an entity (Player, GameObject, Creature, etc.). Though the only requirement is to be unique, current implementations try to encode as much information as possible into this number, to limit external queries. For example, datas taken from sniffs revealed that the most significant bytes from the Blizzard's GUID identifies the entity type. These bytes were named High Guids (because of their position in the GUID). Low GUIDS are simply entries from databases, or counters, which can help figuring what exact entity is. Technically speaking these High and Low GUIDS have no importance, and it's up to you how you define the ObjectGuid, as long it is UNIQUE.
  11. 1 point
    AFAIK the only difference between these two is the size. The compressed update may contain (and does, actually) updates for several objects at once. IIRC the compression is made simply by gzipping the packet data. Unsure if usual update SMSG_UPDATE_OBJECT may contain several updates at once, but perhaps it may as well. However I'm certain that these packets are fully interchangeable, i.e. equivalent. A compressed update becomes critical when you get an event-reach world around your character. It may be raiding a boss, a BG, just a capital with 200+ players so on. The updates are "broadcasted", i.e. sent to every player participant, and network bandwidth fades quickly.
  12. 1 point
    I have set WorldLogFile parameter, file was created but nothing write to it. File always empty. Maybe I missed something ? Can you please add part of your 8606 build log just as example ? (I mean that part where CMSG_PLAYER_LOGIN processes) WELL, I do not need this already, found the solution - I also should edit LogMask (set it to 65651 for including NETWORK information)
  13. 1 point
    You need rather to send the confirmation that the server have handled the update successfully. This is a short responce packet. For 1.12 client, it would be probably the opcode SMSG_UPDATE_ACCOUNT_DATA = 0x20C, while for 2.4.3 it is SMSG_UPDATE_ACCOUNT_DATA_COMPLETE = 0x0463, Just remember this is a dialog, a query - a responce. On the TBC (2.4.3) client, the next packets represent another dialog phrase: CMSG_READY_FOR_ACCOUNT_DATA_TIMES SMSG_ACCOUNT_DATA_TIMES with the only difference that here CMSG is a short query and SMSG is a longer responce.
  14. 1 point
    I believe the table you are looking for is playercreateinfo_spell this will allow you to assign spells to players on startup. It has been some time, but I believe table playercreateinfo_action will allow you to place the spells in specific actionbar slots. Hope this helps.
  15. 1 point
    Not being an expert on handling the packet at this level, I would still advise do not take a risk with this operation: dec %= 0x100 The modulo op in Python is quite a thing. Use bitwise operation instead: dec &= 0xFF Unsure if it helps, but it is the only difference from the referenced Java code I've managed to spot.
  16. 1 point
    Replacing ACE is not a trivial thing to do. Maybe before trying to do anythig like that it would be better to ask for help with the errors you get with ACE. You should try post the errors you get when trying to compile your core. Also it would be good to post your system information and installed dependency information, such as versions. At the moment we dont know for example what debian you are running, what the errors were, what mangos you are compiling etc.
  17. 1 point
  18. 1 point
    This packet is sent, along with other SMSG_***, as a response to CMSG_PLAYER_LOGIN opcode sent by the client. You can see how is used for MaNGOS TBC here.
  19. 1 point
    Hello, I've been told to send you this: https://github.com/marijnz/BunnyEmu/blob/master/src/bunnyEmu/main/net/packets/server/SMSG_ACCOUNT_DATA_TIMES.java Tal'
  20. 1 point
    Solved. I just need to add code to generate key for HeaderCrypt correctly: def _generate_key(self, session_key): seed = b'8\xa7\x83\x15\xf8\x92%0q\x98g\xb1\x8c\x04\xe2\xaa' hashed = hmac.new(seed, session_key, sha1) return hashed.digest()
  21. 1 point
    I'll be the first to admit, it was a hack. I just tested your code and it works. Much better than my hack. I'm not at all familiar with the code and to be honest, it has been over 15 years since I wrote any C++...back in my Baldur's gate modding days. However, at least we got the ball moving on this bug.
  22. 1 point
    here a quick update on what I done today am a fast worker :), I made it so now the backgrounds change to reflex the client your running so it will show classic background for vanilla client and WOTLK for well that client I also coded a easy manager that will generate the update ics file that you upload along with files so that patcher knows what to download all the basics work it downloads and auto loads client upon compilation of updates I also made it so you can add custom URL to both public test and support buttons via ini if no links are provided the buttons will be disabled. still needs abit of work I want to make it so people can use there own background images in place of blizzard images so that be next on my list todo, any feed back would be good thanks
  23. 1 point
    well first off thanks for having me on the forum :), am a down to earth guy I also suffer from dyslexia so spelling is not my strong point :D, but that dont stop me wanting to learn as much as I can before I die ha am a self programmer mostly in delphi (pascal) with 10+ years experience, but I know lua / php / css and few more things joined the mangos scene to learn wow coding and moding I have my own WOTLK server running as a private playground for me but I do allow people to join on request it gets lonely at times ha other hobbies I enjoy is deejaying done that since I was 15 always nice to unwind from coding blasting out some tunes and keeping next door awake well any ways cheers for reading this
  24. 1 point
    My deepest respect to the dev's of this awesome project. It was a 10 year long dream having a private family server. You all made this happen. Feel my hands on your shoulders. You are the paladins in the bubble, the Wizard in the Ice, the Murloc on the epic mounts. Thank you!
  25. 1 point
    I am from China.Nice to meet you!
  26. 1 point
    Wowhead says the spell applies an enchant on the item. So you want to look at enchants the item has. More specifically the temporary enchant, as wowhead says. http://www.elunaengine.com/Item/GetEnchantmentId.html enum EnchantmentSlot : uint16 { PERM_ENCHANTMENT_SLOT = 0, TEMP_ENCHANTMENT_SLOT = 1, SOCK_ENCHANTMENT_SLOT = 2, SOCK_ENCHANTMENT_SLOT_2 = 3, SOCK_ENCHANTMENT_SLOT_3 = 4, BONUS_ENCHANTMENT_SLOT = 5, PRISMATIC_ENCHANTMENT_SLOT = 6, // added at apply special permanent enchantment MAX_INSPECTED_ENCHANTMENT_SLOT = 7, PROP_ENCHANTMENT_SLOT_0 = 7, // used with RandomSuffix PROP_ENCHANTMENT_SLOT_1 = 8, // used with RandomSuffix PROP_ENCHANTMENT_SLOT_2 = 9, // used with RandomSuffix and RandomProperty PROP_ENCHANTMENT_SLOT_3 = 10, // used with RandomProperty PROP_ENCHANTMENT_SLOT_4 = 11, // used with RandomProperty MAX_ENCHANTMENT_SLOT = 12 };
  27. 1 point
    I said to look at spell columns. Search for "spell" there are multiple columns, mainly spell_1, spell_2, spell_3..
  28. 1 point
    Alright! Yes I am following the guide! just asking to make sure everything goes 100% smooth through the guide!
  29. 1 point
    it is a server I was invited to play on they told me to report bug here so not sure
  30. 1 point
    You need to use the methods for modifying power: http://www.elunaengine.com/?search=power
  31. 1 point
    I saw on Github there was a commit by H0zen which mentioned C++ 11. There are now C++ 14 and 17 released and I was wondering what MaNGOS uses overall, and if there were any plans to modernize the C++. I'm not even sure if it would be useful, but figured I would ask anyway. :)
  32. 1 point
    I'm not sure if this is even a bug. When my rogue is in stealth, I can not get skills from the rogue trainer in Brill. Out of stealth works fine. Thank you.
  33. 1 point
    Changed Status to Unconfirmed Changed Assigned to Necrovoice Changed Implemented Version to Unset Changed Milestone to Unset Changed Priority to Normal
  34. 1 point
    MaNGOSVB Recruitment Short and Sweet, we are looking for more developer's on our .NET branch of MaNGOS, It includes unique features such as Map Clustering, which allows for more than one concurrent WorldServer to host the game. Requirements Basic Knowledge of vb.net, querying of SQL and how to pull, push and commit on GitHub. Willingness to become a MaNGOS Developer and be added to the getMaNGOS Developer Discord Repository: https://github.com/mangosvb/serverZero IssueTracker: https://www.getmangos.eu/bug-tracker/mangos-vb/ IssueTracker (Unused): https://github.com/mangosvb/serverZero/issues
  35. 1 point

    Version 0.21.GitHub

    2,433 downloads

    Mangos Zero Server with playerbots For: World of Warcraft ClassicInstall Guides: https://www.getmangos.eu/wiki/documentation/installation-guides/ Status: Playable Support client versions: 1.12.1 (build 5875),1.12.2 (build 6005) and 1.12.3 (build 6141) MangosZero-Serverx86.zip (32 bit) MangosZero-Serverx64.zip (64 bit) Built in Scripts (SD3 & Eluna) Playerbot Allows players to spawn bots to group up and play with them. Settings for this are in aiplayerbot.conf.dist This can be enabled or disabled in the config file Map Extractors Realm, World & Character databases Authentication Realm-Daemon server (realmd) Mangos-Daemon world server (Mangosd) Requirements: C++ Redistributable for Visual Studio 2015 (Included in .zip)
  36. 1 point
    I see. The problem is that GetGameObjectsInRange is used, which returns a table of gameobjects. The code however is built as if the return value would be a gameobject in itself. Should use GetNearestGameObject instead. function OnChat(event, player) local OBJECT_END = 0x0006 local GAMEOBJECT_FLAGS = OBJECT_END + 0x0003 local worldObject = player:GetNearestGameObject(100, 185169) if worldObject then worldObject:SetFlag(GAMEOBJECT_FLAGS, 4+16) end end RegisterPlayerEvent(18, OnChat)
  37. 1 point
    All functions with : in the wiki need an object to be called. They are methods of objects. The WorldObject/Creature/Aura signifies what type the object must be. For example, you cannot call http://www.elunaengine.com/Player/GiveXP.html on a creature. In your code you are calling WorldObject:GetGameObjectsInRange, but WorldObject is not an object of type WorldObject. player is a WorldObject though, as you may see at the top of this page: http://www.elunaengine.com/Player/index.html
  38. 1 point
    There is a potential problem with your code. Even though you would be able to run it and it would probably work, a safety measure is raising an error. The problem with the code is that you try to use "Target" after a timed event. If the "Target" is a creature, the creature could have been despawned. If the "Target" is a player, he could have logged out. Using a nonexisting object would normally result in a crash or worse. There are different solutions to your problem. Often the best one depends on what exactly you want to happen. For example in your current code you register the timed event for the player. What this means is that the timed event WILL NOT execute if the player logs out and as a result the aura is never removed from the target. Here is one solution I assume you attempted to do, it will add the timed event to the target and remove the aura from the target after the timer runs out. This solution uses the Target to keep track of the timed event, so you can access it through the parameters in the function that is called and remove the aura through that. function Mchange(event, player, spell, skipCheck) if spell:GetEntry() == 10912 then local Target = spell:GetTarget() if Target then local function Dummy(_,_,_,target) target:RemoveAura(10912) end Target:RegisterEvent(Dummy, math.random(1000, 1000), 1) end end end RegisterPlayerEvent(5, Mchange) Here is another, but it follows your code more specifically in the way that it will not remove the aura if the caster of the spell logged out. This solution uses the guid value to search for the target when the timed event triggers. This way you can check if the target exists and remove the aura if he does. function Mchange(event, player, spell, skipCheck) if spell:GetEntry() == 10912 then local Target = spell:GetTarget() if Target then local guid = Target:GetGUID() local function Dummy(_,_,_,plr) local target = plr:GetMap():GetWorldObject(guid) if target then target:RemoveAura(10912) end end player:RegisterEvent(Dummy, math.random(1000, 1000), 1) end end end RegisterPlayerEvent(5, Mchange)
  39. 1 point
    local OBJECT_END = 0x0006 local GAMEOBJECT_FLAGS = OBJECT_END + 0x0003 obj:SetFlag(GAMEOBJECT_FLAGS, 4+16)
  40. 1 point
    If I understood right, you are trying to check if the spell being cast is 10912. It seems the example code you have posted tries to use player:IsCasting(10912) to check if the player is casting the spell entry. However as you can see from the documentation it takes no arguments and cannot check if a specific spell entry is being casted. http://www.elunaengine.com/Unit/IsCasting.html What we suggest you do is to check if the entry of the spell parameter is what you want. You can use http://www.elunaengine.com/Spell/GetEntry.html Here is an example: function Oncast(event, player, spell, skipCheck) if spell:GetEntry() == 10912 then print "IS CASTING 10912" end end RegisterPlayerEvent(5, Oncast)
  41. 1 point
    This might be a bit late, but I am currently working on implementing LuaSocket and LuaSec as officially supported modules for Eluna
  42. 1 point
    This statement: if [[ $OPTIONS == *9* ]]; then P_PBOTS="1" else P_PBOTS="0" fi in getmangos.sh prevents Playerbots from installing. The variable should read P_BOTS on both lines instead of P_PBOTS If this is not the right place to post this, I am sorry.
  43. 1 point
    Hi after some chat with madmax i found that the easy build that followed with the cloning of : git clone https://github.com/mangosone/server.git serverone --recursive --depth=1 Gives this error when it reaches the cmake runs: Cmake error: The following variables are used in this project. but are set to NOTFOUND. LIB_EAY_DEBUG (ADVANCED) linked by target mangos-files\serverone\src\realmd linked by target mangos-files\serverone\src\mangosd LIB_EAY_RELEASE (ADVANCED) linked by target mangos-files\serverone\src\realmd linked by target mangos-files\serverone\src\mangosd SSL_EAY_DEBUG (ADVANCED) linked by target mangos-files\serverone\src\realmd linked by target mangos-files\serverone\src\mangosd SSL_EAY_RELEASE (ADVANCED) linked by target mangos-files\serverone\src\realmd linked by target mangos-files\serverone\src\mangosd easy buld stops there and not project files are made. or solution file. im a bit stuck. on this one.
  44. 1 point
    Hi, Those Errors mean that the correct version of OpenSSL is missing. Please install OpenSSL1.0.x rather than OpenSSL1.1.x - Mangos is not compatible with OpenSSL1.1.x
  45. 1 point
    @mtp1032 No player should have GM rank 4. GM rank 4 is reserved for server console only. Why do you need a player to have GM rank 4? Allowing GM rank 4 to be used by an account should not be the solution to any problem you might be having. We do not know your real problem. I know that people have been circumventing the restrictions through DB sometimes, but that is not intended.
  46. 1 point
    Hi. Long time lurker first time poster. I have successfully installed and run a MaNGOS Zero server on my home Ubuntu server now for just about half a year. I see there are beeing updates pushed quite often on the site but I cant find any information on how I update my installation to the latest build. Is there any documentation on how to update an existing Mangos Zero install to the latest build of Mangos Zero? I would appreciate any help
  47. 1 point
    World of Warcraft Torrent Links Directory World of Warcraft (1.12.1) For MaNGOS Zero https://www.thepiratebay.org/torrent/5250337/World_of_Warcraft_1.12.1_Classic_(Install_and_Go_) World of Warcraft: The Burning Crusade (2.4.3) For MaNGOS One https://www.thepiratebay.org/torrent/5186818/World_of_Warcraft_-_2.4.3_TBC_Ready World of Warcraft: Wrath of the Lich King (3.3.5) For MaNGOS Two https://www.thepiratebay.org/torrent/8341516/World_of_Warcraft__Wrath_of_The_Lich_King_(WOTLK_3.3.5a) World of Warcraft: Cataclysm (4.3.4) For MaNGOS Three magnet:?xt=urn:btih:848c1f366be2d7fbe4b69bd6bfb57daabd767b08&dn=World%20of%20Warcraft%204.3.4.15595 World of Warcraft: Mists of Pandaria (5.4.8) For MaNGOS Four https://www.thepiratebay.org/torrent/16577734/World_of_Warcraft_5.4.8
  48. 1 point
    Don't do it then, I did it https://github.com/mangoszero/server/pull/20 Tal'
  49. 1 point

    Version 1.12.0

    207 downloads

    Once on the mega site right-click and download the patch you need. Download page contains: WoW-1.12.0-enGB-patch.exe wow-1.12.0-dede-patch.exe WoW-1.12.0-enUS-patch.exe WoW-1.12.0-frFR-patch.exe WoW-1.12.0-zhCN-patch.exe
  50. 1 point
    you _must_ use the guid format that is expected to be sent by the client. If you chose the wrong one, the client will either crash (most likely) or produce total crap.. Edit: To be clear: This is a choice that was made by blizzard developers, and if you want to talk to the client, you must use the 'language' the client understands. This is nothing where you can chose.

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • Create New...