Kakaroto Posted August 2, 2015 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 635 Reputation: 95 Joined: 05/11/12 Last Seen: 5 hours ago Share Posted August 2, 2015 hello good night, someone could tell me where I am going wrong in this script? I thank you very much. for(set @i,0; @i < 5; set @i,@i+1) if(@nome$[@i] == strcharinfo(0)){ mapwarp "ordeal_1-1","ordeal_1-1",150,150; pcblockmove getcharid(3),1; sleep2 2000; announce "Test.",bc_self; pcblockmove getcharid(3),0; end; } Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 2, 2015 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 10 hours ago Share Posted August 2, 2015 pcblockmove doesnt exist in your emulator. Quote Link to comment Share on other sites More sharing options...
Kakaroto Posted August 2, 2015 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 635 Reputation: 95 Joined: 05/11/12 Last Seen: 5 hours ago Author Share Posted August 2, 2015 pcblockmove doesnt exist in your emulator. this? BUILDIN_FUNC(pcblockmove) { int id, flag; TBL_PC *sd = NULL; id = script_getnum(st,2); flag = script_getnum(st,3); if(id) sd = map_id2sd(id); else sd = script_rid2sd(st); if(sd) sd->state.blockedmove = flag > 0; return SCRIPT_CMD_SUCCESS; } Quote Link to comment Share on other sites More sharing options...
Ninja Posted August 20, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Share Posted August 20, 2015 Have you tried recompiling your binaries? Quote Link to comment Share on other sites More sharing options...
Promise Posted August 22, 2015 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 386 Reputation: 38 Joined: 04/28/13 Last Seen: March 22, 2024 Share Posted August 22, 2015 If u're using eAthena/Old rAthena, you cant use this variable. I had this problem too few days ago using eAmod. (eAthena mod) Quote Link to comment Share on other sites More sharing options...
Question
Kakaroto
hello good night, someone could tell me where I am going wrong in this script? I thank you very much.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.