Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    409

Everything posted by Emistry

  1. prontera,151,101,5 script Regalador de items::RLvls 751,{ npctalk "Jajaja , jajaja morite xd ! #"+.death_counter+" victim"; announce strcharinfo(0) + " ha caido, ha sido estafado jo jo jo. #"+.death_counter+" victim",8; // has been killed emotion 51; specialeffect2 312; percentheal -100,-100; .death_counter++; close; }
  2. npc/merchants/cash_trader.txt
  3. refer your cronus emulator db/const.txt and use the correct status name for SC_ITEMBOOST
  4. your script is working fine, just that your dispbottom make you thought that you script is running infinite time. =='' - script Sample -1,{ OnNPCKillEvent: for( .@i = 0; .@i < .mob_size; .@i++ ) if( killedrid == .mob_id[.@i] ){ getitem 512,1; end; } dispbottom "No Drops"; end; OnInit: setarray .mob_id[0],1085,1084,1079,1080,1078,1083,1082,1081,1097; .mob_size = getarraysize( .mob_id ); end; } btw, if you have an infinity loop in your script, dispbottom doesnt solve the issue in fact it could make it worse. Anyway, if a script have infinite loop it should be auto terminated and display error in your map-server.
  5. for( .@i = 0; .@i < .mob_size; .@i++ ) if( killedrid == .mob_id[.@i] ){
  6. maybe your db/const.txt isnt updated ? or you're not using rAthena ? make sure the name is correct in db/const.txt SC_EXPBOOST 257
  7. #CASHPOINTS += 1234; // get 1234 point. use the cashshop.
  8. just change the item_id part to callfunc("F_Rand",558,529,2668,7518) everything else is pretty much the same .... getitem2 callfunc("F_Rand",558,529,2668,7518),..............................;
  9. make sure they have the appropriate permission setting in the conf/groups.conf
  10. I remember rathena have the setting for it. but i cant remember the setting is inside the conf/battle/ or src latest rathena have it, you dont nid custom source mod for it
  11. Does anybody have this Sprite ?? Mind to share with us ?? thank you in advance. http://database.valkyrieuprising.com/monsters/emperium-609
  12. You may send a pm to admin and request for some update regarding your payout.
  13. Emistry

    Debug

    .... [SQL]: DB error - Table 'ragnarok.acc_reg_num_db' doesn't exist the map server already told you what is your server problem. that SQL table doesnt exist in your database. just find the SQL table in the sql-files/main.sql ..and copy paste it and execute in your database. ( find inside the Hercules folder, not rAthena. ) ..
  14. Emistry

    Debug

    ur case probably you deleted the sql table or removed it or didnt added it. just go add refer the sql-files folder and copy the sql table code and load it in your sql server. make sure you applied all sql update in ascending order based on time.
  15. - script Sample#20_min_item -1,{ OnMinute00: OnMinute20: OnMinute40: addrid( 0 ); if ( !checkvending() && Weight < ( MaxWeight/2 ) ) { getitem 501,1; getitem 501,2; getitem 501,3; dispbottom "Gained items for every 20 minutes." } end; } @Winz your method in post#3 doesnt really solve what he wanted... you just success to block the dispbottom from displayed and not the items..
  16. Emistry

    Warper

    @Winz lol...ur method is still end up using the end at the very last line. if not mistaken, if the warper ever have a bugged warp location, they will still stuck at there no matter you use end or close2
  17. @Stolao You're out of the topic or misunderstand the topic I guess. He is suggesting the transform to support bonus and not limited to sc_type only. Beside, your method using disguise and sleep2 isnt ideal for server if we considering the performance.
  18. edit your db/re/job_exp.txt and conf/battle/client.conf
  19. you can also refer here. http://rathena.org/board/topic/78263-scripting-faqtipstricks/?p=267219
  20. low server ram ? extensive execution of script ??
  21. if ( getd( ".npc_"+getnpcid(0) ) ) { mes "NPC is busy now."; } else { setd( ".npc_"+getnpcid(0) ),getcharid(3); attachnpctimer; initnpctimer; mes "You using me."; progressbar "0xFFFFFF",5; mes "Done"; setd( ".npc_"+getnpcid(0) ),0; stopnpctimer; } close; OnTimer1000: .@is_occupied = getd( ".npc_"+getnpcid(0) ); if ( .@is_occupied && .@is_occupied == playerattached() ) { attachnpctimer; initnpctimer; } else { OnTimerQuit: stopnpctimer; setd( ".npc_"+getnpcid(0) ),0; } end;
  22. because you added the "reset" part to the script that will be executed upon @reloadscript / server start.
  23. if ( strcharinfo(3) != "guild_vs2" && strcharinfo(3) != "guild_vs3" ) end;
  24. - script Sample#atrequest_delay -1,{ OnInit: bindatcmd "request",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: .@time_left = ( @request_delay - gettimetick(2) ); if ( .@time_left > 0 ) { dispbottom "@request delay. Try again later. ("+.@time_left" second)"; } else { atcommand "@request "+implode( .@atcmd_parameters$," "); } end; }
  25. OnPCKillEvent: if ( strcharinfo(3) != "guild_vs2" ) end;
×
×
  • Create New...