Jump to content
  • 0
Sign in to follow this  
koko24

Requesting Simple Script

Question

Requesting Simple Script that announce guild who is owning at the active castle

and character who is owning at the active castle

 

 

for example Hercules Guild is on Killing Streak at Kriemhild

 

Player Hercules is on 10 Killing Streak please kill him

player Hercules is on 11 Killing Streak please kill him

Edited by koko24

Share this post


Link to post
Share on other sites

15 answers to this question

Recommended Posts

  • 0

@@koko24

 

here's the sql
 

SET FOREIGN_KEY_CHECKS=0;-- ------------------------------ Table structure for `ownladder`-- ----------------------------DROP TABLE IF EXISTS `ownladder`;CREATE TABLE `ownladder` (  `guild_id` int(11) NOT NULL DEFAULT '0',  `name` varchar(24) NOT NULL DEFAULT '',  `currentown` smallint(6) unsigned NOT NULL DEFAULT '0',  `highestown` smallint(6) unsigned NOT NULL DEFAULT '0',  `owntime` datetime DEFAULT NULL,  PRIMARY KEY (`guild_id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;-- ------------------------------ Records of ownladder-- ------------------------------ ------------------------------ Table structure for `pvpladder`-- ----------------------------DROP TABLE IF EXISTS `pvpladder`;CREATE TABLE `pvpladder` (  `char_id` int(11) NOT NULL DEFAULT '0',  `name` varchar(30) NOT NULL DEFAULT '',  `streaks` smallint(6) unsigned NOT NULL DEFAULT '0',  `kills` smallint(6) unsigned NOT NULL DEFAULT '0',  `deaths` smallint(6) unsigned NOT NULL DEFAULT '0',  `streaktime` datetime DEFAULT NULL,  PRIMARY KEY (`char_id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;-- ------------------------------ Records of pvpladder-- ----------------------------

Share this post


Link to post
Share on other sites
  • 0

@@koko24 i dont provide the .wav files

so I disabled the sound effects, by the way this script is working globally ( any map )

 

set .sound, 0; // soundeffect : 0 - disable, 1 - play soundeffect to all players on map, 2 - play soundeffect to an area around the killer, 3 - play soundeffect to killer only
 

 

  Reveal hidden contents

 

Edited by Zhao Chow

Share this post


Link to post
Share on other sites
  • 0

then i can set the map only for castle siege right? thank you

 

does this show how many the killing streak is?

Share this post


Link to post
Share on other sites
  • 0

@@koko24 yes it does

 

if you want to trigger only for castle maps, change this line of codes

Find This :

//	add all the maps that you want this script to trigger ... all pvp and event maps perhaps ?//	but if you already enable "all" maps, then can comment all these//guild_vs1	mapflag	loadevent//guild_vs2	mapflag	loadevent//guild_vs3	mapflag	loadevent//guild_vs4	mapflag	loadevent//guild_vs5	mapflag	loadevent

Change to this : ( change it what map you want to trigger the script )

//	add all the maps that you want this script to trigger ... all pvp and event maps perhaps ?//	but if you already enable "all" maps, then can comment all theseguild_vs1	mapflag	loadeventguild_vs2	mapflag	loadeventguild_vs3	mapflag	loadeventguild_vs4	mapflag	loadeventguild_vs5	mapflag	loadevent

 

Find This :

	setarray .maptrigger$, // only these maps will trigger this script		"all", // uncomment this to allow load all maps		"guild_vs1",		"guild_vs2",		"guild_vs3",		"guild_vs4",		"guild_vs5";

 

Change to this : ( change it what map you want to trigger the script )

	setarray .maptrigger$, // only these maps will trigger this script		//"all", // uncomment this to allow load all maps		"guild_vs1",		"guild_vs2",		"guild_vs3",		"guild_vs4",		"guild_vs5";

Share this post


Link to post
Share on other sites
  • 0

@@koko24 this script is for PvP purposes and Ladder Player Kills, yes it has a kill count because it has a ladder, for the guild of the player, yes i will broadcast too but player name is not included only the guild, you gonna try it

Share this post


Link to post
Share on other sites
  • 0

i see, havent tried it because my server is running, i'll try it on other map instead thank you



it only says

 

Player has pawned Players heat at guild_vs3

Player is on MONSTER KILL

 

is it possible to broadcast how many did he kill? like 43 kills or 20 kills then it will go back to 0 when he die


==================================

its not working with prtg_cas01


=======================================

working now at prtg_cas01

 

is the Streak Announcement only works on pvp map?

 

the Streak Announcment doesnt show when i test it on my Characters

 

only shows like

 

Player Killed Player at prt_cas01

 

and doesnt announce like

 

Player is on Killing Spree

Edited by koko24

Share this post


Link to post
Share on other sites
  • 0

i cant provide the script, since im busy scripting stuff, but you can send me a pm just incase

EDIT : remove the Answered because its not yet answered haha TAI

Edited by Zhao Chow

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.