ArcEmu: Arena 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

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

Arena Patch Revive Submission

#1 User is offline   this_is_junk 

  • Retired Retard
  • Group: Contributor
  • Posts: 2,432
  • Joined: 08-October 08
  • Gender:Male
  • Location:Washington State

Posted 13 March 2009 - 03:38 PM

Patch Title: Arena Fix
Fixes: Arena Season Bug
Detailed: Resubmission of patch detailed in: This post and This post. (Apply to /trunk/)

None of this is my work. I merely want to see it revived and applied to SVN.

Diff Patch
Index: configs/arcemu-world.conf
===================================================================
--- configs/arcemu-world.conf (revision 2310)
+++ configs/arcemu-world.conf (working copy)
@@ -773,8 +773,20 @@
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<GameMaster StartOnGMIsland = "1">
-
+
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+# Arena Settings
+#
+# Allows you to control current season and its progress.
+#
+# Season - has to be higher than 0 for arenas to work.
+# Progress - sets the progress, 0 = finished, 1 = in progress
+#
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+<Arena Season = "5"
+ Progress = "1">
+
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# MaxDamage settings
#
# Enable
Index: configs/Without-definitions/arcemu-world.conf
===================================================================
--- configs/Without-definitions/arcemu-world.conf (revision 2310)
+++ configs/Without-definitions/arcemu-world.conf (working copy)
@@ -159,4 +159,8 @@
WS_MAX="10" >

<GameMaster StartOnGMIsland = "1">
+
+<Arena Season = "5"
+ Progress = "1">
+
<MaxDamage Enable="1" AutoAttack="10000" Spell="30000" Disconnect="500000" BroadcastGMs="1">
Index: src/arcemu-world/Arenas.cpp
===================================================================
--- src/arcemu-world/Arenas.cpp (revision 2310)
+++ src/arcemu-world/Arenas.cpp (working copy)
@@ -285,8 +285,6 @@
SetWorldState(0x08D3 ,0x0000);
SetWorldState(0x0C0D ,0x017B);

- SetWorldState(0x0C77,0x01); // 1 - arena season in progress, 0 - end of season
- SetWorldState(0x0F3D,0x05); // arena season id

// Show players count
switch(m_mapMgr->GetMapId())
Index: src/arcemu-world/Player.cpp
===================================================================
--- src/arcemu-world/Player.cpp (revision 2310)
+++ src/arcemu-world/Player.cpp (working copy)
@@ -6749,6 +6749,11 @@
m_lastRunSpeed = 0;
UpdateSpeed();

+ WorldPacket ArenaSettings(SMSG_UPDATE_WORLD_STATE, 16);
+ ArenaSettings << uint32(0xC77) << uint32(sWorld.arena_progress);
+ ArenaSettings << uint32(0xF3D) << uint32(sWorld.arena_season);
+ GetSession()->SendPacket( &ArenaSettings );
+
sLog.outDetail("WORLD: Sent initial logon packets for %s.", GetName());
}

Index: src/arcemu-world/World.cpp
===================================================================
--- src/arcemu-world/World.cpp (revision 2310)
+++ src/arcemu-world/World.cpp (working copy)
@@ -1318,6 +1318,9 @@
antiMasterLootNinja = Config.OptionalConfig.GetBoolDefault("Optional", "AntiMasterLootNinja", false);
realmAllowTBCcharacters = Config.OptionalConfig.GetBoolDefault("Optional", "AllowTBC", true);

+ arena_season = Config.MainConfig.GetIntDefault("Arena", "Season", 1);
+ arena_progress = Config.MainConfig.GetIntDefault("Arena", "Progress", 1);
+
announce_tag = Config.MainConfig.GetStringDefault("Announce", "Tag", "Staff");
GMAdminTag = Config.MainConfig.GetBoolDefault("Announce", "GMAdminTag", false);
NameinAnnounce = Config.MainConfig.GetBoolDefault("Announce", "NameinAnnounce", true);
Index: src/arcemu-world/World.h
===================================================================
--- src/arcemu-world/World.h (revision 2310)
+++ src/arcemu-world/World.h (working copy)
@@ -465,6 +465,10 @@
bool gamemaster_hidePermissions;
bool gamemaster_startonGMIsland;

+ //Arena Settings
+ int arena_season;
+ int arena_progress;
+
// broadcast system config
bool BCSystemEnable;
int BCInterval;


Patch File: Attached File  arenafix.zip (1.21K)
Number of downloads: 63

FIXED: NEW TEXT WRAPPERS! Meh.
GAH!!! >_< ...can't...just...stop...working...
0

#2 User is offline   myran 

  • Member
  • Pip
  • Group: Members
  • Posts: 16
  • Joined: 09-December 08

Posted 13 March 2009 - 04:08 PM

thanks a ton!

where do i put this? :D
0

#3 User is offline   Ramor 

  • Interested
  • PipPipPipPip
  • Group: Members
  • Posts: 420
  • Joined: 11-June 08
  • Location:NC, USA

Posted 13 March 2009 - 08:22 PM

View Postmyran, on Mar 13 2009, 05:08 PM, said:

thanks a ton!

where do i put this? :D


Quote

(Apply to /trunk/)


0

#4 User is offline   homenixx 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 151
  • Joined: 03-September 08

Posted 14 March 2009 - 07:46 AM

Working successfully! Please add to SVN! ;-)
0

#5 User is offline   sirix 

  • Member
  • Pip
  • Group: Members
  • Posts: 29
  • Joined: 15-February 09
  • Gender:Male
  • Location:Sweden

Posted 14 March 2009 - 09:06 AM

Does this work Alli vs Alli and Horde vs Horde? Or only Alli vs Horde?
0

#6 User is offline   SinxOdin 

  • Occasional Poster
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 28-June 08
  • Location:Italy

Posted 14 March 2009 - 12:24 PM

Ally vs Ally and Horde vs Horde and Ally vs Horde
0

#7 User is offline   Ranger 

  • Member
  • Pip
  • Group: Members
  • Posts: 94
  • Joined: 13-June 08

Posted 14 March 2009 - 08:43 PM

use
[diff] [/diff]

0

#8 User is offline   this_is_junk 

  • Retired Retard
  • Group: Contributor
  • Posts: 2,432
  • Joined: 08-October 08
  • Gender:Male
  • Location:Washington State

Posted 14 March 2009 - 08:49 PM

View PostRanger, on Mar 14 2009, 06:43 PM, said:

use
[diff] [/diff]



Sorry, forgot we had new wraps...
GAH!!! >_< ...can't...just...stop...working...
0

#9 User is offline   Dr.Overclock 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 243
  • Joined: 05-September 08
  • Location:Italy, Milan
  • Interests:ArcEMU<br />C++<br />MySQL<br />PHP<br />Emulation

Posted 15 March 2009 - 02:27 AM

Please apply it, it works.

I speak a bit English/Io parlo Italiano molto bene/Русский - мой родной язык.
Io parlo un po Inglese/Я говорю на Итальянском очень хорошо/Russian is my native language.
Я говорю немного на Английском/I speak Italian very well/Russo e' mio madre-lingua.
0

#10 User is offline   Hoffa 

  • Sup dawg
  • Group: Retired
  • Posts: 1,159
  • Joined: 11-December 08
  • Gender:Male
  • Location:Sweden
  • Interests:Trolling

Posted 15 March 2009 - 02:42 AM

Will do :P
Posted ImagePosted Image



This person is known for trolling, flaming and extreme ignorance. Respond to at own risk.
0

#11 User is offline   this_is_junk 

  • Retired Retard
  • Group: Contributor
  • Posts: 2,432
  • Joined: 08-October 08
  • Gender:Male
  • Location:Washington State

Posted 15 March 2009 - 02:50 AM

View PostHoffa, on Mar 15 2009, 12:42 AM, said:

Will do :P


Woo!

Also, I have an improvement for my Arena Level Check patch that will allow it to be a config option, but I couldn't build the patch until this one joined the SVN.
GAH!!! >_< ...can't...just...stop...working...
0

#12 User is offline   Hoffa 

  • Sup dawg
  • Group: Retired
  • Posts: 1,159
  • Joined: 11-December 08
  • Gender:Male
  • Location:Sweden
  • Interests:Trolling

Posted 15 March 2009 - 02:55 AM

- Applied.
- Moved to applied patches.
Posted ImagePosted Image



This person is known for trolling, flaming and extreme ignorance. Respond to at own risk.
0

#13 User is offline   airanphx 

  • Newbie
  • Group: Members
  • Posts: 1
  • Joined: 15-January 09

Posted 15 March 2009 - 05:22 AM

Hello, can I do a question?, i like the activated arenas, because in my server he says to me that the season not to initiated, With this patch To solve? or There is another method?

Sorry for my english, is very Bad xD, Thanks in advance and Arcemu Congratulations, make a great work
0

#14 User is offline   sirix 

  • Member
  • Pip
  • Group: Members
  • Posts: 29
  • Joined: 15-February 09
  • Gender:Male
  • Location:Sweden

Posted 16 March 2009 - 12:41 PM

Hmm, for me it seams that Ally vs Ally don't work anyway :( Should that work with this?
0

#15 User is offline   Dr.Overclock 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 243
  • Joined: 05-September 08
  • Location:Italy, Milan
  • Interests:ArcEMU<br />C++<br />MySQL<br />PHP<br />Emulation

Posted 16 March 2009 - 06:07 PM

View Postsirix, on Mar 16 2009, 06:41 PM, said:

Hmm, for me it seams that Ally vs Ally don't work anyway :unsure: Should that work with this?

Yes.

I speak a bit English/Io parlo Italiano molto bene/Русский - мой родной язык.
Io parlo un po Inglese/Я говорю на Итальянском очень хорошо/Russian is my native language.
Я говорю немного на Английском/I speak Italian very well/Russo e' mio madre-lingua.
0

#16 User is offline   sirix 

  • Member
  • Pip
  • Group: Members
  • Posts: 29
  • Joined: 15-February 09
  • Gender:Male
  • Location:Sweden

Posted 16 March 2009 - 06:48 PM

Okay, I wonder why it don't work for me then... Any suggestion?
0

#17 User is offline   rebello 

  • Newbie
  • Group: Members
  • Posts: 8
  • Joined: 17-January 09

Posted 17 March 2009 - 09:52 AM

my Server is crashing all the Time with this Patch (rev2319). After a Player was killing an another Player, the server is down! (added at Bugreport)
0

#18 User is offline   kongblast 

  • Newbie
  • Group: Members
  • Posts: 2
  • Joined: 17-February 09

Posted 19 March 2009 - 12:46 PM

where or what is /trunk//??
0

#19 User is offline   Dr.Overclock 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 243
  • Joined: 05-September 08
  • Location:Italy, Milan
  • Interests:ArcEMU<br />C++<br />MySQL<br />PHP<br />Emulation

Posted 19 March 2009 - 01:23 PM

/trunk/ is folder of svn, with ArcEMU inside xD
anyway patch is just applied to svn and you don't need to apply it.

I speak a bit English/Io parlo Italiano molto bene/Русский - мой родной язык.
Io parlo un po Inglese/Я говорю на Итальянском очень хорошо/Russian is my native language.
Я говорю немного на Английском/I speak Italian very well/Russo e' mio madre-lingua.
0

#20 User is offline   kongblast 

  • Newbie
  • Group: Members
  • Posts: 2
  • Joined: 17-February 09

Posted 20 March 2009 - 02:59 AM

ok.....i dont understand.should i put it where logonserver and other stuff are or what?help meee :S:S:S
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

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