Try this i revised 2essy script but like what i've said there's an issue if player name exceeds 23 characters :
- script gmrenamer -,{
OnPCLoginEvent:
set .nickname$,strcharinfo(0);
setarray .banned$[0],"GM","[GM]","Admin","G M","[Admin]","A dmin";
set .bannedamt,getarraysize(.banned$);
if( getgmlevel() ) {
if( compare(.nickname$,"[GM] ") ) {
query_sql("UPDATE `char` SET name='[GM] "+.nickname$+"' WHERE name='"+.nickname$+"'");
mes "You have to relog to update your nickname to have ^FF0000[GM]^000000 tag";
}
} else {
for ( set .a, 0; .a < .bannedamt; set .a, .a + 1 ) {
if( !compare(.nickname$,.banned$[.a]) ) {
atcommand "@block "+.nickname$+"";
}
}
}
end;
}
An issue with updating name through SQL is that when player name exceeds 23 character it will be deleted instantly so if you would not mind [member=2essy2killu] you can add a check on your script ( getstrlen ) that if player name + GM tag > 23 then the npc should ask player somehow if he or she wants to change his or her name. If not, then don't execute the update command. Otherwise if it is < 23 then there should be no problem
I think it's included when you download your kRO. Maybe you can set this :
trunk/conf/battle/client.conf
// Valid range of dyes and styles on the client.
min_hair_style: 0
max_hair_style: 27
min_hair_color: 0
max_hair_color: 8
min_cloth_color: 0
max_cloth_color: 4
trunk/conf/battle/drops.conf
// Make broadcast ** Player1 won Pupa's Pupa Card (chance 0.01%) ***
// This can be set to any value between 0~10000.
// Note: It also announces STEAL skill usage with rare items
// 0 = don't show announces at all
// 1 = show announces for 0.01% drop chance items
// 333 = show announces for 3.33% or lower drop chance items
// 10000 = show announces for all items
rare_drop_announce: 0
Then you should stay on the same thread until it works lol. Many people will answer you and that is for sure . Creating multiple threads with same topic or content will make other people to start being annoyed and that's not good brother
Same as coupon npc made by @tr0n. You can check his work here http://rathena.org/board/topic/63332-coupon-npc-112/
Download the script he make and change :
getitem .@available_item[@i],.@available_amount[@i];
to :
set #CASHPOINTS, #CASHPOINTS + <desired amount>;
I think you can't invite a player with fake name on a party/guild. If that is the case, then you need to do script something like change the character name ( you need to update your char table in database ) to be able to invite him/her on a party/guild. But by doing so, you must take consider that rAthena limits character name up to 23 characters. If you will make a script make sure that you get first the length of the name of player and if you add it up with the donator tag then it should be < 23. Otherwise that character will be deleted
I think you already answer your question . You cannot connect to your server using your client without having clientinfo.xml on your data folder.
Here is the content of clientinfo.xml :
<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<desc>Ragnarok Client Information</desc>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
<hideaccountlist />
<passwordencrypt />
<passwordencrypt2 />
<extendedslot />
<readfolder />
<connection>
<display>SERVER NAME HERE</display>
<desc>Ragnarok Online</desc>
<balloon>this is a tool tip</balloon>
<address>SERVER IP HERE</address>
<port>6900</port>
<version>20</version>
<langtype>1</langtype>
<registrationweb>REGISTRATION URL HERE</registrationweb>
<yellow>
<admin>2000001</admin>
<admin>2000002</admin>
<admin>2000003</admin>
</yellow>
<loading>
<image>loading00.jpg</image>
<image>loading01.jpg</image>
<image>loading02.jpg</image>
<image>loading03.jpg</image>
<image>loading04.jpg</image>
<image>loading05.jpg</image>
<image>loading06.jpg</image>
<image>loading07.jpg</image>
<image>loading08.jpg</image>
<image>loading09.jpg</image>
<image>loading10.jpg</image>
</loading>
</connection>
</clientinfo>
Reference : http://rathena.org/wiki/Clientinfo.xml
How about items which are dropped by monsters? They can refund it also on the NPC which for me is not appropriate since we are talking about PODS ( some sort of money, donation etc.. ) If that is the case then there is no need for me to donate to his server
You call function Crafting_Tool ( callfunc "Crafting_Tool"; ) but you have function name Crafting Tool which is not the same ( function script Crafting Tool )
function script Crafting_Tool {
dispbottom "" + strcharinfo(0) + " : Seems that the Crafting Tool is working...."
set .@menu, select ("Crafting Tool:Close");
if (.@menu == 1);
set .@r, rand(10);
if( .@r < 10 )
specialeffect2 306;
specialeffect2 183;
delitem 7849,10;
delitem 7758,10;
if( .@r == 3 )
getitem 27301,1;
delitem 7849,10;
delitem 7758,10;
specialeffect2 305;
specialeffect2 113;
close;
if (.@menu == 2);
close;
}