ArcEmu: Gamemaster Mail Patch - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Gamemaster Mail Patch

#1 User is offline   Datastream1 

  • Member
  • Pip
  • Group: Members
  • Posts: 87
  • Joined: 15-April 09
  • Gender:Male
  • Location:the great US&A
  • Server OS:Other

Posted 03 June 2010 - 06:25 PM

Patch Title:GameMaster Mail
What bug does this patch fix: Before if you sent mail on a GM account, it would be as if a normal player sent it. ScreenShot:

Posted Image
Detailed Explanation: If you are a GM and you send mail, it will be sent from a GameMaster, ScreenShot:


Posted Image
How to reproduce: Go on a gm account, and send mail to someone


Patch:

[code]
Index: src/arcemu-world/MailSystem.cpp
===================================================================
--- src/arcemu-world/MailSystem.cpp (revision 3386)
+++ src/arcemu-world/MailSystem.cpp (working copy)
@@ -317,6 +317,11 @@
return;
}

if( HasGMPermissions() )
msg
.stationery = MAIL_STATIONERY_GM;
else if( msg.stationery == MAIL_STATIONERY_GM ) SendMailError(MAIL_ERR_INTERNAL_ERROR);
Attached File  GameMaster Mail.patch (483bytes)
Number of downloads: 41

Edit: Thanks Shauren
Posted Image
need halp with a C++ script? message me! :P
1

#2 User is offline   martin197 

  • Member
  • Pip
  • Group: Members
  • Posts: 31
  • Joined: 25-January 09
  • Gender:Male
  • Location:Scotland
  • Interests:Going to partys and getiin wasted

Posted 03 June 2010 - 06:43 PM

Nice one.
0

#3 User is offline   Marforius 

  • Permanantly on leave
  • PipPipPipPip
  • Group: Members
  • Posts: 597
  • Joined: 07-August 08
  • IRC:Marforius
  • Gender:Male
  • Location:Rome
  • Interests:ArcEmulatorius
  • Server OS:Linux

Posted 03 June 2010 - 08:55 PM

Thanks ;) Now where did stationery support go...
0

#4 User is offline   Nature 

  • Occasional Poster
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 30-November 09
  • Gender:Male
  • Interests:C++, video editing, games

Posted 04 June 2010 - 02:04 AM

Very nice fix ;)
0

#5 User is offline   jackpoz 

  • ArcEmu Lemon Priest
  • PipPipPipPipPipPipPipPip
  • Group: Developers
  • Posts: 2,153
  • Joined: 19-June 08
  • Gender:Male
  • Location:Italy
  • Server OS:Windows

Posted 07 June 2010 - 05:40 AM

Moved to Optional Patches
Posted Image We develop dreams. Your dreams ;)
Posted ImagePosted Image
0

#6 User is offline   Shauren 

  • Helper
  • Group: Contributor
  • Posts: 808
  • Joined: 04-November 08
  • Gender:Male
  • Location:Poland
  • Interests:hmm, wow?

Posted 07 June 2010 - 06:04 AM

replace
if( msg.stationery != MAIL_STATIONERY_GM && HasGMPermissions())
{
        msg.stationery = MAIL_STATIONERY_GM;
}

if( msg.stationery == MAIL_STATIONERY_GM && !HasGMPermissions())

with
if( HasGMPermissions() )
        msg.stationery = MAIL_STATIONERY_GM;
else if( msg.stationery == MAIL_STATIONERY_GM )


its simpler and works just as fine
0

#7 User is offline   Xeross 

  • Occasional Poster
  • PipPip
  • Group: Members
  • Posts: 102
  • Joined: 21-July 08
  • Gender:Male
  • Location:The Netherlands

Posted 05 September 2010 - 08:09 AM

Does this make it a GM mail if you have permissions or when you turn GM mode on, in my opinion it should be the latter.
0

#8 User is offline   Sdyess94 

  • Member
  • Pip
  • Group: Members
  • Posts: 70
  • Joined: 10-August 08

Posted 06 September 2010 - 12:30 AM

Or you can place one of these in your bags and it'll do it for you.
Stationeries
0

#9 User is offline   Shauren 

  • Helper
  • Group: Contributor
  • Posts: 808
  • Joined: 04-November 08
  • Gender:Male
  • Location:Poland
  • Interests:hmm, wow?

Posted 06 September 2010 - 02:32 AM

View PostSdyess94, on 06 September 2010 - 12:30 AM, said:

Or you can place one of these in your bags and it'll do it for you.
Stationeries


tried that many times, never worked
0

#10 User is offline   Bolt-wow.dyndns.org 

  • Member
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 04-September 13
  • Gender:Male
  • Server OS:Windows

Posted 04 September 2013 - 06:51 PM

i don't get it, where should i put this ;o?
0

#11 User is offline   dfighter 

  • Titles are overrated
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Administrator
  • Posts: 5,189
  • Joined: 14-June 08
  • IRC:dfighter
  • Gender:Male
  • Server OS:Linux

Posted 05 September 2013 - 02:53 AM

View PostBolt-wow.dyndns.org, on 04 September 2013 - 06:51 PM, said:

i don't get it, where should i put this ;o?

Nowhere. The topic describes a modification to the Arcemu source code.
"The demand for free goods is infinite."
0

#12 User is offline   Bolt-wow.dyndns.org 

  • Member
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 04-September 13
  • Gender:Male
  • Server OS:Windows

Posted 06 September 2013 - 07:44 AM

oh, becuse my server doesent have working blizz mail box so there is nothing i can do?
0

#13 User is offline   Grimnir 

  • Occasional Poster
  • PipPip
  • Group: Members
  • Posts: 112
  • Joined: 03-November 11
  • Gender:Male
  • Server OS:Linux

Posted 06 September 2013 - 03:14 PM

After downloading the source code apply the patch
http://lmgtfy.com/?q...ply+a+git+patch
then compile.

but this topic is from 2010 and it seems quite old to me, probably this has been fixed already or the file src/arcemu-world/MailSystem.cpp has changed so the patch won't apply correctly anymore :mellow:

Alternatively you could create your own little lua script with this http://arcemu.org/wiki/Lua_SendMail
combined with a chat hook it's nearly as good as this :)
0

#14 User is offline   dfighter 

  • Titles are overrated
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Administrator
  • Posts: 5,189
  • Joined: 14-June 08
  • IRC:dfighter
  • Gender:Male
  • Server OS:Linux

Posted 07 September 2013 - 02:01 PM

View PostGrimnir, on 06 September 2013 - 03:14 PM, said:

After downloading the source code apply the patch
http://lmgtfy.com/?q...ply+a+git+patch
then compile.

but this topic is from 2010 and it seems quite old to me, probably this has been fixed already or the file src/arcemu-world/MailSystem.cpp has changed so the patch won't apply correctly anymore :mellow:

Alternatively you could create your own little lua script with this http://arcemu.org/wiki/Lua_SendMail
combined with a chat hook it's nearly as good as this :)

The topic was made before we used Git, therefore it cannot be a git patch.
Either way it's an optional patch, it was never added.
"The demand for free goods is infinite."
0

#15 User is offline   Bolt-wow.dyndns.org 

  • Member
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 04-September 13
  • Gender:Male
  • Server OS:Windows

Posted 10 September 2013 - 05:22 PM

Well, iv'e looked evrywhere what to do >.<?
0

#16 User is offline   dfighter 

  • Titles are overrated
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Administrator
  • Posts: 5,189
  • Joined: 14-June 08
  • IRC:dfighter
  • Gender:Male
  • Server OS:Linux

Posted 11 September 2013 - 07:40 PM

View PostBolt-wow.dyndns.org, on 10 September 2013 - 05:22 PM, said:

Well, iv'e looked evrywhere what to do >.<?

You as a user cannot do anything.
This section is for developers, not users. They know what to do with things that appear here.
"The demand for free goods is infinite."
0

#17 User is offline   Bolt-wow.dyndns.org 

  • Member
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 04-September 13
  • Gender:Male
  • Server OS:Windows

Posted 13 September 2013 - 03:04 AM

View Postdfighter, on 11 September 2013 - 07:40 PM, said:

You as a user cannot do anything.
This section is for developers, not users. They know what to do with things that appear here.

well it's been over 3 years so nothing i can do :P?
0

#18 User is offline   dfighter 

  • Titles are overrated
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Administrator
  • Posts: 5,189
  • Joined: 14-June 08
  • IRC:dfighter
  • Gender:Male
  • Server OS:Linux

Posted 13 September 2013 - 08:58 AM

View PostBolt-wow.dyndns.org, on 13 September 2013 - 03:04 AM, said:

well it's been over 3 years so nothing i can do :P?

ArcEmu > Arcemu Development > Core Modifications Patch Submission > Optional Non-Blizzlike Patches
"The demand for free goods is infinite."
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users