jqkeric11
-
Posts
27 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by jqkeric11
-
-
I Want to Change Thor Patcher Icon
How Can I do ?
-
Because your script Instance Name not same as Instance_db.txt Name
-
Quote
prontera,164,164,3 script Lotti Girl 714,{
mes "[Lotti Girl]";
mes "Hello Sir! Are you out";
mes "shopping in the city?!";
next;
mes "[Lotti Girl]";
mes "I'm Lotti! I'll exchange cool";
mes "random prizes for every";
mes "^ff00001 Lottery Ticket^000000.";
next;
mes "[Lotti Girl]";
mes "Our Grand prize is:";
mes "^ff0000Costume Kirin Wing^000000";
mes "Special prizes are:";
mes "^ff0000Costume Flying Angel Wing^000000";
mes "^ff0000____^000000";
mes "and ^ff0000____^000000";
next;
mes "[Lotti Girl]";
mes "You can still get random item";
mes "if you failed to get the grand";
mes "prize and special prizes.";
if (countitem(7528) < 1)
close;
next;
if(Weight >= MaxWeight/2) goto Low;Low:
mes "You are Overweight!";
close;next;
if(select("Deal me in!:No way...")==2)
close;
mes "[Lotti Girl]";
mes "Here we go...";
delitem 7528,1;
set .@Total,8;
//<%>,<ItemID>,<Amount>
setarray .@P1[0],0,8012,1; <------------- The red text is prize
setarray .@P2[0],1,8011,1;
setarray .@P3[0],5,8006,1;
setarray .@P4[0],20,8010,1;
setarray .@P5[0],90,13517,5;
setarray .@P6[0],80,12080,10;
setarray .@P7[0],90,30110,5;
setarray .@P8[0],80,12075,10;
setarray .@Default[0],30095,5; <------------- Ths is Default prize
set .@i, rand(1,.@Total);
if (rand(1,100) > getd(".@P"+.@i+"[0]"))
{
for(set .@j,0; .@j<getarraysize(.@Default); set .@j,.@j+2)
{
getitem .@Default[.@j], .@Default[.@j+1];
if(!.@k[0])
setarray .@k[0], .@Default[.@j], .@Default[.@j+1];
}
}
else{
for(set .@j,1; .@j<getarraysize(getd(".@P"+.@i)); set .@j,.@j+2)
{
getitem getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]");
if (!.@k[0])
{
set .@gz,.@i;
setarray .@k[0], getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]");
break;
}
}
}
if(1<=.@gz&&.@gz<=4)
announce "Congratulations! "+strcharinfo(0)+" just received "+getitemname(.@k[0])+" x "+.@k[1]+" from Lotti Girl (prontera 139 173)!",0;
specialeffect2 248;
close;
OnInit:
waitingroom "[Lotti Girl]",0;
set .zeny,100000;
}
} -
1. rathena-master\db\re\mob_drop
This is a set mob drop
2. rathena-master\db\re\item_randomopt_group
This is a set randomopt_group
3.rathena-master\db\re\item_randomopt_db
This is a set randomopt DB
-
Can you tell me which source you are using?
-
Because this table is custome
so you have to MySql manual add table
- 1
-
Step1 : You have to Add Source (ex: UseSkillEvent) Because Not Skill Event In Ra
Step2 : Use SkillEvent then Add Result
ex:
QuoteOnPCUseSkillEvent:
if(sex==0){
script 1
}else{
script 2
}
End;
-
1 hour ago, MassZERO said:
They are on different map? how did that happen?
How can I fix this? please guide me
Because char_athena.conf > start_point
So you should Edit
(Ex:prontera )
Quote// Starting point for new characters
// Format: <map_name>,<x>,<y>{:<map_name>,<x>,<y>...}
// Max number of start points is MAX_STARTPOINT in char.h (default 5)
// Location is randomly picked on character creation.
// NOTE: For Doram, this requires client 20151001 or newer.
start_point: iz_int,97,90:iz_int01,97,90:iz_int02,97,90:iz_int03,97,90:iz_int04,97,90
start_point_pre: new_1-1,53,111:new_2-1,53,111:new_3-1,53,111:new_4-1,53,111:new_5-1,53,111
start_point_doram: lasa_fild01,48,297 -
13 minutes ago, MassZERO said:
My server is running on a VPS
I'm using import/char_conf.txt
// Login Server IP
login_ip: 204.44.66.117// Character Server IP
char_ip: 204.44.66.117import/map_conf.txt
// Character Server IP
char_ip: 204.44.66.117// Map Server IP
map_ip: 204.44.66.117I haven't done any changes with the subnet_athena.conf
Do I need to change the subnet?
// Subnet support file
// Format is:
// subnet: net-submask:char_ip:map_ip
// you can add more than one subnet (max 16)
// check is if((net-submask & char_ip ) == (net-submask & servip)) => oksubnet: 255.0.0.0:127.0.0.1:127.0.0.1
because they are different map
you can use /where -
6 minutes ago, FelGate said:
They are in the same map sir and both clients are running as you can see on the screenshots.
Can You Show Me Map Name?
Because start_point have same map
ex: iz_int_a iz_int_b iz_int_c ...
-
Beasuse different map
You Can /where
-
I want to output The damage of players do to monsters. (the last Damage is 261 to poring )
I was trying to use this msg to track back to the source code but I can't find it either in the msgstringtable and map_msg.
I tried this code below, but it showed the last maximum hit was the mob's total life points instead of the immediate hit damage.
So I'm here to search and ask for the solution, thank you for your helping and answering.
-
i try to change pet size
i success but when i move
pet is recovery original size
what i can do ?I Use this edit
Quoteif( size == SZ_MEDIUM ) clif_specialeffect(&sd->bl,420,AREA); else if( size == SZ_BIG ) clif_specialeffect(&sd->bl,422,AREA);
-
pet can also be used as one of the methods.
Because Instance use
Example:
-
Rathena no mobassist script
How I can do?
-
probably your db/re/instance_db.txt isnt configure correctly, follow the latest format correctly.
58,Ice Canyon,3600,300,1@ice01,158,10,1@ice01,1@ice02,1@ice03,1@ice04
this is my db/re/instance_db.txt
-
I create Instance
How I can do?
-
I have two scripts
ape,127,185,5 script A Instance 865,{
/*-----------------------------------------------------
.md_nameCH$ = "中央實驗室";
.md_nameEN$ = "Central Laboratory";
.Money = 1000000;
.checkquestNo = 12526;
.players = 1;
.level = 140;
.CDitem = 24;
-----------------------------------------------------*/
mes "副本名稱: ^FF0000"+.md_nameCH$+"^000000";
mes "限制人數: ^0000FF"+.players+"人以上^000000";
mes "限制等級: ^BA55D3"+.level+"以上^000000";
mes "副本時間: ^FF00FF"+.CDitem+"Hr^000000";
.@playtime = checkquest(.checkquestNo,PLAYTIME);
next;
if(.@playtime == 2) erasequest .checkquestNo;
if(.@playtime == 0 || .@playtime == 1){
mes "進出"+.md_nameCH$+"的冷卻時間尚未消除。";
close;
}
switch(select((getpartyleader(getcharid(1),2) == getcharid(0))?"申請^FF0000"+.md_nameCH$+"^000000副本":"","進入^FF0000"+.md_nameCH$+"^000000副本",(getpartyleader(getcharid(1),2) == getcharid(0))?"取消":"")){
case 1:
if(Zeny < .Money){
mes "------------[副本信息]------------";
mes "金額不足。";
close;
}
if (!instance_check_party(getcharid(1),.players)) {
mes "請組成"+.players+"人以上的隊伍再來.";
close;
}
if (instance_create(.md_nameEN$) < 0) {
mes "隊伍名稱: "+getpartyname(getcharid(1));
mes "隊 長: "+strcharinfo(0);
mes "^0000ff"+.md_nameCH$+" ^000000- 創建失敗!";
close;
}
Zeny -= .Money;
sleep2 1;
'pid = getcharid(1);
'leadercid = getpartyleader('pid,2);
getpartymember getcharid(1),0;
'partymembercount = $@partymembercount;
copyarray 'partymembername$,$@partymembername$[0],$@partymembercount;
close;
case 2:
switch(instance_enter(.md_nameEN$)) {
case 3:
mes "不明錯誤.";
break;
case 2:
mes .md_nameCH$+" 副本不存在.";
mes "隊長尚未申請記憶迷宮.";
break;
case 1:
mes "只有申請 "+.md_nameCH$+" 副本的隊員才可以進入.";
break;
case 0:
sleep2 1;
mapannounce "ape","["+getpartyname(getcharid(1))+"] 隊伍的 ["+strcharinfo(0)+"] 進入了 [" + .md_nameCH$ + "].",bc_map,"0x00ff99",FW_NORMAL,12;
setquest .checkquestNo;
break;
}
close;
case 3: close;
}
close;
OnInit:
waitingroom "中央實驗室",0;
end;
}ape,130,188,5 script B Instance 459,{
/*-----------------------------------------------------
.md_nameCH$ = "驚駭森靈巢穴"; //副本中文名稱
.md_nameEN$ = "Faceworm Nest"; //InstanceDB名稱
.Money = 1000000; //開場費用
.checkquestNo = 12521; //questDB名稱
.players = 1; //隊員人數
.level = 140; //最低等級
.CDitem = 24; //CD時間
-----------------------------------------------------*/
mes "副本名稱: ^FF0000"+.md_nameCH$+"^000000";
mes "限制人數: ^0000FF"+.players+"人以上^000000";
mes "限制等級: ^BA55D3"+.level+"以上^000000";
mes "副本時間: ^FF00FF"+.CDitem+"Hr^000000";
.@playtime = checkquest(.checkquestNo,PLAYTIME);
next;
if(.@playtime == 2) erasequest .checkquestNo;
if(.@playtime == 0 || .@playtime == 1){
mes "進出"+.md_nameCH$+"的冷卻時間尚未消除。";
close;
}
switch(select((getpartyleader(getcharid(1),2) == getcharid(0))?"申請^FF0000"+.md_nameCH$+"^000000副本":"","進入^FF0000"+.md_nameCH$+"^000000副本",(getpartyleader(getcharid(1),2) == getcharid(0))?"取消":"")){
case 1:
if(Zeny < .Money){
mes "------------[副本信息]------------";
mes "金額不足。";
close;
}
if (!instance_check_party(getcharid(1),.players)) {
mes "請組成"+.@players+"人以上的隊伍再來.";
close;
}
if (instance_create(.md_nameEN$) < 0) {
mes "隊伍名稱: "+getpartyname(getcharid(1));
mes "隊 長: "+strcharinfo(0);
mes "^0000ff"+.md_nameCH$+" ^000000- 創建失敗!";
close;
}
Zeny -= .Money;
sleep2 1;
'pid = getcharid(1);
'leadercid = getpartyleader('pid,2);
getpartymember getcharid(1),0;
'partymembercount = $@partymembercount;
copyarray 'partymembername$,$@partymembername$[0],$@partymembercount;
close;
case 2:
switch(instance_enter(.md_nameEN$)) {
case 3:
mes "不明錯誤.";
break;
case 2:
mes .md_nameCH$+" 副本不存在.";
mes "隊長尚未申請記憶迷宮.";
break;
case 1:
mes "只有申請 "+.md_nameCH$+" 副本的隊員才可以進入.";
break;
case 0:
sleep2 1;
mapannounce "ape","["+getpartyname(getcharid(1))+"] 隊伍的 ["+strcharinfo(0)+"] 進入了 [" + .md_nameCH$ + "].",bc_map,"0x00ff99",FW_NORMAL,12;
setquest .checkquestNo;
break;
}
close;
case 3: close;
}
close;
OnInit:
waitingroom "驚駭森靈巢穴",0;
end;
}I create A instance and enter is OK
then, I exit A instance
I use B instance
i don't create new B instance
but why can enter?
and no display
case 2:
mes .md_nameCH$+" 副本不存在.";
mes "隊長尚未申請記憶迷宮.";
break; -
Could be related to database collation
My database select big5
I fix
Answer:
(1)Go to inter_athena
//default_codepage: big5
-
try change your langauge setting on clientinfo.xml
This is my clientinfo.xml
<?xml version="1.0" encoding="BIG5" ?>
<clientinfo>
<servicetype>taiwan</servicetype>
<servertype>primary</servertype>
<extendedslot>2</extendedslot>
<connection>
<display>127.0.0.1</display>
<desc></desc>
<balloon></balloon>
<address>127.0.0.1</address>
<port>6900</port>
<version>45</version>
<langtype>4</langtype>
<aid>
<admin></admin>
</aid>
<registrationweb></registrationweb>
</connection>
<servicetype>taiwan</servicetype>
<servertype>primary</servertype>
<extendedslot>2</extendedslot>
<connection>
<display></display>
<desc></desc>
<balloon></balloon>
<address>127.0.0.1</address>
<port>69000</port>
<version>45</version>
<langtype>4</langtype>
<aid>
<admin></admin>
</aid>
<registrationweb></registrationweb>
</connection>
<!-- 若需要多重選單請將註解移除 -->
< ! --
<servicetype>taiwan</servicetype>
<servertype>primary</servertype>
<extendedslot>2</extendedslot>
<connection>
<display>^398ADFCS_eAthena Client^000000</display>
<desc></desc>
<balloon></balloon>
<address>127.0.0.1</address>
<port>6900</port>
<version>211</version>
<langtype>4</langtype>
<aid>
<admin></admin>
</aid>
<registrationweb></registrationweb>
</connection>
-- >
</clientinfo>
-
I use this https://rathena.org/board/topic/74969-send-mail-via-scriptcommand/
English and number is OK
but I use Chinese is faile
example:
sendmail .charid,.sender$,"("+NoviceReward+1+")","這是本私服給的小小獎勵!繼續加油!",100000,2456,1;
-
If i want to modify skill calculate
What i should do now ?
-
-
I can't Useing these command
* getmobdata(<GID>,<arrayname>)
* setmobdata <GID>,<parameter>,<new value>;and i can't find these Source add
How am i do ?
How to Change Thor Patcher Icon
in General Support
Posted
thanks!