Jump to content

xeross155

Members
  • Posts

    702
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by xeross155

  1. ah ok, thanks for the info.
  2. or one could add the mirrors as seperate remote git remote add NAME git://url/to/repo Then when master is down they just have to do git pull NAME and then git merge NAME/master
  3. @False.Genesis: Check your own signature, PseuWow could possibly be used for it.
  4. Shouldn't these scripts for the eye be a part of SD2 ?
  5. Why are you using mangos 6628 ? Edit: Whoops just noticed the thread age.
  6. Testing on revision 8587 now, will post results.
  7. Cool, congratz on solving it.
  8. Well now it uses .gm on/off so that would be sufficient, I might try creating a command like that though. or you could use the GM item version.
  9. There's this new mail stationery type "MAIL_STATIONERY_ORP" wonder what it's used for.
  10. The default mail expiry is 30 days so that's why it is like that, and well balrok said it should be 3 days. So there isn't any other thing that uses MAIL_CREATURE else that would yield unexpected results. Edit: Achievements, etc. also use it so this would make achievement items dissapear in 1 day, not good.
  11. Ye just saw fixing, fixed now. compiling it myself too.
  12. Hey, I saw some patches similiar to this one and wrote 2 of my own, made but haven't tested compiling now. Revision 9199 (Rewrite) Revision 8818 Old Regards, Xeross
  13. Hey Folks, As I was making some modifications to the mail system for my own test server balrok said on IRC ( asked him something about it) while you're looking at it try to make the BG Marks mails expire after 3 days (Now they expire after 30), so I thought why not, some extra practice. However I've checked the code now so far I've found the following MailStationery (Mail.h) enum MailStationery { MAIL_STATIONERY_UNKNOWN = 0x01, MAIL_STATIONERY_NORMAL = 0x29, MAIL_STATIONERY_GM = 0x3D, MAIL_STATIONERY_AUCTION = 0x3E, MAIL_STATIONERY_VAL = 0x40, MAIL_STATIONERY_CHR = 0x41 }; The code used to send marks (In Battleground.cpp) WorldSession::SendMailTo(plr, MAIL_CREATURE, MAIL_STATIONERY_NORMAL, bmEntry, plr->GetGUIDLow(), subject, itemTextId , &mi, 0, 0, MAIL_CHECK_MASK_NONE); and well the SendMailTo function in Mail.cpp void WorldSession::SendMailTo(Player* receiver, uint8 messageType, uint8 stationery, uint32 sender_guidlow_or_entry, uint32 receiver_guidlow, std::string subject, uint32 itemTextId, MailItemsInfo* mi, uint32 money, uint32 COD, uint32 checked, uint32 deliver_delay, uint16 mailTemplateId) Which has uint32 expire_delay; if(messageType == MAIL_AUCTION && !mi && !money) // auction mail without any items and money expire_delay = HOUR; else expire_delay = (COD > 0) ? 3*DAY : 30*DAY; So to fix it we would need to add an elseif to the if statement or something similiar. however I don't see any way to determine if an in-game mail is coming from "the BG", well we could check what item is being sent with the mail but I dunno if that's concidered hacky, other then that the stationery is not other then normal mails and so isn't the template. Like to hear some thoughts, etc. on this. Regards, Xeross
  14. Compiling now, had to edit it a little because I'm using a modified core. no errors so far. For people that want the patch file : http://files.x3tech.com/115/Intel%20Memory%20Allocator.zip It's my own file upload site btw.
  15. There's plenty of guides on GIT check the Source Code Management Board.
  16. The Patch File = 2MB, is that about right ?
  17. http://github.com/blog/92-http-cloning Indeed possible. Why would git:// not work
  18. Hmm I still have patches of my changes but I'd have to make new ones for newer revisions, merges can look over any changes and apply correctly but patch files don't seem to merge as well as a git merge.
  19. That seems a bit of a workaround because I used to just merge the master into my own branch. Maybe somehow revert the master branch to the revision I want and then merge. Edit: Just found http://stackoverflow.com/questions/889984/bring-git-repo-up-to-a-certain-revision I'll do that.
  20. Seperate threads for world and char db seems a good idea.
  21. Hey, MaNGOS has just switched to 3.2.2a however I prefer to say at 3.1.3 for a while till I have the time to properly do the upgrade. I use a custom branch with my source edits in git and use the following commands to update it to the latest mangos git pull git merge origin/master so it just pulls all updates for all branches and then I merge the master branch into my custom branch. However how can I merge upto a specific branch (or a tag) so I can keep my server at the last 3.1.3 revision ? Thank you for your time, Xeross
  22. So will 3.1.3 get a seperate branch or are we forced to use 3.2.2a from now on if we update.
  23. Once it's approved as proper code and working without hacks.
  24. What the hell, damn xrumer.
  25. Still what's the problem with this, what isn't working (What part). and to find out the arguments for the mangos functions just search the source for em.
×
×
  • 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