Jump to content

Elijah23

Members
  • Posts

    292
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Elijah23

  1. All you need to do is add the multiplier .Buycost So it would be like this..
  2. It seems that @go is still not available... Cause when you have entered @go, the lists were not shown.. Try to restart the server...
  3. This is what i have done and working.. For example prontera castles.. Instead of... else if (compare(strnpcinfo(2),"prtg")) { // Normal Spawns monster strnpcinfo(2),0,0,"Raydric",1163,1; monster strnpcinfo(2),0,0,"Khalitzburg",1132,10; monster strnpcinfo(2),0,0,"Abysmal Knight",1219,5; monster strnpcinfo(2),0,0,"Bloody Knight",1268,5; monster strnpcinfo(2),0,0,"Stormy Knight",1251,1; monster strnpcinfo(2),0,0,"Hatii",1252,1; monster strnpcinfo(2),0,0,"Raydric Archer",1276,5; monster strnpcinfo(2),0,0,"Gryphon",1259,2; monster strnpcinfo(2),0,0,"Chimera",1283,3; monster strnpcinfo(2),0,0,"Alice",1275,1; monster strnpcinfo(2),0,0,"Zealotus",1200,1; // Set Emperium room spawn coordinates and spawn monsters. if (strnpcinfo(2) == "prtg_cas01") { setarray .@emproom[0],197,197; } else if (strnpcinfo(2) == "prtg_cas02") { setarray .@emproom[0],157,174; } else if (strnpcinfo(2) == "prtg_cas03") { setarray .@emproom[0],16,220; } else if (strnpcinfo(2) == "prtg_cas04") { setarray .@emproom[0],291,14; } else if (strnpcinfo(2) == "prtg_cas05") { setarray .@emproom[0],266,266; } monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Guardian Knight",1268,1; monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Guardian Master",1251,1; monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Hatii",1252,1; monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Guardian Knight",1219,1; monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Raydric Archer",1276,5; } I deleted the normal spawns and it look like this... else if (compare(strnpcinfo(2),"prtg")) { // Normal Spawns // Set Emperium room spawn coordinates and spawn monsters. if (strnpcinfo(2) == "prtg_cas01") { setarray .@emproom[0],197,197; } else if (strnpcinfo(2) == "prtg_cas02") { setarray .@emproom[0],157,174; } else if (strnpcinfo(2) == "prtg_cas03") { setarray .@emproom[0],16,220; } else if (strnpcinfo(2) == "prtg_cas04") { setarray .@emproom[0],291,14; } else if (strnpcinfo(2) == "prtg_cas05") { setarray .@emproom[0],266,266; } } No more monsters spawning when castle is empty..
  4. It should look like this.. prontera,155,181,5 script Sample 436,{ set .BuyCost,1; switch(select("Buy Skill Points:Buy Stat Points")){ Case 1: mes "How many Skill Points you want to Buy ?"; mes "Each Cost "+.BuyCost+" Pod."; input @Amount,0; if( @Amount == 0 ) close; if( countitem( 7179 ) < @Amount ){ mes "Not Enough POD"; close; } next; mes "Gained "+@Amount+" Skill Points."; set SkillPoint,SkillPoint + @Amount; delitem 7179,@Amount; close; Case 2: mes "How many Stat Points you want to Buy ?"; mes "Each Cost "+.BuyCost+" Pod."; input @Amount,0; if( @Amount == 0 ) close; if( countitem( 7179 ) < @Amount ){ mes "Not Enough POD"; close; } next; mes "Gained "+@Amount+" Stat Points."; set StatusPoint,StatusPoint + (@Amount); delitem 7179,@Amount; close; } }
  5. Look on the error file you posted and you'll see what items were giving you errors.. They're too many to be enumerated.. Read the errors one by one..
  6. You missed 1 curly, Should be
  7. You're missing 2 right curlys.. LOL //Author : Goddameit //Version : 2011/12/16 - 01:04 function script AllGuildMemberEvent { if(!set(.@gid,getcastledata(getarg(0),1))) return; query_sql("select account_id, char_id from `guild_member` where guild_id = '"+.@gid+"'", .@gmaid, .@gmcid); for(set .@i,0;.@i<getarraysize(.@gmcid);set .@i,.@i+1) { if(isloggedin(.@gmaid[.@i])) getitem 12628,1,.@gmaid[.@i]; } } - script AGME -1,{ OnAGME: setarray .@maps$[0],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; setarray .@maps$[5],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; setarray .@maps$[10],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; setarray .@maps$[15],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; for( set .@i,0; .@i <= 19; set .@i, .@i+1) { callfunc "AllGuildMemberEvent",.@maps$[.@i],0, "System","WoE Victory Reward","Congratulations! Your guild succeeded in occupying "+ getcastlename(.@maps$[.@i]) +". This is your rewards.", 501,1,1,0, "[You got a mail!! Please relogin to reupdate your mail list.]"; } end; }
  8. You will see something like this.. // Normal Spawns monster strnpcinfo(2),0,0,"Evil Druid",1117,10; monster strnpcinfo(2),0,0,"Khalitzburg",1132,4; monster strnpcinfo(2),0,0,"Abysmal Knight",1219,2; monster strnpcinfo(2),0,0,"Executioner",1205,1; monster strnpcinfo(2),0,0,"Penomena",1216,10; monster strnpcinfo(2),0,0,"Alarm",1193,18; monster strnpcinfo(2),0,0,"Clock",1269,9; monster strnpcinfo(2),0,0,"Raydric Archer",1276,7; monster strnpcinfo(2),0,0,"Wanderer",1208,3; monster strnpcinfo(2),0,0,"Alice",1275,1; monster strnpcinfo(2),0,0,"Bloody Knight",1268,1; monster strnpcinfo(2),0,0,"Dark Lord",1272,1; // Set Emperium room spawn coordinates and spawn monsters. if (strnpcinfo(2) == "aldeg_cas01") { setarray .@emproom[0],216,23; } else if (strnpcinfo(2) == "aldeg_cas02") { setarray .@emproom[0],213,23; } else if (strnpcinfo(2) == "aldeg_cas03") { setarray .@emproom[0],205,31; } else if (strnpcinfo(2) == "aldeg_cas04") { setarray .@emproom[0],36,217; } else if (strnpcinfo(2) == "aldeg_cas05") { setarray .@emproom[0],27,101; } monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Dark Lord",1272,1; monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Tower Keeper",1270,4; monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Bloody Knight",1268,1; monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Abysmal Knight",1219,1; monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Raydric Archer",1276,5; delete the normal spawns per castle except for the emperium. ..
  9. please be specific about the error... it's working fine with me, but I'm not using the cash point thing... i think it's because of the cash points..
  10. Some of the items were not in your item_db.txt... That's why you're receiving the error Maybe the items were commented or not really in your item db.. The rest of the warnings were about the selling price and buying price, maybe just change the buying and selling price of those items to 0 in your item_db
  11. Find your agit_template.txt in npc/guild folder... Find the line.. Be careful to delete just the normal spawns... It's arranged per castles.. Hope it helps..
  12. If that's the case, even non WOE guilds will receive the loser prize... Am i right?.. Cause every guild who doesn't have any castles will be considered "Loser guild".. Will it not be abused?.. Anyways, just my opinion.. @TS Cause in the other thread about, i have posted the modified woe rewarder by Goddameit which gives reward to the guild who owns a castle after woe.. You can change the prize their easily to the item you want..
  13. Ohh sorry about that, Here is it.. for(set .@i,0;.@i<getarraysize(.@gmcid);set .@i,.@i+1) { if(isloggedin(.@gmaid[.@i])) getitem 12628,1,.@gmaid[.@i]; }
  14. Thank you for your answers.. I tried both of your suggestions Chris... This is working fine although the unconsumable part is not what I want to happen.. Guess it can't be helped to add that... with regards to.... It does not show any message at all, you will not just able to use it.. Anyways, thanks..
  15. Hi! So I'm using a Job Change scroll.. Here's the script I'm using.. Item DB: So this is functional, If i add It's working for novice only, but i want to add a message that he/she can't use the scroll because he/she is not a novice... And the scroll will not be consumed...
  16. Regarding this script, why would you like to reward the loser guild too?... I think this would make some conflict, how would you determine the loser guild? If they join the WOE or if they don't have any castles? How about the guilds who did not join the WOE and don't have any castles? Are they considered loser too? They'll get prize too?..
  17. sorry for the late reply.. I'm using Toasty's Woe Controller too.. find the line add it after that...
  18. Ohh thanks to that sir Emistry.. miss that part..
  19. Try this.. it's working fine with me... It's set to 1 pod = 1 stat/skill prontera,155,181,5 script Seller 436,{ set .BuyCost,1; switch(select("Buy Skill Points:Buy Stat Points")){ Case 1: mes "How many Skill Points you want to Buy ?"; mes "Each Cost "+.BuyCost+" Pod."; input @Amount,0; if( @Amount == 0 ) close; next; mes "Gained "+@Amount+" Skill Points."; set SkillPoint,SkillPoint + @Amount; delitem 7179,@Amount; close; Case 2: mes "How many Stat Points you want to Buy ?"; mes "Each Cost "+.BuyCost+" Pod."; input @Amount,0; if( @Amount == 0 ) close; next; mes "Gained "+@Amount+" Stat Points."; set StatusPoint,StatusPoint + @Amount; delitem 7179,@Amount; close; } }
  20. here's an example.. One custom item from my DB... So as you can see, my view ID is 3 because I'm using that weapon as a 2-hand sword.. Sprite and Acts example... You should put it like this... The first part is the Job's weapon sprite, just look at the sprite bible in RMS.. In my example, I used Knight.. You just need to put it inside the specific folder for each JOB WEAPON SPRITE inside: sprite/Àΰ£Á·/ Example: I put the above sprites inside the folder: sprite/Àΰ£Á·/±â»ç cause that folder is the job weapon sprite for knight..
  21. db. error is Aspd if i change the view of these custom items ASPD can be normal and equal to the jur What can anybody help me solve this problem? thanks for advance Hi, I believe its with the view id.. What i did with my custom weapons are use the same id of the same kind of weapon.. So with your example, using a 2-hand sword, use two hand sword's id.. and i believe its 3 Sprite of the weapons are read in the sprite folder for each jobs using the jobname(in korean)_ID#
  22. Thank you sir Elixir for a fast reply.. Are you using the same VPS? Actually sa axwebs ko nga po nakita sir yung vps na may remote desktop.. Ncontact ko na din po yung sa axwebs and still waiting for their reply.. So nag iinquire pa po ako ng ibang VPS hoster na may same feature.. Thanks..
  23. Hi guys! Sorry if this is not the right section to post this.. So naghahanap po ako ng VPS na makakapag host ng server ko 24/7, anu po ba marerecommend niyo?.. Kasi gusto ko po yung parang may remote desktop, para pwedeng ako na din po mag setup nung server, ksi ung mga files nasa pc ko din po.. Tska possible din po ba na yung CP ko nasa VPS din?.. Salamat po..
×
×
  • Create New...