Jump to content

ryuma1922

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by ryuma1922

  1. You will develop to support the 2018 version.
  2. Oh, I'm very thankful for the help, but I'm not good at c ++ language. I'm just an apprentice ? I try to put it according to the instructions but it also shows the infinity loop.
  3. [Error]: scrpt:run_script_main: infinity loop [Debug]: Source (NPC) : -GM-#Krathongl at loykrathong (71,70) It happens. The NPC goes to the last point. I fixed it by putting Sleep. It did not up the infinity loop, but it raised a warning message to me instead. loykrathong,0,0,0 script #Krathong1 3997,{ end; OnWalk: setd ".npcwalk"+strnpcinfo(2),1; set .@npcname$,strnpcinfo(0); waitingroom $@MyWish$,0; setnpcdisplay(strnpcinfo(0), $@NameKrathong$+"#"+strnpcinfo(2)); npctalk $@MyWish$; sleep 1000; set .@walkto_x,114; set .@walkto_y,rand(53,69); npcspeed 1500; sleep rand(500,2000); getmapxy .@map$,.@x,.@y,1; if( .@x < 83 ){ set .@npcx,114-83+.@x; while( .@x != .@npcx || .@y != .@walkto_y ){ getmapxy .@map$,.@x,.@y,1; npcwalkto .@npcx,.@walkto_y; sleep 250; } } while( .@x != .@walkto_x || .@y != .@walkto_y ){ getmapxy .@map$,.@x,.@y,1; npcwalkto .@walkto_x,.@walkto_y; sleep 250; } globalmes getd(".npcwalk"+strnpcinfo(2)); setd ".npcwalk"+strnpcinfo(2),0; setnpcdisplay("#"+strnpcinfo(2), .@npcname$); delwaitingroom; movenpc strnpcinfo(0),0,0; end; }
  4. Code for me function script Krathong { getmapxy .@map$,.@x,.@y,0; if( .@x >= 57 && .@x <= 79 && .@y == 72 ) set .@pos,1; else if( .@x >= 67 && .@x <= 95 && .@y == 51 ) set .@pos,2; else end; for( set .@i,1; .@i <= 50; set .@i,.@i+1){ if(!getvariableofnpc(getd(".npcwalkKrathong"+.@i)," #Krathong"+.@i)) { set .@npcname$," #Krathong"+.@i; break; } if( .@i == 50 ) end; } if( .@pos == 1 ) movenpc .@npcname$,.@x,.@y-2; else if( .@pos == 2 ) movenpc .@npcname$,.@x,.@y+2; mes "[KraThong]"; mes "อธิษฐาน......"; input $@MyWish$; set $@NameKrathong$,strcharinfo(0); donpcevent .@npcname$+"::OnWalk"; end; } loykrathong,0,0,0 script #Krathong1 3997,{ end; OnWalk: setd ".npcwalk"+strnpcinfo(2),1; set .@npcname$,strnpcinfo(0); waitingroom $@MyWish$,0; setnpcdisplay(strnpcinfo(0), $@NameKrathong$+"#"+strnpcinfo(2)); npctalk $@MyWish$; set .@walkto_x,114; set .@walkto_y,rand(53,69); npcspeed 1000; getmapxy .@map$,.@x,.@y,1; if( .@x < 85 ){ set .@npcx,114-85+.@x; while( .@x != .@npcx || .@y != .@walkto_y ){ getmapxy .@map$,.@x,.@y,1; npcwalkto .@npcx,.@walkto_y; } } while( .@x != .@walkto_x || .@y != .@walkto_y ){ getmapxy .@map$,.@x,.@y,1; npcwalkto .@walkto_x,.@walkto_y; } globalmes getd(".npcwalk"+strnpcinfo(2)); setd ".npcwalk"+strnpcinfo(2),0; setnpcdisplay(" #"+strnpcinfo(2), .@npcname$); delwaitingroom; movenpc strnpcinfo(0),0,0; end; } loykrathong,0,0,0 duplicate( #Krathong1) #Krathong2 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong3 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong4 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong5 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong6 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong7 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong8 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong9 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong10 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong11 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong12 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong13 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong14 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong15 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong16 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong17 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong18 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong19 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong20 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong21 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong22 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong23 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong24 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong25 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong26 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong27 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong28 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong29 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong30 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong31 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong32 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong33 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong34 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong35 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong36 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong37 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong38 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong39 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong40 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong41 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong42 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong43 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong44 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong45 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong46 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong47 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong48 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong49 3997 loykrathong,0,0,0 duplicate( #Krathong1) #Krathong50 3997
  5. Please help me, it does not work, let me play it for 30 minutes Stop the game. and Cmd Char Map Login no error Fome Details. Faulting application name: Ragnarok.exe, version: 0.0.0.0, time stamp: 0x5a9e26c2 Faulting module name: Ragnarok.exe, version: 0.0.0.0, time stamp: 0x5a9e26c2 Exception code: 0xc0000409 Fault offset: 0x0070cc5c Faulting process id: 0x21b4 Faulting application start time: 0x01d426b5d23dffeb Faulting application path: D:\Server_Ro\Gravity\RagnarokOnline\Ragnarok.exe Faulting module path: D:\Server_Ro\Gravity\RagnarokOnline\Ragnarok.exe Report Id: f9e9cd23-7c60-4251-b015-a9c52aa616e2 Faulting package full name: Faulting package-relative application ID:
  6. login message up : Your connection is currently delayed Please reconnect again later.30
×
×
  • Create New...