

Yomigaeru
Members-
Posts
89 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Yomigaeru
-
It seems very unnecessary to make a new discussion about Epoque's Expansion pack so might as well just reply to this thread. With the Latest revision having drastically changed codes, even Lilith's Edited Diff is no longer Compatible with the current revision. I also would love this Expansion added to the latest revision, devs please!!! If needed, I have a copy of both The Original Diff(Epoque's) and the Edited one(Lilith's)
-
tobe? na edit mo na ang lua files?
-
editing the mob db only affects the size modification. example poring is small, change it's race to big and minorous card will work in it and the sprite wont change.
-
i have no idea what you mean by the first one, but for the second one, I can try -<tab>script<tab>CARTGIVER<tab<-1,{ OnPCLogInEvent: if ( BaseJob == Job_Merchant && checkcart() == 0 ) goto get_cart get_cart: if(getskilllv(39)<1) end; setcart; end; } untested though, I have a guess that it could work. the script checks if the character belongs to the merchant class and if he already have a cart. if a player is not a merch or already have a cart, the script will be terminated. if the character is a merch without a cart it will give him a cart as long as he have the pushcart skill.
-
<map name>,<x>,<y>,<xs>,<ys>%TAB%monster%TAB%<monster name>%TAB%<mob id>,<amount>,<delay1>,<delay2>,<event>{,<mob size>,<mob ai>} i think 1 is small 2 is large and 3 is normal
-
maybe because baseclass reads the current job? BaseCLass == Job_Bard || BaseClass == Job_Dancer will (I think) will only read both Bard and Dancer job respectively. to fix this 5151,Headset_OST,Note Headphones,5,20,,200,,4,,1,0xFFFFFFFF,7,2,256,,0,1,220,{ bonus2 bResEff,Eff_Sleep,10000; bonus bMdef,5; bonus bFlee2,5; if( BaseJob == Job_Bard||BaseJob == Job_Dancer ) bonus3 bAutoSpell,"CG_TAROTCARD",getskilllv(489),50; },{},{}
-
i'm having errors with my clone script. it's kinda weird. here's my item script: 20060,Konoha_Head_Protector,Konoha Head Protector,5,0,,150,,1,,1,0xFFFFFFFF,7,2,256,,0,1,1141,{ autobonus2 "{ callfunc \"Bunshin\"; }",1000,1000,BF_WEAPON|BF_MAGIC|BF_MISC,"{ specialeffect2 666; }"; },{},{} here's my function: //Kage Bunshin function script Bunshin { sleep2 1000; // every 1 second spawn one, change this to 3 minutes getmapxy .@map$, .@x, .@y, 0; if ( mobcount( .@map$, "clonecheck::on"+ getcharid(0) ) < 1 ) // limit spawn to 3 clone .@map$, .@x, .@y, "clonecheck::On"+ getcharid(0), getcharid(0), getcharid(0), 0x8D, 1; } i got that script from eA. the problem is, there is no clone limit. when i'm hit a clone always respawn, how can I prevent this from happening?
-
up?
-
if I disable the renewal features, will it affect other scripts? for example, I removed the renewal features, will script commands like (bindatcmd which is not in eA) still work? will renewal instances like Bakonawa's Lair still work?
-
Hello rA. I'm looking for the pre-re battle computations without removing other renewal features by putting a // in the #definde RENEWAL found in the src/config/renewal.h file. can it be done? since at 150 int my character cant even damage a poring higher than 1000. thanks anyways for future helps.
-
sorry but im not familiar in this whole sql scriptings. can you just please edit my script?
-
hey ra. I recently made this script: poring_w02,101,86,3 script Password Event NPC 405,{ if ( $event_run > 0 ) goto event_start; if ( getgmlevel() != 99 ) { mes "[Password Event NPC]"; mes "There is no on-going event as of the moment."; next; mes "[Password Event NPC]"; mes "I will inform you when a GM hosts this event."; close2; emotion e_heh; end; } mes "[Password Event NPC]"; mes "Hello ^CC0000"+strcharinfo(0)+"^000000!"; next; mes "[Password Event NPC]"; mes "Current Password: ^CC0000"+$event_pword$+"^000000"; mes "Current Prize: ^CC0000"+$event_amount+"^000000 ^CC0000"+getitemname($event_prize)+"^000000"; mes "Number of Winners: ^CC0000"+$event_winners+"^000000"; next; mes "[Password Event NPC]"; mes "How can I help you today?"; menu "Set Password",event_password, "Set Event",event_prize, "Set Winner Count",event_winner, "Start Event",event_start1; event_winner: next; mes "[Password Event NPC]"; mes "How many player do you want to win this event?"; input $event_winners; next; mes "[Password Event NPC]"; mes "Should ^CC0000"+$event_winners+"^000000 win this event?"; menu "Yes",event_count_yes, "Reset",event_winner; event_count_yes: next; mes "[Password Event NPC]"; mes "Then ^CC0000"+$event_winners+"^000000 will win this event!"; close; event_prize: next; mes "[Password Event NPC]"; mes "Please insert the item ID of this event's prize."; input $event_prize; next; mes "[Password Event NPC]"; mes "Now please enter how many ^CC0000"+getitemname($event_prize)+"^000000"; input $event_amount; next; mes "Are you sure you want to give ^CC0000"+$event_amount+"^000000 ^CC0000"+getitemname($event_prize)+"^000000 for this event?"; menu "Yes",event_prize_yes, "Reset",event_prize; event_prize_yes: next; mes "[Password Event NPC]"; mes "Then ^CC0000"+$event_amount+"^000000 ^CC0000"+getitemname($event_prize)+"^000000 it is!"; close; event_start1: next; mes "[Password Event NPC]"; mes "Then let's begin!"; close2; announce "Password Event NPC: The Password Event has begun!",bc_blue; sleep2 5000; announce "Password Event NPC: Try to crack the password to win "+$event_amount+" "+getitemname($event_prize)+"!",bc_blue; sleep2 5000; announce "Password Event NPC: Only "+$event_winners$+" can win this event!",bc_blue; sleep2 5000; announce "Password Event NPC: Now go! Try to crack the password!"; set $event_run,1; end; event_start: if ( #event_winner == 1 ) { mes "[Password Event NPC]"; mes "Congratulations! You have already won! Try your luck again next event!"; close; } if ( $crack == $event_winners ) { set $event_run,0; set $event_winners,0; mes "[Password Event NPC]"; mes "All prizes are given away!"; next; mes "[Password Event NPC]"; mes "Try your luck again next event!"; close2; sleep2 5000; announce "Password Event NPC: All prizes have already been acquired!",bc_blue; sleep2 5000; announce "Password Event NPC: Better luck next time to those who didn't win!",bc_blue; end; } mes "[Password Event NPC]"; mes "What is the password for today's event?"; input .@event_try$; if ( .@event_try$ == $event_pword$ ) { next; mes "[Password Event NPC]"; mes "Congratulations! You win "+$event_amount+" "+getitemname($event_prize)+" !"; set #event_winner,1; set $crack,$crack+1; getitem $event_prize,$event_amount; close2; if ( Sex == 1 ) { announce "Password Event NPC: "+strcharinfo(0)+" wins!! Let's congratulate him!",bc_blue; end; } announce "Password Event NPC: "+strcharinfo(0)+" wins!! Let's congratulate her!",bc_blue; end; } next; mes "[Password Event NPC]"; mes "Sorry, wrong password!"; close; event_password: next; mes "[Password Event NPC]"; mes "What password would you like to set?"; input $event_pword$; next; mes "[Password Event NPC]"; mes "Do you really want to set ^CC0000"+$event_pword$+"^000000 as this event's password?"; menu "Yes",yes_confirm, "Reset",event_password; yes_confirm: next; mes "[Password Event NPC]"; mes "Then ^CC0000"+$event_pword$+"^000000 it is!"; close; } my question is that how can i delete the #variable of a character after the event without the character ever talking to the same NPC. If i add it in the if ( getgmlevel() != script then if the player is not online when the next event starts then the npc will not let him play since he already got the variable from last event. so, any tips? Thanks for future replies.
-
make one. it's free.
-
thanks. works fine now.
-
yeah. i believe there are some. You need to pay though.
-
-
can you add that to my script? im kinda not familiar with that kinds of scripts.
-
hey ra. I'm currently scripting a "draw npc". the mechanics are, a player have to draw a number. rand(1,16) if that player draws number 1 no one in the server can pick number 1 again. Thus, when a player "draws" another number 1 if someone have already drawn that number, the script will loop until it finds another number that have not yet been chosen. here's my unfinished script since i don't know what to do with the loop: prontera,153,138,3 script Tournament Official 405,{ set .drawlats,rand(1,16); if ( .drawlats == 1 && $@potm != 1 ) { set $@potm,1; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You picked number 1!"; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 1st Combatant!",0; end; Hope someone knows what i'm talking about. I'm using 3ceam anyways so please don't use ra tags. Thanks. it worked somehow after whole day of scripting. my only problem is how to remove 1 number if it's already chosen? Example: if number 1 is chosen, the rand will not read 1 again. It's time consuming to get redirected again and again to get a number. here's my current script cell_game,155,140,3 script Tournament Official 405,{ l_potm_start2: set .potmdraw,rand(1,16); //if ( $@potmsv1 == 1 || $@potmsv2 == 1 || $@potmsv3 == 1 ) goto l_potm_start; mes "[Tournament Official]"; mes "You can now pick a number!"; menu "Pick a number",l_potm_start; l_potm_start: if ( $@potmsv1 == 1 && $@potmsv2 == 1 && $@potmsv3 == 1 && $@potmsv4 == 1 && $@potmsv5 == 1 && $@potmsv6 == 1 && $@potmsv7 == 1 && $@potmsv8 == 1 && $@potmsv9 == 1 && $@potmsv10 == 1 && $@potmsv11 == 1 && $@potmsv12 == 1 && $@potmsv13 == 1 && $@potmsv14 == 1 && $@potmsv15 == 1 && $@potmsv16 == 1 ) { next; mes "[Tournament Official]"; mes "All numbers were drawn. Better luck next time!"; close; } if ( .potmdraw == 1 && $@potmsv1 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #1!"; set $@potmsv1,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 1st combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 2 && $@potmsv2 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #2!"; set $@potmsv2,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 2nd combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 3 && $@potmsv3 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #3!"; set $@potmsv3,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 3rd combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 4 && $@potmsv4 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #4!"; set $@potmsv4,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 4th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 5 && $@potmsv5 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #5!"; set $@potmsv5,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 5th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 6 && $@potmsv6 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #6!"; set $@potmsv6,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 6th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 7 && $@potmsv7 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #7!"; set $@potmsv7,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 7th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 8 && $@potmsv8 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #8!"; set $@potmsv8,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 8th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 9 && $@potmsv9 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #9!"; set $@potmsv9,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 9th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 10 && $@potmsv10 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #10!"; set $@potmsv10,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 10th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 11 && $@potmsv11 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #11!"; set $@potmsv11,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 11th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 12 && $@potmsv12 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #12!"; set $@potmsv12,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 12th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 13 && $@potmsv13 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #13!"; set $@potmsv13,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 13th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 14 && $@potmsv14 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #14!"; set $@potmsv14,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 14th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 15 && $@potmsv15 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #15!"; set $@potmsv15,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 15th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 16 && $@potmsv16 != 1 ) { next; mes "."; next; mes "."; mes ".."; next; mes "."; mes ".."; mes "..."; next; mes "[Tournament Official]"; mes "Congratulations!"; mes "You have drawn #16!"; set $@potmsv16,1; close2; mapannounce "cell_game","Tournament Official : "+strcharinfo(0)+" will be the 16th combatant in the POTM Tournament!",0; //warp "poring_w02",99,85; end; } if ( .potmdraw == 1 && $@potmsv1 == 1 || .potmdraw == 2 && $@potmsv2 == 1 || .potmdraw == 3 && $@potmsv3 == 1 || .potmdraw == 4 && $@potmsv4 == 1 || .potmdraw == 5 && $@potmsv5 == 1 || .potmdraw == 6 && $@potmsv6 == 1 || .potmdraw == 7 && $@potmsv7 == 1 || .potmdraw == 8 && $@potmsv8 == 1 || .potmdraw == 9 && $@potmsv9 == 1 || .potmdraw == 10 && $@potmsv10 == 1 || .potmdraw == 11 && $@potmsv11 == 1 || .potmdraw == 12 && $@potmsv12 == 1 || .potmdraw == 13 && $@potmsv13 == 1 || .potmdraw == 14 && $@potmsv14 == 1 || .potmdraw == 15 && $@potmsv15 == 1 || .potmdraw == 16 && $@potmsv16 == 1 ) { next; mes "[Tournament Official]"; mes "Please pick another number because that number is already taken!"; close2; goto l_potm_start2; end; } end; } //Server Reseter cell_game,152,141,3 script Server Reseter 888,{ set $@potmsv1,0; set $@potmsv2,0; set $@potmsv3,0; set $@potmsv3,0; set $@potmsv4,0; set $@potmsv5,0; set $@potmsv6,0; set $@potmsv7,0; set $@potmsv8,0; set $@potmsv9,0; set $@potmsv10,0; set $@potmsv11,0; set $@potmsv12,0; set $@potmsv13,0; set $@potmsv14,0; set $@potmsv15,0; set $@potmsv16,0; end; } Help please?
-
hey ra. I'm in need of help. I modified my clientinfo ang change the lang type to 0 for all the flag emoticons to show but characters such as () and [] became gibberish. Is there any way on how to fix this? I'm using the RagexeRE 2012-04-10 Thanks in advance.
-
if any player enter in home town..rainbow appears
Yomigaeru replied to JassMax's question in Script Requests
OnPCLogInEvent: if if( strcharinfo(3) == "<map_name>" ) { specialeffect 410; end; -
{ if ( BaseJob == Job_Thief ) { bonus bAspdRate,5; } bonus bLuk,10; },{},{}
-
maybe because it's not considered as a headgear so you won't a view id. to make it appear, you need add or replace some sprites in the data\sprite\Àΰ£Á·\¸öÅë folder. In my server, I replaced the santa suit sprite to the akatsuki suit sprite and use the "changebase" script. like for example: {<item effect>;},{ changebase 0; },{ changebase class; } changebase 0 will make your character look like a novice you can change the 0 to the id of the sprite that you will edit. the changebase class is used in the unequip scipt to revert to your original job sprite. example champion 4016.
-
BUMP Please?