Jump to content

rongmauhong

Members
  • Posts

    81
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by rongmauhong

  1. Currently getmapxy doesn't work with variable. It's a bug. https://github.com/rathena/rathena/issues/3918
  2. Hi, you can reload a single NPC by `@reloadnpc file_name.txt` and for item `@reloaditemdb`. For Example: `@reloadnpc npc/re/instances/GhostPalace.txt`
  3. Hi @Tokei. My map-server crashed after using these commands. I noticed that the server crashed only when I used the `getitem` command in this script. - script stest -1,{ OnTest: .@labelReward$ = "stest::OnReward"; foreachinserver(.@labelReward$); end; OnReward: getitem 531,1; // Crashed dispbottom "test"; // No crashed end; OnInit: bindatcmd "test",strnpcinfo(0)+"::OnTest",99,99; end; } The bug occurred when I updated this PR https://github.com/rathena/rathena/commit/db3267a868c2855da68481c0807f14004c984da7 Here is the dump log: Please fix it, thanks.
  4. Hi, you need to add a new map to map_cache 1. Add these lines below to db/import/map_index.txt // Endless Cellar 1@new 2@new 3@new 4@new 5@new 2. Add these lines below to conf/maps_athena.conf map: 1@new map: 2@new map: 3@new map: 4@new map: 5@new 3. Use Mapcache Editor to add a new map to db/import/map_cache.dat
  5. Hi, did you use Ranger job to attack mob?
  6. Check PACKETVER in src/config/packets.hpp ?
  7. Hi, you need to post an issue on rA github: https://github.com/rathena/rathena/issues and follow template issue
  8. Hi everybody, This error appears very much in the log file, how to fix it? Thanks
  9. Same problem here. I am still finding the error
  10. thanks, does this line work? unitwarp .GID,"prontera",154,176;
  11. Hello, I use unitwarp .GID,"prontera",154,176; in the script below but it doesn't work - script spawn_test -1,{ end; OnTest: monster "prontera",154,175,"--ja--",1026,1,strnpcinfo(3)+"::OnMyMobDead"; .GID = $@mobid[0]; initnpctimer; end; OnTimer5000: if (unitexists(.GID) == 0) { stopnpctimer; end; } unitwarp .GID,"prontera",154,176; initnpctimer; end; OnMyMobDead: end; OnInit: bindatcmd "test",strnpcinfo(0)+"::OnTest",99,99; end; } Thanks
  12. It's not crash but the script does not work properly because the signboard will go away forever. Just try my fix and you will see the changes.
  13. Hi @Anacondaqq. It's still crash server. I change from donpcevent "::OnSetup"; to for (.@i = 1; .@i < .count; .@i++) { donpcevent "#vend_slot"+.@i+"::OnSetup"; } then it works fine. Maybe rA bug?
  14. Thanks for responses. I think I use 2017 exe client so I got this problem. I fixed it on _new_biglayerdir_female.lub and _new_biglayerdir_male.lub located in data\luafiles514\lua files\spreditinfo
  15. I have updated to 2018 client and got this error. Do you know how to fix it? Thanks.
  16. I like the foreach command. I hope rA will implement the foreach command for array.
  17. Hi, I'm trying to fix the disconnect issue from this script but no luck ? Could you find the error? Thanks - script AntiBot -1,{ OnPCLoginEvent: @mobCount = 0; end; OnPCLogoutEvent: if (getgmlevel() < 99) { callsub S_UnHide; } end; OnNPCKillEvent: if (@checking) end; .@map$ = strcharinfo(3); if (.@map$ == "mosk_dun03" || .@map$ == "bra_dun02" || .@map$ == "ice_dun03" || .@map$ == "um_fild02" || .@map$ == "um_fild04" || .@map$ == "mosk_dun03" || .@map$ == "ra_fild01" || .@map$ == "yuno_fild11" ) { @mobCount++; if (@mobCount >= (.count-5)) { message strcharinfo(0), "Anti Bot will appear after "+ (.count - @mobCount) +" mobs."; } if (@mobCount >= .count) { @mobCount = 0; @checking = 1; attachnpctimer; initnpctimer; callsub S_Hide; .@A = rand(5); .@B = rand(5); @Answer = .@A + .@B; mes "^0000FF[ Anti Marco ]^000000"; mes "A = "+.@A+" B = "+.@B; mes "A + B?"; input @Input; if (@Input != @Answer) { @checking = 0; stopnpctimer; detachnpctimer; callsub S_UnHide; Zeny -= 100000; warp "prontera", 156,191; } else { @checking = 0; next; mes "^0000FF[ Anti Bot ]^000000"; mes "...."; percentheal 100,100; stopnpctimer; detachnpctimer; callsub S_UnHide; Zeny += 50000; close; } end; } end; } end; S_Hide: setoption 0x2,1; // Hide in effect. setoption 0x2000,1; // Ruwach is in effect. atcommand "@battleignore"; return; S_UnHide: setoption 0x2,0; // Hide in effect. setoption 0x2000,0; // Ruwach is in effect. atcommand "@battleignore"; return; OnTimer30000: Zeny -= 100000; warp "prontera", 156,191; callsub S_UnHide; end; OnInit: .count = 100; // 100 mobs end; }
  18. Hi, I want to make a command to save the item list in @alootid command. I read in the document but it does not seem to have that function. Please help, thanks.
  19. I'm using 2017-06-14 client and the latest rathena on github.
  20. Hi, I don't want the Inspiration skill clear food and battle manual. How I can fix it? I'm using 2017-06-14 client and the latest rathena in github. Thanks
×
×
  • Create New...