Jump to content

Patskie

Members
  • Posts

    1702
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Patskie

  1. Follow the syntax : *getitem2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>};
  2. If the gold he gain is divisible by 20 then the dispbottom command will be triggered. 20 | 40 | 60 | 80 | 100 .... but i think my approach is not good since u are using rand() command. Change that to : if ( gold > 20 ) dispbottom "[Warning]: You may not carry all those golds when exchanging it";
  3. Add after : dispbottom "-|You got: " +@gain+ " gold| - |Total: " +gold+ " gold|- "; This : if ( ( gold % 20 ) == 0 ) dispbottom "[Warning]: You may not carry all those golds when exchanging it";
  4. https://www.facebook.com/photo.php?fbid=458157520950019&set=a.253997598032680.52792.250091648423275&type=1
  5. - script Sample -1,{ OnPCLoginEvent: announce "" +strcharinfo(0)+ " has login to our server",0; end; OnPCLogoutEvent: announce "" +strcharinfo(0)+ " has logout from our server",0; end; } - script Sample1 -1,{ OnInit: while (1) { announce "Custom Announcer",0; sleep 10 * 60 * 1000; } end; }
  6. replace by getitembound2 : getitem .@rwd[.@i], .@rwd[.@i+1];
  7. Extended Vending System
  8. Patskie

    help

    if ( countitem( 12622 ) ) { mes "sorry you have the item already"; close; }
  9. Problem with me is that i always make a script and never test it that is why even small bugs/error slip unto me.
  10. I have change the link of my previous post.
  11. Then get that script and replace #CASHPOINTS by #KAFRAPOINTS and use getitem 607, 30; for berries
  12. Patskie

    dispbottom

    @Emistry script is not compatible on eAthena.
  13. if ( countitem( 969 ) ) delitem 969, 1;
  14. Search throughout the forum. Almost all of your request are existing already in this forum
  15. Happy holidays everyone!
  16. You can create a table? and use query_sql command to access that? or query_logsql?
  17. - script Sample -1,{ OnNPCKillEvent: if ( getmonsterinfo( killedrid, 22 ) ) { if ( rand( 100 ) < 25 ) getitem 7227, 5; } else { if ( rand( 100 ) < 5 ) getitem 7227, 1; } end; }
  18. Patskie

    Warp NPC

    eAthena doesn't support direct variable initiation and doesn't support bindatcmd command as far as i know
  19. char-athena, map-athena username and password dpat match sa s1/p1 mo sa login table
  20. Happy Holidays everyone!

  21. - if (killedrid==getcharid(0)) end; + if (killedrid==getcharid(0) || stcharinfo(3) != "prontera") end; // no suicide, works only on prontera
  22. *changebase <job ID number>{,<account ID>}; This command will change a character's appearance to that of the specified job class. Nothing but appearance will change. The command will run for the invoking character unless an account ID is given. changebase Job_Novice; // Changes player to Novice sprite. changebase Class; // Changes player back to default sprite.
  23. // Forbidden Skills Database // // Structure of Database: // SkillID,Flag // // Legend for 'Flag' field (bitmask): // 1 = Cannot be used in normal maps // 2 = Cannot be used in PvP maps (use this instead of 1 for PK-mode servers) // 4 = Cannot be used in GvG maps // 8 = Cannot be used in Battleground maps // 16 = Cannot be cloned (clones will not copy this skill) // Restricted zones - they're configured by 'restricted <number>' mapflag // 32 = Cannot be used in zone 1 maps // 64 = Cannot be used in zone 2 maps // 128 = Cannot be used in zone 3 maps // 256 = Cannot be used in zone 4 maps // 512 = Cannot be used in zone 5 maps // 1024 = Cannot be used in zone 6 maps // 2048 = Cannot be used in zone 7 maps // // Example: // 8,6 = Endure cannot be used in PvP and GvG maps (2+4)
×
×
  • Create New...