ArcEmu: [Applied]Isle Of Conquest - 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
  • You cannot reply to this topic

[Applied]Isle Of Conquest getting working this battleground

#1 User is offline   eatos92 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 193
  • Joined: 06-May 09
  • Gender:Male
  • Location:Serbia, Devil WoW

Posted 04 June 2010 - 06:13 PM

This night i was little exploring battlegroundmasters.dbc files and wanted to give you some updates about it.So here is for now what i have for you guys.Maybe some1 can create a patch or finish it.

enum BattleGroundTypes
{
	BATTLEGROUND_ALTERAC_VALLEY		= 1,
	BATTLEGROUND_WARSONG_GULCH		= 2,
	BATTLEGROUND_ARATHI_BASIN		= 3,
	BATTLEGROUND_ARENA_2V2			= 4,
	BATTLEGROUND_ARENA_3V3			= 5,
	BATTLEGROUND_ARENA_5V5			= 6,
	BATTLEGROUND_EYE_OF_THE_STORM		= 7,
	BATTLEGROUND_STRAND_OF_THE_ANCIENT	= 9,
	BATTLEGROUND_ISLE_OF_CONQUEST   = 30,
	BATTLEGROUND_NUM_TYPES			= 32, 
};


const static uint32 BGMapIds[ BATTLEGROUND_NUM_TYPES ] =
{
	0,	// 0
	30,	// AV
	489,	// WSG
	529,	// AB
	0,	// 2v2
	0,	// 3v3
	0,	// 5v5
	566,	// EOTS
	0,
	607,	// SOTA
	628,    // IOC
	0,
};

Posted Image
0

#2 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 04 June 2010 - 06:41 PM

FU! You really had to remind me that we don't have IOC working yet :\
Btw I saw these too when I added that new db table regarding battlemasters. ;)
"The demand for free goods is infinite."
0

#3 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 06 June 2010 - 05:19 PM

View Postdfighter, on 04 June 2010 - 06:41 PM, said:

FU! You really had to remind me that we don't have IOC working yet :\
Btw I saw these too when I added that new db table regarding battlemasters. :)


lol, go code it dfighter Posted Image
Posted Image
need halp with a C++ script? message me! :P
0

#4 User is offline   eatos92 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 193
  • Joined: 06-May 09
  • Gender:Male
  • Location:Serbia, Devil WoW

Posted 07 June 2010 - 08:24 AM

Wrong enum types should be like this sorry
enum BattleGroundTypes
{
        BATTLEGROUND_ALTERAC_VALLEY             = 1,
        BATTLEGROUND_WARSONG_GULCH              = 2,
        BATTLEGROUND_ARATHI_BASIN               = 3,
        BATTLEGROUND_ARENA_2V2                  = 4,
        BATTLEGROUND_ARENA_3V3                  = 5,
        BATTLEGROUND_ARENA_5V5                  = 6,
        BATTLEGROUND_EYE_OF_THE_STORM           = 7,
        BATTLEGROUND_STRAND_OF_THE_ANCIENT      = 9,
        BATTLEGROUND_ISLE_OF_CONQUEST           = 30,
        BATTLEGROUND_RANDOM                     = 32,
        BATTLEGROUND_NUM_TYPES                  = 33, 
};

Posted Image
0

#5 User is offline   eatos92 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 193
  • Joined: 06-May 09
  • Gender:Male
  • Location:Serbia, Devil WoW

Posted 10 June 2010 - 03:44 AM

const static uint32 BGMapIds[ BATTLEGROUND_NUM_TYPES ] =
{
	0,	// 0
	30,	// AV
	489,	// WSG
	529,	// AB
	0,	// 2v2
	0,	// 3v3
	0,	// 5v5
	566,	// EOTS
	0,
	607,	// SOTA
	628,    // IOC
	0,
};

const static CreateBattlegroundFunc BGCFuncs[BATTLEGROUND_NUM_TYPES] = {
	NULL,				// 0
	&AlteracValley::Create,		// AV
	&WarsongGulch::Create,		// WSG
	&ArathiBasin::Create,		// AB
	NULL,				// 2v2
	NULL,				// 3v3
	NULL,				// 5v5
	&EyeOfTheStorm::Create,		// EotS
	NULL,
	&StrandOfTheAncient::Create,	// SOTA
	//&IsleOfConquest::Create,        // IOC
	NULL,
};


EventMgr.h
	EVENT_IOC_CAPTURE_CP_1,
	EVENT_IOC_CAPTURE_CP_2,
	EVENT_IOC_CAPTURE_CP_3,
	EVENT_IOC_CAPTURE_CP_4,
	EVENT_IOC_CAPTURE_CP_5,
	EVENT_IOC_CAPTURE_CP_6,
	EVENT_IOC_CAPTURE_CP_7,
	EVENT_IOC_RESOURCES_UPDATE_TEAM_0,
	EVENT_IOC_RESOURCES_UPDATE_TEAM_1,

StdAfx.h
#include "IsleOfConquest.h"


WorldStates.h
/**
* Battleground
* Isle of Conquest 
*/

#define WORLDSTATE_IOC_ALLIANCE_SCORE                                           4221
#define WORLDSTATE_IOC_HORDE_SCORE                                                      4222 
#define WORLDSTATE_IOC_ALLIANCE_EAST_GATE                                       4326 
#define WORLDSTATE_IOC_ALLIANCE_GATE_DESTROYED_1			4323		// east
#define WORLDSTATE_IOC_ALLIANCE_GATE_DESTROYED_2			4325		// west
#define WORLDSTATE_IOC_ALLIANCE_GATE_DESTROYED_3			4324		// front
#define WORLDSTATE_IOC_ALLIANCE_WEST_GATE					4327
#define WORLDSTATE_IOC_ALLIANCE_FRONT_GATE					4328
#define WORLDSTATE_IOC_ALLIANCE_KEEP_ALLIANCE_CONTROLLED	4339	
#define WORLDSTATE_IOC_ALLIANCE_KEEP_HORDE_CONTROLLED		4340
#define WORLDSTATE_IOC_ALLIANCE_KEEP_ALLIANCE_ASSAULTED		4342
#define WORLDSTATE_IOC_ALLIANCE_KEEP_HORDE_ASSAULTED		4343
#define WORLDSTATE_IOC_ALLIANCE_KEEP_NETURAL				4341
#define WORLDSTATE_IOC_HORDE_KEEP_ALLIANCE_CONTROLLED		4344
#define WORLDSTATE_IOC_HORDE_KEEP_HORDE_CONTROLLED			4345
#define WORLDSTATE_IOC_HORDE_KEEP_ALLIANCE_ASSAULTED		4347
#define WORLDSTATE_IOC_HORDE_KEEP_HORDE_ASSAULTED			4348
#define WORLDSTATE_IOC_HORDE_KEEP_NETURAL					4346
#define WORLDSTATE_IOC_DOCKS_ALLIANCE_CONTROLLED			4304
#define WORLDSTATE_IOC_DOCKS_HORDE_CONTROLLED				4303
#define WORLDSTATE_IOC_DOCKS_ALLIANCE_ASSAULTED				4305
#define WORLDSTATE_IOC_DOCKS_HORDE_ASSAULTED				4302
#define WORLDSTATE_IOC_DOCKS_NETURAL						4301
#define WORLDSTATE_IOC_HANGAR_ALLIANCE_CONTROLLED			4299
#define WORLDSTATE_IOC_HANGAR_HORDE_CONTROLLED				4298
#define WORLDSTATE_IOC_HANGAR_ALLIANCE_ASSAULTED			4300
#define WORLDSTATE_IOC_HANGAR_HORDE_ASSAULTED				4297
#define WORLDSTATE_IOC_HANGAR_NETURAL						4296
#define WORLDSTATE_IOC_QUARRY_ALLIANCE_CONTROLLED			4309
#define WORLDSTATE_IOC_QUARRY_HORDE_CONTROLLED				4308
#define WORLDSTATE_IOC_QUARRY_ALLIANCE_ASSAULTED			4310
#define WORLDSTATE_IOC_QUARRY_HORDE_ASSAULTED				4307
#define WORLDSTATE_IOC_QUARRY_NETURAL						4306
#define WORLDSTATE_IOC_REFINERY_ALLIANCE_CONTROLLED			4314
#define WORLDSTATE_IOC_REFINERY_HORDE_CONTROLLED			4313
#define WORLDSTATE_IOC_REFINERY_ALLIANCE_ASSAULTED			4315
#define WORLDSTATE_IOC_REFINERY_HORDE_ASSAULTED				4312
#define WORLDSTATE_IOC_REFINERY_NETURAL						4311
#define WORLDSTATE_IOC_WORKSHOP_ALLIANCE_CONTROLLED			4229
#define WORLDSTATE_IOC_WORKSHOP_HORDE_CONTROLLED			4230
#define WORLDSTATE_IOC_WORKSHOP_ALLIANCE_ASSAULTED			4228
#define WORLDSTATE_IOC_WORKSHOP_HORDE_ASSAULTED				4293
#define WORLDSTATE_IOC_WORKSHOP_NETURAL						4294			
#define WORLDSTATE_IOC_HORDE_EAST_GATE						4319
#define WORLDSTATE_IOC_HORDE_GATE_DESTROYED_1				4322		// front
#define WORLDSTATE_IOC_HORDE_GATE_DESTROYED_2				4320		// east
#define WORLDSTATE_IOC_HORDE_GATE_DESTROYED_3				4321		// west
#define WORLDSTATE_IOC_HORDE_WEST_GATE						4318
#define WORLDSTATE_IOC_HORDE_FRONT_GATE						4317

Posted Image
0

#6 User is offline   Hoffa 

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

Posted 11 June 2010 - 07:29 AM

Here's the rest of Eatos code, it's a work in progress, if anyone feels like doing the remaining parts: go for it.

http://codepad.org/UOR2qpYw

This post has been edited by dfighter: 19 October 2011 - 06:30 PM
Reason for edit: moved the code to codepad

Posted ImagePosted Image



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

#7 User is offline   kjanko 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 171
  • Joined: 10-August 09
  • Gender:Male

Posted 11 June 2010 - 09:35 AM

What's the point of scripting Isle of Conquest without vehicles support?
Posted Image
0

#8 User is offline   alleycat 

  • Helps so much & is so mature & gay
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 25-July 08
  • Gender:Male

Posted 11 June 2010 - 03:19 PM

Looks great so far, but kjanos has a point.
I can haz cookie?
0

#9 User is offline   eatos92 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 193
  • Joined: 06-May 09
  • Gender:Male
  • Location:Serbia, Devil WoW

Posted 11 June 2010 - 03:47 PM

Well i do have partly working vehicle on arc, no shooting yet available so this is a bit useful
Posted Image
0

#10 User is offline   Garvey 

  • is a cool guy
  • Group: Super Moderator
  • Posts: 331
  • Joined: 23-November 09
  • Gender:Male
  • Location:England
  • Server OS:Windows

Posted 05 July 2010 - 05:25 AM

View Posteatos92, on 11 June 2010 - 03:47 PM, said:

Well i do have partly working vehicle on arc, no shooting yet available so this is a bit useful


You just don't feel like contributing it?
But I, being poor, have only my dreams;
I have spread my dreams under your feet;
Tread softly because you tread on my dreams.
0

#11 User is offline   eatos92 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 193
  • Joined: 06-May 09
  • Gender:Male
  • Location:Serbia, Devil WoW

Posted 07 July 2010 - 09:28 AM

Every time when i try something to contribut, i get flamed and i dont need some 15 years old kids to flame me...So better no contributing to it...
Posted Image
0

#12 User is offline   Kekers 

  • I have no life
  • Group: Contributor
  • Posts: 9,023
  • Joined: 25-May 10
  • Gender:Male
  • Location:Awwstrayleyer

Posted 07 July 2010 - 09:34 AM

Ignore the flames and contribute anyway; it's the more mature thing to do
if(!this)
0

#13 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 July 2010 - 03:41 PM

View Posteatos92, on 07 July 2010 - 09:28 AM, said:

Every time when i try something to contribut, i get flamed and i dont need some 15 years old kids to flame me...So better no contributing to it...

Not everything is flaming that you perceive as such. Just continue posting. If it's good enough it will be added. If it's not good enough, then just face the fact that you have to improve.
This doesn't mean you should give up!
"The demand for free goods is infinite."
0

#14 User is offline   Shadoxfix 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 312
  • Joined: 30-December 09
  • Gender:Male
  • Location:Netherlands

Posted 07 July 2010 - 03:52 PM

View Posteatos92, on 07 July 2010 - 09:28 AM, said:

Every time when i try something to contribut, i get flamed and i dont need some 15 years old kids to flame me...So better no contributing to it...

People are flaming because mostly of the time a patch contributed is a hackfix. We all know they aren't happy about that.
0

#15 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 July 2010 - 03:58 PM

View PostShadoxfix, on 07 July 2010 - 03:52 PM, said:

People are flaming because mostly of the time a patch contributed is a hackfix. We all know they aren't happy about that.

/sigh
For the last time, somehow please get it thru your skulls. Criticism != flaming
Otherwise we may have to take some drastic measures.

Posted Image









No this is not Cartman's anal probe... Perverts.
"The demand for free goods is infinite."
2

#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 19 October 2011 - 06:28 PM

Updated, extended, and worked a little on this.
It's not really functional but at least it builds, you can enter the bg and there are some things spawned.
Since it was missing the header file completely I had to conjure that from 0 to fit the .cpp file :\

http://pastebin.com/bF68Gn8z


Anyhow somehow I get the feeling we better rewrite all BGs from scratch since all of them ( including this one ) are a collection of horrible hacks.
Maybe I will do that once I removed them from the "core" and made them plugins. :)


Posted Image
"The demand for free goods is infinite."
0

#17 User is offline   mec 

  • Member
  • Pip
  • Group: Members
  • Posts: 42
  • Joined: 19-June 09
  • Gender:Male
  • Location:ND

Posted 20 October 2011 - 08:29 AM

being that dfighter put vehicles and destructive buildings/walls into arcemu. it shouldnt be so hard to get fully functional bg's now
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 20 October 2011 - 08:46 AM

View Postmec, on 20 October 2011 - 08:29 AM, said:

being that dfighter put vehicles and destructive buildings/walls into arcemu. it shouldnt be so hard to get fully functional bg's now

Harder than what you'd imagine :)
"The demand for free goods is infinite."
0

#19 User is offline   Shrexx 

  • Member
  • Pip
  • Group: Members
  • Posts: 37
  • Joined: 29-March 10
  • Gender:Male

Posted 21 October 2011 - 12:59 PM

What can the people do that don't know much C++ to help you?
0

#20 User is offline   sip 

  • Member
  • Pip
  • Group: Members
  • Posts: 90
  • Joined: 30-December 09

Posted 21 October 2011 - 01:44 PM

View PostShrexx, on 21 October 2011 - 12:59 PM, said:

What can the people do that don't know much C++ to help you?



I think the best way to help arcemu to be better than Trinity Core. is to throw all the bug report we can. and learn c + +. It's the only way
People should say what they can do better. and although we are not pro inside the c + + world, we just try and throw them into the forum.


my idea: P
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • 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