Jump to content

sandbox

Members
  • Posts

    949
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by sandbox

  1. Have you modified the file also in db/re/item_trade.txt? Maybe you are running on renewal.
  2. check your scripts_guild.conf, if you have all the castles enabled
  3. Count me in again! I'll try to apply what I learned during my QA internship xD
  4. Disabling NPCs, since downloading SVNs would give you headache regarding packets and configuration.
  5. You can load them anytime via @loadnpc npc/pre-re/mapflag/gvg.txt
  6. You can simply add restriction on entering the new maps on npc/mapflag/nowarpto.txt and then disable the npcs in the npc folder. for the 2-2, simply disable the 3rd jobs on your job changer. or you can try downloading an old revision.
  7. Yeah bro, I thought you were gone as well! But when I came back, I saw your epic avatar on my friend list, lol!
  8. Does your server have item id 6010? Or you hanged when the shop was currently opened and you bought pickaxes?
  9. prontera,100,200,3 script Coin Trader 90,{ mes .Npc_Name$; mes "What do you want to do today "+strcharinfo(0)+"?"; menu "Exchange Zeny to "+getitemname(.Coin_Cfg[0]),L_zc,"Exchange "+getitemname(.Coin_Cfg[0])+" to Zeny",L_cz; L_zc: next; mes .Npc_Name$; if(.CDelay && CDelay < gettimetick(2)) { mes "You can only exchange coins every 1 hr!"; close; } mes "How much "+getitemname(.Coin_Cfg[0])+" do you need?"; mes getitemname(.Coin_Cfg[0])+" costs "+.Coin_Cfg[2]+"z"; input .@coin; if(Zeny/.Coin_Cfg[2] < .@coin || !.@coin) goto L_NotEnough; next; mes .Npc_Name$; mes "Here you go!"; set Zeny,Zeny-(.@coin*.@Coin_Cfg[2]); getitem .Coin_Cfg[0],.@coin; CDelay = gettimetick(2)+.Coin_Cfg[3]; close; L_cz: next; mes .Npc_Name$; mes "I can buy your "+getitemname(.Coin_Cfg[0])+" for "+.Coin_Cfg[1]+"z a piece, how much would you want to sell?"; input .@coin; if(countitem(.Coin_Cfg[0]) < .@coin || !.@coin) goto L_NotEnough; next; mes .Npc_Name$; mes "Here you go!"; delitem .Coin_Cfg[0],.@coin; set Zeny,Zeny+(.@coin*.@Coin_Cfg[1]); close; L_NotEnough: mes .Npc_Name$; mes "Are you trying to fool me?"; close; OnInit: set .Npc_Name$,"[^0000FF "+strnpcinfo(1)+" ^000000]"; setarray .Coin_Cfg[0],674,1000000,1050000,3600; /* Configure the coin id, conversion rate, and delay using the array above Defaults: .Coin_Cfg[0] = Item ID of Coin (Mithril Coin) .Coin_Cfg[1] = Coin to Zeny Rate (1m) .Coin_Cfg[2] = Zeny to Coin Rate (1.05m) .Coin_Cfg[3] = Delay when exchanging Zeny to Coins*/ //Enable Delay? Default: 1hr. .CDelay = 1; end; } Edit to your liking
  10. Does it happen everytime? I think that would only occur if the array would be empty.
  11. pwede mo ask host mo para jan, or try mo mag google..
  12. skill_tree.txt Find Assassin's skill tree, add this line. 12,2,10,0,0,0,0,0,0,0,0,0,0 //SM_SWORD#Sword Mastery#
  13. Really? Sorry, I can't test my scripts for logical errors ingame, only syntax errors @kitty14 did you test it? =/
  14. No problem, I moved it already for you
  15. OT: crowz!!!!!!!!! is me eathenanabs :3
  16. If you are actually reading the scripts that people provide for you, you can easily learn and know what's going on. The code you pasted got typos all over.. instead of guild_vs1 you wrote guidl_vs1 >_>
  17. place a # prefix on your variables instead. example set QuestVar,1; change it to set #QuestVar,1;
  18. prontera,100,200,3 script full_map 46,{ mes "Warp?"; next; if(getmapusers(.map$[0])) { mes "Someone's inside"; close; } delwaitingroom; waitingroom "ON: "+strcharinfo(0),0; warp .map$[0],atoi(.map$[1]),atoi(.map$[2]); close; OnInit: setarray .map$[0],"guild_vs1",50,50; //Map name and coordinates end; } Should work unless the map has been entered via @warp
  19. In your skill_cast_db.txt Find //-- MO_EXTREMITYFIST 271,2000:1750:1500:1250:1000:500:1000:1000:1000:1000,3000:2500:2000:1500:1000,0,10000,300000,0,2000:1750:1500:1250:1000:500:1000:1000:1000:1000 Replace //-- MO_EXTREMITYFIST 271,2000:1750:1500:1250:1000:500:1000:1000:1000:1000,3000:2500:2000:1500:1000,0,10000,300000,60000,2000:1750:1500:1250:1000:500:1000:1000:1000:1000
  20. In src/map/skill.c Find case SM_BASH: if( sd && skill_lv > 5 && pc_checkskill(sd,SM_FATALBLOW)>0 ){ //BaseChance gets multiplied with BaseLevel/50.0; 500/50 simplifies to 10 [Playtester] status_change_start(src,bl,SC_STUN,(skill_lv-5)*sd->status.base_level*10, skill_lv,0,0,0,skill_get_time2(SM_FATALBLOW,skill_lv),0); } break; Add before break; For Pierce skill_castend_damage_id(src, bl, KN_PIERCE, 10, tick, 1); For Sonic blow skill_castend_damage_id(src, bl, AS_SONICBLOW, 10, tick, 1); Backup and recompile.
  21. - script 1charonly -1,{ OnPCLoginEvent: if(getgroupid() > 2 && getgroupid() < 5) { if(!#CharMade$) #CharMade$ = strcharinfo(0); else if (#CharMade$ != strcharinfo(0)) atcommand "@kick "+strcharinfo(0); } end; }
  22. - script TownInvasion -1,{ OnMinute00: if(gettime(3) % 2 == 1 && !agitcheck() && !agitcheck2()) { for(.@i = 0; .@i < 4; .@i++) { //Spawn on 4 towns .Town_Invade$ = .Town$[rand(getarraysize(.Town$))]; announce .Town_Invade$+" Guard: Help us! Our town is being invaded!",bc_blue|bc_all; for(.@ix = 0; .@ix < 5; .@ix++) { //MvP spawner monster .Town_Invade$,0,0,"--ja--",.MvP[rand(getarraysize(.MvP))],1,strnpcinfo(1)+"::OnInvadeDeath"; } for(.@iy = 0; .@iy < 100; .@iy++) { //Mob spawner monster .Town_Invade$,0,0,"--ja--",-1,1,strnpcinfo(1)+"::OnMobsDeath"; } } } end; OnInvadeDeath: .@RandMvP = rand(getarraysize(.Prize)); getitem .Prize[.@RandMvP],.PAmt[.@RandMvP]; end; OnMobsDeath: .@RandMob = rand(getarraysize(.Prize2)); getitem .Prize2[.@RandMob],.PAmt2[.@RandMob]; end; OnInit: //Towns to Invade setarray .Town$[0],"prontera","izlude","geffen","payon","alberta","aldebaran","yuno","lighthalzen","einbroch","einbech","comodo","umbala","amatsu","gonryun","ayothaya","louyang","hugel","rachel","veins"; //MvPs to summon setarray .MvP[0],1583,1832,1312; //Prize to give MVP setarray .Prize[0],7227,607,608,501,502,503,504,505,506,507,508,509,510,511,512; setarray .PAmt[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1; //Prize to give Mobs setarray .Prize2[0],7227,607,608,501,502,503,504,505,506,507,508,509,510,511,512; setarray .PAmt2[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1; end; } make sure .Prize, .PAmt, .Prize2, .PAmt2 has the same length of elements in their array. Just change their values to the Item ID of your prize
  23. change BaseClass to Class
×
×
  • Create New...