Register for your free account! | Forgot your password?

You last visited: Today at 16:15

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE] GM Broadcast item

Discussion on [RELEASE] GM Broadcast item within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.

Reply
 
Old   #1
 
pimpjuc's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 78
Received Thanks: 72
Smile [RELEASE] GM Broadcast item

Today im releasing a script to make a portable GM Broadcast item, I have just made this pretty basic to just give a basic usable idea for anyone to modify to suit there needs

cq_action:
Code:
INSERT INTO cq_action VALUES ('6400030', '6400031', '0000', '0101', '0', 'Welcome~%user_name~to~the~Events~GM~Tool.');
INSERT INTO cq_action VALUES ('6400031', '6400032', '0000', '0102', '0', 'Announce~Hurdle~Race~Start. 6400130');
INSERT INTO cq_action VALUES ('6400032', '6400033', '0000', '0102', '0', 'Announce~Mount~Race~Start. 6400131');
INSERT INTO cq_action VALUES ('6400033', '6400034', '0000', '0102', '0', 'Announce~LegionWar~Start. 6400132');
INSERT INTO cq_action VALUES ('6400034', '6400035', '0000', '0102', '0', 'Announce~PK~Tourney~Start. 6400133');
INSERT INTO cq_action VALUES ('6400035', '6400036', '0000', '0102', '0', 'Announce~FamilyWar~Start. 6400134');
INSERT INTO cq_action VALUES ('6400036', '6400037', '0000', '0102', '0', 'Announce~DragonCave~Open. 6400135');
INSERT INTO cq_action VALUES ('6400037', '6400038', '0000', '0102', '0', 'Announce~Abyssal~Pallace~start. 6400136');
INSERT INTO cq_action VALUES ('6400038', '4000010', '0000', '0102', '0', 'Just~Checking. 0');

INSERT INTO cq_action VALUES ('6400130', '0000', '0000', '0125', '2011', 'Hurdle~Race~Starting~in~5~Minutes~head~to~Cronos~Teleporters!');
INSERT INTO cq_action VALUES ('6400131', '0000', '0000', '0125', '2011', 'Mount~Race~Starting~in~5~Minutes~head~to~Cronos~Teleporters!');
INSERT INTO cq_action VALUES ('6400132', '0000', '0000', '0125', '2011', 'Legion~War~Starting~in~5~Minutes~head~to~Cronos~Teleporters!');
INSERT INTO cq_action VALUES ('6400133', '0000', '0000', '0125', '2011', 'PK~War~Starting~in~5~Minutes~head~to~Cronos~Teleporters!');
INSERT INTO cq_action VALUES ('6400134', '0000', '0000', '0125', '2011', 'Family~War~Starting~in~5~Minutes~head~to~your~Teleporters!');
INSERT INTO cq_action VALUES ('6400135', '0000', '0000', '0125', '2011', 'Dragon~Cave~Starting~in~5~Minutes~head~to~the~Teleporters!');
INSERT INTO cq_action VALUES ('6400136', '0000', '0000', '0125', '2011', 'Abyssal~Pallace~Starting~in~5~Minutes~head~to~Cronos~Teleporters!');
cq_task:
Code:
INSERT INTO cq_task VALUES ('6400030', '6400030', '0000', '', '', '0', '0', '999', '-100000', '100000', '0999', '0000', '0', '-1', '0');
Explanation:
Firstly I haven't included the item itself in this release the Portable Side of the item is based on the same idea as cyberghoser1's portable NPC(so search that thread to learn how to build the item) i just used a pre-existing item with no use(saves time :P)and changed its name and 'action id' client and Db side.

The First section of action is simply a normal NPC so most of us can make that easy enough Now the second half is all the [GM] messages to be sent,
as explained by magewarrior in previous threads type=125 and data=2011 combined in cq_action produce a [GM] message from the param column
so you can broadcast messages to all in the game.
you can use an update script like this to change what you want
Code:
Hurdle race = UPDATE cq_action SET param='whatever~you~want~here' WHERE id=6400130;

Mount race = UPDATE cq_action SET param='whatever~you~want~here' WHERE id=6400130;

Legion War = UPDATE cq_action SET param='whatever~you~want~here' WHERE id=6400130;

PK War = UPDATE cq_action SET param='whatever~you~want~here' WHERE id=6400130;

Family War = UPDATE cq_action SET param='whatever~you~want~here' WHERE id=6400130;

Dragon Cave = UPDATE cq_action SET param='whatever~you~want~here' WHERE id=6400130;

Abyssal Palace = UPDATE cq_action SET param='whatever~you~want~here' WHERE id=6400130;
Im also working on another type the script to get it that far is attached if anyone has any ideas on making it work it would be appreciated
Hope yo'all like
Attached Images
File Type: jpg 377306865.jpg (62.5 KB, 178 views)
Attached Files
File Type: txt [GM] Broadcast test.txt (774 Bytes, 80 views)
pimpjuc is offline  
Thanks
6 Users
Old 12/29/2010, 16:39   #2
 
~Sword~Stalker~.'s Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,784
Received Thanks: 1,054
nice one
~Sword~Stalker~. is offline  
Old 12/30/2010, 23:46   #3
 
dungeonmaster's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 426
Received Thanks: 74
Very nice dude thanks!
dungeonmaster is offline  
Old 01/02/2011, 17:09   #4

 
magewarior2's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 1,523
Received Thanks: 767
Nice release!

i did complete your work

magewarior2 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release] Broadcast
08/16/2010 - CO2 PServer Guides & Releases - 24 Replies
Well first of all, The broadcast release by ArcherMaster didn't work for me.. So I just made my own This code is better, Because you can't broadcast in botjail.. Nor spam the broadcast.. Lets get started In, Client.cs Search public class Client { After that add;
[Help]gm broadcast..
05/21/2010 - EO PServer Hosting - 5 Replies
how to edit gm auto broadcast..like Legion War is every Monday...im using revo db...can someone show some guide and tutorial how to edit it..
[RELEASE]Fix broadcast spam
05/01/2010 - CO2 PServer Guides & Releases - 21 Replies
This is for LOTF 5017, because im currently working on fixing the most things in it. So, i will release some of the stuff. Here is how to fix broadcast, so you can't spam it. Just wondered why it never was fixed. This should work, but is not tested yet. First in World.cs find public static Hashtable GWScores = new Hashtable(); Below it add: public static bool BroadcastSend = false; public static bool Broadcast = false;
[Release] Real Broadcast (Same as in Real Co)
04/04/2009 - CO2 PServer Guides & Releases - 36 Replies
hey my first release since im back at epvp and the owner from copals asked me for this (that is the reason why i quited his team) so here is the release from the real broadcast. Requirements: one of the lotf sources eyes hands first open the project from your source and go to client.cs, then search for; MyChar.CPs -= 5; you will see the broadcast stuff and replace the whole case for;



All times are GMT +2. The time now is 16:15.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.