rukkakun Posted March 29, 2014 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 03/27/14 Last Seen: August 22, 2024 Share Posted March 29, 2014 (edited) Hello! I would like to have a script that add a nameTAG to players that passed lvl 150(151~200 for example) Like "[150+]playername" I want it pernamentment,that you cant logout,warp and anything but it still with the tag. Can anyone give me a hint or something to do it? Edited March 29, 2014 by rukkakun Quote Link to comment Share on other sites More sharing options...
naffej Posted March 29, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 8 Reputation: 2 Joined: 08/01/13 Last Seen: December 27, 2021 Share Posted March 29, 2014 @rukkakun:You can join to guild, as usual.Join to party is a bit harder./invite "Original name"@Dissidia: atcommand "@fakename "+getguildname(getcharid(2))+" "+strcharinfo(0); 1 Quote Link to comment Share on other sites More sharing options...
naffej Posted March 29, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 8 Reputation: 2 Joined: 08/01/13 Last Seen: December 27, 2021 Share Posted March 29, 2014 OnPCLoginEvent: if (BaseLevel < 151) end; atcommand "@fakename [150+] "+strcharinfo(0); end; 1 Quote Link to comment Share on other sites More sharing options...
Dissidia Posted March 29, 2014 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted March 29, 2014 do you know how to fake name with showing guild name? Quote Link to comment Share on other sites More sharing options...
rukkakun Posted March 29, 2014 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 03/27/14 Last Seen: August 22, 2024 Author Share Posted March 29, 2014 OnPCLoginEvent: if (BaseLevel < 151) end; atcommand "@fakename [150+] "+strcharinfo(0); end; LOL! I'm so newbie on this.. thanks a lot x) But I also read in other topic that with @fakename you can't accept party/guild invitations.. is that true? Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted March 29, 2014 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted March 29, 2014 link to fakename diff http://rathena.org/board/topic/60188-fakename-show-guildparty/?hl=fakename 2 Quote Link to comment Share on other sites More sharing options...
Dissidia Posted March 29, 2014 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted March 29, 2014 wow nice thank you El Dragon. Quote Link to comment Share on other sites More sharing options...
rukkakun Posted March 29, 2014 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 03/27/14 Last Seen: August 22, 2024 Author Share Posted March 29, 2014 (edited) @rukkakun: You can join to guild, as usual. Join to party is a bit harder. /invite "Original name" @Dissidia: atcommand "@fakename "+getguildname(getcharid(2))+" "+strcharinfo(0); Ok,thank you so much. I'll look at the sources of party invitation and see if I can ignore fakename..so I won't close this topic. When i found something I'll write here. #######[EDIT]#################### I found something on \src\char\int_party.c // Add a player to party request int mapif_parse_PartyAddMember(int fd, int party_id, struct party_member *member) { struct party_data *p; int i; p = inter_party_fromsql(party_id); if( p == NULL || p->size == MAX_PARTY ) { mapif_party_memberadded(fd, party_id, member->account_id, member->char_id, 1); return 0; } ARR_FIND( 0, MAX_PARTY, i, p->party.member[i].account_id == 0 ); if( i == MAX_PARTY ) {// Party full mapif_party_memberadded(fd, party_id, member->account_id, member->char_id, 1); return 0; } memcpy(&p->party.member[i], member, sizeof(struct party_member)); p->party.member[i].leader = 0; if (p->party.member[i].online) p->party.count++; p->size++; if (p->size == 2 || p->size == 3) // Check family state. And also accept either of their Parents. [RoM] int_party_calc_state(p); else //Check even share range. if (member->lv < p->min_lv || member->lv > p->max_lv || p->family) { if (p->family) p->family = 0; //Family state broken. int_party_check_lv(p); } mapif_party_info(-1, &p->party, 0); mapif_party_memberadded(fd, party_id, member->account_id, member->char_id, 0); inter_party_tosql(&p->party, PS_ADDMEMBER, i); return 0; } Maybe adding here something like "if not found the player,ignore '@fakename'or'[150+]' and try to add again" here,could work but I dont know how to do If anyone knows about it,please write here and I'll appreciate so much. Edited March 29, 2014 by rukkakun Quote Link to comment Share on other sites More sharing options...
Dissidia Posted March 29, 2014 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted March 29, 2014 guys do you know how to change the max character name letter? maybe I want 30 letters max. thanks. Quote Link to comment Share on other sites More sharing options...
rukkakun Posted March 29, 2014 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 03/27/14 Last Seen: August 22, 2024 Author Share Posted March 29, 2014 guys do you know how to change the max character name letter? maybe I want 30 letters max. thanks. I found it on mmo.h #define NAME_LENGTH (23 + 1) Quote Link to comment Share on other sites More sharing options...
Question
rukkakun
Hello!
I would like to have a script that add a nameTAG to players that passed lvl 150(151~200 for example)
Like "[150+]playername"
I want it pernamentment,that you cant logout,warp and anything but it still with the tag.
Can anyone give me a hint or something to do it?
Edited by rukkakunLink to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.