Jump to content

teknical

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by teknical

  1. Hi can someone help me with this. Instead of giving an item for reward I want it to give experience. Can someone help me with this one. Thanks // NPC Name must have a Number behind it. ex Name#1 , Name#2,... prontera,155,181,5 script Chained Quest#1 757,{ function ChainedQuest; mes "I am a Chained Quest NPC, you can only redo the previous Quest after you have finished all of my Quests."; next; // Quest Setup : // ChainedQuest( Reward,Amount , Required Zeny, {Item1,Amount1,Item2,Amount2,...} ); switch( getd( "Quest"+strnpcinfo(2) ) ){ Case 0: ChainedQuest( 5001,1, 10000, 607,10 ); Case 1: ChainedQuest( 5002,1, 15000, 607,20, 608,20 ); Case 2: ChainedQuest( 5003,1, 20000, 607,30, 608,30, 7539,30 ); // Case 3: ChainedQuest( 5004,1, 25000, 607,40, 608,30, 7539,40 ,501,10 ); // Case 4: ChainedQuest( 5005,1, 30000, 607,50, 608,30, 7539,50 ,501,10 ,502,10 ); // Case 5: ChainedQuest(....); // Case 6: ChainedQuest(....); default: mes "Congratulation ,You have finished all the Quest i gave you, you may Re-Do if you want."; set getd( "Quest"+strnpcinfo(2) ),0; close; } OnPCLoadMapEvent: showevent 1,0; end; function ChainedQuest { for( set .@i,3; getarg( .@i,0 ) != 0 ; set .@i,.@i + 2 ){ if( countitem( getarg( .@i ) ) < ( getarg( .@i + 1 )) ){ mes "[ ^FF0000Part "+( getd( "Quest"+strnpcinfo(2) ) + 1 )+"^000000 ]"; mes "^00FF00_______________________________^000000"; mes "^FF0000Reward^000000 : "+getarg(1)+" x ^0000FF"+getitemname( getarg(0) )+"^000000"; mes "^00FF00_______________________________^000000"; mes "then bring me those items :"; mes "^00FF00_______________________________^000000"; mes ( Zeny < getarg(2) ? "^FF0000":"^0000FF" )+getarg(2)+" Zeny^000000"; for( set .@a,3; getarg( .@a,0 ) != 0 ; set .@a,.@a + 2 ){ mes (( countitem(getarg( .@a )) < ( getarg(.@a + 1 )) )? "^FF0000[ "+countitem(getarg(.@a))+" / "+(getarg(.@a+1)):"^0000FF[ "+getd( "Quest"+strnpcinfo(2) ) )+" ] "+getitemname(getarg(.@a))+"^000000 "; } close; } } if( Zeny < getarg( 2 ) ){ mes "You required "+getarg( 2 )+" Zeny."; close; } mes "[ ^FF0000Part "+( getd( "Quest"+strnpcinfo(2) ) + 1 )+"^000000 ]"; mes "Look's like you have collected all"; mes "^FF0000_______________________________^000000"; mes ( Zeny < getarg(2) ? "^FF0000":"^0000FF" )+getarg(2)+" Zeny^000000"; for( set .@i,3; getarg( .@i,0 ) != 0 ; set .@i,.@i + 2 ){ mes "^FF0000"+getarg( .@i+1 )+" x ^0000FF "+getitemname( getarg( .@i ) )+"^000000"; } next; if( select("^0000FFContinue^000000:Cancel") == 2 ){ mes "Okay..as you wish ~ come back again when you do continue it."; close; } for( set .@i,3; getarg( .@i,0 ) != 0 ; set .@i,.@i + 2 ){ delitem getarg( .@i ),getarg( .@i + 1 ); } set Zeny,Zeny - getarg( 2 ); set getd( "Quest"+strnpcinfo(2) ),getd( "Quest"+strnpcinfo(2) ) + 1; mes "You will be rewarded with "; mes "^0000FF_______________________________^000000"; mes "^FF0000"+getarg(1)+"^000000 x ^0000FF"+getitemname( getarg(0) )+"^000000"; mes "^0000FF_______________________________^000000"; getitem getarg(0),getarg(1); close; } } prontera mapflag loadevent
  2. where are the event schedules stored after i set the day and time
  3. Hi guys, I'm using Stolaos daily reward script and I'm having problem with the #CASHPOINT edit I made to the file. The error I get is this: [Warning]: Unexpected type for argument 1. Expected string. [Debug]: Data: variable name='#CASHPOINTS' index=0 [Debug]: Function: setd Also players only get the set zeny and cashpoints but nothing else. They don't get the items set in the script.
  4. Bump can anybody help me here???
  5. I really need some assistance with this guys
  6. hi how do i embed background musing to my website. I'm using fluxcp.
  7. Hi, I've been trying to find a way to modify damage reflect. I'm using the global mod found here https://rathena.org/board/topic/80110-global-damage-adjustment/. Our problem now is in pvp, damage reflect is really high compared to the damage being dealt. if 2 sinx are dualing or pally with reflect damage all they have to do is stand there and the person attacking dies. Visually the person attacking is hitting for 100-300dmg but the reflect damage seen is over 1k. Valkyrie Manteau states it reflects 5% damage back but thats not the case here. It's like its reflecting the actual damage it would have been if the global mod wasnt there. How can i fix this? I really need help here.
  8. bump..... is there a way to fix damage reflect with this mod ? anybody ???
  9. Thanks I will test. Also will this work with rathena?
  10. Hi, I want to implement a consumable item that allow players to use of the @warp command where they input what dungeon they want to warp to. Thanks
  11. hi zack, yes the classnum is crashing the client. i tested it by replacing the weapon numbers to the corrisponding sprite id's in my item_db and they are working now. but im wondering why the updated file is crashing my clients.
  12. so with that said, what do you think would be causing the client to crash with the updated Iteminfo.lub i downloaded from that site because my weapontable.lub is the same as the one on that same site. also that same snippet i pasted up top, my original file had classnum = 8 while the new one has classnum = 62
  13. Could someone shed some light on this? I downloaded files from here : https://github.com/ROClientSide/Translation Now i was inspecting the classnum portion of the items and i noticed they were wrong for many of the weapons. for instance this here: [1505] = { unidentifiedDisplayName = "Mace", unidentifiedResourceName = "클럽", unidentifiedDescriptionName = { "Unknown Item, can be identified by ^6A5ACDMagnifier^000000.", }, identifiedDisplayName = "Mace", identifiedResourceName = "메이스", identifiedDescriptionName = { "A flanged, solid club that is effective for simple smashing.", "Class: ^777777Mace^000000", "Attack: ^77777737^000000", "Weight: ^77777780^000000", "Weapon Level: ^7777771^000000", "Required Level: ^7777772^000000", "Jobs: ^777777Novice, Swordman, Acolyte, and Merchant Classes^000000", }, slotCount = 4, ClassNum = 62 <--------------should be 8 according to my itemdb. It's saying classnum = 62 when it should be 8. im glad i caught this fast and reverted to my original which is outdated because clients were crashing. now its like this throughout the weapons so im just curious is there something im missing?
  14. bump... is there any support here for my problem?
  15. hey there im using this src modification on my server and its working as intended. but now theres a new problem regarding damage reflect. the damage reflected is more than the damage dealt to the player doing the damage. Im using this mod to modify overall damage output in pvp. so for instance 2 sinx are dueling both using valk manteau, the sinx hits for 500dmg but receives 2 times as much damage as reflect. its as if the game is calculating what would have been the actual damage without your global damage mod. now, my question is, is there a way to make it calculate the damage after the global damage mod is calculated and not before?
  16. hey guys. is there a way to reduce damage output for anybody that enters a specific map for pvp?
  17. hey there guys, got a little problem with fluxcp. players cant reset their look or reset their start point. when they click the link it brings them to the home page. can someone lend me a hand.
  18. I'm getting the same exact problem. i can withdraw with an account that has 0 zeny.
  19. Hi, is it possible for a player to see the healthbar and name of monsters? as of right now in my server you dont see anything.
  20. Hi, I'm setting up a new server and i noticed that the icons in the mini map when i hover over them are not in english. is there a way to fix this?
  21. Hi im looking for a job changer script that has everything but 3rd classes.
  22. ye just got it to work... my dumdum self put the commands under permisions
×
×
  • Create New...