Jump to content

nanakiwurtz

Members
  • Posts

    1654
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by nanakiwurtz

  1. for( set .@i, 0; .@i < getarraysize(.@Gitem); set .@i, .@i + 1 ){ set .@am,.@GAmount[.@i] * .@greward; getitem .@Gitem[.@i],.@am; } if ($@members > 14){ for( set .@i, 0; .@i < getarraysize(.@Aitem); set .@i, .@i + 1 ){ set .@amm,.@AAmount[.@i] * .@areward; getitem .@Aitem[.@i],.@amm; } }
  2. @njoZhulnahkrii: Edit your client file --> data\luafiles514\lua files\msgstring_kr.lua MSI_ST_CHAT = "Regular Chat", MSI_BT_CHAT = "Battle Log",
  3. @njoZhulnahkrii: Keep in mind that you're trying to search for hex value, not a string, sometimes you have to check on the hex editor settings. And also if you still can't find it, try to reduce/shorten your search.
  4. prontera,150,150,0 script test 57,{ unittalk 0,"My name is "+strcharinfo(0)+"!"; end; }
  5. Ohhh I thought Olrox was an 8-handed octopus who can do multiple tasks simultaneously xD
  6. What kind of achievement system do you mean, Dynasty?
  7. Untested: // Just change map whatever you want prontera,147,158,5 script Farm Zone 900,{ mes "This is a Farm Zone."; mes "You will be able to hunt Budots Coin inside this Room."; mes "But please be careful, this room is PK Enabled."; next; menu "Are you sure to go? [" + getmapusers("bat_c01.gat") +"/5]", L_Go, "Nevermind", L_nvm; L_Go: next; if (getmapusers("bat_c01") >= 5) { mes "This map is currently full."; close; } attachnpctimer ""+strcharinfo(0)+""; initnpctimer; warp "bat_c01",55,119; end; L_nvm: mes "No problem come back again"; close; end; OnTimerQuit: detachnpctimer; end; OnTimer10000: getmapxy( .@map$, .@x, .@y, 0 ); if ((@map$ == .@map$) && (@x == .@x) && (@y == .@y)) { set @afk, @afk + 1; } else { set @afk, 0; } if (@map$ != "bat_c01") { detachnpctimer; } set @map$, .@map$; set @x, .@x; set @y, .@y; if (@afk >= 30) { dispbottom "You have been kicked from the room because you have been AFK for 5 minutes."; detachnpctimer; warp "SavePoint",0,0; end; } initnpctimer; } // -------------------------------------------------------------- - script Monsters -1,{ OnInit: OnNPCKillEvent: if ( strcharinfo(3) == "bat_c01" ) { if( killedrid == 1369){ getitem 9524,1; } end; } } bat_c01,0,0,52,52 monster Grand Peco 1369,20,40000,20000; bat_c01,0,0,52,52 monster Am Mut 1301,20,40000,20000; bat_c01,0,0,52,52 monster Grand Peco 1369,10,40000,20000; bat_c01,0,0,52,52 monster Am Mut 1301,10,40000,20000; bat_c01,0,0,52,52 monster Grand Peco 1369,20,40000,20000; bat_c01,0,0,52,52 monster Grand Peco 1369,10,40000,20000; bat_c01,0,0,52,52 monster Grand Peco 1369,20,40000,20000; bat_c01,0,0,52,52 monster Grand Peco 1369,10,40000,20000; bat_c01,0,0,52,52 monster Grand Peco 1369,20,40000,20000;
  8. You could use something like this to manage your skills: mapflag<tab>skill_damage<tab>WZ_STORMGUST,1,,50 But before you can alter the damage of your chosen skills, you have to enable 'ADJUST_SKILL_DAMAGE' in 'src/config/core.h' But remember, that each map only could have 5 of these type of mapflag
  9. // Just change map whatever you want geffen,67,63,4 script Farm Zone 900,{ mes "This is a Farm Zone."; mes "You are able to Hunt Budots Coin inside this Room."; mes "But please be careful, this room is PK Enabled."; next; menu "Are you sure to go? [" + getmapusers("guild_vs5.gat") +"/5]", L_Go, "Nevermind", L_nvm; L_Go: next; if (getmapusers("guild_vs5") >= 5) { mes "This map is currently full."; close; } warp "guild_vs5",23,50; end; L_nvm: mes "No problem come back again"; close; end; } // -------------------------------------------------------------- - script Monsters -1,{ OnInit: OnNPCKillEvent: if ( strcharinfo(3) == "guild_vs5" ) { if( killedrid == 1369){ getitem 607,1; } end; } } guild_vs5,0,0,52,52 monster Grand Peco 1369,20,10,10; I think you're missing a 'close', otherwise even there are more than 5 people on the room, other people can still join the room..
  10. What happen if the player kill 3 players in an instant? For example by using a Comet? Wouldn't the kill var set to 3, and will mess the script...?
  11. I think it has been included on the latest diff file, you could use Yommy's XDiffGen (or XDiffPatcher, I forgot which one)
  12. set .@acc_idl, getcharid(3) ; I believe it's a typo? set .@acc_id, getcharid(3) ;
  13. Well I think it should be: - script pvppoints -1,{ OnPCKillEvent: if ( strcharinfo(3) == "morocc" ) { if ( kill >= 2 ) { set arenapoint,arenapoint+10; dispbottom "You have gained 10 Arena Points. Total is "+arenapoint+" Arena Points."; set kill, 0; } else { set kill, kill + 1;} } end; OnPCDieEvent: if ( strcharinfo(3) == "morocc" ) { if ( death >= 5 ) { set arenapoint,arenapoint+10; dispbottom "You have gained 10 Arena Points. Total is "+arenapoint+" Arena Points."; set death, 0; } else { set death, death + 1; } } end; } Otherwise it will be a free point given after clearing the var, so only 1 kill needed because of that 'free point'..
  14. Combatibility? Maybe you mean compatibility That will be useful only if you're actively adding lots of custom items by yourself, but if you're just using the default item_db.txt, then probably you won't need it
  15. It makes it more readable to human eyes, but just like LuLu has said, the current item_db.txt is fine for me
  16. Yep, plus something is likely to be broken with every master repo git update..
  17. You could use git shell, or if you use the normal cmd, then you should navigate to your git installation folder first. Like: cd "C:\Program Files (x86)\git\cmd", then do 'git config --global http.postBuffer 524288000' After that you could retry to pull the repository again. If you encounter any conflicts, you could do 'git stash', then 'git pull --rebase', then 'git stash pop' to stash (save) your changed files, and later pop (load) it again to merge with the master repo.
  18. Oh so it's like the items on 'item_combo_db.txt' then...
  19. I don't even understand of how they should work..
  20. Use a high value on ATK1 & ATK2, and also you could turn your mob into a plant, so they always get 1 damage when hit.
×
×
  • Create New...