Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. Emistry

    mapflag

    pvp_n_1-3 mapflag noskill do disable the item from using in certain map.. you can try edit item_noequip.txt and give a proper restriction mapflag to the map or edit the item script inside the item_db.txt
  2. what message ? those message that said "Wrong Password / Rejected from Server / Disconnected from Server / etc " ??? try edit this file msgstringtable.txt
  3. i though you are just requesting this to work in a NPC/Script so i move this to script support.. if you want to do it in source part.. you can refer to some example , ( picked randomly inside the src files ) //Update DB if( SQL_ERROR == Sql_Query(sql_handle, "UPDATE `%s` SET `online`='1' WHERE `char_id`='%d' LIMIT 1", char_db, char_id) ) Sql_ShowDebug(sql_handle);
  4. all SQL related stuff is working.... so far i didnt see any of it didnt work....
  5. alway refer to the latest script if there is any... =='' otherwise, it is pointless for members to post a new / updated script because you prefer to stay at previous version of that script..
  6. well, if your cases did work..then just change the variable to ur variable... i am just providing a sample ..
  7. http://rathena.org/board/topic/58222-ghosts-scripts-latest-ghosts-pvp-system-v13/
  8. you cant save a String with a integer variable... and a variable's name...shouldnt start with a integer... if( query_sql("SELECT `str` FROM `global_reg_value` WHERE `account_id` = '"+escape_sql(.@input$)+"' LIMIT 1", .@pass$ ) ){ mes "Password = ^FF0000"+.@pass$+"^000000"; }
  9. well you can refer to this http://dev.mysql.com/doc/refman/5.0/en/select.html Example: set @nb, query_sql("select name,fame from `char` ORDER BY fame DESC LIMIT 5", @name$, @fame); mes "Hall Of Fame: TOP5"; mes "1."+@name$[0]+"("+@fame[0]+")"; // Will return a person with the biggest fame value. mes "2."+@name$[1]+"("+@fame[1]+")"; mes "3."+@name$[2]+"("+@fame[2]+")"; mes "4."+@name$[3]+"("+@fame[3]+")"; mes "5."+@name$[4]+"("+@fame[4]+")";
  10. http://pastebin.com/raw.php?i=wUyzvqe7 if dont working ..please mention why ...show error if any.. the script run just fine in my test server... and there is no need to double post the same thing when you already done it here http://rathena.org/board/topic/68737-show-last-summoned-monster/
  11. http://pastebin.com/raw.php?i=wUyzvqe7
  12. https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/conf/battle/status.conf // Maximum resistance to status changes. (100 = 100%) // NOTE: Cards and equipment can go over this limit, so it only applies to natural resist. pc_max_status_def: 100 mob_max_status_def: 100
  13. just add the killmonster line below these line set .remaintime[.@dif], 0; delwaitingroom "MVP Summoner#"+ .@dif; mapwarp .@map$, .respawnmap$, .respawnx, .respawny; which will remove the monsters inside the room after the time's out. beside, you can ask your players to do in this way.. put a merchant inside the MVP room,...and let it autotrade inside the Room. so that the MVP wont get killed upon players out from the room as the Merchant is still remained inside. the merchant will be warped out also upon the timeout so no worry on stuck inside the room. and this trick are actually already discovered by player long time ago.
  14. mes "You selected "+getmonsterinfo(@LastMobID,0); if( countitem( 7227 ) < 100 ){ mes "But you need 100 "+getitemname( 7227 )+" to summon it."; }else{ monster strcharinfo(3),-1,-1,"--ja--",@LastMobID,1; delitem 7227,100; }
  15. why would you care about the table when you are planning to wipe it ? just truncate / delete all ur table and re-import a fresh one.
  16. i think you have to edit the content inside this function , just like what you did on the static struct Damage battle_calc_weapon{ ...............blablabla....................... } /*========================================== * battle_calc_magic_attack [DracoRPG] *------------------------------------------*/ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list *target,int skill_num,int skill_lv,int mflag) {
  17. mes "Available Amount : 0 ~ "+( #EVENT_POINTS / 8 ); input .@Amount,0,( #EVENT_POINTS / 8 ); if( .@Amount ){ set #EVENT_POINTS,#EVENT_POINTS - ( .@Amount * 8 ); getitem 30000,.@Amount; } close;
  18. Emistry

    Help!

    OnPCKilLEvent: if( strcharinfo(3) != "mapname" ) end;
  19. i think you should refer this to eAmod ...we dont know how the eAmod's WOE SE run ...at least for me ..i dont know..not a fans for eAmod .. since these WOE SE script command / label is not working for eAmod ..then you have to remove all these WOE SE related script commands.
  20. try these bonus bFixedCastrate,x; Increases fixed cast time of skills by x%. bonus bVariableCastrate,x; Increases variable cast time of skills by x%. bonus2 bSkillFixedCast,s,x; Increases fixed cast time of skill s by x milliseconds. (supports skill names.) bonus2 bSkillVariableCast,s,x; Increases variable cast time of skill s by x milliseconds. (supports skill names.) bonus2 bVariableCastrate,s,x; Increases variable cast time of skill s by x%. (supports skill names.)
×
×
  • Create New...