Jump to content

nanakiwurtz

Members
  • Posts

    1654
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by nanakiwurtz

  1. But it could lags your SQL if there are lots of players in the future, isn't it?
  2. If it doesn't work, try this one. - script denyautotrade -1,{ OnInit: bindatcmd("trade","denyautotrade::OnActivate"); setarray .allow[0],4058,4064,4071,4078,4086,4087,4100,4107,4112; end; OnActivate: for( set .@i, 0; .@i < getarraysize(.allow); set .@i, .@i +1 ) { if(class == .allow[.@i]) { atcommand "@autotrade"; end; } } dispbottom "Autotrade function is available only for Mechanics and Genetics."; end; }
  3. Edit the left side descriptions to shorten your inventory window.
  4. nanakiwurtz

    NPC

    Be sure to edit your 'scripts_custom.conf'
  5. Edit your groups.conf, deny the use of autotrade for gmlevel 0, then create a new script with bindatcmd. - script denyautotrade -1,{ OnInit: bindatcmd("trade","denyautotrade::OnActivate"); setarray .allow[0],4058,4064,4071,4078,4086,4087,4100,4107,4112; end; OnActivate: for( set .@i, 0; .@i < getarraysize(.allow); set .@i, .@i +1 ) { if(class != .allow[.@i]) { dispbottom "Autotrade function is available only for Mechanics and Genetics."; end; } } atcommand "@autotrade"; end; } The current command is @trade, but you can change it to anything you want.
  6. you can post screenshots of your problems here
  7. Like this? http://rathena.org/board/topic/72457-chat-color-change/
  8. But I prefer to use a menu rather than a switch.
  9. Last resort: Upgrade your emulator to rAthena
  10. Ahh nevermind, you really missed my point...
  11. No, that's not what I mean. I mean why not create a check by using the 'query_sql', so the users don't have to do the query manually on the SQL.
  12. // In your item_db.txt 909,Jellopy,Jellopy,3,6,,10,,,,,,,,,,,,,{setarray .@Item[0],607,608,512;getitem .@Item[ rand( getarraysize( .@Item ) ) ],1;},{},{}
  13. Why does most of the scripter here don't use the query_sql "CREATE TABLE IF NOT EXIST ..... Instead of commenting it out?
  14. Because the mod breaks after we update our SVN
  15. prt_fild01,0,0,0,0 monster Poring 1002,30,5000,0,"Freebies::OnPoringKilled" - script Freebies -1,{ OnPoringKilled: if (BaseLevel < 99) { attachrid(getcharid(3)); BaseLevel += 10; JobLevel += 10; detachrid; } end; } untested.
  16. case 1: // Normal Pvp if (getmapusers("pvp_y_1-2") > 99) callsub S_full; if (class == 4049) {mes "[PvP Warper]"; mes "Soul Linkers are not allowed to enter this room"; close;} sc_end SC_ALL; percentheal 100,100; sc_start SC_BLESSING,300000,10; sc_start SC_INCREASEAGI,300000,10; specialeffect2 EF_BLESSING; specialeffect2 EF_INCAGILITY; warp "pvp_y_1-2",0,0; end;
  17. Uhh... Please post a screenshot of the error message that you get, we don't know which one that causing the error if you're just saying 'didn't work'.
  18. Ahh.. Save your script as ANSI not as Unicode
  19. Hmm the only question in my mind is why the script uses a scope variable? Not a permanent char variable.. If you don't want to change the name, just use something like this prt_vilg01,99,100,0 script Putty#Putty2 90,{
  20. I don't know the button's location, but you can filter for bmp in your GRF. To change the chatbox tab, just double click it
  21. Oh so you want to trade an item for another item? Oh so you want to trade an item for another item?
×
×
  • Create New...