Jump to content

QQfoolsorellina

Members
  • Posts

    587
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by QQfoolsorellina

  1. How about charat(<string>,<index>) setchar(<string>,<char>,<index>) ?
  2. Thank you for pointing out that mistakes OnTouch: if( @idtime ) end; while (getmapxy(.@map$,.@x,.@y,0) == 0 ) { // check distance if (.npc_map$!=.@map$ || distance(.@x,.@y, .npc_x,.npc_y) > 2 ) { set @idtime,0; break; } set @idtime,@idtime+1; if (@idtime >=3600) { getexp 100,100; set @idtime,0; } sleep2 1000; } end;
  3. try this OnTouch: while (!getmapxy(.@map$,.@x,.@y,0) == 0 ) { // check distance if (.npc_map$!=.@map$ || distance(.@x,.@y, .npc_x,.npc_y) > 2 ) { set @idtime,0; break; } set @idtime,@idtime+1; if (@idtime >=3600) { getexp 100,100; set @idtime,0; } sleep2 1000; } end;
  4. Do you mean this issue ? http://rathena.org/board/tracker/issue-5052-asura-combo-stopped-working/
  5. 3CEAM doesn't has getnpcid so add by yourself in src and recompile.. refrence: trunk/src/map/script.c
  6. 3772 report a span bot Luckpauplepup
  7. prontera,155,181,5 script Sample 757,{ mes "Which skill you need me to cast on you ?"; set .@SkillID,select( .SkillName$ ) - 1; mes "Selected "+.Skillname$[.@SkillID]; close2; unitskilluseid getnpcid(0),.SkillID[.@SkillID],.SkillLv[.@SkillID],getcharid(3); sleep 3000; movenpc strnpcinfo(0),155,181; end; OnInit: setarray .SkillID[0],14,19,20,421; setarray .SkillLv[0],3,5,10,5; set .SkillName$,"Cold Bolt:Fire Bolt:Lightning Bolt:Fly Kick"; end;
  8. I think It's no need to use implode script command set .@SkillID,select( .SkillName$ ) - 1;
  9. I think you should post here if you find bugs http://rathena.org/board/tracker/project-4-scripts/
  10. there is a new command that can handle this - script notest12345 -1,{ OnPCLoginEvent: if(donatorvar) atcommand "@rmvperm can_trade"; }
  11. maybe he use eAthena that doesn't have direct variable assignment system
  12. agree+1 , rathena need more trigger event like OnPCStatCalcEvent OnPcuseskillevent OnScstartevent..... Thus, it will bring more powerful and awesome scripts
  13. Thank you so much ! now it was working perfectly
  14. I'll be honest, I'm a bit confused here! You can already view the spr files (here's what you can preview : txt, log, xml, lua, lub, bmp, png, spr, pal, gat, jpg, tga, wav and act.) Did you mean something else? It is strange, all features work for me except the spr-preview
  15. Thanks for working on encodeing code. The view spr features like the show map features, we can see what the selected spr look like.
  16. very useful tool ! need more encodeing code like codepage 950 and view spr feature
  17. this ? map/itemdb.h #define MAX_ITEMDB 0x8000 ⇩ #define MAX_ITEMDB 0x10000 1~65535 and uint16 type of nameid in struct item_data should be redeclared a wide range of type
  18. try this not tested mes "Enter the name of the character you want to check the "ABCDEFG" variable:"; input .@tmp$; set .@taid,getcharid(3,.@tmp$); if(!.@taid){ mes "Char is offline or not exist"; close; } set .@said,getcharid(3); attachrid(.@taid); set .@tvalue,ABCDEFG; attachrid(.@said); mes "VARIABLE "ABCDEFG" OF "+.@tmp$+"is"+.@tvalue; close;
  19. I mess up variable .@i try to use vaiable .@j for rev 1.4b [b]for (;.@j <.@q[1];.@j++ )[/b] rentitem .@q[0], 604800; test and woking for v1.4b
  20. Thanks for your help. But, I didn't get the item after 'purchase'. No errors on map-server and item required being deleted. I'm edit the getitem .@q[0],.@q[1]; line like this : for ( ;.@i <.@q[1];.@i++ ) rentitem .@q[0], 604800; Is there any mistakes? sorry , it's a typo change .@q[1] to .@q[2] for ( ;.@i <.@q[2];.@i++ ) rentitem .@q[0], 604800;
  21. try this http://rathena.org/board/topic/74893-help-dynamic-quest-by-euphy/
  22. Is there any extra blank line in exp_homun.txt ?
  23. src/map/pet.c inside if(rnd()%10000 < pet_catch_rate){ here to make a announce}
×
×
  • Create New...