Jump to content

SevySevSevy

Members
  • Posts

    54
  • Joined

  • Last visited

Everything posted by SevySevSevy

  1. Good day, I'm having problems with my client 2012-04-10. Some of my players cant connect to my server, when ever they enter their username and password and hit OK their client freezes and crashes. While other's client is working fine. What seem to cause this problem ?
  2. can someone please share a working scavenger hunt npc just like this one : ? //===== eAthena Script ======================================= //= Scavenger Hunt NPC //===== By: ================================================== //= Iceandrews and MagnusG87 //= Contact: caiaphas(at)hotmail.com //= eAthena ID: Iceandrews //===== Description: ========================================= //= //= This NPC initiates a server wide Scavenger Hunt. //= The NPC generates a list of 10 items that are to be //= collected. This list is valid for everyone on the entire //= server. All players compete against each other to gather //= the items in the hunt. Once a player collects all the //= items, they can turn them in for a large experience //= reward, both job and base. At this time, a new list of //= items is generated for the entire server. If at any time //= the list of items is too hard, or impossible to gather, //= a GM character can reset the game and generate a new list //= of items. Only GM characters or a server restart will //= generate a new list of items. //= //= ******************* WARNINGS ***************************** //= 1 - It is possible that some hunts may be impossible. //= This script should generate a list of items that are //= dropped by a mosnter or sold by and NPC. However, //= it may select a mosnter that is NOT in the game. //= I believe this is a rare case. //= 2 - This script makes use of a global variable. //= //===== Version History: ===================================== //= 1.0 - Initial Release //= 1.1 - Made adjustments to the way in which it generated //= the item list. Previously, it was ANY random item //= from the item_db.txt. Now it should ONLY items //= that are either dropped by a monster or sold by //= any NPC. I also added code to choose between //= and experience reward or a specified number of base //= and job levels. //============================================================ prt_in,37,104,6 script Scavenger Hunt 629,{ //Main Menu Choices. mes "[Scavenger Hunt]"; mes "Welcome to the Scavenger Hunt!"; mes "You can earn 3 Gold Coins if you hand in the items I need."; next; menu "View Current Scavenger Hunt Items",ViewItems, "Hand in Current Scavenger Hunt Items",CheckForItems, "Leave",QuitHunt, "Initiate New Scavenger Hunt",GMCheck; // Diplays the list of items and their item ID number // that is valid for the current hunt. ViewItems: mes "[Scavenger Hunt]"; mes "This is the current list of items."; mes ""; for(set .@i,0; .@i < 10; set .@i,.@i+1) { mes .@i+1 + ". " + getitemname($@scavengerList[.@i]) + " - Item ID:" + $@scavengerList[.@i]; } next; menu "Leave",QuitHunt; // Check to make sure you have all the required items // in your inventory. If you do, you get the rewards. // If not, the NPC interactions ends. CheckForItems: for(set .@i,0; .@i < 10; set .@i,.@i+1) { if(countitem($@scavengerList[.@i]) == 0) { goto DoesNotHaveItems; } } goto HasRequiredItems; // Player has the required items. // The player can turn in the items for a reward. // They can also not turn anything in and just leave. HasRequiredItems: mes "[Scavenger Hunt]"; mes "Congratulations! You've collected all the items in this Scavenger Hunt. Would you like to turn them in for the reward?"; next; menu "Yes",HandInItems, "No",DoNotHandInItems; // Takes the items from the players inventory. // Player receives an experience reward. HandInItems: for(set .@i,0; .@i < 10; set .@i,.@i+1) { delitem $@scavengerList[.@i],1; } // EXp Reward of 300000 base and job experience. // getexp 300000,300000; getitem 7517,3; // Instead of experience, this reward is for a // specified number of base and job levels. // Change the numbers accordingly for your server. //atcommand "@blvl 5"; //atcommand "@jlvl 5"; callfunc "setScavengerList"; announce "Attention! A new scavenger hunt has begun! Come and get the new item list!",bc_all; mes "[Scavenger Hunt]"; mes "You've gained base and job experience."; next; menu "Leave",QuitHunt; // Check to make sure player is a GM. // If they player is a GM, generate a new item list. // If they are not, provide a message and leave the NPC. GMCheck: if (getgmlevel()) { callfunc "setScavengerList"; mes "[Scavenger Hunt]"; mes "A new list of item has been generated. Thanks!"; next; menu "View Current Scavenger Hunt Items",viewItems, "Leave",QuitHunt; } else { mes "[Scavenger Hunt]"; mes "Sorry, you don't have the rights to start a new Scavenger Hunt."; next; menu "Leave",QuitHunt; } // Player does not have the required items. DoesNotHaveItems: mes "[Scavenger Hunt]"; mes "Sorry, but it looks like you are missing some items. Come back when you've collected everything."; next; menu "Leave",QuitHunt; // Player chooses not to hand in the items. DoNotHandInItems: mes "[Scavenger Hunt]"; mes "Aww, but you're missing out on a great reward!"; next; menu "Leave",QuitHunt; // Ends NPC interaction. QuitHunt: mes "[Scavenger Hunt]"; mes "Good luck finding everything!"; close; // NPC Intialization OnInit: callfunc "setScavengerList"; end; } function script setScavengerList { //initializes list of scavenger items for( set .@i,0; .@i < 10 ; set .@i,.@i+1 ) { set .@valid, 0; //continue generating random numbers until a valid item is found while(.@valid == 0) { // This is the range of item IDs that can be produced // for any given scavenger hunt. This can be changed. set .@j, rand(501, 12153); // This takes the random number above and does 2 things. // First it check to see if the item exists at all. // If getiteminfo() returns -1, then an item with that // number is not in the item database. If that item does // exist, then it returns the maximum drop rate for that // item from the entier mosnter set. For example, if the // item is a 'Apple', and both Porings (5%) and Luncatis (1%) // drop this item, the function will return 5. This verifies // that the item ID gernerated is dropped by a monster. // If the returned number is 10000, this means it is // sold by an NPC. So this generates a list of random // items that are either dropped by a mosnter or sold // by and NPC. if(getiteminfo(.@j,3) > 0) { set $@scavengerList[.@i], .@j; set .@valid , 1; } } } return; } that scripts works fine except it doesn't record when u start a quest, it just keeps giving different items to hunt . When u talk to it again it will give another set of items and talk to it again it will still do the same. TIA.
  3. Sadly I think it will take longer than that well, we do not know mayve itll be released earlier then we expected
  4. still waiting for this awesome CP! hope u can release a new version before my server opens this 28th
  5. Hello, good day Euphy, just a little question. I'm planing on adding your Class Specialization script on my server. The problem is , The bonuses you added wont show up. The +25 str etc works but the skill level increase wont . How can I fix this?
  6. Thanks bro, working perfectly!
  7. I don't really know, the client im using came free from my vps hoster. I'm gonna try Shins diff patcher and see if it would fix the problem. EDIT : I tried ShinsDiffPatcher with WeeDiffGenerator as patch engine, it always says "there has to be exactly 2 matches!" ...
  8. Hello, can someone please tell me what's wrong with this script of mine : - script weaponmastcmdc -1,{ OnInit: bindatcmd "train",strnpcinfo(3)+"::OnTrainweap"; end; OnTrainweap: if (countitem(30722) > 1) goto LNope; dispbottom "[ Weapon Training Guard ]"; dispbottom "Sorry, but you need a TRAINING PASS to enter the training room."; dispbottom "You can purchase it from the TCG exchanger NPC."; end; LNope: warp "pvp_y_1-1",0,0; dispbottom "[ Weapon Training Guard ]"; dispbottom "Welcome back."; end; } This script is supposed to warp the char who typed @train to a map if they have a weapon training pass (30722) in their inventory. Everytime i type @train even with the training pass in myinventory it wont warp me to the map. Anything I did wrong ?
  9. what patcher do you mean sir ? you mean for the client ? Like Shins or somthing ?
  10. Hello, I would like to ask for help on fixing this error : As you guys notice the job name that is supposed to be Taekwon is some kinda gibberish language.. This also happens to Star Gladiator and Soul Linker class. Im using 2012-04-10 client. Please help.
  11. Hi, if i may ask can I do something like @mission or something like that to see the mission board progress ?
  12. Hello can someone please help me with this item : 29115,Naght_Seiger_Twin_Blades,Naght Twin Blades,5,20000,,100,,1,,1,0xFFFFFFFF,7,2,1,,0,0,1836,{ },{},{} this should be the effect : Increase Magical , Melee and Longrange damage by 15% Allstats +10 luk & agi + 5 if: [Mage, Archer, Acolyte Class] Int +15 Dex + 15 Increase Matk by 10% Reduce Aftercast delay by 10%. [Swordman, Merchant, Thief Class] Str +15 Vit +15 Increase Melee attack by 10% Atk + 300 [Taekwon Class] Increase Physical damage by 15% Allstats + 8 Maximum HP and SP +12% [Gunslinger Class] Dex + 15 Longrange attack damage + 15% Maximum HP+ 15% [Ninja Class] Magic and melee attack damage + 15% Allstats +8 Thank you very much .. and am I posting in the right section? If not please move it to the right one.
  13. hey @stolao , is there anyway for me to make it like this : only level up the weapon on a specific training map. When ur out the training map the weapon leveling system wont work but the bonus effects does.
  14. cool, it would really be a great help. or you can make an addon that enables you to make one login for IPboard and ur cp <3 register on ur cp automatically registers a forum account too
  15. SevySevSevy

    SGCP?

    does anyone have a working SGCP? Mine i think its outdated,Its sucessfuly installed on my webhost, everything is workking fine but I cant login the control panel so i could use the forums and such.
  16. I really love this forums, can you guys enable a forums engine in your cp? that would really be a freaking great addon!
  17. Marunong po ba kayo mag merge ng FLUXCP at IP BOARD login and registration? Yung pag mag reregister ka sa forums diretcho na mag reregister ng ingame account ? Patulong naman mga paps:)!
  18. Ill try it out. Sorry if u thought I was from ukraine I really love that country, Im actually from ph.
  19. oh okay, I got it now. Ill be using this script on my server. thanks for this!
  20. how does this script actually work? when ever u kill a monster ur weapon gains exp and levels up? Im really interested with this script xD
  21. havent tested it yet, giving it a go right now. everything is working fine except, the shop menu seems to be too small. Anyway to fix it? up! bump!
×
×
  • Create New...