Jump to content

Patskie

Members
  • Posts

    1702
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Patskie

  1. thanks for this! one more question. if I changed (getcharid(1) == 0) to (getcharid(1) == 1) it would mean that the player I am looking for, is a player in a party? So it's like, '0' means no party, and '1' means has a party? Instead of (getcharid(1) == 1) use (getcharid(1) != 0) since it returns the party id number.
  2. 1. On your db/(pre/re)/skill_require_db.txt Find : 356,0,0,50,0,0,0,3,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //LK_PARRYING# Replace it by : 356,0,0,50,0,0,0,2:3,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //LK_PARRYING# 2. Try this : ( src/map/status.c ) Find : vit -= sc->data[SC_STOMACHACHE]->val1; if(sc->data[SC_KYOUGAKU]) vit -= sc->data[SC_KYOUGAKU]->val2; Add below : if(sc->data[SC_SPIRIT] && (sc->data[SC_SPIRIT]->val2 == SL_WIZARD || sc->data[SC_SPIRIT]->val2 == SL_SAGE)) vit += ((TBL_PC*)bl)->status.int_ / 5; Find : maxhp -= sc->data[SC_MYSTERIOUS_POWDER]->val1 / 100; if(sc->data[SC_EARTH_INSIGNIA] && sc->data[SC_EARTH_INSIGNIA]->val1 == 2) maxhp += 500; Add below : if(sc->data[SC_SPIRIT] && (sc->data[SC_SPIRIT]->val2 == SL_WIZARD || sc->data[SC_SPIRIT]->val2 == SL_SAGE)) maxhp += ((TBL_PC*)bl)->status.base_level * 200; 3. Is there a soul link for gunslinger ?
  3. This is for party : prontera,150,150,0 script Sample 100,{ if (getcharid(1) == 0) { mes "You are not in a party " +strcharinfo(0); close; } else { mes "You are in a party " + strcharinfo(0); close; } } For guild : replace getcharid(1) to getcharid(2) Refer : http://rathena.org/wiki/Getcharid
  4. You mean? set #KAFRAPOINTS, #KAFRAPOINTS + 1;
  5. http://rathena.org/wiki/Custom_Items
  6. Find : mes .NPC$; mes "Enter your desired new name"; next; input .@new$; Add below : if (query_sql("SELECT `name` FROM `char` WHERE `name` = '"+escape_sql(.@new$)+"'")) { mes .NPC$; mes "This name already exists"; close; }
  7. I believe this is already released somewhere here. Try to search it.
  8. Can you add a check? for example. You can only use change name every once in a month.. This have been done for you. Check my previous post. I already updated them.
  9. Haha lol i misunderstood the topic.
  10. http://www.eathena.ws/board/index.php?s=97d1093035472a09cf03f6275b09ca34&showtopic=244519&view=findpost&p=1334060
  11. Same topic http://rathena.org/board/topic/81535-pvp-ladder-modifications/?p=193845
  12. How did you modify your effect?
  13. Assassins use double dagger
  14. Execute this on your database CREATE TABLE IF NOT EXISTS `freebies` ( `id` int(11) NOT NULL auto_increment, `account_id` int(11) NOT NULL default '0', `name` varchar(23) NOT NULL default '', `last_ip` varchar(100) NOT NULL default '', PRIMARY KEY (`account_id`), KEY (`id`) ) ENGINE=MyISAM; Then try this code : prontera,150,150,0 script Freebies 100,{ mes .NPC$; mes "Wanna get the freebies " +strcharinfo(0)+ "?"; if (select("Yes:No") - 1) close; mes .NPC$; mes "Let me check if you are really a new member"; next; query_sql("SELECT last_ip FROM `login` WHERE account_id = "+getcharid(3)+"", .@lastip$); query_sql("SELECT last_ip FROM `freebies`", .@freebiesip$); if (.@lastip$ == .@freebiesip$) { mes .NPC$; mes "You already got the freebies " +strcharinfo(0); close; } query_sql("INSERT INTO `freebies` VALUES (NULL," + getcharid(3) + ",'" + escape_sql(strcharinfo(0)) + "','" + .@lastip$ + "')"); for ( set .@x,0; .@x < getarraysize(.freebie_item); set .@x,.@x + 1 ) { getitem .freebie_item[.@x], ..quantity[.@x]; } close; OnInit: set .NPC$, "[ " strnpcinfo(1)+ " ]"; setarray .freebie_item[0],607,608; setarray .quantity[0],1,1; } Did not test though. Post if an error occured.
  15. Set a nowarp mapflag on your pvp room.
  16. How about if the weapon is located on the left hand is >=8? For example : assassins
  17. 1. Download TortoiseSVN 2. Install it after that use SVN checkout and input this link to export the files. 3. This might help also http://rathena.org/board/topic/61407-popular-requested-links/
  18. Replace only the line that causes the warning.
  19. Just replace close tag by end tag.
  20. http://rathena.org/board/files/file/2503-random-news/ try this as an alternative
  21. Same with me.
  22. (S.) Novice (2^00): 0x00000001 Swordman (2^01): 0x00000002 Mage (2^02): 0x00000004 Archer (2^03): 0x00000008 Acolyte (2^04): 0x00000010 Merchant (2^05): 0x00000020 Thief (2^06): 0x00000040 Knight (2^07): 0x00000080 Priest (2^08): 0x00000100 Wizard (2^09): 0x00000200 Blacksmith (2^10): 0x00000400 Hunter (2^11): 0x00000800 Assassin (2^12): 0x00001000 Unused (2^13): 0x00002000 Crusader (2^14): 0x00004000 Monk (2^15): 0x00008000 Sage (2^16): 0x00010000 Rogue (2^17): 0x00020000 Alchemist (2^18): 0x00040000 Bard/Dancer (2^19): 0x00080000 Unused (2^20): 0x00100000 Taekwon (2^21): 0x00200000 StarGladiator (2^22): 0x00400000 Soul Linker (2^23): 0x00800000 Gunslinger (2^24): 0x01000000 Ninja (2^25): 0x02000000 All Classes : 0xFFFFFFFF Every Job Except Novice : 0xFFFFFFFE
  23. Use end tag on the line which causes the warning sign and replace the close tag. This is caused by the new update that was released recently.
×
×
  • Create New...