-
Posts
776 -
Joined
-
Last visited
-
Days Won
22
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by crazyarashi
-
It's probably not a script you can just add every MVP/or other monsters as a pet then decide a universal item for catching every each one of them :)) Adding Custom Pets
-
set .@amounts, countitem(.itemcoll); if ( .@amounts!= .itemquan) {mes "the quantity item not enough.";} // input .@itemcoll; // changed to npc variable set .itemcoll,.@itemcoll; next; input .@itemquan; set .itemquan,.@itemquan; next; mes "Please input what the reward item."; input .@itemrew; set .itemrew,.@itemrew; next; mes "Please input how many item reward."; input .@itemrewq; set .itemrewq,.@itemrewq; OnInit: //For dummy data set .itemcoll,771; //ID Maybe? set .itemquan,1; set .itemrew,1; set .itemrewq,2;
-
Packet Obfuscation can protect your serv from some 3rd party program like WPE/RPE
-
i don't really suggest disabling it since it's very useful. you can just rediff you current client and just dont disable the packet obfuscation(if youre planning to live your server). or if youre just testing and stuffs disabling it wont hurt :))
-
You diffed your client to disable packet obfuscation :)) but the packet obfuscation on server side is activated..
-
Both is suitable for hosting both have ups and downs if you have a bit of knowledge in linux it's more good to use Linux, but if you don't have any knowledge on linux it's easier to use windows but.. Windows is more pricy than linux and it uses more ram and cpu compare to linux. :))
-
//Item Combo DB 13027:15044,{ .@r = max(getequiprefinerycnt(EQI_ARMOR),1); bonus3 bAddMonsterDropItem,929,RC_DemiHuman,70*.@r; bonus3 bAddMonsterDropItem,970,RC_DemiHuman,50*.@r; bonus3 bAddMonsterDropItem,929,RC_Player,70*.@r; bonus3 bAddMonsterDropItem,970,RC_Player,50*.@r; bonus3 bAddMonsterDropItem,929,RC_Brute,70*.@r; bonus3 bAddMonsterDropItem,970,RC_Brute,50*.@r; } bonus3 bAddMonsterDropItem,929,RC_DemiHuman,70*.@r; // just edit the id drops to bonus3 bAddMonsterDropItem,929,RC_DemiHuman,100*.@r; //
-
- shop TCG123 -1,501:10000 prontera,255,55,5 script TCG SHOP#TCG123 123,{ mes "I Sell Items For TCG!"; next; switch(select("Open Shop:Nothing")){ case 1: callshop "TCG123",1; npcshopattach "TCG123"; end; case 2: mes "Okay have a nice day"; close; } OnBuyItem: set .@TotalCost,0; for(set .@i,0; .@i < getarraysize( @bought_nameid ); set .@i,.@i+1) for(set .@j,0; .@j < getarraysize( .item ); set .@j,.@j+1) if( .item[.@j] == @bought_nameid[.@i] ) set .@TotalCost,.@TotalCost + ( .price[.@j] * @bought_quantity[.@i] ); if(countitem(.currency) >= .@TotalCost ){ delitem .currency,.@TotalCost; for(set .@i,0; .@i < getarraysize( @bought_nameid ); set .@i,.@i+1) getitem @bought_nameid[.@i],(@bought_quantity[.@i] * .amount[.@i]); end; } else { mes "Your "+getitemname(.currency)+" is not enough"; close; } OnInit: set .currency,7227; //set tax here setarray .item[0],607,608; setarray .price[0],2,1; setarray .amount[0],10,10; npcshopitem "TCG123",607,2; for(set .@i,0; .@i < getarraysize( .item ); set .@i,.@i+1) npcshopadditem "TCG123",.item[.@i],.price[.@i]; end; }
-
How to change setting for job trans only?
crazyarashi replied to Mel Tan's question in Database Support
if you define #define PRERE it will disable all renewal features :)) so yes its okay :)) -
How to change setting for job trans only?
crazyarashi replied to Mel Tan's question in Database Support
goto the file src/config/renewal.h and find this line //#define PRERE Change to #define PRERE //uncomment line -
check first if you disabled renewal drop :))
-
【ユチニン】Yuchinin's Script Collection [Updated: 2017/07/30]
crazyarashi replied to yuchinin's topic in Script Collections
this is very amusing to watch XD -
Reproduced it in ubuntu 14.04 - Trusty, the initial gcc version installed is 4.8.4 updating your gcc will solve the issue :))
-
Oh I thought you're using 17.04 Okie then ill up a 14.04 test server and try to replicate your error :))
-
prontera,150,181,4<TAB>script<TAB>VIP Healer#h1-1::Healer<TAB>533,{ Renamed the npc :)) A guide for Basic NPC Creation :))
-
May you provide more information like what ubuntu are you using
-
After changing the exp in the battle folder what is next?
crazyarashi replied to yakiboy's question in General Support
You have enabled the auction feature in the battle/feature.conf since you're using an old client which doesn't support it which is the cause of the system disabling it automatically :)) -
After changing the exp in the battle folder what is next?
crazyarashi replied to yakiboy's question in General Support
After changing anything in the conf/battle folder you need to use @reload battle to reload the changes in the battle folder :)) -
- shop tax10 -1,501:10000 prontera,255,55,4 script Dealer#tax10 123,{ set .@GM,80; if (getgmlevel() >= .@GM) { mes "Hi, Tax Collector How can i help you today?"; mes "You're not excluded from the tax though"; next; switch(select("Open Buying Shop:Open Selling Shop:View Tax Earned:Collect Tax")){ case 1: callshop "tax10",1; npcshopattach "tax10"; end; case 2: callshop "tax10",2; npcshopattach "tax10"; end; case 3: mes "Your shop have now earned a total of ^ff0000"+ $collectedtax +"^000000."; close; case 4: if($collectedtax <= 0){ mes "Are you crazy you have nothing to collect!"; close; } else { set .@TotalCollected,.@TotalCollected + $collectedtax; set Zeny,Zeny + .@TotalCollected; dispbottom "You have collected a total of "+.@TotalCollected+"z Taxes"; set $collectedtax,0; close; } } } mes "Hi, Im a traveling merchant I sell everything as cheap as it can be and buy everything as high as I can be"; mes "But every purchase/sold will have an additional 10% tax"; next; switch(select("Open Buying Shop:Open Selling Shop:Nothing")){ case 1: callshop "tax10",1; npcshopattach "tax10"; end; case 2: callshop "tax10",2; npcshopattach "tax10"; end; case 3: mes "Stop wasting my time!"; close; } OnBuyItem: set .@TotalCost,0; for(set .@i,0; .@i < getarraysize( @bought_nameid ); set .@i,.@i+1) for(set .@j,0; .@j < getarraysize( .item ); set .@j,.@j+1) if( .item[.@j] == @bought_nameid[.@i] ) set .@TotalCost,.@TotalCost + ( .price[.@j] * @bought_quantity[.@i] ); set .@tax,((.@TotalCost * .rates) / 100); set .@FinalCost,.@FinalCost + (.@TotalCost + .@tax); if( Zeny >= .@FinalCost ){ set Zeny,Zeny - .@FinalCost; for(set .@i,0; .@i < getarraysize( @bought_nameid ); set .@i,.@i+1) getitem @bought_nameid[.@i],@bought_quantity[.@i]; set $collectedtax,$collectedtax + .@tax; dispbottom "You have paid an additional "+.@tax+"z for this purchase"; close; } else { set .@lack,.@lack + (.@FinalCost - Zeny); mes "Your zeny is not enough for this purchase"; dispbottom "You need "+.@lack+"z more for this purchase"; close; } OnSellItem: set .@TotalEarn,0; for(set .@j,0; .@j < getarraysize( .bitem ); set .@j,.@j+1) if( @sold_nameid[.@i] == .bitem[.@j] ) { set .@TotalEarn,.@TotalEarn + ( .bprice[.@j] * @sold_quantity[.@i] ); set .@btax,.@btax + ((.@TotalEarn * .rates) / 100); set .@FinalEarn,.@FinalEarn + (.@TotalEarn - .@btax); set Zeny,Zeny + .@FinalEarn; for(set .@i,0; .@i < getarraysize( @sold_nameid ); set .@i,.@i+1) delitem @sold_nameid[.@i],@sold_quantity[.@i]; set $collectedtax,$collectedtax + .@btax; dispbottom "Your Total Earnings is "+.@FinalEarn+"."; dispbottom "You earnings have been reduced by "+.@tax+"z because of the 10% tax"; close; } else { mes "Sorry I dont buy that kind of item"; close; } OnInit: set .rates,10; //set tax here setarray .item[0],501,502,503; setarray .price[0],10000,15000,20000; setarray .bitem[0],748,969; setarray .bprice[0],27500,100000; npcshopitem "tax_Shop",512,1000; npcshopdelitem "tax_Shop",512; for(set .@i,0; .@i < getarraysize( .item ); set .@i,.@i+1) npcshopadditem "tax10",.item[.@i],.price[.@i]; end; } test this and give me feedback :)) apparently i cant make all selling items have tax(i cant think of a logic for it) so just add the items you want to be sellable in the shop in bitem and the bprice for the price of it :))
-
prontera,150,181,4<TAB>script<TAB>Healer#h1-1::Healer<TAB>533,{ you need to use proper syntax :))
-
do you want the tax to be withdrawable and get tax from sell items too? :))
-
- shop tax10 -1,501:10000 prontera,255,55,4 script Dealer#tax10 123,{ mes "Hi, Im a traveling merchant I sell everything as cheap as it can be"; mes "But every purchase will have an additional 10% tax"; next; switch(select("Open Shop:Nothing")){ case 1: callshop "tax10",1; npcshopattach "tax10"; end; case 2: mes "Stop wasting my time!"; close; } OnBuyItem: set .@TotalCost,0; for(set .@i,0; .@i < getarraysize( @bought_nameid ); set .@i,.@i+1) for(set .@j,0; .@j < getarraysize( .item ); set .@j,.@j+1) if( .item[.@j] == @bought_nameid[.@i] ) set .@TotalCost,.@TotalCost + ( .price[.@j] * @bought_quantity[.@i] ); set .@tax,((.@TotalCost * .rates) / 100); set .@FinalCost,.@FinalCost + (.@TotalCost + .@tax); if( Zeny >= .@FinalCost ){ set Zeny,Zeny - .@FinalCost; for(set .@i,0; .@i < getarraysize( @bought_nameid ); set .@i,.@i+1) getitem @bought_nameid[.@i],@bought_quantity[.@i]; dispbottom "You have paid an additional "+.@tax+"z for this purchase"; close; } else { set .@lack,.@lack + (.@FinalCost - Zeny); mes "Your zeny is not enough for this purchase"; dispbottom "You need "+.@lack+"z more for this purchase"; close; } OnInit: set .rates,10; //set tax here setarray .item[0],501,502,503; setarray .price[0],10000,15000,20000; npcshopitem "tax_Shop",512,1000; npcshopdelitem "tax_Shop",512; for(set .@i,0; .@i < getarraysize( .item ); set .@i,.@i+1) npcshopadditem "tax10",.item[.@i],.price[.@i]; end; } this shop have configurable tax percentage but i dont get the part
-
Pet Evolution System is not yet supported by rA