Jump to content

Edder

Members
  • Posts

    82
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Edder

  1. fixed Sadly he doesnt write anymore
  2. Agreed, the vehicles are basic in WotLK (in Battlegrounds, OpenPVP, Dungeons and Questing) and they arent working right now and Destructible Buildings too. You may focus on Cata (not to much), but dont forget WotLK...
  3. XP_Rates Patch [2] SQL: http://paste2.org/p/1051992 Code: http://paste2.org/p/1052509 Tested with mangos core 10640 Try it... * added starttime and endtime options * added query to make an entry for all existing characters in character_xp_rates I dunno what happen if you modify the core xp rates (from mangosd.conf), I tested with default values (1, 1, 1)!
  4. Well, ok I'll do some research on how to do this...
  5. New patch: SQL: http://paste2.org/p/1045237 Code: http://paste2.org/p/1045234 Should work fine with clean mangos (10625)... edit: damn URL tags
  6. Hell yeah. I wonder were my complete patch is. Anyway, I'll try to rewrite it and implement the three rows (quest xp, explore xp, kill xp)...
  7. I guess it happens in DeleteFromDB... Just replace "guid" with "lowguid" in this case.
  8. Try this: Its old and you'll have to implement it manually but I guess it work (didnt tested it with newest core)... Code: http://paste2.org/p/1041421 SQL: http://paste2.org/p/1041423 With it, you may modify the kill, explore and quest XP for each character (guid) ...
  9. Got an error on applying patch: fatal: git apply: bad git-diff - expected /dev/null on line 31 mangos rev 10417
  10. Do you test to change: # MaxPlayerLevel # Max level that can be reached by player for experience (in range from 1 to 100). # Change not recommended # Default: 80
  11. Saving as ANSI solved the problem for me, thanks.
  12. Mangos Core: 10086 (but bug appears since 10081 - use of ace config lib) Custom patches: nope SD2 Version: no sd2 Database Name and Version: UDB 391 How it SHOULD work: load config properly How it DOES work: mangosd.conf only loads if its not changed, it only works if its directly copied from src/mangos/ and renamed, but if the logs dir for example is changed, in console appears that conf file cant be found. realmd and his conf file works great with modifications... can anyone confirm?
  13. Dont be lazy and use searchfunction. Little hint, it can be found on github.com !
  14. Yea, like camera patch please...
  15. I tried it as well and on mangos core 10051 the player keeps the flag whether he relogs or not. Simpli tested with: diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 53706be..eb63ea2 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -2514,6 +2514,9 @@ void Player::GiveXP(uint32 xp, Unit* victim) if(!isAlive()) return; + if(HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_XP_USER_DISABLED)) + return; + uint32 level = getLevel(); // XP to money conversion processed in Player::RewardQuest @@ -17627,6 +17630,13 @@ void Player::BuildPlayerChat(WorldPacket *data, uint8 msgtype, const std::string void Player::Say(const std::string& text, const uint32 language) { + // [only for test] + if(text == "xp 0" && !HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_XP_USER_DISABLED)) + SetFlag(PLAYER_FLAGS, PLAYER_FLAGS_XP_USER_DISABLED); + else if (text == "xp 1" && HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_XP_USER_DISABLED)) + RemoveFlag(PLAYER_FLAGS, PLAYER_FLAGS_XP_USER_DISABLED); + // [/only for test] + WorldPacket data(SMSG_MESSAGECHAT, 200); BuildPlayerChat(&data, CHAT_MSG_SAY, text, language); SendMessageToSetInRange(&data,sWorld.getConfig(CONFIG_FLOAT_LISTEN_RANGE_SAY),true);
  16. Two questions: Does the player hold the flag when relog? And if not, where are the flags stored in db? in character_data ?
  17. Agreed, a Battleground is a simple PvP Instance, Raid Instances scripts are in sd2 too...
  18. Well, every npc is scripted by sd2 (or eventAI of course) and not by mangos core itself, the guards are too and they're important too, arent they? Also Mount Vendors are scripted by sd2... Spirithealer's are important, but why scripting them in mangos core, when we got a scripting core (sd2)?
  19. Little question lynx, are you in contact with mangos devs? Or is there silence on both sides, have they said something about your awesome work and when they want probably implement this? I dont know exactly how mangos handles those projects today, I just remember w12x's Outdoor PvP patch which was totally awesome, but I never fully implemented?!
  20. Well, I suppose cooperation is missing...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use