Jump to content

_Dynosawr_

Members
  • Posts

    69
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by _Dynosawr_

  1. What are the decimals anyways? o.o *has no idea and needs to find out* Edit: I figured them out, nevermind.
  2. Euphy....did I ever tell you....how much I ♥ you?
  3. Ah okay, thanks alot guys! ^^
  4. My mapserver doesn't show any errors in the script, but once I reach a certain point in the NPC it shows nothing in the menu. Script: http://pastebin.com/raw.php?i=ABv0KBWF Ingame Screenshot:
  5. I wanted to know the format for Jobs in the item database; (From http://rathena.org/wiki/Custom_Items) Are those accurate or is the format different? Because when I looked in my item_db, it says "4294967295" as all jobs.
  6. Rofl, not a good thing to do while writing code xD I'm a hypocrite. I watch movies, chat, and play games while I code. LOL
  7. It happens when you're not paying attention (Hence why I edit my posts so much lol)
  8. You can use this: // By: Joey prontera,155,155,3 script Timer 66,{ if(questdelay < gettimetick(2)){ // Check timer, if over it will allow you to continue. mes "You are able to do the quest again. Congratulations."; close; } set questdelay,gettimetick(2)+10800; // Sets timer. if(questdelay > gettimetick(2)){ // Checks timer, if active it will block you from doing the quest. set .@delayremaining,(((questdelay-gettimetick(2))+1)/60); mes "Please wait "+.@delayremaining+" minutes longer."; close; } } It will work even if the player logs out. (Permanant character variable.) If you wish to make it temporary, where logging out will remove the timer, add an @ sign infront of each "questdelay" variable. Here's one that's set to the account: // By: Joey prontera,155,155,3 script Timer 66,{ if(#questdelay < gettimetick(2)){ // Check timer, if over it will allow you to continue. mes "You are able to do the quest again. Congratulations."; close; } set #questdelay,gettimetick(2)+10800; // Sets Timer. if(#questdelay > gettimetick(2)){ // Checks timer, if active it will block you from doing the quest. set .@delayremaining,(((#questdelay-gettimetick(2))+1)/60); mes "Please wait "+.@delayremaining+" minutes longer."; close; } } If you wish to be able to do the quest after the timer triggers, you'd need to set .takeQuest to 0 at the end of the timer. Change: .takeQuest, 1; To: set .takeQuest, 0;
  9. Well if I can't delete the column then that rules out the delete data option x.x; Thanks for the help though guys.
  10. So I have an issue with the DELETE FROM syntax in Query_SQL. Here's the script: http://pastebin.com/raw.php?i=ABv0KBWF Hopefully once of you can figure out what's wrong with it ;o
  11. Actually: bonus bNoMagicDamage,x; X doesn't matter as it will block all magical effects, including supportive skills, healing, etc. (Like the Golden Thief Bug Card) That's why bMagicAtkDef,15; is a must if you just want to resist and not nullify.
  12. http://rathena.org/b...per-ever-yes-3/ Mydesktop is in that topic. 1366 x 768
  13. Best wallpaper known to man all across the world.
  14. Thanks so much FatalError! I would've never gotten that working without you. Much love ♥!
  15. Hey, me again. (Yes, me again.) I coded this little NPC that let's you change your character's name and I was wondering if it was possible to block certain characters such as !,@,#,$,%,^,&,*,(,),-,=,+,_,[,],{,} etc. So that only English characters are usable, no symbols. http://pastebin.com/raw.php?i=45KW3xeC Edit: I'm going to head to bed now. I'll check this post tomorrow, hopefully someone knows a way to block symbols :3
  16. Replace this: Case 4: mes "[Kafra Service]"; if(BaseClass != Job_Merchant && BaseClass != Job_SuperNovice){ mes "You can't rent pushcarts with that job!"; mes "Nur Merchant-Klassen und Super Novicen können das."; emotion e_sry; goto Fadeout; } if(getskilllv(39) == 0){ mes "You don't seem to have the required skill!"; emotion e_sry; goto Fadeout; } if(checkcart() == 1){ mes "You already have a pushcart!"; emotion e_sry; goto Fadeout; } setcart; mes "Here's your pushcart."; mes "Have fun!"; goto Fadeout; } With this: Case 4: mes "[Kafra Service]"; if(getskilllv(39) == 0){ mes "You don't seem to have the required skill!"; emotion e_sry; goto Fadeout; } if(checkcart() == 1){ mes "You already have a pushcart!"; emotion e_sry; goto Fadeout; } setcart; mes "Here's your pushcart."; mes "Have fun!"; goto Fadeout; } Removed this: if(BaseClass != Job_Merchant && BaseClass != Job_SuperNovice){ mes "You can't rent pushcarts with that job!"; mes "Nur Merchant-Klassen und Super Novicen können das."; emotion e_sry; goto Fadeout; }
  17. Need a "query_sql" pro to help me out! PM me!

  18. X = Item ID Y = Item amount - <TAB> script <TAB> <NPCNAME> <TAB> -1,{ end; OnNPCKillEvent: setarray .@a[1],rand(1,100),rand(1,100); // Add as many more randoms of 1 and 100 as you want. if(.@a[1]<=10){ // Less than or equal to 10 would mean 10% chance getitem X,Y; end;} if(.@a[2]<=5){ // Less than or equal to 5 would mean 5% chance getitem X,Y; end;} } Also, I used an array so that if the number is less than 5, it won't give both items. Here's one in which you can get both items: - <TAB> script <TAB> <NPCNAME> <TAB> -1,{ end; OnNPCKillEvent: setarray .@a,rand(1,100); // Add as many more randoms of 1 and 100 as you want. if(.@a<=10){ // Less than or equal to 10 would mean 10% chance getitem X,Y; end;} if(.@a<=5){ // Less than or equal to 5 would mean 5% chance getitem X,Y; end;} }
  19. OMG I LOVE YOU! THANKS <33333333 PS: That means it worked.
  20. Hey, I wrote this script and the query_sql command isn't working correctly. I hope someone knows what's wrong with it. http://pastebin.com/raw.php?i=ZSF9Dfrw
  21. You could just invite people by yourself and make sure they aren't the same classes. I don't think it is possible, but you'll have to wait for someone who knows more about DB editing and such to find out.
  22. I took your script and edited it a bit. Here's a link: http://pastebin.com/raw.php?i=teV51MPN If they input the wrong password, they get kicked. If they try to warp, it doesn't let them. Enjoy. Edit: I redid the script again, it allows them to set their password and change it as well.
×
×
  • Create New...