Jump to content

Technoken

Members
  • Posts

    505
  • Joined

  • Days Won

    8

Everything posted by Technoken

  1. @Poring KingI knew him. He's a good person and always pays on time. I was wondering why would he block you. I worked for him for like 3 months after his original dev left him. But I got so busy with my new business so I cant spare more time doing ro works. I will try to ping him and ask what happened.
  2. Have you tried this one on feature.conf? // Atcommand suggestions (Note 1) // If one type incomplete atcommand, it will suggest the complete ones. feature.atcommand_suggestions: off Not sure what it actually does but might help ?
  3. My bad, i missed an apostrophe XD getmapxy(getd("$mapPRT"+strnpcinfo(2)+"$"), getd("$xPRT["+atoi(strnpcinfo(2))+"]"), getd("$yPRT["+atoi(strnpcinfo(2))+"]"), UNITTYPE_NPC, strnpcinfo(3)); Anyway we can help you better if you post the script or infos of what you really want to achieve. Maybe this could help too - script Pronterian -1,{ end; OnInit: donpcevent "::OnSetPCoord"; end; OnSetPCoord: .@id = atoi(strnpcinfo(2)); getmapxy(.@map$, .@x, .@y, UNITTYPE_NPC); setd "$@PrtMap"+.@id+"$", .@map$; setd "$@PrtX"+.@id+"", .@x; setd "$@PrtY"+.@id+"", .@y; end; } prontera,150,150,1 duplicate(Pronterian) Pronterian#1 844 prontera,150,152,1 duplicate(Pronterian) Pronterian#2 844 prontera,150,154,1 duplicate(Pronterian) Pronterian#3 844 then fetch the variables with $@PrtMap1$ $@PrtX1 $@PrtY1 and so on.. PS: I haven't test the script myself
  4. You need to use getd to fetch the reference of the variable. and since strnpcinfo(2) returns a string, you need to convert it to number using atoi command. Try getmapxy(getd("$mapPRT"+strnpcinfo(2)+"$"), getd($xPRT["+atoi(strnpcinfo(2))+"]), getd($yPRT["+atoi(strnpcinfo(2))+"]), UNITTYPE_NPC, strnpcinfo(3));
  5. since you are using a scope variable(.@) for the array, it will end when the script ends. You can try to use a temporary character variable (@) instead to pass the array. Just make sure that the variable name is a unique one.
  6. Try item script: {},{ doevent "zxcasdqwe::OnEquip"; },{}; script: - script zxcasdqwe -1,{ end; OnEquip: switch(Class) { case Job_Paladin: changelook LOOK_HEAD_BOTTOM, 3000; break; case Job_Lord_Knight: changelook LOOK_HEAD_BOTTOM, 3001; break; case Job_Champion: changelook LOOK_HEAD_BOTTOM, 3002; break; default: break; } end; }
  7. Check https://rathena.org/board/topic/84627-how-to-disable-this-delay/?do=findComment&comment=209163
  8. So it would be like every attack will miss considered as 0 damage? Using setunitdata, you can try to alter the mob mode to MD_SKILL_IMMUNE so skills won't affect it and set perfect dodge to 100 dodge normal attacks.
  9. ou need to set the mob mode as boss so it will be immune to statuses Check out this LINK
  10. 1. { Script },{ OnEquip_Script },{ OnUnequip_Script } On the onequip script you can use warp "prontera",99,99; 2. Last location before you equip the item? You can save the current location before you execute warp command. {},{ getmapxy(@last_map$,@last_x,@last_y,UNITTYPE_PC); warp "prontera",99,99; }, {} Then for the portal prontera,150,150,4 script warp#lastmap 45,2,2,{ if( @last_map$ != "") warp @last_map$,@last_x,@last_y; else warp "SavePoint",0,0; end; }
  11. Wrong section. Moved to "Source Support".
  12. Wrong section. Moved to "Client-side Support"
  13. Might be related to this issue i encountered before.
  14. The error says it. You need to give user write permission to your data/tmp folder. You can try chmod -R 755 /var/www/html/data/tmp
  15. You can do something like - script asf12asd FAKE_NPC,{ OnInit: .map$ = "prontera"; end; OnMinute00: monster .map$,0,0,"--ja--",1312,1,strnpcinfo(0)"::OnKilled"; pvpon .map$; end; OnKilled: pvpoff .map$; end; }
  16. What's the current git hash of your rAthena files? if it was before this PR was merged. you would need to apply it.
  17. You can find threads with same issues as yours. You just need to hit the search button https://github.com/rathena/rathena/issues/1391
  18. change directory Example cd /home/centos/rathena
  19. Try to cd to the trunk files then execute ./configure && make clean server
  20. That would be a new feature. I'll try to update it with that feature when I get my free time.
  21. The comments and idea of this topic might be helpful.
  22. Just update your trunk. Should be fixed in this commit
  23. Can you provide more info about it? What's your trunk git hash? Did you modify something in it? Try to check your status.cpp under int status_change_clear(struct block_list* bl, int type) if(type == 0) { switch (i) { // Type 0: PC killed -> Place here statuses that do not dispel on death. those statuses should be below that line ^
  24. git stash save git pull git stash pop stash save will save your current modifications. pull will update your trunk to the latest hash and stash pop will merge your modifications to your newly updated trunk. It will affect it if there's an update on item db and mob db but stash pop will put back the modifications you made. usually conflicts arise when you have modifications that will conflict the update. I usually fix conflicts manually (applying the update without removing the conflicted modification).
×
×
  • Create New...