• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[Wotlk/Cata] Ultimate Duel Script

callmephil

Respected Member
[Wotlk/Cata] Ultimate Duel Script V1.4

This is The Ultimate Duel Script :
List :
V1
-Item Reward (Me)
-Simple Rating Reward + SQL (Me)
-Phasing (Credit's go to Deathmane1337) (Not Tested)
-Security (Me)
-Zoned (Me)
-Reset HP/Mana/Energy (At the start and at the End) (Me)
-Reset Cooldown (At the End) (Me)
V1.1
-Reset (Hp/Mana etc) Code is cleaner
-Added Worldserver Conf Options (Check Inside Comments) (For Reward Only)
-Phasing System Rewrite by Rochet & Tommy (EmuDevs) (Not Tested)
Edit : V1.2
- Fixed Compile Errors
- Added Rating Info (Only When duel start) || Not Tested & Need more eyes
- Fixed Worldserver Config

It's for both users, Cataclysm and Wotlk Instruction to make it works proprely are Inside.

OLD
(V1) Link : http://pastebin.com/mVmjZTVb
(V1.1) Link : http://pastebin.com/hZPStycV
(V1.2) Link : http://pastebin.com/VpVNeDPZ
(V1.3) Link : http://pastebin.com/qinTmGQX

NEW
Edit : V1.4
- Code has been full re-write
*There is now 2 Files (Cleaner)
*Ultimate_duel_script.cpp AND Ultimate_duel_script.h
- There is new config setup More advanced and cleaner !
- You can choose different AREA or ZONE for the rated system (With config)
- I've Added Readme file for setup

Phasing system has been removed for fixing time. -> V1.5
- More things are comming soon V1.5
* Phasing system will be full re-worked.
* Few new things will be added
* Matchmaking & Rating distribution will be re-worked.

GIST LINK :
(V1.4) https://gist.github.com/callmephil/9692037


Scriptloader :
Code:
AddSC_Ultimate_Duel_Script();

WorldServer Config :
Code:
###################################################################################################
# CONFIGURE TO ACTIVATE RATED DUEL #
####################################
# Duel_Reward.Rating
# Default: 0 - (Disabled)
# 1 - (Enabled)
 
Duel_Reward.Rating = 0
 
##################################
# SECURITY (IN CASE OF CHEATERS) #
##################################
# Duel_Reward.Security
# Default: 1 - (Enabled)
# 0 - (Disabled)
 
Duel_Reward.Security = 1
 
##################################
# ITEM AWARD CONFIGURATIONS #
##################################
# Duel_Reward.isEnable || Activate Item or Currency Reward if rated system is active
# Default: 0 - (Disabled)
# 1 - (Enabled)
#
Duel_Reward.isEnable = 0
 
# Duel_Reward.ItemOrCurrencyID || Define ID for Item or Currency
# Default: 0 - (Disabled)
# Enabled: (Wotlk) - ItemID, Exemple : 40752
# (Cata) - CurrencyID, Exemple : 241
 
Duel_Reward.ItemOrCurrencyID = 0
 
# Duel_Reward.ItemCount || Define how much token will be rewarded
# default : ItemCount_Winner = 3
# ItemCount_loser = 1
#
 
Duel_Reward.ItemCount_Winner = 3
Duel_Reward.ItemCount_loser = 1
###################################################################################################
# SELECT ZONE & AREA ID FOR YOU'RE RATED DUEL ZONE
######################## ZONE CHECK
# Rated_Duel.Zone
# Default: NULL - (Disabled)
# ZONEID - (Enabled) (Exemple 1) use .gps ingame to know zone.
 
Rated_Duel.Zone_1 = NULL
Rated_Duel.Zone_2 = NULL
Rated_Duel.Zone_3 = NULL
Rated_Duel.Zone_4 = NULL
######################## AREA CHECK
# Rated_Duel.Area
# Default: NULL - (Disabled)
# AREAID - (Enabled) (Exemple 5) use .gps ingame to know area.
 
Rated_Duel.Area_1 = NULL
Rated_Duel.Area_2 = NULL
Rated_Duel.Area_3 = NULL
Rated_Duel.Area_4 = NULL
##############################################################################

Enjoy and say Thanks(Comment)
If you have any comments or Questions ask.
 
Last edited:
Have any idea when will relased the new phase ? because pets no phase :( ... I think is possible for hunters cast automatic call pet , for lock get pet name and cast summon pet instant ?
 

callmephil

Respected Member
Have any idea when will relased the new phase ? because pets no phase :( ... I think is possible for hunters cast automatic call pet , for lock get pet name and cast summon pet instant ?

Hi. Sorry i'm actually inactive on emu. My exams are the next month.. but i have a small idea how to fix this without passing by code.

First solution :
If anyone like Tommy or else could find a spell who phase the player in phase 2 or else then cast the spell on pet & player at start of the duel this could solve the problem without big deal.
Second Solution :
Find an unused spell add him a phasing scripts, go back to solution 1
 
Top