Jump to content

sader1992

Content Moderator
  • Posts

    1691
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by sader1992

  1. or you can do something like if(getd("$QID_" + get_unique_id())){ //already got }else{ //get something setd("$QID_" + get_unique_id(),true); }
  2. - script on_mvp_kill_item -1,{ OnNPCKillEvent: getunitdata(killedgid,.@info); if((.@info[UMOB_MODE]&MD_MVP)){ //item id 501 , count 1 , drop item under the mvp location on death makeitem(501,1,mapid2name(.@info[UMOB_MAPID]),.@info[UMOB_X],.@info[UMOB_Y]); } end; }
  3. use mes for English and mes_ar for Arabic for sentences with both languages try and see the result and use whatever this is not a perfect solution , it's just a work around the problem for now
  4. at the end of your rathena/npc/other/Global_Functions.txt add function script mes_ar { .@g$ = getarg(0); explode(.@m$, .@g$, " "); .@s = getarraysize(.@m$) -1; for(.@i=.@s;.@i>=0;.@i--){ .@r$ += .@m$[.@i] + " "; } mes .@r$; return; } How to use: prontera,0,0,0 script xxxxxx 444,{ mes_ar "روح شوف كونوسوبا"; end; }
  5. try this client info <servicetype>korea</servicetype> server config conf/import/char_conf.txt login_ip: 127.0.0.1 char_ip: public_ip conf/import/map_conf.txt char_ip: 127.0.0.1 map_ip: public_ip
  6. i suggest to optimize your script , it does lack optimization and customization. i think you can write the same thing in less then 150 line with more customization options too. also the name well , not really a good name for the script.
  7. Count my vote on yes , I Voted no xD.
  8. you are using the function name the same as the command name are you sure about the command name ? don't use the command name as a function name line 10 function script costume { line 65 costume .@part,1; // Convert the Headgear
  9. so basically you know now that the issue is coming from the files that you didn't remove.
  10. extra steps is will do nothing right? xD it's all about the gat file use the .gat that you are already using in your data folder , or first grf put the gat file in your import mapcache , and everything will work if you changed the gat file in your grf too , you maybe added a wrong gat file to the map, so don't edit the gat file(replace it) as long as you don't know what you are doing
  11. If that is the case, then it's from your client files ,just test ,remove any unneeded file from the client files (grf) it's better to start from a clean grf then add your necessary edits only (after you test with the clean grf and confirm that the problem is gone)
  12. setarray .@p, EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON; for(.@i=0;.@i<getarraysize(.@p);.@i++){ if(getequipisequiped(.@p[.@i])) .@menu$ += F_getpositionname(.@p[.@i]) + "[ " + getequipname(.@p[.@i]) + " ]"; .@menu$ += ":"; } .@part = .@p[select(.@menu$) -1];
  13. @bankayro you should add more info , not just push the topic up with no more info check your server setting and your server console
  14. An easy way to do with replace for( set .@i,1; .@i <= 15; set .@i,.@i+1 ){ if( getequipisequiped(.@i) ) set .@menu$, .@menu$ + .@position$[.@i] + "[ " + getequipname(.@i) + " ]"; set .@menu$, .@menu$ + ":"; } WITH if( getequipisequiped(EQI_SHADOW_ARMOR) ){ set .@menu$, .@menu$ + .@position$[EQI_SHADOW_ARMOR] + "[ " + getequipname(EQI_SHADOW_ARMOR) + " ]"; } set .@menu$, .@menu$ + ":"; if( getequipisequiped(EQI_SHADOW_WEAPON) ){ set .@menu$, .@menu$ + .@position$[EQI_SHADOW_WEAPON] + "[ " + getequipname(EQI_SHADOW_WEAPON) + " ]"; } set .@menu$, .@menu$ + ":"; you can optimize it ofc
  15. if your pickup_log is too big (+1gig) I recommend that you rename it and make a new one , you will still have the old logs , however it's much easier for your server to deal with anew clean one.
  16. sometimes this happen when you add random options in random positions , foe example , if you add an option at 0 and at 2 (and you skipped 1) your item might glitch make sure you don't skip a positions in the random options slots.
  17. thanks for the report , the problems should be fixed in 5.1 thanks for the report , the problems should be fixed in 5.2 <exploit explanation removed from this reply, I encourage updating the script so no one exploit it> I would suggest to change the main variable (I moved it to the config in 5.2)[also change the shop variable] , if you changed the variable , the whole system will be reseted , and all the points would be reseted for all the players(or just delete the points from the player who exploited the system)
  18. the only other warning is advertising , which is +3 points , the warning you got is a lighter version of advertising even if you didn't mean to , your reply does give a sign to (talk to me in PM if you are willing to pay) I am not saying you meant to do that ? for deleting the post , most of the things that against the rule are hidden so it does not set an example for others to do the same notice that the user didn't ask for "your script" he asked for a script with the discerption he provided , your reply would be valid and might not be against the rule if the user was asking for "Poring King's script"
  19. you can try src edit the command it self , would be easier then searching for every place it used in
  20. the answer is above ^ just replace >= with == for only +7
  21. ask in here BrowEdit Discord also you would need it if you are planning to work on maping
  22. look like you enchantment npc give bound items , if you still have this issue , you can post the script you are using here. if anyone have this problem, here is the solution ^
  23. Please explain what you need more , I didn't understand what is the issue and what intended to be
×
×
  • Create New...