Jump to content

Milky Holmes

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Milky Holmes

  1. Hi I want to ask about the Sign Quest.. I changed the server time, and some player ask why it can't continued they even waited for 3days... Anyone knows how to fix it? Since I know nothing about the Sign Quest and not a pro in scripting...
  2. Thanks.. sorry I just looked at this.. I just had some vacation It really helped.. btw Emistry, do you have the sites that teaches variables? I can't seem to find it on the rathena wiki... ah and a question.. whats the difference between the global and local variable?
  3. lol.. thanks, but it does like what i said? when the character is deleted, then ppl make the same character id or name they will still get it again right? cause i dont really get things like that ~~
  4. sry.. it got lag here and unaccidentally posted 3x x_x so its saved along with the character ? if the character is deleted then the # also deleted ? i mean reseted for that characters name?
  5. do u know how to add it to the char_athena.conf? so doesn't use script because when I'm afraid when I wipe out the server some player couldn't get it.. # is for char id right?
  6. I'm wondering how to add items(usable/misc.) on this is it something like start_armor: 569 100? so 100 novice potion maybe.. // Starting weapon for new characters start_weapon: 13041 // Starting armor for new characters start_armor: 5055 start_armor: 2393 start_armor: 2112 start_armor: 2510 start_armor: 2414 // Starting zeny for new characters start_zeny: 50000
  7. Well I keep trying to make scripts.. Now I still practice on making some easy scripts... quests, antibot login, and fishing mining etc2, the "easy" version.. lol... and will try to use array and for loop later on.. suddenly when I started a server I found scripting is fun!! xD whoaa he is one of a good scripter then... I don't understand what it means though especially the signs i've never seen (+=, -=, /=, *= etc.) and while loop command x_x well.. thanks either way for helping me..
  8. Well indeed.. I see some other posts when you are having some showdown.. learning little by little from it, trying to understand it.. lol and.. really!! thanks for the script... btw what is .@i++ means? because I see at the rathena wiki it use set @i,@i+1 or is it the same? last question
  9. umm.. thanks but if I use that script it wouldn't be exploit like what u said? if the first player didn't take the item the next person if it did maybe can I move the .@size= getarraysize( $race_level150_name$ ); after they claim the item? u get what i mean ? maybe I need to learn from u.. lol... I'm wondering if it is $ is permanent how to reset it? would deleting the script from the server remove it? I still need a LOT of learning still far from good... lol..
  10. OnPCBaseLvUpEvent doesn't have effect on NPC? because I made an npc that submit a quest item then got base & job exp... I think that would exploit the server too.. what kind of prize ? so doesn't use OnPCBaseLevelUpEvent maybe like set the 5 items.. then the 1st can choose the 5 item.. then the 2nd can only choose the 4 left item.. and so on u need to claim it your self when u ar level 150... so it doesn't matter who got lv 150 first, but the first person that go to the NPC and ofcourse lv 150.. and ofcourse when 5 ppl submit, it ends.. Ah.. and doesn't if it use .@, when I reloadscript it will reset and it will activate again?
  11. Thanks.. well, I'm still a noob in scripting... especially with Onblablabla, array, quests hunting, for, @i, and etc.. lol... btw the script you gave me, does it let the first person choose? and doesn't if it use .@, when I reloadscript it will reset and it will activate again? or it doesn't Sorry if I asked too many question.. still learning can I add this? if ( baselevel != 150 && getgmlevel() >= 1) because if the GM lv 150 wouldn't the GM that got the prize? and how about don't use the OnPCBaseLevelUpEvent: will it still create some kind of exploit? if the lv 150 person claim and choose the prize themselves at the npc... hmm..
  12. Can anyone give me a script that give an item to the first 5 ppl that reaches 150 ? 1st ppl can choose what they want... 2nd will have to choose the rest after 1st person 3rd will have to choose the rest after 1st & 2nd person and so on until 5th person... The NPC doesn't have to be popped once the person is lv 150.. it can be a visible NPC and the ppl can report to the NPC if he/she is already lv 150... Then ask to enter their name... and once there are 5 person the npc will disactivate the event itself and say, there are already 5 ppl reaches 150 before you.. then list the name.. from 1. 2. 3. 4. 5. ppl that reaches lv 150 first.. can anyone please help me make that ? I've read the godly item quests.. but I don't really understand for the autodisactivate after the designated ppl... can someone please help...
  13. Umm... Why did i get an error? luac5.1.4: accessoryid.lua:1008: '}' expected <to close '}' at line 1> near '=' luac5.1.4: accname.lua:1034: ']' expected near 'S_HAT' Press any key to continue . . . eventhough I already put it correctly... EDIT: Ah.. nothing.. I've spotted it.. lol.. thanks for sharing... I always having problems on custom items...
  14. Maybe you can use this... He posted it lol...^^^^^^^^^ Just put it one by one in the item_db.txt and just use the OnKick: for the npc script... btw, I just knew about this way.. so I haven't tried... Just share what I've just learned..
  15. for 2nd: I want a NPC make a timer bubble chat when the WoE/SE is active... because I set the WOE for 2 hours I want it to tick for 2 hours until 00:00:00 then the bubble vanished until the next active WoE/SE period.. I just want to ask can I add mapflag restriction 8 ? maybe restriction 8 is 4096? because restriction 7 is 2048.. well.. sry if I post in the wrong area maybe requesting some commands I dont know? lol Thankyou.. The rest is working only still having problems on 2nd.. Ah.. and I'm wondering if I type @reloadscript does .conf in conf folder also reloaded? e.g. conf/battle/skill.conf or Conf/battle/exp.conf or do I need to recompile it
  16. 1st Request = I'm requesting a command that if someone is equippingan equip which has a Golden Thief Bug Card attached the NPC will directly refuse... (The equipment must be equipped..) Actually this is for Healer... (done) 2nd Request = and I'm actually trying the addtimer but it failed... I want the timer activated only when AgitStart & AgitStart2 for 2 hour and the timer will be gone when AgitEnd & AgitEnd2 (not yet) 3rd Request = Can anyone give me a script for, all towns and fields are having a snow.. (done) 4th Request = Also can anyone make the Guild's Skill "Emergency Call" can't run/work on guild_vs1-1, guild_vs1-2, guild_vs1-3 & guild_vs1-4 (done)
  17. Thankyou.. it worked when I separate the .txt... I thought something wrong with the commands.. lol thanks...
  18. Hi.. I'm having a problem with hide and show npc... Can anyone see what the problem is ? the mapserver says: [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#1' (flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#2' (flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#3' (flag=0). [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#4' (flag=0). and so on until.. [Error]: npc_enable: Attempted to hide a non-existing NPC 'Santa Claus#24' (flag=0). I'm actually trying to make an NPC that moves to another town every hour... This is the attachment --> christmas_event.txt Can anyone reply my post please... still having problem with it...
  19. Thanks... I just need to add else when I tried it out... lol I've changed it to this: if (.@mapcount_1 >= 1) { next; mes "[PVP Warper]"; mes "This map is currently full."; close; } else {callsub S_CheckPVPRoom,@mapcount_2,"pvp_n_1-3",100; break; } Anyway thankyou very much
  20. Hi, does anyone know whats wrong my script? I tried something like this if (getmapusers(.@mapcount_1) >= 1) { mes "[PVP Warper]"; mes "This map is currently full."; } but it just doesn't work.. people still can enter above 1.. Please if anyone knows tell me how to fix it... pvp.txt
  21. thanks, but i cant find the collection folder... anywhere else i can find it?
  22. Does anyone knows how to make an NPC quest that asks to kill some certain monsters, then when you kill that monster you come back to the NPC and gain some bonus exp and zeny... (e.g. 0/30 Zombie) and if you have "the quest" you can't take another quest until you finished it... Also if you in the same party you can Could someone teach me the command? just for example: 0/30 Poring
×
×
  • Create New...