Jump to content

Echo

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by Echo

  1. Someone requested +status and someone was asking about the #of uses so I simply combined the two. Limited only by the space available to character variables as thats how the script determines how many bonus stat points you get.
  2. Sorry I used the wrong item ID for the TCG slot you will need to change the .@reward variable to the correct itemID! (in my test server it is showing up as Bossnia Entrance Ticket) Could just be a mistake on my side lol....
  3. sorry posted something I was working on and realized there was an error will try to fix it asap. Well I can't seem to find the break atm but this should atleast give you an idea of how to approach the issue... prontera,147,172,5 script Exchanger 47,{ set .@npcname$, "^0000FF[ Braggi ]^000000"; set .@item,607; //itemid to exchange for reward set .@reward,7227; //itemid for reward item set .@price, 100; //#of cost items to exchange per #rewards set .@numReward, 1; //#of reward items costtoreward will get you. //Checking #of items set .@count, countitem( .@item ); //End Prep mes .@npcname$; mes "Hello! I Will Exchange"; mes ""+getitemname( .@item )+" into "+getitemname( .@reward )+""; mes "You currently have "+.@count+""; if(.@count >= .@price ) { mes "How many "+getitemname( .@reward )+" will you trade for?"; input .@amount; if (.@count < (.@amount * .@price)){ mes .@npcname$; mes "I'm sorry but you do not have enough"; mes ""+getitemname( .@item )+" to convert into "+(.@numReward * .@amount)+" "+getitemname( .@reward )+"."; end; } else { delitem .@item,( .@amount * .@price ); getitem .@reward,( .@amount * .@numReward); mes "Have a nice day!"; } } close; } Fixed... Currently takes in the #of TCG cards you want good luck!
  4. replace set Zeny, Zeny - ( .@amount * .@zenyCost ); with delitem itemid,itemamount; and add a check to see if the player has the required item above this line so something like @numitem, 0, countitem( itemid ); if (@numitem < 1) { mes "You don't have enough insertitemhere"; end; } This may not work as I don't have time to test this out this week but if this has not been addressed by friday I will get you a modified script as soon as I can!
  5. Thank you both for the starts of this script - Was hoping one was out there but hadn't been shared. Either way I am grateful for the assistance! (Will be using Arc Angeling's since it is setup with an array format) I do have one question Arc Angeling - the .@s variable; is this simply used to track the selection in the arrays? I've seen the syntax before but am having some issues picking this language up. also curious as to the implode and explode functions if you don't mind me asking!
  6. Simply converts zeny to skill or statpoints based on number input by user. Will check to see if user has enough zeny. One check I forgot to add is to see if user selling will surpass the zeny limit upon completion of the transaction. Will add this if there is a desire. .@zenycost is the variable used to change cost of purchase and the value of sale -> If requested I can modify script to have differing rates. Else follow the format of .@zenycost and replace the desired variables yourself! Script: http://pastebin.com/v5kz1R4h pointmerchant.txt
  7. Simple Rebirth System based off of Diconfrost Vanz's script. This script will track the # of Rebirths completed by character starting at 0 being base. On first attaining Novice High you have 100 stat points to distribute, with this upon rebirth to novice high for the first time you will have (1*bonus stat setting) + the 100 you normally get upon achieving novice high. Formula is ((#Rebirths*Statbonus) + 100) Setup is found at the top under header. set .@cost, 5000000; //Cost for Rebirth set .@blvl, 500; //Minimum Base Level for Rebirth set .@bstats, 200; //Bonus stats per rebirth Change these to fit your server. Requires you to be atleast high novice before being able to rebirth, this can be changed if needed just look for : if (Class < 4001) goto R_Sorry2; change 4001 to desired value of class. Rebirth.txt: Mirror: http://pastebin.com/PfW6KrTg
  8. Figured I would put this here since the topic I created didn't seem to actually post... Script below tracks the #of Rebirths completed based on character and awards a certain number of bonus status points per each successive rebirth. Thank you for the original script and if you think this can be improved please leave a comment! http://pastebin.com/PfW6KrTg
  9. Yep so acolyte would be prontera church, thief would be morroc pyramid, mage would be the mage guild in geffen, etc... just hoping there is something like it out there already.
  10. Checking to see if anyone has already scripted an npc that warps those to job change locations vs. just changing there jobs. (Already searched not much came up, just seeing if someone already has something similar done that hasn't been shared).
  11. If anyone has a working 255 job exp table it would be helpful to see what the difference is. I was able to fix Soul Linker by using the 2nd class table however star gladiator and super baby are still not working. This file was out of a fresh git so I would assume I am not the only one having this issue... Calculated a trendline using a couple of exponential models retyping by hand fixed the issue...
  12. If you look at the error; the issue isn't with base level but with job level. There is an issue with only 5 of the jobs and they are listed in the error. These are Super Novice, Super Baby, Star Gladiator (1), Star Gladiator(2), and Soul Linker. I can't seem to figure out what is different between these 5 and the ones that are working and this is the reason the topic was made...
  13. after editing the max level to 1000 and job level to 255 and checking to ensure that there are enough entries within the exp table for each I am getting this error.... I edited the map.h header file to allow for a max level of 1000 the error only involves a couple of jobs which is strange error capture in attachment Any ideas on the issue?
×
×
  • Create New...