Jump to content
  • 0

R>PVP Title


Budots

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

Can you share me a simple PVP TITLE script?

 

- Obtain a TITLE base on how many player(s) you kill successively inside the PVP ROOM ONLY

- For example: [brutal Killer] <Player Name>

- The TITLE will be removed only if the player; RECONNECTS or KILLED BY ANOTHER PLAYER.

 

 

 

A million of thanks in advance :D :D


bump

 

Huhuhuhu not possible? huhuhuhuhu /sob /sob /sob


BUMP!

Edited by GM Montoy
Link to comment
Share on other sites

18 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

- For example: [brutal Killer] <Player Name>

its possible, but not recommended because from the client side restriction

you can try make a script with atcommand "@fakename "+ strcharinfo(0)

and if the player name plus the title name exceeds 23 string characters, the 24th character onwards will be chop off from the client

unless you know how to hex your client to display player name more than 23 characters ...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Maybe add a check? If the title + his/her name exceeds 23 characters let them create a new name? Character will be deleted if their character name exceeds > 23 characters. ( kinda confused with the character word @_@ which is which )

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

@Patskie

the name of character isnt the real problem...it's the client that cant handle that length of name..

how many time you going to delete that chars just to create a characters to have the name to use with the pk title ??

Example

[Brutal Killer]     -  15 words

after using this title...you left "9 words" to be used as name....

 

what happen if they create this kind of name title

[ I am super feeder ]
[ You cant kill me ]
[ Kill me if you can ]
etc....

the idea of PK title system isnt practical .. ..

unless you limit all your characters in your server to have limited length of name.

example...every character with maximum of 4 words in their name..then you will have "20 words" to use for your pk title.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

[brutal Killer] PK Title is just my sample, i can put shorter titles just to lessen the length of the character name if in case.

 

I'll just edit the script if someone will provide working PK TITLE SCRIPT.

 

Just hoping someone will share /rice /rice

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

@Patskie

prontera,155,190,5	script	ksdjfhsdkfj	100,{
	atcommand "@fakename 123456789012345678901234"; // only display until...90123 without the last character "4", because only display 23 string length
	sleep2 2000;
	atcommand "@fakename [extremely long title] "+ strcharinfo(0); // then you try
	end;
}
EDIT: ugh ... emistry post 1st

anyway this is very simple script though

if you want this to be bug anyways ... I can create within 10 minutes

 

-	script	pvp_title	-1,{
OnPCKillEvent:
	if ( !getmapflag( strcharinfo(3), mf_pvp ) ) end;
	atcommand "@fakename [Brutal Killer] "+ strcharinfo(0);
	attachrid killedrid;
	atcommand "@fakename "+ strcharinfo(0);
	end;
}
or maybe less than that Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

[brutal Killer] PK Title is just my sample, i can put shorter titles just to lessen the length of the character name if in case.

 

I'll just edit the script if someone will provide working PK TITLE SCRIPT.

 

Just hoping someone will share /rice /rice

http://rathena.org/board/topic/90205-pk-title/

 

it's not "you can put shorter titles"

BUT you have to limit the length of their name first instead of shorter your title name...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

@Patskie

prontera,155,190,5	script	ksdjfhsdkfj	100,{
	atcommand "@fakename 123456789012345678901234"; // only display until...90123 without the last character "4", because only display 23 string length
	sleep2 2000;
	atcommand "@fakename [extremely long title] "+ strcharinfo(0); // then you try
	end;
}
EDIT: ugh ... emistry post 1st

anyway this is very simple script though

if you want this to be bug anyways ... I can create within 10 minutes

 

Edited by Budots-RO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

It isn't practical after all :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

@Patskie

prontera,155,190,5	script	ksdjfhsdkfj	100,{
	atcommand "@fakename 123456789012345678901234"; // only display until...90123 without the last character "4", because only display 23 string length
	sleep2 2000;
	atcommand "@fakename [extremely long title] "+ strcharinfo(0); // then you try
	end;
}
EDIT: ugh ... emistry post 1st

anyway this is very simple script though

if you want this to be bug anyways ... I can create within 10 minutes

 

Ops. Sorry i didn't saw Emistry post

Please make an easy to understand script please please please, i'm just new about scripting.

Try to check this: http://rathena.org/board/topic/71076-help-pvp-title-error/

I found that topic, and hopefully you can provide me something like that. Its easy to be understood /no1

-    script    pvp_title    -1,{
OnPCKillEvent:
    if ( !getmapflag( strcharinfo(3), mf_pvp ) ) end;
    atcommand "@fakename [Brutal Killer] "+ strcharinfo(0);
    attachrid killedrid;
    atcommand "@fakename "+ strcharinfo(0);
    end;
}

How can i make it work only in guild_vs3 map. And then title will be remove only if the title holder will RECONNECT or GET KILLED

 

Edited by Budots-RO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

-	script	pvp_title	-1,{
OnInit:
	setarray .kills,
		3,
		4,
		5,
		6,
		7,
		8,
		9,
		10;
	setarray .title$,
		"killing spree", //3
		"dominating", //4
		"megakill", //5
		"unstoppable", //6
		"wickedsick", //7
		"monsterkill", //8
		"godlike", //9
		"holyshit"; //10

	.size = getarraysize(.kills);
	end;

OnPCKillEvent:
	//if ( !getmapflag( strcharinfo(3), mf_pvp ) ) end;
	if ( strcharinfo(3) != "guild_vs3" ) end;
	@pvp_title_kills++;
	while ( @pvp_title_kills != .kills[.@i] && .@i < .size ) .@i++;
	if ( .@i == .size ) end;
	atcommand "@fakename ["+ .title$[.@i]+"] "+ strcharinfo(0);
	attachrid killedrid;
	atcommand "@fakename "+ strcharinfo(0);
	end;
}
actually I'm thinking ...

why not just @fakename <title> without displaying player name ... that might work just fine

I only see this topic after I finish this ...

totally same script though

I wonder why @goddameit always make simple script complicated ...
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

 

 

actually I'm thinking ...

why not just @fakename <title> without displaying player name ... that might work just fine

later your pvp room flood with same "fake name" ...everyone have same "name"  O__O

 

then other player who try to whisper these player end up ..pm their "pk title" instead of "name" xD

 

 

 

I wonder why goddameit always make simple script complicated ... 

maybe that's his "coding" style.. 

 

 

 

 

heartblending12.gif ~.~ boring in life ~.~ heartblending12.gif ~

start everything again, now setup a new test server

so annie is back alive in forum ..O__O

the great great script detractor is back ...

** Find a Corner and Hide myself **

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

@Annie: It works but there is something missing,

 

You didn't add , when a player died the PVP TITLE will be removed.

Because as we tried, TITLE will only be removed if the player reconnects.

 

But before i forgot, also add map pvp_y_2-2

Thanks in advance /kis /kis

pvp_title.txt

Edited by Budots-RO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

oh yeah sry about that

-	script	pvp_title	-1,{
OnInit:
	setarray .kills,
		3,
		4,
		5,
		6,
		7,
		8,
		9,
		10;
	setarray .title$,
		"killing spree", //3
		"dominating", //4
		"megakill", //5
		"unstoppable", //6
		"wickedsick", //7
		"monsterkill", //8
		"godlike", //9
		"holyshit"; //10

	.size = getarraysize(.kills);
	end;

OnPCKillEvent:
	//if ( !getmapflag( strcharinfo(3), mf_pvp ) ) end;
	if ( strcharinfo(3) != "guild_vs3" ) end;
	@pvp_title_kills++;
	while ( @pvp_title_kills != .kills[.@i] && .@i < .size ) .@i++;
	if ( .@i != .size )
		atcommand "@fakename ["+ .title$[.@i]+"] "+ strcharinfo(0);
	attachrid killedrid;
	atcommand "@fakename "+ strcharinfo(0);
	end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

oh yeah sry about that

 

-	script	pvp_title	-1,{
OnInit:
	setarray .kills,
		3,
		4,
		5,
		6,
		7,
		8,
		9,
		10;
	setarray .title$,
		"killing spree", //3
		"dominating", //4
		"megakill", //5
		"unstoppable", //6
		"wickedsick", //7
		"monsterkill", //8
		"godlike", //9
		"holyshit"; //10

	.size = getarraysize(.kills);
	end;

OnPCKillEvent:
	//if ( !getmapflag( strcharinfo(3), mf_pvp ) ) end;
	if ( strcharinfo(3) != "guild_vs3" ) end;
	@pvp_title_kills++;
	while ( @pvp_title_kills != .kills[.@i] && .@i < .size ) .@i++;
	if ( .@i != .size )
		atcommand "@fakename ["+ .title$[.@i]+"] "+ strcharinfo(0);
	attachrid killedrid;
	atcommand "@fakename "+ strcharinfo(0);
	end;
}

Its okey @Annie /kis2

Oh by the way, i sended you a message. Please read if you have time

Edited by Budots-RO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

how about pernament tittle?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

pernament title ... you mean change your character name ?

http://www.eathena.ws/board/index.php?s=&showtopic=177894&view=findpost&p=979036

btw I think players can also change their name before they login ...

...I got a feeling that this is much better to do by messing source...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

Posted (edited) · Hidden by Patskie, December 20, 2013 - No reason given
Hidden by Patskie, December 20, 2013 - No reason given


s

Edited by Blue Jem
Link to comment

  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

Can i know if it's possible to have an aura if you are the MVP

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...